@hexclave/shared 1.0.25 → 1.0.26
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 +140 -140
- package/dist/config-authoring.d.ts +3 -0
- package/dist/config-authoring.d.ts.map +1 -1
- package/dist/config-authoring.js +3 -0
- package/dist/config-authoring.js.map +1 -1
- package/dist/esm/config/schema.d.ts +140 -140
- package/dist/esm/config-authoring.d.ts +3 -0
- package/dist/esm/config-authoring.d.ts.map +1 -1
- package/dist/esm/config-authoring.js +3 -0
- package/dist/esm/config-authoring.js.map +1 -1
- package/dist/esm/interface/admin-interface.d.ts +3 -1
- package/dist/esm/interface/admin-interface.d.ts.map +1 -1
- package/dist/esm/interface/admin-interface.js +3 -0
- package/dist/esm/interface/admin-interface.js.map +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +10 -10
- package/dist/esm/interface/conversations.d.ts +6 -6
- package/dist/esm/interface/crud/current-user.d.ts +5 -5
- package/dist/esm/interface/crud/email-outbox.d.ts +206 -206
- 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/projects.d.ts +43 -43
- 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 +4 -4
- package/dist/esm/interface/plan-usage.d.ts +57 -0
- package/dist/esm/interface/plan-usage.d.ts.map +1 -0
- package/dist/esm/interface/plan-usage.js +35 -0
- package/dist/esm/interface/plan-usage.js.map +1 -0
- 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/{index-fQbeILq7.d.ts → index-nCRuFJTF.d.ts} +1 -1
- package/dist/{index-fQbeILq7.d.ts.map → index-nCRuFJTF.d.ts.map} +1 -1
- package/dist/interface/admin-interface.d.ts +3 -1
- package/dist/interface/admin-interface.d.ts.map +1 -1
- package/dist/interface/admin-interface.js +3 -0
- package/dist/interface/admin-interface.js.map +1 -1
- package/dist/interface/admin-metrics.d.ts +10 -10
- package/dist/interface/client-interface.d.ts +1 -1
- package/dist/interface/conversations.d.ts +6 -6
- package/dist/interface/crud/current-user.d.ts +5 -5
- package/dist/interface/crud/email-outbox.d.ts +206 -206
- 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/projects.d.ts +43 -43
- 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 +4 -4
- package/dist/interface/plan-usage.d.ts +57 -0
- package/dist/interface/plan-usage.d.ts.map +1 -0
- package/dist/interface/plan-usage.js +39 -0
- package/dist/interface/plan-usage.js.map +1 -0
- package/dist/known-errors.d.ts +1 -1
- package/dist/schema-fields.d.ts +1 -1
- package/dist/sessions.d.ts +7 -7
- package/dist/utils/passkey.d.ts +1 -1
- package/package.json +1 -1
- package/src/config-authoring.ts +3 -1
- package/src/interface/admin-interface.ts +14 -0
- package/src/interface/plan-usage.ts +34 -0
|
@@ -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
|
-
id: string;
|
|
7
6
|
status: "paused";
|
|
7
|
+
id: string;
|
|
8
8
|
created_at_millis: number;
|
|
9
|
+
updated_at_millis: number;
|
|
10
|
+
tsx_source: string;
|
|
11
|
+
theme_id: string | null;
|
|
9
12
|
to: {
|
|
10
|
-
type: "user-primary-email";
|
|
11
13
|
user_id: string;
|
|
14
|
+
type: "user-primary-email";
|
|
12
15
|
} | {
|
|
13
|
-
type: "user-custom-emails";
|
|
14
16
|
user_id: string;
|
|
17
|
+
type: "user-custom-emails";
|
|
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
|
-
id: string;
|
|
45
44
|
status: "preparing";
|
|
45
|
+
id: string;
|
|
46
46
|
created_at_millis: number;
|
|
47
|
+
updated_at_millis: number;
|
|
48
|
+
tsx_source: string;
|
|
49
|
+
theme_id: string | null;
|
|
47
50
|
to: {
|
|
48
|
-
type: "user-primary-email";
|
|
49
51
|
user_id: string;
|
|
52
|
+
type: "user-primary-email";
|
|
50
53
|
} | {
|
|
51
|
-
type: "user-custom-emails";
|
|
52
54
|
user_id: string;
|
|
55
|
+
type: "user-custom-emails";
|
|
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
|
-
id: string;
|
|
83
82
|
status: "rendering";
|
|
83
|
+
id: string;
|
|
84
84
|
created_at_millis: number;
|
|
85
|
+
updated_at_millis: number;
|
|
86
|
+
tsx_source: string;
|
|
87
|
+
theme_id: string | null;
|
|
85
88
|
to: {
|
|
86
|
-
type: "user-primary-email";
|
|
87
89
|
user_id: string;
|
|
90
|
+
type: "user-primary-email";
|
|
88
91
|
} | {
|
|
89
|
-
type: "user-custom-emails";
|
|
90
92
|
user_id: string;
|
|
93
|
+
type: "user-custom-emails";
|
|
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
|
-
id: string;
|
|
122
121
|
status: "render-error";
|
|
122
|
+
id: string;
|
|
123
123
|
created_at_millis: number;
|
|
124
|
+
updated_at_millis: number;
|
|
125
|
+
tsx_source: string;
|
|
126
|
+
theme_id: string | null;
|
|
124
127
|
to: {
|
|
125
|
-
type: "user-primary-email";
|
|
126
128
|
user_id: string;
|
|
129
|
+
type: "user-primary-email";
|
|
127
130
|
} | {
|
|
128
|
-
type: "user-custom-emails";
|
|
129
131
|
user_id: string;
|
|
132
|
+
type: "user-custom-emails";
|
|
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,26 +159,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
159
159
|
rendered_at_millis: number;
|
|
160
160
|
render_error: string;
|
|
161
161
|
} | {
|
|
162
|
+
status: "scheduled";
|
|
162
163
|
id: string;
|
|
163
164
|
html: string | null;
|
|
164
165
|
text: string | null;
|
|
165
|
-
status: "scheduled";
|
|
166
166
|
created_at_millis: number;
|
|
167
|
-
|
|
167
|
+
updated_at_millis: number;
|
|
168
|
+
tsx_source: string;
|
|
169
|
+
theme_id: string | null;
|
|
168
170
|
to: {
|
|
169
|
-
type: "user-primary-email";
|
|
170
171
|
user_id: string;
|
|
172
|
+
type: "user-primary-email";
|
|
171
173
|
} | {
|
|
172
|
-
type: "user-custom-emails";
|
|
173
174
|
user_id: string;
|
|
175
|
+
type: "user-custom-emails";
|
|
174
176
|
emails: string[];
|
|
175
177
|
} | {
|
|
176
178
|
type: "custom-emails";
|
|
177
179
|
emails: string[];
|
|
178
180
|
};
|
|
179
|
-
updated_at_millis: number;
|
|
180
|
-
tsx_source: string;
|
|
181
|
-
theme_id: string | null;
|
|
182
181
|
variables: Record<string, {} | null>;
|
|
183
182
|
skip_deliverability_check: boolean;
|
|
184
183
|
scheduled_at_millis: number;
|
|
@@ -201,30 +200,30 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
201
200
|
has_delivered: boolean;
|
|
202
201
|
started_rendering_at_millis: number;
|
|
203
202
|
rendered_at_millis: number;
|
|
203
|
+
subject: string;
|
|
204
204
|
is_transactional: boolean;
|
|
205
205
|
is_high_priority: boolean;
|
|
206
206
|
notification_category_id: string | null;
|
|
207
207
|
} | {
|
|
208
|
+
status: "queued";
|
|
208
209
|
id: string;
|
|
209
210
|
html: string | null;
|
|
210
211
|
text: string | null;
|
|
211
|
-
status: "queued";
|
|
212
212
|
created_at_millis: number;
|
|
213
|
-
|
|
213
|
+
updated_at_millis: number;
|
|
214
|
+
tsx_source: string;
|
|
215
|
+
theme_id: string | null;
|
|
214
216
|
to: {
|
|
215
|
-
type: "user-primary-email";
|
|
216
217
|
user_id: string;
|
|
218
|
+
type: "user-primary-email";
|
|
217
219
|
} | {
|
|
218
|
-
type: "user-custom-emails";
|
|
219
220
|
user_id: string;
|
|
221
|
+
type: "user-custom-emails";
|
|
220
222
|
emails: string[];
|
|
221
223
|
} | {
|
|
222
224
|
type: "custom-emails";
|
|
223
225
|
emails: string[];
|
|
224
226
|
};
|
|
225
|
-
updated_at_millis: number;
|
|
226
|
-
tsx_source: string;
|
|
227
|
-
theme_id: string | null;
|
|
228
227
|
variables: Record<string, {} | null>;
|
|
229
228
|
skip_deliverability_check: boolean;
|
|
230
229
|
scheduled_at_millis: number;
|
|
@@ -247,30 +246,30 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
247
246
|
has_delivered: boolean;
|
|
248
247
|
started_rendering_at_millis: number;
|
|
249
248
|
rendered_at_millis: number;
|
|
249
|
+
subject: string;
|
|
250
250
|
is_transactional: boolean;
|
|
251
251
|
is_high_priority: boolean;
|
|
252
252
|
notification_category_id: string | null;
|
|
253
253
|
} | {
|
|
254
|
+
status: "sending";
|
|
254
255
|
id: string;
|
|
255
256
|
html: string | null;
|
|
256
257
|
text: string | null;
|
|
257
|
-
status: "sending";
|
|
258
258
|
created_at_millis: number;
|
|
259
|
-
|
|
259
|
+
updated_at_millis: number;
|
|
260
|
+
tsx_source: string;
|
|
261
|
+
theme_id: string | null;
|
|
260
262
|
to: {
|
|
261
|
-
type: "user-primary-email";
|
|
262
263
|
user_id: string;
|
|
264
|
+
type: "user-primary-email";
|
|
263
265
|
} | {
|
|
264
|
-
type: "user-custom-emails";
|
|
265
266
|
user_id: string;
|
|
267
|
+
type: "user-custom-emails";
|
|
266
268
|
emails: string[];
|
|
267
269
|
} | {
|
|
268
270
|
type: "custom-emails";
|
|
269
271
|
emails: string[];
|
|
270
272
|
};
|
|
271
|
-
updated_at_millis: number;
|
|
272
|
-
tsx_source: string;
|
|
273
|
-
theme_id: string | null;
|
|
274
273
|
variables: Record<string, {} | null>;
|
|
275
274
|
skip_deliverability_check: boolean;
|
|
276
275
|
scheduled_at_millis: number;
|
|
@@ -293,31 +292,31 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
293
292
|
has_delivered: boolean;
|
|
294
293
|
started_rendering_at_millis: number;
|
|
295
294
|
rendered_at_millis: number;
|
|
295
|
+
subject: string;
|
|
296
296
|
is_transactional: boolean;
|
|
297
297
|
is_high_priority: boolean;
|
|
298
298
|
notification_category_id: string | null;
|
|
299
299
|
started_sending_at_millis: number;
|
|
300
300
|
} | {
|
|
301
|
+
status: "server-error";
|
|
301
302
|
id: string;
|
|
302
303
|
html: string | null;
|
|
303
304
|
text: string | null;
|
|
304
|
-
status: "server-error";
|
|
305
305
|
created_at_millis: number;
|
|
306
|
-
|
|
306
|
+
updated_at_millis: number;
|
|
307
|
+
tsx_source: string;
|
|
308
|
+
theme_id: string | null;
|
|
307
309
|
to: {
|
|
308
|
-
type: "user-primary-email";
|
|
309
310
|
user_id: string;
|
|
311
|
+
type: "user-primary-email";
|
|
310
312
|
} | {
|
|
311
|
-
type: "user-custom-emails";
|
|
312
313
|
user_id: string;
|
|
314
|
+
type: "user-custom-emails";
|
|
313
315
|
emails: string[];
|
|
314
316
|
} | {
|
|
315
317
|
type: "custom-emails";
|
|
316
318
|
emails: string[];
|
|
317
319
|
};
|
|
318
|
-
updated_at_millis: number;
|
|
319
|
-
tsx_source: string;
|
|
320
|
-
theme_id: string | null;
|
|
321
320
|
variables: Record<string, {} | null>;
|
|
322
321
|
skip_deliverability_check: boolean;
|
|
323
322
|
scheduled_at_millis: number;
|
|
@@ -340,6 +339,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
340
339
|
has_delivered: boolean;
|
|
341
340
|
started_rendering_at_millis: number;
|
|
342
341
|
rendered_at_millis: number;
|
|
342
|
+
subject: string;
|
|
343
343
|
is_transactional: boolean;
|
|
344
344
|
is_high_priority: boolean;
|
|
345
345
|
notification_category_id: string | null;
|
|
@@ -349,30 +349,30 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
349
349
|
} | {
|
|
350
350
|
html?: string | null | undefined;
|
|
351
351
|
text?: string | null | undefined;
|
|
352
|
-
subject?: string | undefined;
|
|
353
352
|
started_rendering_at_millis?: number | undefined;
|
|
354
353
|
rendered_at_millis?: number | undefined;
|
|
354
|
+
subject?: string | 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
|
+
updated_at_millis: number;
|
|
363
|
+
tsx_source: string;
|
|
364
|
+
theme_id: string | null;
|
|
362
365
|
to: {
|
|
363
|
-
type: "user-primary-email";
|
|
364
366
|
user_id: string;
|
|
367
|
+
type: "user-primary-email";
|
|
365
368
|
} | {
|
|
366
|
-
type: "user-custom-emails";
|
|
367
369
|
user_id: string;
|
|
370
|
+
type: "user-custom-emails";
|
|
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,26 +397,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
397
397
|
skipped_reason: string;
|
|
398
398
|
skipped_details: Record<string, {} | null>;
|
|
399
399
|
} | {
|
|
400
|
+
status: "bounced";
|
|
400
401
|
id: string;
|
|
401
402
|
html: string | null;
|
|
402
403
|
text: string | null;
|
|
403
|
-
status: "bounced";
|
|
404
404
|
created_at_millis: number;
|
|
405
|
-
|
|
405
|
+
updated_at_millis: number;
|
|
406
|
+
tsx_source: string;
|
|
407
|
+
theme_id: string | null;
|
|
406
408
|
to: {
|
|
407
|
-
type: "user-primary-email";
|
|
408
409
|
user_id: string;
|
|
410
|
+
type: "user-primary-email";
|
|
409
411
|
} | {
|
|
410
|
-
type: "user-custom-emails";
|
|
411
412
|
user_id: string;
|
|
413
|
+
type: "user-custom-emails";
|
|
412
414
|
emails: string[];
|
|
413
415
|
} | {
|
|
414
416
|
type: "custom-emails";
|
|
415
417
|
emails: string[];
|
|
416
418
|
};
|
|
417
|
-
updated_at_millis: number;
|
|
418
|
-
tsx_source: string;
|
|
419
|
-
theme_id: string | null;
|
|
420
419
|
variables: Record<string, {} | null>;
|
|
421
420
|
skip_deliverability_check: boolean;
|
|
422
421
|
scheduled_at_millis: number;
|
|
@@ -439,32 +438,32 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
439
438
|
has_delivered: boolean;
|
|
440
439
|
started_rendering_at_millis: number;
|
|
441
440
|
rendered_at_millis: number;
|
|
441
|
+
subject: string;
|
|
442
442
|
is_transactional: boolean;
|
|
443
443
|
is_high_priority: boolean;
|
|
444
444
|
notification_category_id: string | null;
|
|
445
445
|
started_sending_at_millis: number;
|
|
446
446
|
bounced_at_millis: number;
|
|
447
447
|
} | {
|
|
448
|
+
status: "delivery-delayed";
|
|
448
449
|
id: string;
|
|
449
450
|
html: string | null;
|
|
450
451
|
text: string | null;
|
|
451
|
-
status: "delivery-delayed";
|
|
452
452
|
created_at_millis: number;
|
|
453
|
-
|
|
453
|
+
updated_at_millis: number;
|
|
454
|
+
tsx_source: string;
|
|
455
|
+
theme_id: string | null;
|
|
454
456
|
to: {
|
|
455
|
-
type: "user-primary-email";
|
|
456
457
|
user_id: string;
|
|
458
|
+
type: "user-primary-email";
|
|
457
459
|
} | {
|
|
458
|
-
type: "user-custom-emails";
|
|
459
460
|
user_id: string;
|
|
461
|
+
type: "user-custom-emails";
|
|
460
462
|
emails: string[];
|
|
461
463
|
} | {
|
|
462
464
|
type: "custom-emails";
|
|
463
465
|
emails: string[];
|
|
464
466
|
};
|
|
465
|
-
updated_at_millis: number;
|
|
466
|
-
tsx_source: string;
|
|
467
|
-
theme_id: string | null;
|
|
468
467
|
variables: Record<string, {} | null>;
|
|
469
468
|
skip_deliverability_check: boolean;
|
|
470
469
|
scheduled_at_millis: number;
|
|
@@ -487,32 +486,32 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
487
486
|
has_delivered: boolean;
|
|
488
487
|
started_rendering_at_millis: number;
|
|
489
488
|
rendered_at_millis: number;
|
|
489
|
+
subject: string;
|
|
490
490
|
is_transactional: boolean;
|
|
491
491
|
is_high_priority: boolean;
|
|
492
492
|
notification_category_id: string | null;
|
|
493
493
|
started_sending_at_millis: number;
|
|
494
494
|
delivery_delayed_at_millis: number;
|
|
495
495
|
} | {
|
|
496
|
+
status: "sent";
|
|
496
497
|
id: string;
|
|
497
498
|
html: string | null;
|
|
498
499
|
text: string | null;
|
|
499
|
-
status: "sent";
|
|
500
500
|
created_at_millis: number;
|
|
501
|
-
|
|
501
|
+
updated_at_millis: number;
|
|
502
|
+
tsx_source: string;
|
|
503
|
+
theme_id: string | null;
|
|
502
504
|
to: {
|
|
503
|
-
type: "user-primary-email";
|
|
504
505
|
user_id: string;
|
|
506
|
+
type: "user-primary-email";
|
|
505
507
|
} | {
|
|
506
|
-
type: "user-custom-emails";
|
|
507
508
|
user_id: string;
|
|
509
|
+
type: "user-custom-emails";
|
|
508
510
|
emails: string[];
|
|
509
511
|
} | {
|
|
510
512
|
type: "custom-emails";
|
|
511
513
|
emails: string[];
|
|
512
514
|
};
|
|
513
|
-
updated_at_millis: number;
|
|
514
|
-
tsx_source: string;
|
|
515
|
-
theme_id: string | null;
|
|
516
515
|
variables: Record<string, {} | null>;
|
|
517
516
|
skip_deliverability_check: boolean;
|
|
518
517
|
scheduled_at_millis: number;
|
|
@@ -535,6 +534,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
535
534
|
has_delivered: boolean;
|
|
536
535
|
started_rendering_at_millis: number;
|
|
537
536
|
rendered_at_millis: number;
|
|
537
|
+
subject: string;
|
|
538
538
|
is_transactional: boolean;
|
|
539
539
|
is_high_priority: boolean;
|
|
540
540
|
notification_category_id: string | null;
|
|
@@ -542,26 +542,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
542
542
|
delivered_at_millis: number;
|
|
543
543
|
can_have_delivery_info: boolean;
|
|
544
544
|
} | {
|
|
545
|
+
status: "opened";
|
|
545
546
|
id: string;
|
|
546
547
|
html: string | null;
|
|
547
548
|
text: string | null;
|
|
548
|
-
status: "opened";
|
|
549
549
|
created_at_millis: number;
|
|
550
|
-
|
|
550
|
+
updated_at_millis: number;
|
|
551
|
+
tsx_source: string;
|
|
552
|
+
theme_id: string | null;
|
|
551
553
|
to: {
|
|
552
|
-
type: "user-primary-email";
|
|
553
554
|
user_id: string;
|
|
555
|
+
type: "user-primary-email";
|
|
554
556
|
} | {
|
|
555
|
-
type: "user-custom-emails";
|
|
556
557
|
user_id: string;
|
|
558
|
+
type: "user-custom-emails";
|
|
557
559
|
emails: string[];
|
|
558
560
|
} | {
|
|
559
561
|
type: "custom-emails";
|
|
560
562
|
emails: string[];
|
|
561
563
|
};
|
|
562
|
-
updated_at_millis: number;
|
|
563
|
-
tsx_source: string;
|
|
564
|
-
theme_id: string | null;
|
|
565
564
|
variables: Record<string, {} | null>;
|
|
566
565
|
skip_deliverability_check: boolean;
|
|
567
566
|
scheduled_at_millis: number;
|
|
@@ -584,6 +583,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
584
583
|
has_delivered: boolean;
|
|
585
584
|
started_rendering_at_millis: number;
|
|
586
585
|
rendered_at_millis: number;
|
|
586
|
+
subject: string;
|
|
587
587
|
is_transactional: boolean;
|
|
588
588
|
is_high_priority: boolean;
|
|
589
589
|
notification_category_id: string | null;
|
|
@@ -592,26 +592,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
592
592
|
can_have_delivery_info: boolean;
|
|
593
593
|
opened_at_millis: number;
|
|
594
594
|
} | {
|
|
595
|
+
status: "clicked";
|
|
595
596
|
id: string;
|
|
596
597
|
html: string | null;
|
|
597
598
|
text: string | null;
|
|
598
|
-
status: "clicked";
|
|
599
599
|
created_at_millis: number;
|
|
600
|
-
|
|
600
|
+
updated_at_millis: number;
|
|
601
|
+
tsx_source: string;
|
|
602
|
+
theme_id: string | null;
|
|
601
603
|
to: {
|
|
602
|
-
type: "user-primary-email";
|
|
603
604
|
user_id: string;
|
|
605
|
+
type: "user-primary-email";
|
|
604
606
|
} | {
|
|
605
|
-
type: "user-custom-emails";
|
|
606
607
|
user_id: string;
|
|
608
|
+
type: "user-custom-emails";
|
|
607
609
|
emails: string[];
|
|
608
610
|
} | {
|
|
609
611
|
type: "custom-emails";
|
|
610
612
|
emails: string[];
|
|
611
613
|
};
|
|
612
|
-
updated_at_millis: number;
|
|
613
|
-
tsx_source: string;
|
|
614
|
-
theme_id: string | null;
|
|
615
614
|
variables: Record<string, {} | null>;
|
|
616
615
|
skip_deliverability_check: boolean;
|
|
617
616
|
scheduled_at_millis: number;
|
|
@@ -634,6 +633,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
634
633
|
has_delivered: boolean;
|
|
635
634
|
started_rendering_at_millis: number;
|
|
636
635
|
rendered_at_millis: number;
|
|
636
|
+
subject: string;
|
|
637
637
|
is_transactional: boolean;
|
|
638
638
|
is_high_priority: boolean;
|
|
639
639
|
notification_category_id: string | null;
|
|
@@ -642,26 +642,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
642
642
|
can_have_delivery_info: boolean;
|
|
643
643
|
clicked_at_millis: number;
|
|
644
644
|
} | {
|
|
645
|
+
status: "marked-as-spam";
|
|
645
646
|
id: string;
|
|
646
647
|
html: string | null;
|
|
647
648
|
text: string | null;
|
|
648
|
-
status: "marked-as-spam";
|
|
649
649
|
created_at_millis: number;
|
|
650
|
-
|
|
650
|
+
updated_at_millis: number;
|
|
651
|
+
tsx_source: string;
|
|
652
|
+
theme_id: string | null;
|
|
651
653
|
to: {
|
|
652
|
-
type: "user-primary-email";
|
|
653
654
|
user_id: string;
|
|
655
|
+
type: "user-primary-email";
|
|
654
656
|
} | {
|
|
655
|
-
type: "user-custom-emails";
|
|
656
657
|
user_id: string;
|
|
658
|
+
type: "user-custom-emails";
|
|
657
659
|
emails: string[];
|
|
658
660
|
} | {
|
|
659
661
|
type: "custom-emails";
|
|
660
662
|
emails: string[];
|
|
661
663
|
};
|
|
662
|
-
updated_at_millis: number;
|
|
663
|
-
tsx_source: string;
|
|
664
|
-
theme_id: string | null;
|
|
665
664
|
variables: Record<string, {} | null>;
|
|
666
665
|
skip_deliverability_check: boolean;
|
|
667
666
|
scheduled_at_millis: number;
|
|
@@ -684,6 +683,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
684
683
|
has_delivered: boolean;
|
|
685
684
|
started_rendering_at_millis: number;
|
|
686
685
|
rendered_at_millis: number;
|
|
686
|
+
subject: string;
|
|
687
687
|
is_transactional: boolean;
|
|
688
688
|
is_high_priority: boolean;
|
|
689
689
|
notification_category_id: string | null;
|
|
@@ -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
|
-
type: "user-primary-email";
|
|
700
699
|
user_id: string;
|
|
700
|
+
type: "user-primary-email";
|
|
701
701
|
} | {
|
|
702
|
-
type: "user-custom-emails";
|
|
703
702
|
user_id: string;
|
|
703
|
+
type: "user-custom-emails";
|
|
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
|
-
id: string;
|
|
727
726
|
status: "paused";
|
|
727
|
+
id: string;
|
|
728
728
|
created_at_millis: number;
|
|
729
|
+
updated_at_millis: number;
|
|
730
|
+
tsx_source: string;
|
|
731
|
+
theme_id: string | null;
|
|
729
732
|
to: {
|
|
730
|
-
type: "user-primary-email";
|
|
731
733
|
user_id: string;
|
|
734
|
+
type: "user-primary-email";
|
|
732
735
|
} | {
|
|
733
|
-
type: "user-custom-emails";
|
|
734
736
|
user_id: string;
|
|
737
|
+
type: "user-custom-emails";
|
|
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
|
-
id: string;
|
|
765
764
|
status: "preparing";
|
|
765
|
+
id: string;
|
|
766
766
|
created_at_millis: number;
|
|
767
|
+
updated_at_millis: number;
|
|
768
|
+
tsx_source: string;
|
|
769
|
+
theme_id: string | null;
|
|
767
770
|
to: {
|
|
768
|
-
type: "user-primary-email";
|
|
769
771
|
user_id: string;
|
|
772
|
+
type: "user-primary-email";
|
|
770
773
|
} | {
|
|
771
|
-
type: "user-custom-emails";
|
|
772
774
|
user_id: string;
|
|
775
|
+
type: "user-custom-emails";
|
|
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
|
-
id: string;
|
|
803
802
|
status: "rendering";
|
|
803
|
+
id: string;
|
|
804
804
|
created_at_millis: number;
|
|
805
|
+
updated_at_millis: number;
|
|
806
|
+
tsx_source: string;
|
|
807
|
+
theme_id: string | null;
|
|
805
808
|
to: {
|
|
806
|
-
type: "user-primary-email";
|
|
807
809
|
user_id: string;
|
|
810
|
+
type: "user-primary-email";
|
|
808
811
|
} | {
|
|
809
|
-
type: "user-custom-emails";
|
|
810
812
|
user_id: string;
|
|
813
|
+
type: "user-custom-emails";
|
|
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
|
-
id: string;
|
|
842
841
|
status: "render-error";
|
|
842
|
+
id: string;
|
|
843
843
|
created_at_millis: number;
|
|
844
|
+
updated_at_millis: number;
|
|
845
|
+
tsx_source: string;
|
|
846
|
+
theme_id: string | null;
|
|
844
847
|
to: {
|
|
845
|
-
type: "user-primary-email";
|
|
846
848
|
user_id: string;
|
|
849
|
+
type: "user-primary-email";
|
|
847
850
|
} | {
|
|
848
|
-
type: "user-custom-emails";
|
|
849
851
|
user_id: string;
|
|
852
|
+
type: "user-custom-emails";
|
|
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,26 +879,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
879
879
|
rendered_at_millis: number;
|
|
880
880
|
render_error: string;
|
|
881
881
|
} | {
|
|
882
|
+
status: "scheduled";
|
|
882
883
|
id: string;
|
|
883
884
|
html: string | null;
|
|
884
885
|
text: string | null;
|
|
885
|
-
status: "scheduled";
|
|
886
886
|
created_at_millis: number;
|
|
887
|
-
|
|
887
|
+
updated_at_millis: number;
|
|
888
|
+
tsx_source: string;
|
|
889
|
+
theme_id: string | null;
|
|
888
890
|
to: {
|
|
889
|
-
type: "user-primary-email";
|
|
890
891
|
user_id: string;
|
|
892
|
+
type: "user-primary-email";
|
|
891
893
|
} | {
|
|
892
|
-
type: "user-custom-emails";
|
|
893
894
|
user_id: string;
|
|
895
|
+
type: "user-custom-emails";
|
|
894
896
|
emails: string[];
|
|
895
897
|
} | {
|
|
896
898
|
type: "custom-emails";
|
|
897
899
|
emails: string[];
|
|
898
900
|
};
|
|
899
|
-
updated_at_millis: number;
|
|
900
|
-
tsx_source: string;
|
|
901
|
-
theme_id: string | null;
|
|
902
901
|
variables: Record<string, {} | null>;
|
|
903
902
|
skip_deliverability_check: boolean;
|
|
904
903
|
scheduled_at_millis: number;
|
|
@@ -921,30 +920,30 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
921
920
|
has_delivered: boolean;
|
|
922
921
|
started_rendering_at_millis: number;
|
|
923
922
|
rendered_at_millis: number;
|
|
923
|
+
subject: string;
|
|
924
924
|
is_transactional: boolean;
|
|
925
925
|
is_high_priority: boolean;
|
|
926
926
|
notification_category_id: string | null;
|
|
927
927
|
} | {
|
|
928
|
+
status: "queued";
|
|
928
929
|
id: string;
|
|
929
930
|
html: string | null;
|
|
930
931
|
text: string | null;
|
|
931
|
-
status: "queued";
|
|
932
932
|
created_at_millis: number;
|
|
933
|
-
|
|
933
|
+
updated_at_millis: number;
|
|
934
|
+
tsx_source: string;
|
|
935
|
+
theme_id: string | null;
|
|
934
936
|
to: {
|
|
935
|
-
type: "user-primary-email";
|
|
936
937
|
user_id: string;
|
|
938
|
+
type: "user-primary-email";
|
|
937
939
|
} | {
|
|
938
|
-
type: "user-custom-emails";
|
|
939
940
|
user_id: string;
|
|
941
|
+
type: "user-custom-emails";
|
|
940
942
|
emails: string[];
|
|
941
943
|
} | {
|
|
942
944
|
type: "custom-emails";
|
|
943
945
|
emails: string[];
|
|
944
946
|
};
|
|
945
|
-
updated_at_millis: number;
|
|
946
|
-
tsx_source: string;
|
|
947
|
-
theme_id: string | null;
|
|
948
947
|
variables: Record<string, {} | null>;
|
|
949
948
|
skip_deliverability_check: boolean;
|
|
950
949
|
scheduled_at_millis: number;
|
|
@@ -967,30 +966,30 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
967
966
|
has_delivered: boolean;
|
|
968
967
|
started_rendering_at_millis: number;
|
|
969
968
|
rendered_at_millis: number;
|
|
969
|
+
subject: string;
|
|
970
970
|
is_transactional: boolean;
|
|
971
971
|
is_high_priority: boolean;
|
|
972
972
|
notification_category_id: string | null;
|
|
973
973
|
} | {
|
|
974
|
+
status: "sending";
|
|
974
975
|
id: string;
|
|
975
976
|
html: string | null;
|
|
976
977
|
text: string | null;
|
|
977
|
-
status: "sending";
|
|
978
978
|
created_at_millis: number;
|
|
979
|
-
|
|
979
|
+
updated_at_millis: number;
|
|
980
|
+
tsx_source: string;
|
|
981
|
+
theme_id: string | null;
|
|
980
982
|
to: {
|
|
981
|
-
type: "user-primary-email";
|
|
982
983
|
user_id: string;
|
|
984
|
+
type: "user-primary-email";
|
|
983
985
|
} | {
|
|
984
|
-
type: "user-custom-emails";
|
|
985
986
|
user_id: string;
|
|
987
|
+
type: "user-custom-emails";
|
|
986
988
|
emails: string[];
|
|
987
989
|
} | {
|
|
988
990
|
type: "custom-emails";
|
|
989
991
|
emails: string[];
|
|
990
992
|
};
|
|
991
|
-
updated_at_millis: number;
|
|
992
|
-
tsx_source: string;
|
|
993
|
-
theme_id: string | null;
|
|
994
993
|
variables: Record<string, {} | null>;
|
|
995
994
|
skip_deliverability_check: boolean;
|
|
996
995
|
scheduled_at_millis: number;
|
|
@@ -1013,31 +1012,31 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1013
1012
|
has_delivered: boolean;
|
|
1014
1013
|
started_rendering_at_millis: number;
|
|
1015
1014
|
rendered_at_millis: number;
|
|
1015
|
+
subject: string;
|
|
1016
1016
|
is_transactional: boolean;
|
|
1017
1017
|
is_high_priority: boolean;
|
|
1018
1018
|
notification_category_id: string | null;
|
|
1019
1019
|
started_sending_at_millis: number;
|
|
1020
1020
|
} | {
|
|
1021
|
+
status: "server-error";
|
|
1021
1022
|
id: string;
|
|
1022
1023
|
html: string | null;
|
|
1023
1024
|
text: string | null;
|
|
1024
|
-
status: "server-error";
|
|
1025
1025
|
created_at_millis: number;
|
|
1026
|
-
|
|
1026
|
+
updated_at_millis: number;
|
|
1027
|
+
tsx_source: string;
|
|
1028
|
+
theme_id: string | null;
|
|
1027
1029
|
to: {
|
|
1028
|
-
type: "user-primary-email";
|
|
1029
1030
|
user_id: string;
|
|
1031
|
+
type: "user-primary-email";
|
|
1030
1032
|
} | {
|
|
1031
|
-
type: "user-custom-emails";
|
|
1032
1033
|
user_id: string;
|
|
1034
|
+
type: "user-custom-emails";
|
|
1033
1035
|
emails: string[];
|
|
1034
1036
|
} | {
|
|
1035
1037
|
type: "custom-emails";
|
|
1036
1038
|
emails: string[];
|
|
1037
1039
|
};
|
|
1038
|
-
updated_at_millis: number;
|
|
1039
|
-
tsx_source: string;
|
|
1040
|
-
theme_id: string | null;
|
|
1041
1040
|
variables: Record<string, {} | null>;
|
|
1042
1041
|
skip_deliverability_check: boolean;
|
|
1043
1042
|
scheduled_at_millis: number;
|
|
@@ -1060,6 +1059,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1060
1059
|
has_delivered: boolean;
|
|
1061
1060
|
started_rendering_at_millis: number;
|
|
1062
1061
|
rendered_at_millis: number;
|
|
1062
|
+
subject: string;
|
|
1063
1063
|
is_transactional: boolean;
|
|
1064
1064
|
is_high_priority: boolean;
|
|
1065
1065
|
notification_category_id: string | null;
|
|
@@ -1069,30 +1069,30 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1069
1069
|
} | {
|
|
1070
1070
|
html?: string | null | undefined;
|
|
1071
1071
|
text?: string | null | undefined;
|
|
1072
|
-
subject?: string | undefined;
|
|
1073
1072
|
started_rendering_at_millis?: number | undefined;
|
|
1074
1073
|
rendered_at_millis?: number | undefined;
|
|
1074
|
+
subject?: string | 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
|
+
updated_at_millis: number;
|
|
1083
|
+
tsx_source: string;
|
|
1084
|
+
theme_id: string | null;
|
|
1082
1085
|
to: {
|
|
1083
|
-
type: "user-primary-email";
|
|
1084
1086
|
user_id: string;
|
|
1087
|
+
type: "user-primary-email";
|
|
1085
1088
|
} | {
|
|
1086
|
-
type: "user-custom-emails";
|
|
1087
1089
|
user_id: string;
|
|
1090
|
+
type: "user-custom-emails";
|
|
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,26 +1117,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1117
1117
|
skipped_reason: string;
|
|
1118
1118
|
skipped_details: Record<string, {} | null>;
|
|
1119
1119
|
} | {
|
|
1120
|
+
status: "bounced";
|
|
1120
1121
|
id: string;
|
|
1121
1122
|
html: string | null;
|
|
1122
1123
|
text: string | null;
|
|
1123
|
-
status: "bounced";
|
|
1124
1124
|
created_at_millis: number;
|
|
1125
|
-
|
|
1125
|
+
updated_at_millis: number;
|
|
1126
|
+
tsx_source: string;
|
|
1127
|
+
theme_id: string | null;
|
|
1126
1128
|
to: {
|
|
1127
|
-
type: "user-primary-email";
|
|
1128
1129
|
user_id: string;
|
|
1130
|
+
type: "user-primary-email";
|
|
1129
1131
|
} | {
|
|
1130
|
-
type: "user-custom-emails";
|
|
1131
1132
|
user_id: string;
|
|
1133
|
+
type: "user-custom-emails";
|
|
1132
1134
|
emails: string[];
|
|
1133
1135
|
} | {
|
|
1134
1136
|
type: "custom-emails";
|
|
1135
1137
|
emails: string[];
|
|
1136
1138
|
};
|
|
1137
|
-
updated_at_millis: number;
|
|
1138
|
-
tsx_source: string;
|
|
1139
|
-
theme_id: string | null;
|
|
1140
1139
|
variables: Record<string, {} | null>;
|
|
1141
1140
|
skip_deliverability_check: boolean;
|
|
1142
1141
|
scheduled_at_millis: number;
|
|
@@ -1159,32 +1158,32 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1159
1158
|
has_delivered: boolean;
|
|
1160
1159
|
started_rendering_at_millis: number;
|
|
1161
1160
|
rendered_at_millis: number;
|
|
1161
|
+
subject: string;
|
|
1162
1162
|
is_transactional: boolean;
|
|
1163
1163
|
is_high_priority: boolean;
|
|
1164
1164
|
notification_category_id: string | null;
|
|
1165
1165
|
started_sending_at_millis: number;
|
|
1166
1166
|
bounced_at_millis: number;
|
|
1167
1167
|
} | {
|
|
1168
|
+
status: "delivery-delayed";
|
|
1168
1169
|
id: string;
|
|
1169
1170
|
html: string | null;
|
|
1170
1171
|
text: string | null;
|
|
1171
|
-
status: "delivery-delayed";
|
|
1172
1172
|
created_at_millis: number;
|
|
1173
|
-
|
|
1173
|
+
updated_at_millis: number;
|
|
1174
|
+
tsx_source: string;
|
|
1175
|
+
theme_id: string | null;
|
|
1174
1176
|
to: {
|
|
1175
|
-
type: "user-primary-email";
|
|
1176
1177
|
user_id: string;
|
|
1178
|
+
type: "user-primary-email";
|
|
1177
1179
|
} | {
|
|
1178
|
-
type: "user-custom-emails";
|
|
1179
1180
|
user_id: string;
|
|
1181
|
+
type: "user-custom-emails";
|
|
1180
1182
|
emails: string[];
|
|
1181
1183
|
} | {
|
|
1182
1184
|
type: "custom-emails";
|
|
1183
1185
|
emails: string[];
|
|
1184
1186
|
};
|
|
1185
|
-
updated_at_millis: number;
|
|
1186
|
-
tsx_source: string;
|
|
1187
|
-
theme_id: string | null;
|
|
1188
1187
|
variables: Record<string, {} | null>;
|
|
1189
1188
|
skip_deliverability_check: boolean;
|
|
1190
1189
|
scheduled_at_millis: number;
|
|
@@ -1207,32 +1206,32 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1207
1206
|
has_delivered: boolean;
|
|
1208
1207
|
started_rendering_at_millis: number;
|
|
1209
1208
|
rendered_at_millis: number;
|
|
1209
|
+
subject: string;
|
|
1210
1210
|
is_transactional: boolean;
|
|
1211
1211
|
is_high_priority: boolean;
|
|
1212
1212
|
notification_category_id: string | null;
|
|
1213
1213
|
started_sending_at_millis: number;
|
|
1214
1214
|
delivery_delayed_at_millis: number;
|
|
1215
1215
|
} | {
|
|
1216
|
+
status: "sent";
|
|
1216
1217
|
id: string;
|
|
1217
1218
|
html: string | null;
|
|
1218
1219
|
text: string | null;
|
|
1219
|
-
status: "sent";
|
|
1220
1220
|
created_at_millis: number;
|
|
1221
|
-
|
|
1221
|
+
updated_at_millis: number;
|
|
1222
|
+
tsx_source: string;
|
|
1223
|
+
theme_id: string | null;
|
|
1222
1224
|
to: {
|
|
1223
|
-
type: "user-primary-email";
|
|
1224
1225
|
user_id: string;
|
|
1226
|
+
type: "user-primary-email";
|
|
1225
1227
|
} | {
|
|
1226
|
-
type: "user-custom-emails";
|
|
1227
1228
|
user_id: string;
|
|
1229
|
+
type: "user-custom-emails";
|
|
1228
1230
|
emails: string[];
|
|
1229
1231
|
} | {
|
|
1230
1232
|
type: "custom-emails";
|
|
1231
1233
|
emails: string[];
|
|
1232
1234
|
};
|
|
1233
|
-
updated_at_millis: number;
|
|
1234
|
-
tsx_source: string;
|
|
1235
|
-
theme_id: string | null;
|
|
1236
1235
|
variables: Record<string, {} | null>;
|
|
1237
1236
|
skip_deliverability_check: boolean;
|
|
1238
1237
|
scheduled_at_millis: number;
|
|
@@ -1255,6 +1254,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1255
1254
|
has_delivered: boolean;
|
|
1256
1255
|
started_rendering_at_millis: number;
|
|
1257
1256
|
rendered_at_millis: number;
|
|
1257
|
+
subject: string;
|
|
1258
1258
|
is_transactional: boolean;
|
|
1259
1259
|
is_high_priority: boolean;
|
|
1260
1260
|
notification_category_id: string | null;
|
|
@@ -1262,26 +1262,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1262
1262
|
delivered_at_millis: number;
|
|
1263
1263
|
can_have_delivery_info: boolean;
|
|
1264
1264
|
} | {
|
|
1265
|
+
status: "opened";
|
|
1265
1266
|
id: string;
|
|
1266
1267
|
html: string | null;
|
|
1267
1268
|
text: string | null;
|
|
1268
|
-
status: "opened";
|
|
1269
1269
|
created_at_millis: number;
|
|
1270
|
-
|
|
1270
|
+
updated_at_millis: number;
|
|
1271
|
+
tsx_source: string;
|
|
1272
|
+
theme_id: string | null;
|
|
1271
1273
|
to: {
|
|
1272
|
-
type: "user-primary-email";
|
|
1273
1274
|
user_id: string;
|
|
1275
|
+
type: "user-primary-email";
|
|
1274
1276
|
} | {
|
|
1275
|
-
type: "user-custom-emails";
|
|
1276
1277
|
user_id: string;
|
|
1278
|
+
type: "user-custom-emails";
|
|
1277
1279
|
emails: string[];
|
|
1278
1280
|
} | {
|
|
1279
1281
|
type: "custom-emails";
|
|
1280
1282
|
emails: string[];
|
|
1281
1283
|
};
|
|
1282
|
-
updated_at_millis: number;
|
|
1283
|
-
tsx_source: string;
|
|
1284
|
-
theme_id: string | null;
|
|
1285
1284
|
variables: Record<string, {} | null>;
|
|
1286
1285
|
skip_deliverability_check: boolean;
|
|
1287
1286
|
scheduled_at_millis: number;
|
|
@@ -1304,6 +1303,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1304
1303
|
has_delivered: boolean;
|
|
1305
1304
|
started_rendering_at_millis: number;
|
|
1306
1305
|
rendered_at_millis: number;
|
|
1306
|
+
subject: string;
|
|
1307
1307
|
is_transactional: boolean;
|
|
1308
1308
|
is_high_priority: boolean;
|
|
1309
1309
|
notification_category_id: string | null;
|
|
@@ -1312,26 +1312,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1312
1312
|
can_have_delivery_info: boolean;
|
|
1313
1313
|
opened_at_millis: number;
|
|
1314
1314
|
} | {
|
|
1315
|
+
status: "clicked";
|
|
1315
1316
|
id: string;
|
|
1316
1317
|
html: string | null;
|
|
1317
1318
|
text: string | null;
|
|
1318
|
-
status: "clicked";
|
|
1319
1319
|
created_at_millis: number;
|
|
1320
|
-
|
|
1320
|
+
updated_at_millis: number;
|
|
1321
|
+
tsx_source: string;
|
|
1322
|
+
theme_id: string | null;
|
|
1321
1323
|
to: {
|
|
1322
|
-
type: "user-primary-email";
|
|
1323
1324
|
user_id: string;
|
|
1325
|
+
type: "user-primary-email";
|
|
1324
1326
|
} | {
|
|
1325
|
-
type: "user-custom-emails";
|
|
1326
1327
|
user_id: string;
|
|
1328
|
+
type: "user-custom-emails";
|
|
1327
1329
|
emails: string[];
|
|
1328
1330
|
} | {
|
|
1329
1331
|
type: "custom-emails";
|
|
1330
1332
|
emails: string[];
|
|
1331
1333
|
};
|
|
1332
|
-
updated_at_millis: number;
|
|
1333
|
-
tsx_source: string;
|
|
1334
|
-
theme_id: string | null;
|
|
1335
1334
|
variables: Record<string, {} | null>;
|
|
1336
1335
|
skip_deliverability_check: boolean;
|
|
1337
1336
|
scheduled_at_millis: number;
|
|
@@ -1354,6 +1353,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1354
1353
|
has_delivered: boolean;
|
|
1355
1354
|
started_rendering_at_millis: number;
|
|
1356
1355
|
rendered_at_millis: number;
|
|
1356
|
+
subject: string;
|
|
1357
1357
|
is_transactional: boolean;
|
|
1358
1358
|
is_high_priority: boolean;
|
|
1359
1359
|
notification_category_id: string | null;
|
|
@@ -1362,26 +1362,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1362
1362
|
can_have_delivery_info: boolean;
|
|
1363
1363
|
clicked_at_millis: number;
|
|
1364
1364
|
} | {
|
|
1365
|
+
status: "marked-as-spam";
|
|
1365
1366
|
id: string;
|
|
1366
1367
|
html: string | null;
|
|
1367
1368
|
text: string | null;
|
|
1368
|
-
status: "marked-as-spam";
|
|
1369
1369
|
created_at_millis: number;
|
|
1370
|
-
|
|
1370
|
+
updated_at_millis: number;
|
|
1371
|
+
tsx_source: string;
|
|
1372
|
+
theme_id: string | null;
|
|
1371
1373
|
to: {
|
|
1372
|
-
type: "user-primary-email";
|
|
1373
1374
|
user_id: string;
|
|
1375
|
+
type: "user-primary-email";
|
|
1374
1376
|
} | {
|
|
1375
|
-
type: "user-custom-emails";
|
|
1376
1377
|
user_id: string;
|
|
1378
|
+
type: "user-custom-emails";
|
|
1377
1379
|
emails: string[];
|
|
1378
1380
|
} | {
|
|
1379
1381
|
type: "custom-emails";
|
|
1380
1382
|
emails: string[];
|
|
1381
1383
|
};
|
|
1382
|
-
updated_at_millis: number;
|
|
1383
|
-
tsx_source: string;
|
|
1384
|
-
theme_id: string | null;
|
|
1385
1384
|
variables: Record<string, {} | null>;
|
|
1386
1385
|
skip_deliverability_check: boolean;
|
|
1387
1386
|
scheduled_at_millis: number;
|
|
@@ -1404,6 +1403,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1404
1403
|
has_delivered: boolean;
|
|
1405
1404
|
started_rendering_at_millis: number;
|
|
1406
1405
|
rendered_at_millis: number;
|
|
1406
|
+
subject: string;
|
|
1407
1407
|
is_transactional: boolean;
|
|
1408
1408
|
is_high_priority: boolean;
|
|
1409
1409
|
notification_category_id: string | null;
|
|
@@ -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
|
-
type: "user-primary-email";
|
|
1420
1419
|
user_id: string;
|
|
1420
|
+
type: "user-primary-email";
|
|
1421
1421
|
} | {
|
|
1422
|
-
type: "user-custom-emails";
|
|
1423
1422
|
user_id: string;
|
|
1423
|
+
type: "user-custom-emails";
|
|
1424
1424
|
emails: string[];
|
|
1425
1425
|
} | {
|
|
1426
1426
|
type: "custom-emails";
|