@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
|
@@ -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
|
-
status: "paused";
|
|
8
7
|
id: string;
|
|
8
|
+
status: "paused";
|
|
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
|
-
user_id: string;
|
|
15
14
|
type: "user-primary-email";
|
|
16
|
-
} | {
|
|
17
|
-
emails: string[];
|
|
18
15
|
user_id: string;
|
|
19
|
-
type: "user-custom-emails";
|
|
20
16
|
} | {
|
|
17
|
+
type: "user-custom-emails";
|
|
18
|
+
user_id: string;
|
|
21
19
|
emails: string[];
|
|
20
|
+
} | {
|
|
22
21
|
type: "custom-emails";
|
|
22
|
+
emails: string[];
|
|
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
|
-
status: "preparing";
|
|
46
45
|
id: string;
|
|
46
|
+
status: "preparing";
|
|
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
|
-
user_id: string;
|
|
53
52
|
type: "user-primary-email";
|
|
54
|
-
} | {
|
|
55
|
-
emails: string[];
|
|
56
53
|
user_id: string;
|
|
57
|
-
type: "user-custom-emails";
|
|
58
54
|
} | {
|
|
55
|
+
type: "user-custom-emails";
|
|
56
|
+
user_id: string;
|
|
59
57
|
emails: string[];
|
|
58
|
+
} | {
|
|
60
59
|
type: "custom-emails";
|
|
60
|
+
emails: string[];
|
|
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
|
-
status: "rendering";
|
|
84
83
|
id: string;
|
|
84
|
+
status: "rendering";
|
|
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
|
-
user_id: string;
|
|
91
90
|
type: "user-primary-email";
|
|
92
|
-
} | {
|
|
93
|
-
emails: string[];
|
|
94
91
|
user_id: string;
|
|
95
|
-
type: "user-custom-emails";
|
|
96
92
|
} | {
|
|
93
|
+
type: "user-custom-emails";
|
|
94
|
+
user_id: string;
|
|
97
95
|
emails: string[];
|
|
96
|
+
} | {
|
|
98
97
|
type: "custom-emails";
|
|
98
|
+
emails: string[];
|
|
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
|
-
status: "render-error";
|
|
123
122
|
id: string;
|
|
123
|
+
status: "render-error";
|
|
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
|
-
user_id: string;
|
|
130
129
|
type: "user-primary-email";
|
|
131
|
-
} | {
|
|
132
|
-
emails: string[];
|
|
133
130
|
user_id: string;
|
|
134
|
-
type: "user-custom-emails";
|
|
135
131
|
} | {
|
|
132
|
+
type: "user-custom-emails";
|
|
133
|
+
user_id: string;
|
|
136
134
|
emails: string[];
|
|
135
|
+
} | {
|
|
137
136
|
type: "custom-emails";
|
|
137
|
+
emails: string[];
|
|
138
138
|
};
|
|
139
139
|
variables: Record<string, {} | null>;
|
|
140
140
|
skip_deliverability_check: boolean;
|
|
@@ -160,25 +160,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
160
160
|
rendered_at_millis: number;
|
|
161
161
|
render_error: string;
|
|
162
162
|
} | {
|
|
163
|
-
status: "scheduled";
|
|
164
163
|
id: string;
|
|
165
|
-
|
|
166
|
-
text: string | null;
|
|
164
|
+
status: "scheduled";
|
|
167
165
|
subject: string;
|
|
168
166
|
created_at_millis: number;
|
|
169
167
|
updated_at_millis: number;
|
|
170
168
|
tsx_source: string;
|
|
171
169
|
theme_id: string | null;
|
|
172
170
|
to: {
|
|
173
|
-
user_id: string;
|
|
174
171
|
type: "user-primary-email";
|
|
175
|
-
} | {
|
|
176
|
-
emails: string[];
|
|
177
172
|
user_id: string;
|
|
178
|
-
type: "user-custom-emails";
|
|
179
173
|
} | {
|
|
174
|
+
type: "user-custom-emails";
|
|
175
|
+
user_id: string;
|
|
180
176
|
emails: string[];
|
|
177
|
+
} | {
|
|
181
178
|
type: "custom-emails";
|
|
179
|
+
emails: string[];
|
|
182
180
|
};
|
|
183
181
|
variables: Record<string, {} | null>;
|
|
184
182
|
skip_deliverability_check: boolean;
|
|
@@ -202,29 +200,29 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
202
200
|
has_delivered: boolean;
|
|
203
201
|
started_rendering_at_millis: number;
|
|
204
202
|
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
|
-
status: "queued";
|
|
210
209
|
id: string;
|
|
211
|
-
|
|
212
|
-
text: string | null;
|
|
210
|
+
status: "queued";
|
|
213
211
|
subject: string;
|
|
214
212
|
created_at_millis: number;
|
|
215
213
|
updated_at_millis: number;
|
|
216
214
|
tsx_source: string;
|
|
217
215
|
theme_id: string | null;
|
|
218
216
|
to: {
|
|
219
|
-
user_id: string;
|
|
220
217
|
type: "user-primary-email";
|
|
221
|
-
} | {
|
|
222
|
-
emails: string[];
|
|
223
218
|
user_id: string;
|
|
224
|
-
type: "user-custom-emails";
|
|
225
219
|
} | {
|
|
220
|
+
type: "user-custom-emails";
|
|
221
|
+
user_id: string;
|
|
226
222
|
emails: string[];
|
|
223
|
+
} | {
|
|
227
224
|
type: "custom-emails";
|
|
225
|
+
emails: string[];
|
|
228
226
|
};
|
|
229
227
|
variables: Record<string, {} | null>;
|
|
230
228
|
skip_deliverability_check: boolean;
|
|
@@ -248,29 +246,29 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
248
246
|
has_delivered: boolean;
|
|
249
247
|
started_rendering_at_millis: number;
|
|
250
248
|
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
|
-
status: "sending";
|
|
256
255
|
id: string;
|
|
257
|
-
|
|
258
|
-
text: string | null;
|
|
256
|
+
status: "sending";
|
|
259
257
|
subject: string;
|
|
260
258
|
created_at_millis: number;
|
|
261
259
|
updated_at_millis: number;
|
|
262
260
|
tsx_source: string;
|
|
263
261
|
theme_id: string | null;
|
|
264
262
|
to: {
|
|
265
|
-
user_id: string;
|
|
266
263
|
type: "user-primary-email";
|
|
267
|
-
} | {
|
|
268
|
-
emails: string[];
|
|
269
264
|
user_id: string;
|
|
270
|
-
type: "user-custom-emails";
|
|
271
265
|
} | {
|
|
266
|
+
type: "user-custom-emails";
|
|
267
|
+
user_id: string;
|
|
272
268
|
emails: string[];
|
|
269
|
+
} | {
|
|
273
270
|
type: "custom-emails";
|
|
271
|
+
emails: string[];
|
|
274
272
|
};
|
|
275
273
|
variables: Record<string, {} | null>;
|
|
276
274
|
skip_deliverability_check: boolean;
|
|
@@ -294,30 +292,30 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
294
292
|
has_delivered: boolean;
|
|
295
293
|
started_rendering_at_millis: number;
|
|
296
294
|
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
|
-
status: "server-error";
|
|
303
302
|
id: string;
|
|
304
|
-
|
|
305
|
-
text: string | null;
|
|
303
|
+
status: "server-error";
|
|
306
304
|
subject: string;
|
|
307
305
|
created_at_millis: number;
|
|
308
306
|
updated_at_millis: number;
|
|
309
307
|
tsx_source: string;
|
|
310
308
|
theme_id: string | null;
|
|
311
309
|
to: {
|
|
312
|
-
user_id: string;
|
|
313
310
|
type: "user-primary-email";
|
|
314
|
-
} | {
|
|
315
|
-
emails: string[];
|
|
316
311
|
user_id: string;
|
|
317
|
-
type: "user-custom-emails";
|
|
318
312
|
} | {
|
|
313
|
+
type: "user-custom-emails";
|
|
314
|
+
user_id: string;
|
|
319
315
|
emails: string[];
|
|
316
|
+
} | {
|
|
320
317
|
type: "custom-emails";
|
|
318
|
+
emails: string[];
|
|
321
319
|
};
|
|
322
320
|
variables: Record<string, {} | null>;
|
|
323
321
|
skip_deliverability_check: boolean;
|
|
@@ -341,6 +339,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
341
339
|
has_delivered: boolean;
|
|
342
340
|
started_rendering_at_millis: number;
|
|
343
341
|
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;
|
|
353
351
|
subject?: string | undefined;
|
|
354
352
|
started_rendering_at_millis?: number | undefined;
|
|
355
353
|
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
|
-
status: "skipped";
|
|
361
360
|
id: string;
|
|
361
|
+
status: "skipped";
|
|
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
|
-
user_id: string;
|
|
368
367
|
type: "user-primary-email";
|
|
369
|
-
} | {
|
|
370
|
-
emails: string[];
|
|
371
368
|
user_id: string;
|
|
372
|
-
type: "user-custom-emails";
|
|
373
369
|
} | {
|
|
370
|
+
type: "user-custom-emails";
|
|
371
|
+
user_id: string;
|
|
374
372
|
emails: string[];
|
|
373
|
+
} | {
|
|
375
374
|
type: "custom-emails";
|
|
375
|
+
emails: string[];
|
|
376
376
|
};
|
|
377
377
|
variables: Record<string, {} | null>;
|
|
378
378
|
skip_deliverability_check: boolean;
|
|
@@ -398,25 +398,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
398
398
|
skipped_reason: string;
|
|
399
399
|
skipped_details: Record<string, {} | null>;
|
|
400
400
|
} | {
|
|
401
|
-
status: "bounced";
|
|
402
401
|
id: string;
|
|
403
|
-
|
|
404
|
-
text: string | null;
|
|
402
|
+
status: "bounced";
|
|
405
403
|
subject: string;
|
|
406
404
|
created_at_millis: number;
|
|
407
405
|
updated_at_millis: number;
|
|
408
406
|
tsx_source: string;
|
|
409
407
|
theme_id: string | null;
|
|
410
408
|
to: {
|
|
411
|
-
user_id: string;
|
|
412
409
|
type: "user-primary-email";
|
|
413
|
-
} | {
|
|
414
|
-
emails: string[];
|
|
415
410
|
user_id: string;
|
|
416
|
-
type: "user-custom-emails";
|
|
417
411
|
} | {
|
|
412
|
+
type: "user-custom-emails";
|
|
413
|
+
user_id: string;
|
|
418
414
|
emails: string[];
|
|
415
|
+
} | {
|
|
419
416
|
type: "custom-emails";
|
|
417
|
+
emails: string[];
|
|
420
418
|
};
|
|
421
419
|
variables: Record<string, {} | null>;
|
|
422
420
|
skip_deliverability_check: boolean;
|
|
@@ -440,31 +438,31 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
440
438
|
has_delivered: boolean;
|
|
441
439
|
started_rendering_at_millis: number;
|
|
442
440
|
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
|
-
status: "delivery-delayed";
|
|
450
449
|
id: string;
|
|
451
|
-
|
|
452
|
-
text: string | null;
|
|
450
|
+
status: "delivery-delayed";
|
|
453
451
|
subject: string;
|
|
454
452
|
created_at_millis: number;
|
|
455
453
|
updated_at_millis: number;
|
|
456
454
|
tsx_source: string;
|
|
457
455
|
theme_id: string | null;
|
|
458
456
|
to: {
|
|
459
|
-
user_id: string;
|
|
460
457
|
type: "user-primary-email";
|
|
461
|
-
} | {
|
|
462
|
-
emails: string[];
|
|
463
458
|
user_id: string;
|
|
464
|
-
type: "user-custom-emails";
|
|
465
459
|
} | {
|
|
460
|
+
type: "user-custom-emails";
|
|
461
|
+
user_id: string;
|
|
466
462
|
emails: string[];
|
|
463
|
+
} | {
|
|
467
464
|
type: "custom-emails";
|
|
465
|
+
emails: string[];
|
|
468
466
|
};
|
|
469
467
|
variables: Record<string, {} | null>;
|
|
470
468
|
skip_deliverability_check: boolean;
|
|
@@ -488,31 +486,31 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
488
486
|
has_delivered: boolean;
|
|
489
487
|
started_rendering_at_millis: number;
|
|
490
488
|
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
|
-
status: "sent";
|
|
498
497
|
id: string;
|
|
499
|
-
|
|
500
|
-
text: string | null;
|
|
498
|
+
status: "sent";
|
|
501
499
|
subject: string;
|
|
502
500
|
created_at_millis: number;
|
|
503
501
|
updated_at_millis: number;
|
|
504
502
|
tsx_source: string;
|
|
505
503
|
theme_id: string | null;
|
|
506
504
|
to: {
|
|
507
|
-
user_id: string;
|
|
508
505
|
type: "user-primary-email";
|
|
509
|
-
} | {
|
|
510
|
-
emails: string[];
|
|
511
506
|
user_id: string;
|
|
512
|
-
type: "user-custom-emails";
|
|
513
507
|
} | {
|
|
508
|
+
type: "user-custom-emails";
|
|
509
|
+
user_id: string;
|
|
514
510
|
emails: string[];
|
|
511
|
+
} | {
|
|
515
512
|
type: "custom-emails";
|
|
513
|
+
emails: string[];
|
|
516
514
|
};
|
|
517
515
|
variables: Record<string, {} | null>;
|
|
518
516
|
skip_deliverability_check: boolean;
|
|
@@ -536,6 +534,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
536
534
|
has_delivered: boolean;
|
|
537
535
|
started_rendering_at_millis: number;
|
|
538
536
|
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,25 +543,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
543
543
|
delivered_at_millis: number;
|
|
544
544
|
can_have_delivery_info: boolean;
|
|
545
545
|
} | {
|
|
546
|
-
status: "opened";
|
|
547
546
|
id: string;
|
|
548
|
-
|
|
549
|
-
text: string | null;
|
|
547
|
+
status: "opened";
|
|
550
548
|
subject: string;
|
|
551
549
|
created_at_millis: number;
|
|
552
550
|
updated_at_millis: number;
|
|
553
551
|
tsx_source: string;
|
|
554
552
|
theme_id: string | null;
|
|
555
553
|
to: {
|
|
556
|
-
user_id: string;
|
|
557
554
|
type: "user-primary-email";
|
|
558
|
-
} | {
|
|
559
|
-
emails: string[];
|
|
560
555
|
user_id: string;
|
|
561
|
-
type: "user-custom-emails";
|
|
562
556
|
} | {
|
|
557
|
+
type: "user-custom-emails";
|
|
558
|
+
user_id: string;
|
|
563
559
|
emails: string[];
|
|
560
|
+
} | {
|
|
564
561
|
type: "custom-emails";
|
|
562
|
+
emails: string[];
|
|
565
563
|
};
|
|
566
564
|
variables: Record<string, {} | null>;
|
|
567
565
|
skip_deliverability_check: boolean;
|
|
@@ -585,6 +583,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
585
583
|
has_delivered: boolean;
|
|
586
584
|
started_rendering_at_millis: number;
|
|
587
585
|
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,25 +593,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
593
593
|
can_have_delivery_info: boolean;
|
|
594
594
|
opened_at_millis: number;
|
|
595
595
|
} | {
|
|
596
|
-
status: "clicked";
|
|
597
596
|
id: string;
|
|
598
|
-
|
|
599
|
-
text: string | null;
|
|
597
|
+
status: "clicked";
|
|
600
598
|
subject: string;
|
|
601
599
|
created_at_millis: number;
|
|
602
600
|
updated_at_millis: number;
|
|
603
601
|
tsx_source: string;
|
|
604
602
|
theme_id: string | null;
|
|
605
603
|
to: {
|
|
606
|
-
user_id: string;
|
|
607
604
|
type: "user-primary-email";
|
|
608
|
-
} | {
|
|
609
|
-
emails: string[];
|
|
610
605
|
user_id: string;
|
|
611
|
-
type: "user-custom-emails";
|
|
612
606
|
} | {
|
|
607
|
+
type: "user-custom-emails";
|
|
608
|
+
user_id: string;
|
|
613
609
|
emails: string[];
|
|
610
|
+
} | {
|
|
614
611
|
type: "custom-emails";
|
|
612
|
+
emails: string[];
|
|
615
613
|
};
|
|
616
614
|
variables: Record<string, {} | null>;
|
|
617
615
|
skip_deliverability_check: boolean;
|
|
@@ -635,6 +633,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
635
633
|
has_delivered: boolean;
|
|
636
634
|
started_rendering_at_millis: number;
|
|
637
635
|
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,25 +643,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
643
643
|
can_have_delivery_info: boolean;
|
|
644
644
|
clicked_at_millis: number;
|
|
645
645
|
} | {
|
|
646
|
-
status: "marked-as-spam";
|
|
647
646
|
id: string;
|
|
648
|
-
|
|
649
|
-
text: string | null;
|
|
647
|
+
status: "marked-as-spam";
|
|
650
648
|
subject: string;
|
|
651
649
|
created_at_millis: number;
|
|
652
650
|
updated_at_millis: number;
|
|
653
651
|
tsx_source: string;
|
|
654
652
|
theme_id: string | null;
|
|
655
653
|
to: {
|
|
656
|
-
user_id: string;
|
|
657
654
|
type: "user-primary-email";
|
|
658
|
-
} | {
|
|
659
|
-
emails: string[];
|
|
660
655
|
user_id: string;
|
|
661
|
-
type: "user-custom-emails";
|
|
662
656
|
} | {
|
|
657
|
+
type: "user-custom-emails";
|
|
658
|
+
user_id: string;
|
|
663
659
|
emails: string[];
|
|
660
|
+
} | {
|
|
664
661
|
type: "custom-emails";
|
|
662
|
+
emails: string[];
|
|
665
663
|
};
|
|
666
664
|
variables: Record<string, {} | null>;
|
|
667
665
|
skip_deliverability_check: boolean;
|
|
@@ -685,6 +683,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
685
683
|
has_delivered: boolean;
|
|
686
684
|
started_rendering_at_millis: number;
|
|
687
685
|
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
|
-
user_id: string;
|
|
701
700
|
type: "user-primary-email";
|
|
702
|
-
} | {
|
|
703
|
-
emails: string[];
|
|
704
701
|
user_id: string;
|
|
705
|
-
type: "user-custom-emails";
|
|
706
702
|
} | {
|
|
703
|
+
type: "user-custom-emails";
|
|
704
|
+
user_id: string;
|
|
707
705
|
emails: string[];
|
|
706
|
+
} | {
|
|
708
707
|
type: "custom-emails";
|
|
708
|
+
emails: string[];
|
|
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
|
-
status: "paused";
|
|
728
727
|
id: string;
|
|
728
|
+
status: "paused";
|
|
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
|
-
user_id: string;
|
|
735
734
|
type: "user-primary-email";
|
|
736
|
-
} | {
|
|
737
|
-
emails: string[];
|
|
738
735
|
user_id: string;
|
|
739
|
-
type: "user-custom-emails";
|
|
740
736
|
} | {
|
|
737
|
+
type: "user-custom-emails";
|
|
738
|
+
user_id: string;
|
|
741
739
|
emails: string[];
|
|
740
|
+
} | {
|
|
742
741
|
type: "custom-emails";
|
|
742
|
+
emails: string[];
|
|
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
|
-
status: "preparing";
|
|
766
765
|
id: string;
|
|
766
|
+
status: "preparing";
|
|
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
|
-
user_id: string;
|
|
773
772
|
type: "user-primary-email";
|
|
774
|
-
} | {
|
|
775
|
-
emails: string[];
|
|
776
773
|
user_id: string;
|
|
777
|
-
type: "user-custom-emails";
|
|
778
774
|
} | {
|
|
775
|
+
type: "user-custom-emails";
|
|
776
|
+
user_id: string;
|
|
779
777
|
emails: string[];
|
|
778
|
+
} | {
|
|
780
779
|
type: "custom-emails";
|
|
780
|
+
emails: string[];
|
|
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
|
-
status: "rendering";
|
|
804
803
|
id: string;
|
|
804
|
+
status: "rendering";
|
|
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
|
-
user_id: string;
|
|
811
810
|
type: "user-primary-email";
|
|
812
|
-
} | {
|
|
813
|
-
emails: string[];
|
|
814
811
|
user_id: string;
|
|
815
|
-
type: "user-custom-emails";
|
|
816
812
|
} | {
|
|
813
|
+
type: "user-custom-emails";
|
|
814
|
+
user_id: string;
|
|
817
815
|
emails: string[];
|
|
816
|
+
} | {
|
|
818
817
|
type: "custom-emails";
|
|
818
|
+
emails: string[];
|
|
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
|
-
status: "render-error";
|
|
843
842
|
id: string;
|
|
843
|
+
status: "render-error";
|
|
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
|
-
user_id: string;
|
|
850
849
|
type: "user-primary-email";
|
|
851
|
-
} | {
|
|
852
|
-
emails: string[];
|
|
853
850
|
user_id: string;
|
|
854
|
-
type: "user-custom-emails";
|
|
855
851
|
} | {
|
|
852
|
+
type: "user-custom-emails";
|
|
853
|
+
user_id: string;
|
|
856
854
|
emails: string[];
|
|
855
|
+
} | {
|
|
857
856
|
type: "custom-emails";
|
|
857
|
+
emails: string[];
|
|
858
858
|
};
|
|
859
859
|
variables: Record<string, {} | null>;
|
|
860
860
|
skip_deliverability_check: boolean;
|
|
@@ -880,25 +880,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
880
880
|
rendered_at_millis: number;
|
|
881
881
|
render_error: string;
|
|
882
882
|
} | {
|
|
883
|
-
status: "scheduled";
|
|
884
883
|
id: string;
|
|
885
|
-
|
|
886
|
-
text: string | null;
|
|
884
|
+
status: "scheduled";
|
|
887
885
|
subject: string;
|
|
888
886
|
created_at_millis: number;
|
|
889
887
|
updated_at_millis: number;
|
|
890
888
|
tsx_source: string;
|
|
891
889
|
theme_id: string | null;
|
|
892
890
|
to: {
|
|
893
|
-
user_id: string;
|
|
894
891
|
type: "user-primary-email";
|
|
895
|
-
} | {
|
|
896
|
-
emails: string[];
|
|
897
892
|
user_id: string;
|
|
898
|
-
type: "user-custom-emails";
|
|
899
893
|
} | {
|
|
894
|
+
type: "user-custom-emails";
|
|
895
|
+
user_id: string;
|
|
900
896
|
emails: string[];
|
|
897
|
+
} | {
|
|
901
898
|
type: "custom-emails";
|
|
899
|
+
emails: string[];
|
|
902
900
|
};
|
|
903
901
|
variables: Record<string, {} | null>;
|
|
904
902
|
skip_deliverability_check: boolean;
|
|
@@ -922,29 +920,29 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
922
920
|
has_delivered: boolean;
|
|
923
921
|
started_rendering_at_millis: number;
|
|
924
922
|
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
|
-
status: "queued";
|
|
930
929
|
id: string;
|
|
931
|
-
|
|
932
|
-
text: string | null;
|
|
930
|
+
status: "queued";
|
|
933
931
|
subject: string;
|
|
934
932
|
created_at_millis: number;
|
|
935
933
|
updated_at_millis: number;
|
|
936
934
|
tsx_source: string;
|
|
937
935
|
theme_id: string | null;
|
|
938
936
|
to: {
|
|
939
|
-
user_id: string;
|
|
940
937
|
type: "user-primary-email";
|
|
941
|
-
} | {
|
|
942
|
-
emails: string[];
|
|
943
938
|
user_id: string;
|
|
944
|
-
type: "user-custom-emails";
|
|
945
939
|
} | {
|
|
940
|
+
type: "user-custom-emails";
|
|
941
|
+
user_id: string;
|
|
946
942
|
emails: string[];
|
|
943
|
+
} | {
|
|
947
944
|
type: "custom-emails";
|
|
945
|
+
emails: string[];
|
|
948
946
|
};
|
|
949
947
|
variables: Record<string, {} | null>;
|
|
950
948
|
skip_deliverability_check: boolean;
|
|
@@ -968,29 +966,29 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
968
966
|
has_delivered: boolean;
|
|
969
967
|
started_rendering_at_millis: number;
|
|
970
968
|
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
|
-
status: "sending";
|
|
976
975
|
id: string;
|
|
977
|
-
|
|
978
|
-
text: string | null;
|
|
976
|
+
status: "sending";
|
|
979
977
|
subject: string;
|
|
980
978
|
created_at_millis: number;
|
|
981
979
|
updated_at_millis: number;
|
|
982
980
|
tsx_source: string;
|
|
983
981
|
theme_id: string | null;
|
|
984
982
|
to: {
|
|
985
|
-
user_id: string;
|
|
986
983
|
type: "user-primary-email";
|
|
987
|
-
} | {
|
|
988
|
-
emails: string[];
|
|
989
984
|
user_id: string;
|
|
990
|
-
type: "user-custom-emails";
|
|
991
985
|
} | {
|
|
986
|
+
type: "user-custom-emails";
|
|
987
|
+
user_id: string;
|
|
992
988
|
emails: string[];
|
|
989
|
+
} | {
|
|
993
990
|
type: "custom-emails";
|
|
991
|
+
emails: string[];
|
|
994
992
|
};
|
|
995
993
|
variables: Record<string, {} | null>;
|
|
996
994
|
skip_deliverability_check: boolean;
|
|
@@ -1014,30 +1012,30 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1014
1012
|
has_delivered: boolean;
|
|
1015
1013
|
started_rendering_at_millis: number;
|
|
1016
1014
|
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
|
-
status: "server-error";
|
|
1023
1022
|
id: string;
|
|
1024
|
-
|
|
1025
|
-
text: string | null;
|
|
1023
|
+
status: "server-error";
|
|
1026
1024
|
subject: string;
|
|
1027
1025
|
created_at_millis: number;
|
|
1028
1026
|
updated_at_millis: number;
|
|
1029
1027
|
tsx_source: string;
|
|
1030
1028
|
theme_id: string | null;
|
|
1031
1029
|
to: {
|
|
1032
|
-
user_id: string;
|
|
1033
1030
|
type: "user-primary-email";
|
|
1034
|
-
} | {
|
|
1035
|
-
emails: string[];
|
|
1036
1031
|
user_id: string;
|
|
1037
|
-
type: "user-custom-emails";
|
|
1038
1032
|
} | {
|
|
1033
|
+
type: "user-custom-emails";
|
|
1034
|
+
user_id: string;
|
|
1039
1035
|
emails: string[];
|
|
1036
|
+
} | {
|
|
1040
1037
|
type: "custom-emails";
|
|
1038
|
+
emails: string[];
|
|
1041
1039
|
};
|
|
1042
1040
|
variables: Record<string, {} | null>;
|
|
1043
1041
|
skip_deliverability_check: boolean;
|
|
@@ -1061,6 +1059,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1061
1059
|
has_delivered: boolean;
|
|
1062
1060
|
started_rendering_at_millis: number;
|
|
1063
1061
|
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;
|
|
1073
1071
|
subject?: string | undefined;
|
|
1074
1072
|
started_rendering_at_millis?: number | undefined;
|
|
1075
1073
|
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
|
-
status: "skipped";
|
|
1081
1080
|
id: string;
|
|
1081
|
+
status: "skipped";
|
|
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
|
-
user_id: string;
|
|
1088
1087
|
type: "user-primary-email";
|
|
1089
|
-
} | {
|
|
1090
|
-
emails: string[];
|
|
1091
1088
|
user_id: string;
|
|
1092
|
-
type: "user-custom-emails";
|
|
1093
1089
|
} | {
|
|
1090
|
+
type: "user-custom-emails";
|
|
1091
|
+
user_id: string;
|
|
1094
1092
|
emails: string[];
|
|
1093
|
+
} | {
|
|
1095
1094
|
type: "custom-emails";
|
|
1095
|
+
emails: string[];
|
|
1096
1096
|
};
|
|
1097
1097
|
variables: Record<string, {} | null>;
|
|
1098
1098
|
skip_deliverability_check: boolean;
|
|
@@ -1118,25 +1118,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1118
1118
|
skipped_reason: string;
|
|
1119
1119
|
skipped_details: Record<string, {} | null>;
|
|
1120
1120
|
} | {
|
|
1121
|
-
status: "bounced";
|
|
1122
1121
|
id: string;
|
|
1123
|
-
|
|
1124
|
-
text: string | null;
|
|
1122
|
+
status: "bounced";
|
|
1125
1123
|
subject: string;
|
|
1126
1124
|
created_at_millis: number;
|
|
1127
1125
|
updated_at_millis: number;
|
|
1128
1126
|
tsx_source: string;
|
|
1129
1127
|
theme_id: string | null;
|
|
1130
1128
|
to: {
|
|
1131
|
-
user_id: string;
|
|
1132
1129
|
type: "user-primary-email";
|
|
1133
|
-
} | {
|
|
1134
|
-
emails: string[];
|
|
1135
1130
|
user_id: string;
|
|
1136
|
-
type: "user-custom-emails";
|
|
1137
1131
|
} | {
|
|
1132
|
+
type: "user-custom-emails";
|
|
1133
|
+
user_id: string;
|
|
1138
1134
|
emails: string[];
|
|
1135
|
+
} | {
|
|
1139
1136
|
type: "custom-emails";
|
|
1137
|
+
emails: string[];
|
|
1140
1138
|
};
|
|
1141
1139
|
variables: Record<string, {} | null>;
|
|
1142
1140
|
skip_deliverability_check: boolean;
|
|
@@ -1160,31 +1158,31 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1160
1158
|
has_delivered: boolean;
|
|
1161
1159
|
started_rendering_at_millis: number;
|
|
1162
1160
|
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
|
-
status: "delivery-delayed";
|
|
1170
1169
|
id: string;
|
|
1171
|
-
|
|
1172
|
-
text: string | null;
|
|
1170
|
+
status: "delivery-delayed";
|
|
1173
1171
|
subject: string;
|
|
1174
1172
|
created_at_millis: number;
|
|
1175
1173
|
updated_at_millis: number;
|
|
1176
1174
|
tsx_source: string;
|
|
1177
1175
|
theme_id: string | null;
|
|
1178
1176
|
to: {
|
|
1179
|
-
user_id: string;
|
|
1180
1177
|
type: "user-primary-email";
|
|
1181
|
-
} | {
|
|
1182
|
-
emails: string[];
|
|
1183
1178
|
user_id: string;
|
|
1184
|
-
type: "user-custom-emails";
|
|
1185
1179
|
} | {
|
|
1180
|
+
type: "user-custom-emails";
|
|
1181
|
+
user_id: string;
|
|
1186
1182
|
emails: string[];
|
|
1183
|
+
} | {
|
|
1187
1184
|
type: "custom-emails";
|
|
1185
|
+
emails: string[];
|
|
1188
1186
|
};
|
|
1189
1187
|
variables: Record<string, {} | null>;
|
|
1190
1188
|
skip_deliverability_check: boolean;
|
|
@@ -1208,31 +1206,31 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1208
1206
|
has_delivered: boolean;
|
|
1209
1207
|
started_rendering_at_millis: number;
|
|
1210
1208
|
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
|
-
status: "sent";
|
|
1218
1217
|
id: string;
|
|
1219
|
-
|
|
1220
|
-
text: string | null;
|
|
1218
|
+
status: "sent";
|
|
1221
1219
|
subject: string;
|
|
1222
1220
|
created_at_millis: number;
|
|
1223
1221
|
updated_at_millis: number;
|
|
1224
1222
|
tsx_source: string;
|
|
1225
1223
|
theme_id: string | null;
|
|
1226
1224
|
to: {
|
|
1227
|
-
user_id: string;
|
|
1228
1225
|
type: "user-primary-email";
|
|
1229
|
-
} | {
|
|
1230
|
-
emails: string[];
|
|
1231
1226
|
user_id: string;
|
|
1232
|
-
type: "user-custom-emails";
|
|
1233
1227
|
} | {
|
|
1228
|
+
type: "user-custom-emails";
|
|
1229
|
+
user_id: string;
|
|
1234
1230
|
emails: string[];
|
|
1231
|
+
} | {
|
|
1235
1232
|
type: "custom-emails";
|
|
1233
|
+
emails: string[];
|
|
1236
1234
|
};
|
|
1237
1235
|
variables: Record<string, {} | null>;
|
|
1238
1236
|
skip_deliverability_check: boolean;
|
|
@@ -1256,6 +1254,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1256
1254
|
has_delivered: boolean;
|
|
1257
1255
|
started_rendering_at_millis: number;
|
|
1258
1256
|
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,25 +1263,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1263
1263
|
delivered_at_millis: number;
|
|
1264
1264
|
can_have_delivery_info: boolean;
|
|
1265
1265
|
} | {
|
|
1266
|
-
status: "opened";
|
|
1267
1266
|
id: string;
|
|
1268
|
-
|
|
1269
|
-
text: string | null;
|
|
1267
|
+
status: "opened";
|
|
1270
1268
|
subject: string;
|
|
1271
1269
|
created_at_millis: number;
|
|
1272
1270
|
updated_at_millis: number;
|
|
1273
1271
|
tsx_source: string;
|
|
1274
1272
|
theme_id: string | null;
|
|
1275
1273
|
to: {
|
|
1276
|
-
user_id: string;
|
|
1277
1274
|
type: "user-primary-email";
|
|
1278
|
-
} | {
|
|
1279
|
-
emails: string[];
|
|
1280
1275
|
user_id: string;
|
|
1281
|
-
type: "user-custom-emails";
|
|
1282
1276
|
} | {
|
|
1277
|
+
type: "user-custom-emails";
|
|
1278
|
+
user_id: string;
|
|
1283
1279
|
emails: string[];
|
|
1280
|
+
} | {
|
|
1284
1281
|
type: "custom-emails";
|
|
1282
|
+
emails: string[];
|
|
1285
1283
|
};
|
|
1286
1284
|
variables: Record<string, {} | null>;
|
|
1287
1285
|
skip_deliverability_check: boolean;
|
|
@@ -1305,6 +1303,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1305
1303
|
has_delivered: boolean;
|
|
1306
1304
|
started_rendering_at_millis: number;
|
|
1307
1305
|
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,25 +1313,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1313
1313
|
can_have_delivery_info: boolean;
|
|
1314
1314
|
opened_at_millis: number;
|
|
1315
1315
|
} | {
|
|
1316
|
-
status: "clicked";
|
|
1317
1316
|
id: string;
|
|
1318
|
-
|
|
1319
|
-
text: string | null;
|
|
1317
|
+
status: "clicked";
|
|
1320
1318
|
subject: string;
|
|
1321
1319
|
created_at_millis: number;
|
|
1322
1320
|
updated_at_millis: number;
|
|
1323
1321
|
tsx_source: string;
|
|
1324
1322
|
theme_id: string | null;
|
|
1325
1323
|
to: {
|
|
1326
|
-
user_id: string;
|
|
1327
1324
|
type: "user-primary-email";
|
|
1328
|
-
} | {
|
|
1329
|
-
emails: string[];
|
|
1330
1325
|
user_id: string;
|
|
1331
|
-
type: "user-custom-emails";
|
|
1332
1326
|
} | {
|
|
1327
|
+
type: "user-custom-emails";
|
|
1328
|
+
user_id: string;
|
|
1333
1329
|
emails: string[];
|
|
1330
|
+
} | {
|
|
1334
1331
|
type: "custom-emails";
|
|
1332
|
+
emails: string[];
|
|
1335
1333
|
};
|
|
1336
1334
|
variables: Record<string, {} | null>;
|
|
1337
1335
|
skip_deliverability_check: boolean;
|
|
@@ -1355,6 +1353,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1355
1353
|
has_delivered: boolean;
|
|
1356
1354
|
started_rendering_at_millis: number;
|
|
1357
1355
|
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,25 +1363,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1363
1363
|
can_have_delivery_info: boolean;
|
|
1364
1364
|
clicked_at_millis: number;
|
|
1365
1365
|
} | {
|
|
1366
|
-
status: "marked-as-spam";
|
|
1367
1366
|
id: string;
|
|
1368
|
-
|
|
1369
|
-
text: string | null;
|
|
1367
|
+
status: "marked-as-spam";
|
|
1370
1368
|
subject: string;
|
|
1371
1369
|
created_at_millis: number;
|
|
1372
1370
|
updated_at_millis: number;
|
|
1373
1371
|
tsx_source: string;
|
|
1374
1372
|
theme_id: string | null;
|
|
1375
1373
|
to: {
|
|
1376
|
-
user_id: string;
|
|
1377
1374
|
type: "user-primary-email";
|
|
1378
|
-
} | {
|
|
1379
|
-
emails: string[];
|
|
1380
1375
|
user_id: string;
|
|
1381
|
-
type: "user-custom-emails";
|
|
1382
1376
|
} | {
|
|
1377
|
+
type: "user-custom-emails";
|
|
1378
|
+
user_id: string;
|
|
1383
1379
|
emails: string[];
|
|
1380
|
+
} | {
|
|
1384
1381
|
type: "custom-emails";
|
|
1382
|
+
emails: string[];
|
|
1385
1383
|
};
|
|
1386
1384
|
variables: Record<string, {} | null>;
|
|
1387
1385
|
skip_deliverability_check: boolean;
|
|
@@ -1405,6 +1403,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1405
1403
|
has_delivered: boolean;
|
|
1406
1404
|
started_rendering_at_millis: number;
|
|
1407
1405
|
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
|
-
user_id: string;
|
|
1421
1420
|
type: "user-primary-email";
|
|
1422
|
-
} | {
|
|
1423
|
-
emails: string[];
|
|
1424
1421
|
user_id: string;
|
|
1425
|
-
type: "user-custom-emails";
|
|
1426
1422
|
} | {
|
|
1423
|
+
type: "user-custom-emails";
|
|
1424
|
+
user_id: string;
|
|
1427
1425
|
emails: string[];
|
|
1426
|
+
} | {
|
|
1428
1427
|
type: "custom-emails";
|
|
1428
|
+
emails: string[];
|
|
1429
1429
|
} | undefined;
|
|
1430
1430
|
variables: Record<string, {} | null> | undefined;
|
|
1431
1431
|
skip_deliverability_check: boolean | undefined;
|