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