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