@hexclave/shared 1.0.33 → 1.0.35
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 +2 -2
- package/dist/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/config/schema.d.ts +95 -95
- package/dist/esm/ai/unified-prompts/reminders.js +2 -2
- package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/esm/config/schema.d.ts +95 -95
- package/dist/esm/helpers/init-prompt.js +1 -1
- package/dist/esm/helpers/init-prompt.js.map +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +22 -22
- package/dist/esm/interface/conversations.d.ts +19 -19
- package/dist/esm/interface/crud/current-user.d.ts +14 -14
- package/dist/esm/interface/crud/email-outbox.d.ts +202 -202
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- package/dist/esm/interface/crud/products.d.ts +9 -9
- package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/esm/interface/crud/projects.d.ts +7 -7
- package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
- package/dist/esm/interface/crud/transactions.d.ts +4 -4
- package/dist/esm/interface/crud/users.d.ts +16 -16
- package/dist/esm/interface/plan-usage.d.ts +2 -2
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/esm/schema-fields.d.ts +11 -11
- package/dist/esm/sessions.d.ts +8 -8
- package/dist/helpers/init-prompt.js +1 -1
- package/dist/helpers/init-prompt.js.map +1 -1
- package/dist/interface/admin-metrics.d.ts +22 -22
- package/dist/interface/conversations.d.ts +19 -19
- package/dist/interface/crud/current-user.d.ts +14 -14
- package/dist/interface/crud/email-outbox.d.ts +202 -202
- package/dist/interface/crud/invoices.d.ts +2 -2
- package/dist/interface/crud/products.d.ts +9 -9
- package/dist/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/interface/crud/projects.d.ts +7 -7
- package/dist/interface/crud/team-member-profiles.d.ts +24 -24
- package/dist/interface/crud/transactions.d.ts +4 -4
- package/dist/interface/crud/users.d.ts +16 -16
- package/dist/interface/plan-usage.d.ts +2 -2
- package/dist/interface/webhooks.d.ts +2 -2
- package/dist/schema-fields.d.ts +11 -11
- package/dist/sessions.d.ts +8 -8
- package/package.json +1 -1
- package/src/ai/unified-prompts/reminders.ts +1 -1
- package/src/helpers/init-prompt.ts +1 -1
|
@@ -4,22 +4,22 @@ import { CrudTypeOf } from "../../crud";
|
|
|
4
4
|
|
|
5
5
|
//#region src/interface/crud/email-outbox.d.ts
|
|
6
6
|
declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
7
|
-
id: string;
|
|
8
7
|
status: "paused";
|
|
8
|
+
id: string;
|
|
9
9
|
created_at_millis: number;
|
|
10
10
|
updated_at_millis: number;
|
|
11
11
|
tsx_source: string;
|
|
12
12
|
theme_id: string | null;
|
|
13
13
|
to: {
|
|
14
|
-
type: "user-primary-email";
|
|
15
14
|
user_id: string;
|
|
15
|
+
type: "user-primary-email";
|
|
16
16
|
} | {
|
|
17
|
-
type: "user-custom-emails";
|
|
18
|
-
user_id: string;
|
|
19
17
|
emails: string[];
|
|
18
|
+
user_id: string;
|
|
19
|
+
type: "user-custom-emails";
|
|
20
20
|
} | {
|
|
21
|
-
type: "custom-emails";
|
|
22
21
|
emails: string[];
|
|
22
|
+
type: "custom-emails";
|
|
23
23
|
};
|
|
24
24
|
variables: Record<string, {} | null>;
|
|
25
25
|
skip_deliverability_check: boolean;
|
|
@@ -42,22 +42,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
42
42
|
has_rendered: boolean;
|
|
43
43
|
has_delivered: boolean;
|
|
44
44
|
} | {
|
|
45
|
-
id: string;
|
|
46
45
|
status: "preparing";
|
|
46
|
+
id: string;
|
|
47
47
|
created_at_millis: number;
|
|
48
48
|
updated_at_millis: number;
|
|
49
49
|
tsx_source: string;
|
|
50
50
|
theme_id: string | null;
|
|
51
51
|
to: {
|
|
52
|
-
type: "user-primary-email";
|
|
53
52
|
user_id: string;
|
|
53
|
+
type: "user-primary-email";
|
|
54
54
|
} | {
|
|
55
|
-
type: "user-custom-emails";
|
|
56
|
-
user_id: string;
|
|
57
55
|
emails: string[];
|
|
56
|
+
user_id: string;
|
|
57
|
+
type: "user-custom-emails";
|
|
58
58
|
} | {
|
|
59
|
-
type: "custom-emails";
|
|
60
59
|
emails: string[];
|
|
60
|
+
type: "custom-emails";
|
|
61
61
|
};
|
|
62
62
|
variables: Record<string, {} | null>;
|
|
63
63
|
skip_deliverability_check: boolean;
|
|
@@ -80,22 +80,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
80
80
|
has_rendered: boolean;
|
|
81
81
|
has_delivered: boolean;
|
|
82
82
|
} | {
|
|
83
|
-
id: string;
|
|
84
83
|
status: "rendering";
|
|
84
|
+
id: string;
|
|
85
85
|
created_at_millis: number;
|
|
86
86
|
updated_at_millis: number;
|
|
87
87
|
tsx_source: string;
|
|
88
88
|
theme_id: string | null;
|
|
89
89
|
to: {
|
|
90
|
-
type: "user-primary-email";
|
|
91
90
|
user_id: string;
|
|
91
|
+
type: "user-primary-email";
|
|
92
92
|
} | {
|
|
93
|
-
type: "user-custom-emails";
|
|
94
|
-
user_id: string;
|
|
95
93
|
emails: string[];
|
|
94
|
+
user_id: string;
|
|
95
|
+
type: "user-custom-emails";
|
|
96
96
|
} | {
|
|
97
|
-
type: "custom-emails";
|
|
98
97
|
emails: string[];
|
|
98
|
+
type: "custom-emails";
|
|
99
99
|
};
|
|
100
100
|
variables: Record<string, {} | null>;
|
|
101
101
|
skip_deliverability_check: boolean;
|
|
@@ -119,22 +119,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
119
119
|
has_delivered: boolean;
|
|
120
120
|
started_rendering_at_millis: number;
|
|
121
121
|
} | {
|
|
122
|
-
id: string;
|
|
123
122
|
status: "render-error";
|
|
123
|
+
id: string;
|
|
124
124
|
created_at_millis: number;
|
|
125
125
|
updated_at_millis: number;
|
|
126
126
|
tsx_source: string;
|
|
127
127
|
theme_id: string | null;
|
|
128
128
|
to: {
|
|
129
|
-
type: "user-primary-email";
|
|
130
129
|
user_id: string;
|
|
130
|
+
type: "user-primary-email";
|
|
131
131
|
} | {
|
|
132
|
-
type: "user-custom-emails";
|
|
133
|
-
user_id: string;
|
|
134
132
|
emails: string[];
|
|
133
|
+
user_id: string;
|
|
134
|
+
type: "user-custom-emails";
|
|
135
135
|
} | {
|
|
136
|
-
type: "custom-emails";
|
|
137
136
|
emails: string[];
|
|
137
|
+
type: "custom-emails";
|
|
138
138
|
};
|
|
139
139
|
variables: Record<string, {} | null>;
|
|
140
140
|
skip_deliverability_check: boolean;
|
|
@@ -160,23 +160,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
160
160
|
rendered_at_millis: number;
|
|
161
161
|
render_error: string;
|
|
162
162
|
} | {
|
|
163
|
-
id: string;
|
|
164
163
|
status: "scheduled";
|
|
164
|
+
id: string;
|
|
165
|
+
html: string | null;
|
|
166
|
+
text: string | null;
|
|
165
167
|
subject: string;
|
|
166
168
|
created_at_millis: number;
|
|
167
169
|
updated_at_millis: number;
|
|
168
170
|
tsx_source: string;
|
|
169
171
|
theme_id: string | null;
|
|
170
172
|
to: {
|
|
171
|
-
type: "user-primary-email";
|
|
172
173
|
user_id: string;
|
|
174
|
+
type: "user-primary-email";
|
|
173
175
|
} | {
|
|
174
|
-
type: "user-custom-emails";
|
|
175
|
-
user_id: string;
|
|
176
176
|
emails: string[];
|
|
177
|
+
user_id: string;
|
|
178
|
+
type: "user-custom-emails";
|
|
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,29 +202,29 @@ 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
|
-
html: string | null;
|
|
204
|
-
text: string | null;
|
|
205
205
|
is_transactional: boolean;
|
|
206
206
|
is_high_priority: boolean;
|
|
207
207
|
notification_category_id: string | null;
|
|
208
208
|
} | {
|
|
209
|
-
id: string;
|
|
210
209
|
status: "queued";
|
|
210
|
+
id: string;
|
|
211
|
+
html: string | null;
|
|
212
|
+
text: string | null;
|
|
211
213
|
subject: string;
|
|
212
214
|
created_at_millis: number;
|
|
213
215
|
updated_at_millis: number;
|
|
214
216
|
tsx_source: string;
|
|
215
217
|
theme_id: string | null;
|
|
216
218
|
to: {
|
|
217
|
-
type: "user-primary-email";
|
|
218
219
|
user_id: string;
|
|
220
|
+
type: "user-primary-email";
|
|
219
221
|
} | {
|
|
220
|
-
type: "user-custom-emails";
|
|
221
|
-
user_id: string;
|
|
222
222
|
emails: string[];
|
|
223
|
+
user_id: string;
|
|
224
|
+
type: "user-custom-emails";
|
|
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,29 +248,29 @@ 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
|
-
html: string | null;
|
|
250
|
-
text: string | null;
|
|
251
251
|
is_transactional: boolean;
|
|
252
252
|
is_high_priority: boolean;
|
|
253
253
|
notification_category_id: string | null;
|
|
254
254
|
} | {
|
|
255
|
-
id: string;
|
|
256
255
|
status: "sending";
|
|
256
|
+
id: string;
|
|
257
|
+
html: string | null;
|
|
258
|
+
text: string | null;
|
|
257
259
|
subject: string;
|
|
258
260
|
created_at_millis: number;
|
|
259
261
|
updated_at_millis: number;
|
|
260
262
|
tsx_source: string;
|
|
261
263
|
theme_id: string | null;
|
|
262
264
|
to: {
|
|
263
|
-
type: "user-primary-email";
|
|
264
265
|
user_id: string;
|
|
266
|
+
type: "user-primary-email";
|
|
265
267
|
} | {
|
|
266
|
-
type: "user-custom-emails";
|
|
267
|
-
user_id: string;
|
|
268
268
|
emails: string[];
|
|
269
|
+
user_id: string;
|
|
270
|
+
type: "user-custom-emails";
|
|
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,30 +294,30 @@ 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
|
-
html: string | null;
|
|
296
|
-
text: string | null;
|
|
297
297
|
is_transactional: boolean;
|
|
298
298
|
is_high_priority: boolean;
|
|
299
299
|
notification_category_id: string | null;
|
|
300
300
|
started_sending_at_millis: number;
|
|
301
301
|
} | {
|
|
302
|
-
id: string;
|
|
303
302
|
status: "server-error";
|
|
303
|
+
id: string;
|
|
304
|
+
html: string | null;
|
|
305
|
+
text: string | null;
|
|
304
306
|
subject: string;
|
|
305
307
|
created_at_millis: number;
|
|
306
308
|
updated_at_millis: number;
|
|
307
309
|
tsx_source: string;
|
|
308
310
|
theme_id: string | null;
|
|
309
311
|
to: {
|
|
310
|
-
type: "user-primary-email";
|
|
311
312
|
user_id: string;
|
|
313
|
+
type: "user-primary-email";
|
|
312
314
|
} | {
|
|
313
|
-
type: "user-custom-emails";
|
|
314
|
-
user_id: string;
|
|
315
315
|
emails: string[];
|
|
316
|
+
user_id: string;
|
|
317
|
+
type: "user-custom-emails";
|
|
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,8 +341,6 @@ 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
|
-
html: string | null;
|
|
343
|
-
text: string | null;
|
|
344
344
|
is_transactional: boolean;
|
|
345
345
|
is_high_priority: boolean;
|
|
346
346
|
notification_category_id: string | null;
|
|
@@ -348,31 +348,31 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
348
348
|
error_at_millis: number;
|
|
349
349
|
server_error: string;
|
|
350
350
|
} | {
|
|
351
|
+
html?: string | null | undefined;
|
|
352
|
+
text?: string | null | undefined;
|
|
351
353
|
subject?: string | undefined;
|
|
352
354
|
started_rendering_at_millis?: number | undefined;
|
|
353
355
|
rendered_at_millis?: number | undefined;
|
|
354
|
-
html?: string | null | undefined;
|
|
355
|
-
text?: string | null | undefined;
|
|
356
356
|
is_transactional?: boolean | undefined;
|
|
357
357
|
is_high_priority?: boolean | undefined;
|
|
358
358
|
notification_category_id?: string | null | undefined;
|
|
359
359
|
started_sending_at_millis?: number | undefined;
|
|
360
|
-
id: string;
|
|
361
360
|
status: "skipped";
|
|
361
|
+
id: string;
|
|
362
362
|
created_at_millis: number;
|
|
363
363
|
updated_at_millis: number;
|
|
364
364
|
tsx_source: string;
|
|
365
365
|
theme_id: string | null;
|
|
366
366
|
to: {
|
|
367
|
-
type: "user-primary-email";
|
|
368
367
|
user_id: string;
|
|
368
|
+
type: "user-primary-email";
|
|
369
369
|
} | {
|
|
370
|
-
type: "user-custom-emails";
|
|
371
|
-
user_id: string;
|
|
372
370
|
emails: string[];
|
|
371
|
+
user_id: string;
|
|
372
|
+
type: "user-custom-emails";
|
|
373
373
|
} | {
|
|
374
|
-
type: "custom-emails";
|
|
375
374
|
emails: string[];
|
|
375
|
+
type: "custom-emails";
|
|
376
376
|
};
|
|
377
377
|
variables: Record<string, {} | null>;
|
|
378
378
|
skip_deliverability_check: boolean;
|
|
@@ -398,23 +398,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
398
398
|
skipped_reason: string;
|
|
399
399
|
skipped_details: Record<string, {} | null>;
|
|
400
400
|
} | {
|
|
401
|
-
id: string;
|
|
402
401
|
status: "bounced";
|
|
402
|
+
id: string;
|
|
403
|
+
html: string | null;
|
|
404
|
+
text: string | null;
|
|
403
405
|
subject: string;
|
|
404
406
|
created_at_millis: number;
|
|
405
407
|
updated_at_millis: number;
|
|
406
408
|
tsx_source: string;
|
|
407
409
|
theme_id: string | null;
|
|
408
410
|
to: {
|
|
409
|
-
type: "user-primary-email";
|
|
410
411
|
user_id: string;
|
|
412
|
+
type: "user-primary-email";
|
|
411
413
|
} | {
|
|
412
|
-
type: "user-custom-emails";
|
|
413
|
-
user_id: string;
|
|
414
414
|
emails: string[];
|
|
415
|
+
user_id: string;
|
|
416
|
+
type: "user-custom-emails";
|
|
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,31 +440,31 @@ 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
|
-
html: string | null;
|
|
442
|
-
text: string | null;
|
|
443
443
|
is_transactional: boolean;
|
|
444
444
|
is_high_priority: boolean;
|
|
445
445
|
notification_category_id: string | null;
|
|
446
446
|
started_sending_at_millis: number;
|
|
447
447
|
bounced_at_millis: number;
|
|
448
448
|
} | {
|
|
449
|
-
id: string;
|
|
450
449
|
status: "delivery-delayed";
|
|
450
|
+
id: string;
|
|
451
|
+
html: string | null;
|
|
452
|
+
text: string | null;
|
|
451
453
|
subject: string;
|
|
452
454
|
created_at_millis: number;
|
|
453
455
|
updated_at_millis: number;
|
|
454
456
|
tsx_source: string;
|
|
455
457
|
theme_id: string | null;
|
|
456
458
|
to: {
|
|
457
|
-
type: "user-primary-email";
|
|
458
459
|
user_id: string;
|
|
460
|
+
type: "user-primary-email";
|
|
459
461
|
} | {
|
|
460
|
-
type: "user-custom-emails";
|
|
461
|
-
user_id: string;
|
|
462
462
|
emails: string[];
|
|
463
|
+
user_id: string;
|
|
464
|
+
type: "user-custom-emails";
|
|
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,31 +488,31 @@ 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
|
-
html: string | null;
|
|
490
|
-
text: string | null;
|
|
491
491
|
is_transactional: boolean;
|
|
492
492
|
is_high_priority: boolean;
|
|
493
493
|
notification_category_id: string | null;
|
|
494
494
|
started_sending_at_millis: number;
|
|
495
495
|
delivery_delayed_at_millis: number;
|
|
496
496
|
} | {
|
|
497
|
-
id: string;
|
|
498
497
|
status: "sent";
|
|
498
|
+
id: string;
|
|
499
|
+
html: string | null;
|
|
500
|
+
text: string | null;
|
|
499
501
|
subject: string;
|
|
500
502
|
created_at_millis: number;
|
|
501
503
|
updated_at_millis: number;
|
|
502
504
|
tsx_source: string;
|
|
503
505
|
theme_id: string | null;
|
|
504
506
|
to: {
|
|
505
|
-
type: "user-primary-email";
|
|
506
507
|
user_id: string;
|
|
508
|
+
type: "user-primary-email";
|
|
507
509
|
} | {
|
|
508
|
-
type: "user-custom-emails";
|
|
509
|
-
user_id: string;
|
|
510
510
|
emails: string[];
|
|
511
|
+
user_id: string;
|
|
512
|
+
type: "user-custom-emails";
|
|
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,8 +536,6 @@ 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
|
-
html: string | null;
|
|
538
|
-
text: string | null;
|
|
539
539
|
is_transactional: boolean;
|
|
540
540
|
is_high_priority: boolean;
|
|
541
541
|
notification_category_id: string | null;
|
|
@@ -543,23 +543,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
543
543
|
delivered_at_millis: number;
|
|
544
544
|
can_have_delivery_info: boolean;
|
|
545
545
|
} | {
|
|
546
|
-
id: string;
|
|
547
546
|
status: "opened";
|
|
547
|
+
id: string;
|
|
548
|
+
html: string | null;
|
|
549
|
+
text: string | null;
|
|
548
550
|
subject: string;
|
|
549
551
|
created_at_millis: number;
|
|
550
552
|
updated_at_millis: number;
|
|
551
553
|
tsx_source: string;
|
|
552
554
|
theme_id: string | null;
|
|
553
555
|
to: {
|
|
554
|
-
type: "user-primary-email";
|
|
555
556
|
user_id: string;
|
|
557
|
+
type: "user-primary-email";
|
|
556
558
|
} | {
|
|
557
|
-
type: "user-custom-emails";
|
|
558
|
-
user_id: string;
|
|
559
559
|
emails: string[];
|
|
560
|
+
user_id: string;
|
|
561
|
+
type: "user-custom-emails";
|
|
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,8 +585,6 @@ 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
|
-
html: string | null;
|
|
587
|
-
text: string | null;
|
|
588
588
|
is_transactional: boolean;
|
|
589
589
|
is_high_priority: boolean;
|
|
590
590
|
notification_category_id: string | null;
|
|
@@ -593,23 +593,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
593
593
|
can_have_delivery_info: boolean;
|
|
594
594
|
opened_at_millis: number;
|
|
595
595
|
} | {
|
|
596
|
-
id: string;
|
|
597
596
|
status: "clicked";
|
|
597
|
+
id: string;
|
|
598
|
+
html: string | null;
|
|
599
|
+
text: string | null;
|
|
598
600
|
subject: string;
|
|
599
601
|
created_at_millis: number;
|
|
600
602
|
updated_at_millis: number;
|
|
601
603
|
tsx_source: string;
|
|
602
604
|
theme_id: string | null;
|
|
603
605
|
to: {
|
|
604
|
-
type: "user-primary-email";
|
|
605
606
|
user_id: string;
|
|
607
|
+
type: "user-primary-email";
|
|
606
608
|
} | {
|
|
607
|
-
type: "user-custom-emails";
|
|
608
|
-
user_id: string;
|
|
609
609
|
emails: string[];
|
|
610
|
+
user_id: string;
|
|
611
|
+
type: "user-custom-emails";
|
|
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,8 +635,6 @@ 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
|
-
html: string | null;
|
|
637
|
-
text: string | null;
|
|
638
638
|
is_transactional: boolean;
|
|
639
639
|
is_high_priority: boolean;
|
|
640
640
|
notification_category_id: string | null;
|
|
@@ -643,23 +643,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
643
643
|
can_have_delivery_info: boolean;
|
|
644
644
|
clicked_at_millis: number;
|
|
645
645
|
} | {
|
|
646
|
-
id: string;
|
|
647
646
|
status: "marked-as-spam";
|
|
647
|
+
id: string;
|
|
648
|
+
html: string | null;
|
|
649
|
+
text: string | null;
|
|
648
650
|
subject: string;
|
|
649
651
|
created_at_millis: number;
|
|
650
652
|
updated_at_millis: number;
|
|
651
653
|
tsx_source: string;
|
|
652
654
|
theme_id: string | null;
|
|
653
655
|
to: {
|
|
654
|
-
type: "user-primary-email";
|
|
655
656
|
user_id: string;
|
|
657
|
+
type: "user-primary-email";
|
|
656
658
|
} | {
|
|
657
|
-
type: "user-custom-emails";
|
|
658
|
-
user_id: string;
|
|
659
659
|
emails: string[];
|
|
660
|
+
user_id: string;
|
|
661
|
+
type: "user-custom-emails";
|
|
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,8 +685,6 @@ 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
|
-
html: string | null;
|
|
687
|
-
text: string | null;
|
|
688
688
|
is_transactional: boolean;
|
|
689
689
|
is_high_priority: boolean;
|
|
690
690
|
notification_category_id: string | null;
|
|
@@ -697,15 +697,15 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
|
|
|
697
697
|
tsx_source: string | undefined;
|
|
698
698
|
theme_id: string | null | undefined;
|
|
699
699
|
to: {
|
|
700
|
-
type: "user-primary-email";
|
|
701
700
|
user_id: string;
|
|
701
|
+
type: "user-primary-email";
|
|
702
702
|
} | {
|
|
703
|
-
type: "user-custom-emails";
|
|
704
|
-
user_id: string;
|
|
705
703
|
emails: string[];
|
|
704
|
+
user_id: string;
|
|
705
|
+
type: "user-custom-emails";
|
|
706
706
|
} | {
|
|
707
|
-
type: "custom-emails";
|
|
708
707
|
emails: string[];
|
|
708
|
+
type: "custom-emails";
|
|
709
709
|
} | undefined;
|
|
710
710
|
variables: Record<string, {} | null> | undefined;
|
|
711
711
|
skip_deliverability_check: boolean | undefined;
|
|
@@ -724,22 +724,22 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
|
|
|
724
724
|
}, "">;
|
|
725
725
|
declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
726
726
|
serverReadSchema: yup$1.MixedSchema<{
|
|
727
|
-
id: string;
|
|
728
727
|
status: "paused";
|
|
728
|
+
id: string;
|
|
729
729
|
created_at_millis: number;
|
|
730
730
|
updated_at_millis: number;
|
|
731
731
|
tsx_source: string;
|
|
732
732
|
theme_id: string | null;
|
|
733
733
|
to: {
|
|
734
|
-
type: "user-primary-email";
|
|
735
734
|
user_id: string;
|
|
735
|
+
type: "user-primary-email";
|
|
736
736
|
} | {
|
|
737
|
-
type: "user-custom-emails";
|
|
738
|
-
user_id: string;
|
|
739
737
|
emails: string[];
|
|
738
|
+
user_id: string;
|
|
739
|
+
type: "user-custom-emails";
|
|
740
740
|
} | {
|
|
741
|
-
type: "custom-emails";
|
|
742
741
|
emails: string[];
|
|
742
|
+
type: "custom-emails";
|
|
743
743
|
};
|
|
744
744
|
variables: Record<string, {} | null>;
|
|
745
745
|
skip_deliverability_check: boolean;
|
|
@@ -762,22 +762,22 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
762
762
|
has_rendered: boolean;
|
|
763
763
|
has_delivered: boolean;
|
|
764
764
|
} | {
|
|
765
|
-
id: string;
|
|
766
765
|
status: "preparing";
|
|
766
|
+
id: string;
|
|
767
767
|
created_at_millis: number;
|
|
768
768
|
updated_at_millis: number;
|
|
769
769
|
tsx_source: string;
|
|
770
770
|
theme_id: string | null;
|
|
771
771
|
to: {
|
|
772
|
-
type: "user-primary-email";
|
|
773
772
|
user_id: string;
|
|
773
|
+
type: "user-primary-email";
|
|
774
774
|
} | {
|
|
775
|
-
type: "user-custom-emails";
|
|
776
|
-
user_id: string;
|
|
777
775
|
emails: string[];
|
|
776
|
+
user_id: string;
|
|
777
|
+
type: "user-custom-emails";
|
|
778
778
|
} | {
|
|
779
|
-
type: "custom-emails";
|
|
780
779
|
emails: string[];
|
|
780
|
+
type: "custom-emails";
|
|
781
781
|
};
|
|
782
782
|
variables: Record<string, {} | null>;
|
|
783
783
|
skip_deliverability_check: boolean;
|
|
@@ -800,22 +800,22 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
800
800
|
has_rendered: boolean;
|
|
801
801
|
has_delivered: boolean;
|
|
802
802
|
} | {
|
|
803
|
-
id: string;
|
|
804
803
|
status: "rendering";
|
|
804
|
+
id: string;
|
|
805
805
|
created_at_millis: number;
|
|
806
806
|
updated_at_millis: number;
|
|
807
807
|
tsx_source: string;
|
|
808
808
|
theme_id: string | null;
|
|
809
809
|
to: {
|
|
810
|
-
type: "user-primary-email";
|
|
811
810
|
user_id: string;
|
|
811
|
+
type: "user-primary-email";
|
|
812
812
|
} | {
|
|
813
|
-
type: "user-custom-emails";
|
|
814
|
-
user_id: string;
|
|
815
813
|
emails: string[];
|
|
814
|
+
user_id: string;
|
|
815
|
+
type: "user-custom-emails";
|
|
816
816
|
} | {
|
|
817
|
-
type: "custom-emails";
|
|
818
817
|
emails: string[];
|
|
818
|
+
type: "custom-emails";
|
|
819
819
|
};
|
|
820
820
|
variables: Record<string, {} | null>;
|
|
821
821
|
skip_deliverability_check: boolean;
|
|
@@ -839,22 +839,22 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
839
839
|
has_delivered: boolean;
|
|
840
840
|
started_rendering_at_millis: number;
|
|
841
841
|
} | {
|
|
842
|
-
id: string;
|
|
843
842
|
status: "render-error";
|
|
843
|
+
id: string;
|
|
844
844
|
created_at_millis: number;
|
|
845
845
|
updated_at_millis: number;
|
|
846
846
|
tsx_source: string;
|
|
847
847
|
theme_id: string | null;
|
|
848
848
|
to: {
|
|
849
|
-
type: "user-primary-email";
|
|
850
849
|
user_id: string;
|
|
850
|
+
type: "user-primary-email";
|
|
851
851
|
} | {
|
|
852
|
-
type: "user-custom-emails";
|
|
853
|
-
user_id: string;
|
|
854
852
|
emails: string[];
|
|
853
|
+
user_id: string;
|
|
854
|
+
type: "user-custom-emails";
|
|
855
855
|
} | {
|
|
856
|
-
type: "custom-emails";
|
|
857
856
|
emails: string[];
|
|
857
|
+
type: "custom-emails";
|
|
858
858
|
};
|
|
859
859
|
variables: Record<string, {} | null>;
|
|
860
860
|
skip_deliverability_check: boolean;
|
|
@@ -880,23 +880,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
880
880
|
rendered_at_millis: number;
|
|
881
881
|
render_error: string;
|
|
882
882
|
} | {
|
|
883
|
-
id: string;
|
|
884
883
|
status: "scheduled";
|
|
884
|
+
id: string;
|
|
885
|
+
html: string | null;
|
|
886
|
+
text: string | null;
|
|
885
887
|
subject: string;
|
|
886
888
|
created_at_millis: number;
|
|
887
889
|
updated_at_millis: number;
|
|
888
890
|
tsx_source: string;
|
|
889
891
|
theme_id: string | null;
|
|
890
892
|
to: {
|
|
891
|
-
type: "user-primary-email";
|
|
892
893
|
user_id: string;
|
|
894
|
+
type: "user-primary-email";
|
|
893
895
|
} | {
|
|
894
|
-
type: "user-custom-emails";
|
|
895
|
-
user_id: string;
|
|
896
896
|
emails: string[];
|
|
897
|
+
user_id: string;
|
|
898
|
+
type: "user-custom-emails";
|
|
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,29 +922,29 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
920
922
|
has_delivered: boolean;
|
|
921
923
|
started_rendering_at_millis: number;
|
|
922
924
|
rendered_at_millis: number;
|
|
923
|
-
html: string | null;
|
|
924
|
-
text: string | null;
|
|
925
925
|
is_transactional: boolean;
|
|
926
926
|
is_high_priority: boolean;
|
|
927
927
|
notification_category_id: string | null;
|
|
928
928
|
} | {
|
|
929
|
-
id: string;
|
|
930
929
|
status: "queued";
|
|
930
|
+
id: string;
|
|
931
|
+
html: string | null;
|
|
932
|
+
text: string | null;
|
|
931
933
|
subject: string;
|
|
932
934
|
created_at_millis: number;
|
|
933
935
|
updated_at_millis: number;
|
|
934
936
|
tsx_source: string;
|
|
935
937
|
theme_id: string | null;
|
|
936
938
|
to: {
|
|
937
|
-
type: "user-primary-email";
|
|
938
939
|
user_id: string;
|
|
940
|
+
type: "user-primary-email";
|
|
939
941
|
} | {
|
|
940
|
-
type: "user-custom-emails";
|
|
941
|
-
user_id: string;
|
|
942
942
|
emails: string[];
|
|
943
|
+
user_id: string;
|
|
944
|
+
type: "user-custom-emails";
|
|
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,29 +968,29 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
966
968
|
has_delivered: boolean;
|
|
967
969
|
started_rendering_at_millis: number;
|
|
968
970
|
rendered_at_millis: number;
|
|
969
|
-
html: string | null;
|
|
970
|
-
text: string | null;
|
|
971
971
|
is_transactional: boolean;
|
|
972
972
|
is_high_priority: boolean;
|
|
973
973
|
notification_category_id: string | null;
|
|
974
974
|
} | {
|
|
975
|
-
id: string;
|
|
976
975
|
status: "sending";
|
|
976
|
+
id: string;
|
|
977
|
+
html: string | null;
|
|
978
|
+
text: string | null;
|
|
977
979
|
subject: string;
|
|
978
980
|
created_at_millis: number;
|
|
979
981
|
updated_at_millis: number;
|
|
980
982
|
tsx_source: string;
|
|
981
983
|
theme_id: string | null;
|
|
982
984
|
to: {
|
|
983
|
-
type: "user-primary-email";
|
|
984
985
|
user_id: string;
|
|
986
|
+
type: "user-primary-email";
|
|
985
987
|
} | {
|
|
986
|
-
type: "user-custom-emails";
|
|
987
|
-
user_id: string;
|
|
988
988
|
emails: string[];
|
|
989
|
+
user_id: string;
|
|
990
|
+
type: "user-custom-emails";
|
|
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,30 +1014,30 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1012
1014
|
has_delivered: boolean;
|
|
1013
1015
|
started_rendering_at_millis: number;
|
|
1014
1016
|
rendered_at_millis: number;
|
|
1015
|
-
html: string | null;
|
|
1016
|
-
text: string | null;
|
|
1017
1017
|
is_transactional: boolean;
|
|
1018
1018
|
is_high_priority: boolean;
|
|
1019
1019
|
notification_category_id: string | null;
|
|
1020
1020
|
started_sending_at_millis: number;
|
|
1021
1021
|
} | {
|
|
1022
|
-
id: string;
|
|
1023
1022
|
status: "server-error";
|
|
1023
|
+
id: string;
|
|
1024
|
+
html: string | null;
|
|
1025
|
+
text: string | null;
|
|
1024
1026
|
subject: string;
|
|
1025
1027
|
created_at_millis: number;
|
|
1026
1028
|
updated_at_millis: number;
|
|
1027
1029
|
tsx_source: string;
|
|
1028
1030
|
theme_id: string | null;
|
|
1029
1031
|
to: {
|
|
1030
|
-
type: "user-primary-email";
|
|
1031
1032
|
user_id: string;
|
|
1033
|
+
type: "user-primary-email";
|
|
1032
1034
|
} | {
|
|
1033
|
-
type: "user-custom-emails";
|
|
1034
|
-
user_id: string;
|
|
1035
1035
|
emails: string[];
|
|
1036
|
+
user_id: string;
|
|
1037
|
+
type: "user-custom-emails";
|
|
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,8 +1061,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1059
1061
|
has_delivered: boolean;
|
|
1060
1062
|
started_rendering_at_millis: number;
|
|
1061
1063
|
rendered_at_millis: number;
|
|
1062
|
-
html: string | null;
|
|
1063
|
-
text: string | null;
|
|
1064
1064
|
is_transactional: boolean;
|
|
1065
1065
|
is_high_priority: boolean;
|
|
1066
1066
|
notification_category_id: string | null;
|
|
@@ -1068,31 +1068,31 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1068
1068
|
error_at_millis: number;
|
|
1069
1069
|
server_error: string;
|
|
1070
1070
|
} | {
|
|
1071
|
+
html?: string | null | undefined;
|
|
1072
|
+
text?: string | null | undefined;
|
|
1071
1073
|
subject?: string | undefined;
|
|
1072
1074
|
started_rendering_at_millis?: number | undefined;
|
|
1073
1075
|
rendered_at_millis?: number | undefined;
|
|
1074
|
-
html?: string | null | undefined;
|
|
1075
|
-
text?: string | null | undefined;
|
|
1076
1076
|
is_transactional?: boolean | undefined;
|
|
1077
1077
|
is_high_priority?: boolean | undefined;
|
|
1078
1078
|
notification_category_id?: string | null | undefined;
|
|
1079
1079
|
started_sending_at_millis?: number | undefined;
|
|
1080
|
-
id: string;
|
|
1081
1080
|
status: "skipped";
|
|
1081
|
+
id: string;
|
|
1082
1082
|
created_at_millis: number;
|
|
1083
1083
|
updated_at_millis: number;
|
|
1084
1084
|
tsx_source: string;
|
|
1085
1085
|
theme_id: string | null;
|
|
1086
1086
|
to: {
|
|
1087
|
-
type: "user-primary-email";
|
|
1088
1087
|
user_id: string;
|
|
1088
|
+
type: "user-primary-email";
|
|
1089
1089
|
} | {
|
|
1090
|
-
type: "user-custom-emails";
|
|
1091
|
-
user_id: string;
|
|
1092
1090
|
emails: string[];
|
|
1091
|
+
user_id: string;
|
|
1092
|
+
type: "user-custom-emails";
|
|
1093
1093
|
} | {
|
|
1094
|
-
type: "custom-emails";
|
|
1095
1094
|
emails: string[];
|
|
1095
|
+
type: "custom-emails";
|
|
1096
1096
|
};
|
|
1097
1097
|
variables: Record<string, {} | null>;
|
|
1098
1098
|
skip_deliverability_check: boolean;
|
|
@@ -1118,23 +1118,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1118
1118
|
skipped_reason: string;
|
|
1119
1119
|
skipped_details: Record<string, {} | null>;
|
|
1120
1120
|
} | {
|
|
1121
|
-
id: string;
|
|
1122
1121
|
status: "bounced";
|
|
1122
|
+
id: string;
|
|
1123
|
+
html: string | null;
|
|
1124
|
+
text: string | null;
|
|
1123
1125
|
subject: string;
|
|
1124
1126
|
created_at_millis: number;
|
|
1125
1127
|
updated_at_millis: number;
|
|
1126
1128
|
tsx_source: string;
|
|
1127
1129
|
theme_id: string | null;
|
|
1128
1130
|
to: {
|
|
1129
|
-
type: "user-primary-email";
|
|
1130
1131
|
user_id: string;
|
|
1132
|
+
type: "user-primary-email";
|
|
1131
1133
|
} | {
|
|
1132
|
-
type: "user-custom-emails";
|
|
1133
|
-
user_id: string;
|
|
1134
1134
|
emails: string[];
|
|
1135
|
+
user_id: string;
|
|
1136
|
+
type: "user-custom-emails";
|
|
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,31 +1160,31 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1158
1160
|
has_delivered: boolean;
|
|
1159
1161
|
started_rendering_at_millis: number;
|
|
1160
1162
|
rendered_at_millis: number;
|
|
1161
|
-
html: string | null;
|
|
1162
|
-
text: string | null;
|
|
1163
1163
|
is_transactional: boolean;
|
|
1164
1164
|
is_high_priority: boolean;
|
|
1165
1165
|
notification_category_id: string | null;
|
|
1166
1166
|
started_sending_at_millis: number;
|
|
1167
1167
|
bounced_at_millis: number;
|
|
1168
1168
|
} | {
|
|
1169
|
-
id: string;
|
|
1170
1169
|
status: "delivery-delayed";
|
|
1170
|
+
id: string;
|
|
1171
|
+
html: string | null;
|
|
1172
|
+
text: string | null;
|
|
1171
1173
|
subject: string;
|
|
1172
1174
|
created_at_millis: number;
|
|
1173
1175
|
updated_at_millis: number;
|
|
1174
1176
|
tsx_source: string;
|
|
1175
1177
|
theme_id: string | null;
|
|
1176
1178
|
to: {
|
|
1177
|
-
type: "user-primary-email";
|
|
1178
1179
|
user_id: string;
|
|
1180
|
+
type: "user-primary-email";
|
|
1179
1181
|
} | {
|
|
1180
|
-
type: "user-custom-emails";
|
|
1181
|
-
user_id: string;
|
|
1182
1182
|
emails: string[];
|
|
1183
|
+
user_id: string;
|
|
1184
|
+
type: "user-custom-emails";
|
|
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,31 +1208,31 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1206
1208
|
has_delivered: boolean;
|
|
1207
1209
|
started_rendering_at_millis: number;
|
|
1208
1210
|
rendered_at_millis: number;
|
|
1209
|
-
html: string | null;
|
|
1210
|
-
text: string | null;
|
|
1211
1211
|
is_transactional: boolean;
|
|
1212
1212
|
is_high_priority: boolean;
|
|
1213
1213
|
notification_category_id: string | null;
|
|
1214
1214
|
started_sending_at_millis: number;
|
|
1215
1215
|
delivery_delayed_at_millis: number;
|
|
1216
1216
|
} | {
|
|
1217
|
-
id: string;
|
|
1218
1217
|
status: "sent";
|
|
1218
|
+
id: string;
|
|
1219
|
+
html: string | null;
|
|
1220
|
+
text: string | null;
|
|
1219
1221
|
subject: string;
|
|
1220
1222
|
created_at_millis: number;
|
|
1221
1223
|
updated_at_millis: number;
|
|
1222
1224
|
tsx_source: string;
|
|
1223
1225
|
theme_id: string | null;
|
|
1224
1226
|
to: {
|
|
1225
|
-
type: "user-primary-email";
|
|
1226
1227
|
user_id: string;
|
|
1228
|
+
type: "user-primary-email";
|
|
1227
1229
|
} | {
|
|
1228
|
-
type: "user-custom-emails";
|
|
1229
|
-
user_id: string;
|
|
1230
1230
|
emails: string[];
|
|
1231
|
+
user_id: string;
|
|
1232
|
+
type: "user-custom-emails";
|
|
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,8 +1256,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1254
1256
|
has_delivered: boolean;
|
|
1255
1257
|
started_rendering_at_millis: number;
|
|
1256
1258
|
rendered_at_millis: number;
|
|
1257
|
-
html: string | null;
|
|
1258
|
-
text: string | null;
|
|
1259
1259
|
is_transactional: boolean;
|
|
1260
1260
|
is_high_priority: boolean;
|
|
1261
1261
|
notification_category_id: string | null;
|
|
@@ -1263,23 +1263,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1263
1263
|
delivered_at_millis: number;
|
|
1264
1264
|
can_have_delivery_info: boolean;
|
|
1265
1265
|
} | {
|
|
1266
|
-
id: string;
|
|
1267
1266
|
status: "opened";
|
|
1267
|
+
id: string;
|
|
1268
|
+
html: string | null;
|
|
1269
|
+
text: string | null;
|
|
1268
1270
|
subject: string;
|
|
1269
1271
|
created_at_millis: number;
|
|
1270
1272
|
updated_at_millis: number;
|
|
1271
1273
|
tsx_source: string;
|
|
1272
1274
|
theme_id: string | null;
|
|
1273
1275
|
to: {
|
|
1274
|
-
type: "user-primary-email";
|
|
1275
1276
|
user_id: string;
|
|
1277
|
+
type: "user-primary-email";
|
|
1276
1278
|
} | {
|
|
1277
|
-
type: "user-custom-emails";
|
|
1278
|
-
user_id: string;
|
|
1279
1279
|
emails: string[];
|
|
1280
|
+
user_id: string;
|
|
1281
|
+
type: "user-custom-emails";
|
|
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,8 +1305,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1303
1305
|
has_delivered: boolean;
|
|
1304
1306
|
started_rendering_at_millis: number;
|
|
1305
1307
|
rendered_at_millis: number;
|
|
1306
|
-
html: string | null;
|
|
1307
|
-
text: string | null;
|
|
1308
1308
|
is_transactional: boolean;
|
|
1309
1309
|
is_high_priority: boolean;
|
|
1310
1310
|
notification_category_id: string | null;
|
|
@@ -1313,23 +1313,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1313
1313
|
can_have_delivery_info: boolean;
|
|
1314
1314
|
opened_at_millis: number;
|
|
1315
1315
|
} | {
|
|
1316
|
-
id: string;
|
|
1317
1316
|
status: "clicked";
|
|
1317
|
+
id: string;
|
|
1318
|
+
html: string | null;
|
|
1319
|
+
text: string | null;
|
|
1318
1320
|
subject: string;
|
|
1319
1321
|
created_at_millis: number;
|
|
1320
1322
|
updated_at_millis: number;
|
|
1321
1323
|
tsx_source: string;
|
|
1322
1324
|
theme_id: string | null;
|
|
1323
1325
|
to: {
|
|
1324
|
-
type: "user-primary-email";
|
|
1325
1326
|
user_id: string;
|
|
1327
|
+
type: "user-primary-email";
|
|
1326
1328
|
} | {
|
|
1327
|
-
type: "user-custom-emails";
|
|
1328
|
-
user_id: string;
|
|
1329
1329
|
emails: string[];
|
|
1330
|
+
user_id: string;
|
|
1331
|
+
type: "user-custom-emails";
|
|
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,8 +1355,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1353
1355
|
has_delivered: boolean;
|
|
1354
1356
|
started_rendering_at_millis: number;
|
|
1355
1357
|
rendered_at_millis: number;
|
|
1356
|
-
html: string | null;
|
|
1357
|
-
text: string | null;
|
|
1358
1358
|
is_transactional: boolean;
|
|
1359
1359
|
is_high_priority: boolean;
|
|
1360
1360
|
notification_category_id: string | null;
|
|
@@ -1363,23 +1363,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1363
1363
|
can_have_delivery_info: boolean;
|
|
1364
1364
|
clicked_at_millis: number;
|
|
1365
1365
|
} | {
|
|
1366
|
-
id: string;
|
|
1367
1366
|
status: "marked-as-spam";
|
|
1367
|
+
id: string;
|
|
1368
|
+
html: string | null;
|
|
1369
|
+
text: string | null;
|
|
1368
1370
|
subject: string;
|
|
1369
1371
|
created_at_millis: number;
|
|
1370
1372
|
updated_at_millis: number;
|
|
1371
1373
|
tsx_source: string;
|
|
1372
1374
|
theme_id: string | null;
|
|
1373
1375
|
to: {
|
|
1374
|
-
type: "user-primary-email";
|
|
1375
1376
|
user_id: string;
|
|
1377
|
+
type: "user-primary-email";
|
|
1376
1378
|
} | {
|
|
1377
|
-
type: "user-custom-emails";
|
|
1378
|
-
user_id: string;
|
|
1379
1379
|
emails: string[];
|
|
1380
|
+
user_id: string;
|
|
1381
|
+
type: "user-custom-emails";
|
|
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,8 +1405,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1403
1405
|
has_delivered: boolean;
|
|
1404
1406
|
started_rendering_at_millis: number;
|
|
1405
1407
|
rendered_at_millis: number;
|
|
1406
|
-
html: string | null;
|
|
1407
|
-
text: string | null;
|
|
1408
1408
|
is_transactional: boolean;
|
|
1409
1409
|
is_high_priority: boolean;
|
|
1410
1410
|
notification_category_id: string | null;
|
|
@@ -1417,15 +1417,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1417
1417
|
tsx_source: string | undefined;
|
|
1418
1418
|
theme_id: string | null | undefined;
|
|
1419
1419
|
to: {
|
|
1420
|
-
type: "user-primary-email";
|
|
1421
1420
|
user_id: string;
|
|
1421
|
+
type: "user-primary-email";
|
|
1422
1422
|
} | {
|
|
1423
|
-
type: "user-custom-emails";
|
|
1424
|
-
user_id: string;
|
|
1425
1423
|
emails: string[];
|
|
1424
|
+
user_id: string;
|
|
1425
|
+
type: "user-custom-emails";
|
|
1426
1426
|
} | {
|
|
1427
|
-
type: "custom-emails";
|
|
1428
1427
|
emails: string[];
|
|
1428
|
+
type: "custom-emails";
|
|
1429
1429
|
} | undefined;
|
|
1430
1430
|
variables: Record<string, {} | null> | undefined;
|
|
1431
1431
|
skip_deliverability_check: boolean | undefined;
|