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