@hexclave/shared 1.0.58 → 1.0.60
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/{admin-interface-Do9G1zZ8.d.ts → admin-interface-BxUHaniY.d.ts} +11 -11
- package/dist/{admin-interface-Do9G1zZ8.d.ts.map → admin-interface-BxUHaniY.d.ts.map} +1 -1
- package/dist/{admin-metrics-bsOkw4YQ.d.ts → admin-metrics-DQ7vvSym.d.ts} +16 -16
- package/dist/{admin-metrics-bsOkw4YQ.d.ts.map → admin-metrics-DQ7vvSym.d.ts.map} +1 -1
- package/dist/{client-interface-DvkciaL0.d.ts → client-interface-D-cO5E3C.d.ts} +10 -10
- package/dist/{client-interface-DvkciaL0.d.ts.map → client-interface-D-cO5E3C.d.ts.map} +1 -1
- package/dist/config/schema.d.ts +1 -1
- package/dist/config-authoring.d.ts +1 -1
- package/dist/{current-user-BBoN3hsn.d.ts → current-user-Cg6by3KK.d.ts} +13 -13
- package/dist/{current-user-BBoN3hsn.d.ts.map → current-user-Cg6by3KK.d.ts.map} +1 -1
- package/dist/{email-outbox-D_wbK759.d.ts → email-outbox-B3lyx4Eg.d.ts} +229 -229
- package/dist/{email-outbox-D_wbK759.d.ts.map → email-outbox-B3lyx4Eg.d.ts.map} +1 -1
- package/dist/esm/config/schema.d.ts +195 -195
- package/dist/esm/interface/admin-metrics.d.ts +15 -15
- package/dist/esm/interface/conversations.d.ts +36 -36
- package/dist/esm/interface/crud/current-user.d.ts +12 -12
- package/dist/esm/interface/crud/email-outbox.d.ts +228 -228
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- package/dist/esm/interface/crud/products.d.ts +23 -23
- package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/esm/interface/crud/projects.d.ts +59 -59
- package/dist/esm/interface/crud/team-member-profiles.d.ts +26 -26
- 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 +16 -16
- package/dist/esm/interface/plan-usage.d.ts +2 -2
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/esm/known-errors.d.ts +1 -1
- package/dist/esm/schema-fields.d.ts +4 -4
- package/dist/esm/sessions.d.ts +11 -11
- package/dist/helpers/password.d.ts +1 -1
- package/dist/helpers/production-mode.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/interface/admin-interface.d.ts +2 -2
- package/dist/interface/admin-metrics.d.ts +1 -1
- package/dist/interface/client-interface.d.ts +1 -1
- package/dist/interface/conversations.d.ts +36 -36
- package/dist/interface/crud/current-user.d.ts +1 -1
- package/dist/interface/crud/email-outbox.d.ts +1 -1
- package/dist/interface/crud/invoices.d.ts +1 -1
- package/dist/interface/crud/products.d.ts +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +1 -1
- package/dist/interface/crud/projects.d.ts +1 -1
- package/dist/interface/crud/team-member-profiles.d.ts +1 -1
- package/dist/interface/crud/transactions.d.ts +1 -1
- package/dist/interface/crud/users.d.ts +1 -1
- package/dist/interface/plan-usage.d.ts +1 -1
- package/dist/interface/server-interface.d.ts +1 -1
- package/dist/interface/webhooks.d.ts +1 -1
- package/dist/{invoices-CHo9YKbI.d.ts → invoices-BGLLnTlR.d.ts} +3 -3
- package/dist/{invoices-CHo9YKbI.d.ts.map → invoices-BGLLnTlR.d.ts.map} +1 -1
- package/dist/{known-errors-Bm4a61wL.d.ts → known-errors-BFf8SVm8.d.ts} +2 -2
- package/dist/{known-errors-Bm4a61wL.d.ts.map → known-errors-BFf8SVm8.d.ts.map} +1 -1
- package/dist/known-errors.d.ts +1 -1
- package/dist/{plan-usage-BaDxcLZ1.d.ts → plan-usage-Dw09F0sh.d.ts} +3 -3
- package/dist/{plan-usage-BaDxcLZ1.d.ts.map → plan-usage-Dw09F0sh.d.ts.map} +1 -1
- package/dist/{products-D4o8A2W0.d.ts → products-Cwn7_4uD.d.ts} +24 -24
- package/dist/{products-D4o8A2W0.d.ts.map → products-Cwn7_4uD.d.ts.map} +1 -1
- package/dist/{project-api-keys--7V5X_UW.d.ts → project-api-keys-CXTBQ2IZ.d.ts} +5 -5
- package/dist/{project-api-keys--7V5X_UW.d.ts.map → project-api-keys-CXTBQ2IZ.d.ts.map} +1 -1
- package/dist/{projects-BX5Y50kJ.d.ts → projects-Cw80wrT7.d.ts} +60 -60
- package/dist/{projects-BX5Y50kJ.d.ts.map → projects-Cw80wrT7.d.ts.map} +1 -1
- package/dist/{schema-BvjIkl-K.d.ts → schema-DGZfskAR.d.ts} +196 -196
- package/dist/{schema-BvjIkl-K.d.ts.map → schema-DGZfskAR.d.ts.map} +1 -1
- package/dist/{schema-fields-DZtDQEEO.d.ts → schema-fields-DPaAnhmc.d.ts} +5 -5
- package/dist/{schema-fields-DZtDQEEO.d.ts.map → schema-fields-DPaAnhmc.d.ts.map} +1 -1
- package/dist/schema-fields.d.ts +1 -1
- package/dist/{server-interface-Ra_vIHP4.d.ts → server-interface-BXeSO8Wj.d.ts} +8 -8
- package/dist/{server-interface-Ra_vIHP4.d.ts.map → server-interface-BXeSO8Wj.d.ts.map} +1 -1
- package/dist/{sessions-CI-0TBQb.d.ts → sessions-B7755rIu.d.ts} +13 -13
- package/dist/{sessions-CI-0TBQb.d.ts.map → sessions-B7755rIu.d.ts.map} +1 -1
- package/dist/sessions.d.ts +1 -1
- package/dist/{team-member-profiles-BoDEqx-0.d.ts → team-member-profiles-B9sAsj4g.d.ts} +27 -27
- package/dist/{team-member-profiles-BoDEqx-0.d.ts.map → team-member-profiles-B9sAsj4g.d.ts.map} +1 -1
- package/dist/{transactions-CHNUJ42J.d.ts → transactions-Brdmr3jE.d.ts} +21 -21
- package/dist/transactions-Brdmr3jE.d.ts.map +1 -0
- package/dist/{users-DHNRwoSz.d.ts → users-ydVQVHD_.d.ts} +18 -18
- package/dist/{users-DHNRwoSz.d.ts.map → users-ydVQVHD_.d.ts.map} +1 -1
- package/dist/{webhooks-8Ts1Clcb.d.ts → webhooks-ByXrdSOx.d.ts} +3 -3
- package/dist/{webhooks-8Ts1Clcb.d.ts.map → webhooks-ByXrdSOx.d.ts.map} +1 -1
- package/package.json +1 -1
- package/dist/transactions-CHNUJ42J.d.ts.map +0 -1
|
@@ -2,23 +2,22 @@ import { c as CrudTypeOf, s as CrudSchemaFromOptions } from "./crud-CqmEW9s6.js"
|
|
|
2
2
|
|
|
3
3
|
//#region src/interface/crud/email-outbox.d.ts
|
|
4
4
|
declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
5
|
-
status: "paused";
|
|
6
5
|
id: string;
|
|
7
6
|
created_at_millis: number;
|
|
7
|
+
updated_at_millis: number;
|
|
8
|
+
tsx_source: string;
|
|
9
|
+
theme_id: string | null;
|
|
8
10
|
to: {
|
|
9
|
-
user_id: string;
|
|
10
11
|
type: "user-primary-email";
|
|
11
|
-
} | {
|
|
12
12
|
user_id: string;
|
|
13
|
+
} | {
|
|
13
14
|
type: "user-custom-emails";
|
|
15
|
+
user_id: string;
|
|
14
16
|
emails: string[];
|
|
15
17
|
} | {
|
|
16
18
|
type: "custom-emails";
|
|
17
19
|
emails: string[];
|
|
18
20
|
};
|
|
19
|
-
updated_at_millis: number;
|
|
20
|
-
tsx_source: string;
|
|
21
|
-
theme_id: string | null;
|
|
22
21
|
variables: Record<string, {} | null>;
|
|
23
22
|
skip_deliverability_check: boolean;
|
|
24
23
|
scheduled_at_millis: number;
|
|
@@ -35,28 +34,28 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
35
34
|
internal_message: string;
|
|
36
35
|
internal_details: Record<string, {} | null>;
|
|
37
36
|
}[] | null;
|
|
37
|
+
status: "paused";
|
|
38
38
|
simple_status: "in-progress";
|
|
39
39
|
is_paused: boolean;
|
|
40
40
|
has_rendered: boolean;
|
|
41
41
|
has_delivered: boolean;
|
|
42
42
|
} | {
|
|
43
|
-
status: "preparing";
|
|
44
43
|
id: string;
|
|
45
44
|
created_at_millis: number;
|
|
45
|
+
updated_at_millis: number;
|
|
46
|
+
tsx_source: string;
|
|
47
|
+
theme_id: string | null;
|
|
46
48
|
to: {
|
|
47
|
-
user_id: string;
|
|
48
49
|
type: "user-primary-email";
|
|
49
|
-
} | {
|
|
50
50
|
user_id: string;
|
|
51
|
+
} | {
|
|
51
52
|
type: "user-custom-emails";
|
|
53
|
+
user_id: string;
|
|
52
54
|
emails: string[];
|
|
53
55
|
} | {
|
|
54
56
|
type: "custom-emails";
|
|
55
57
|
emails: string[];
|
|
56
58
|
};
|
|
57
|
-
updated_at_millis: number;
|
|
58
|
-
tsx_source: string;
|
|
59
|
-
theme_id: string | null;
|
|
60
59
|
variables: Record<string, {} | null>;
|
|
61
60
|
skip_deliverability_check: boolean;
|
|
62
61
|
scheduled_at_millis: number;
|
|
@@ -73,28 +72,28 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
73
72
|
internal_message: string;
|
|
74
73
|
internal_details: Record<string, {} | null>;
|
|
75
74
|
}[] | null;
|
|
75
|
+
status: "preparing";
|
|
76
76
|
simple_status: "in-progress";
|
|
77
77
|
is_paused: boolean;
|
|
78
78
|
has_rendered: boolean;
|
|
79
79
|
has_delivered: boolean;
|
|
80
80
|
} | {
|
|
81
|
-
status: "rendering";
|
|
82
81
|
id: string;
|
|
83
82
|
created_at_millis: number;
|
|
83
|
+
updated_at_millis: number;
|
|
84
|
+
tsx_source: string;
|
|
85
|
+
theme_id: string | null;
|
|
84
86
|
to: {
|
|
85
|
-
user_id: string;
|
|
86
87
|
type: "user-primary-email";
|
|
87
|
-
} | {
|
|
88
88
|
user_id: string;
|
|
89
|
+
} | {
|
|
89
90
|
type: "user-custom-emails";
|
|
91
|
+
user_id: string;
|
|
90
92
|
emails: string[];
|
|
91
93
|
} | {
|
|
92
94
|
type: "custom-emails";
|
|
93
95
|
emails: string[];
|
|
94
96
|
};
|
|
95
|
-
updated_at_millis: number;
|
|
96
|
-
tsx_source: string;
|
|
97
|
-
theme_id: string | null;
|
|
98
97
|
variables: Record<string, {} | null>;
|
|
99
98
|
skip_deliverability_check: boolean;
|
|
100
99
|
scheduled_at_millis: number;
|
|
@@ -111,29 +110,29 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
111
110
|
internal_message: string;
|
|
112
111
|
internal_details: Record<string, {} | null>;
|
|
113
112
|
}[] | null;
|
|
113
|
+
status: "rendering";
|
|
114
114
|
simple_status: "in-progress";
|
|
115
115
|
is_paused: boolean;
|
|
116
116
|
has_rendered: boolean;
|
|
117
117
|
has_delivered: boolean;
|
|
118
118
|
started_rendering_at_millis: number;
|
|
119
119
|
} | {
|
|
120
|
-
status: "render-error";
|
|
121
120
|
id: string;
|
|
122
121
|
created_at_millis: number;
|
|
122
|
+
updated_at_millis: number;
|
|
123
|
+
tsx_source: string;
|
|
124
|
+
theme_id: string | null;
|
|
123
125
|
to: {
|
|
124
|
-
user_id: string;
|
|
125
126
|
type: "user-primary-email";
|
|
126
|
-
} | {
|
|
127
127
|
user_id: string;
|
|
128
|
+
} | {
|
|
128
129
|
type: "user-custom-emails";
|
|
130
|
+
user_id: string;
|
|
129
131
|
emails: string[];
|
|
130
132
|
} | {
|
|
131
133
|
type: "custom-emails";
|
|
132
134
|
emails: string[];
|
|
133
135
|
};
|
|
134
|
-
updated_at_millis: number;
|
|
135
|
-
tsx_source: string;
|
|
136
|
-
theme_id: string | null;
|
|
137
136
|
variables: Record<string, {} | null>;
|
|
138
137
|
skip_deliverability_check: boolean;
|
|
139
138
|
scheduled_at_millis: number;
|
|
@@ -150,6 +149,7 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
150
149
|
internal_message: string;
|
|
151
150
|
internal_details: Record<string, {} | null>;
|
|
152
151
|
}[] | null;
|
|
152
|
+
status: "render-error";
|
|
153
153
|
simple_status: "error";
|
|
154
154
|
is_paused: boolean;
|
|
155
155
|
has_rendered: boolean;
|
|
@@ -158,27 +158,25 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
158
158
|
rendered_at_millis: number;
|
|
159
159
|
render_error: string;
|
|
160
160
|
} | {
|
|
161
|
-
status: "scheduled";
|
|
162
161
|
id: string;
|
|
163
|
-
subject: string;
|
|
164
162
|
created_at_millis: number;
|
|
165
163
|
html: string | null;
|
|
166
164
|
text: string | null;
|
|
165
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
179
|
-
updated_at_millis: number;
|
|
180
|
-
tsx_source: string;
|
|
181
|
-
theme_id: string | null;
|
|
182
180
|
variables: Record<string, {} | null>;
|
|
183
181
|
skip_deliverability_check: boolean;
|
|
184
182
|
scheduled_at_millis: number;
|
|
@@ -195,6 +193,7 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
195
193
|
internal_message: string;
|
|
196
194
|
internal_details: Record<string, {} | null>;
|
|
197
195
|
}[] | null;
|
|
196
|
+
status: "scheduled";
|
|
198
197
|
simple_status: "in-progress";
|
|
199
198
|
is_paused: boolean;
|
|
200
199
|
has_rendered: boolean;
|
|
@@ -203,28 +202,27 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
203
202
|
rendered_at_millis: number;
|
|
204
203
|
is_transactional: boolean;
|
|
205
204
|
is_high_priority: boolean;
|
|
205
|
+
notification_category_id: string | null;
|
|
206
206
|
} | {
|
|
207
|
-
status: "queued";
|
|
208
207
|
id: string;
|
|
209
|
-
subject: string;
|
|
210
208
|
created_at_millis: number;
|
|
211
209
|
html: string | null;
|
|
212
210
|
text: string | null;
|
|
211
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
225
|
-
updated_at_millis: number;
|
|
226
|
-
tsx_source: string;
|
|
227
|
-
theme_id: string | null;
|
|
228
226
|
variables: Record<string, {} | null>;
|
|
229
227
|
skip_deliverability_check: boolean;
|
|
230
228
|
scheduled_at_millis: number;
|
|
@@ -241,6 +239,7 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
241
239
|
internal_message: string;
|
|
242
240
|
internal_details: Record<string, {} | null>;
|
|
243
241
|
}[] | null;
|
|
242
|
+
status: "queued";
|
|
244
243
|
simple_status: "in-progress";
|
|
245
244
|
is_paused: boolean;
|
|
246
245
|
has_rendered: boolean;
|
|
@@ -249,28 +248,27 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
249
248
|
rendered_at_millis: number;
|
|
250
249
|
is_transactional: boolean;
|
|
251
250
|
is_high_priority: boolean;
|
|
251
|
+
notification_category_id: string | null;
|
|
252
252
|
} | {
|
|
253
|
-
status: "sending";
|
|
254
253
|
id: string;
|
|
255
|
-
subject: string;
|
|
256
254
|
created_at_millis: number;
|
|
257
255
|
html: string | null;
|
|
258
256
|
text: string | null;
|
|
257
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
271
|
-
updated_at_millis: number;
|
|
272
|
-
tsx_source: string;
|
|
273
|
-
theme_id: string | null;
|
|
274
272
|
variables: Record<string, {} | null>;
|
|
275
273
|
skip_deliverability_check: boolean;
|
|
276
274
|
scheduled_at_millis: number;
|
|
@@ -287,6 +285,7 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
287
285
|
internal_message: string;
|
|
288
286
|
internal_details: Record<string, {} | null>;
|
|
289
287
|
}[] | null;
|
|
288
|
+
status: "sending";
|
|
290
289
|
simple_status: "in-progress";
|
|
291
290
|
is_paused: boolean;
|
|
292
291
|
has_rendered: boolean;
|
|
@@ -295,29 +294,28 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
295
294
|
rendered_at_millis: number;
|
|
296
295
|
is_transactional: boolean;
|
|
297
296
|
is_high_priority: boolean;
|
|
297
|
+
notification_category_id: string | null;
|
|
298
298
|
started_sending_at_millis: number;
|
|
299
299
|
} | {
|
|
300
|
-
status: "server-error";
|
|
301
300
|
id: string;
|
|
302
|
-
subject: string;
|
|
303
301
|
created_at_millis: number;
|
|
304
302
|
html: string | null;
|
|
305
303
|
text: string | null;
|
|
304
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
318
|
-
updated_at_millis: number;
|
|
319
|
-
tsx_source: string;
|
|
320
|
-
theme_id: string | null;
|
|
321
319
|
variables: Record<string, {} | null>;
|
|
322
320
|
skip_deliverability_check: boolean;
|
|
323
321
|
scheduled_at_millis: number;
|
|
@@ -334,6 +332,7 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
334
332
|
internal_message: string;
|
|
335
333
|
internal_details: Record<string, {} | null>;
|
|
336
334
|
}[] | null;
|
|
335
|
+
status: "server-error";
|
|
337
336
|
simple_status: "error";
|
|
338
337
|
is_paused: boolean;
|
|
339
338
|
has_rendered: boolean;
|
|
@@ -342,36 +341,36 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
342
341
|
rendered_at_millis: number;
|
|
343
342
|
is_transactional: boolean;
|
|
344
343
|
is_high_priority: boolean;
|
|
344
|
+
notification_category_id: string | null;
|
|
345
345
|
started_sending_at_millis: number;
|
|
346
346
|
error_at_millis: number;
|
|
347
347
|
server_error: string;
|
|
348
348
|
} | {
|
|
349
|
-
subject?: string | undefined;
|
|
350
349
|
html?: string | null | undefined;
|
|
351
350
|
text?: string | null | undefined;
|
|
352
|
-
|
|
351
|
+
subject?: string | undefined;
|
|
353
352
|
started_rendering_at_millis?: number | undefined;
|
|
354
353
|
rendered_at_millis?: number | undefined;
|
|
355
354
|
is_transactional?: boolean | undefined;
|
|
356
355
|
is_high_priority?: boolean | undefined;
|
|
356
|
+
notification_category_id?: string | null | undefined;
|
|
357
357
|
started_sending_at_millis?: number | undefined;
|
|
358
|
-
status: "skipped";
|
|
359
358
|
id: string;
|
|
360
359
|
created_at_millis: number;
|
|
360
|
+
updated_at_millis: number;
|
|
361
|
+
tsx_source: string;
|
|
362
|
+
theme_id: string | null;
|
|
361
363
|
to: {
|
|
362
|
-
user_id: string;
|
|
363
364
|
type: "user-primary-email";
|
|
364
|
-
} | {
|
|
365
365
|
user_id: string;
|
|
366
|
+
} | {
|
|
366
367
|
type: "user-custom-emails";
|
|
368
|
+
user_id: string;
|
|
367
369
|
emails: string[];
|
|
368
370
|
} | {
|
|
369
371
|
type: "custom-emails";
|
|
370
372
|
emails: string[];
|
|
371
373
|
};
|
|
372
|
-
updated_at_millis: number;
|
|
373
|
-
tsx_source: string;
|
|
374
|
-
theme_id: string | null;
|
|
375
374
|
variables: Record<string, {} | null>;
|
|
376
375
|
skip_deliverability_check: boolean;
|
|
377
376
|
scheduled_at_millis: number;
|
|
@@ -388,6 +387,7 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
388
387
|
internal_message: string;
|
|
389
388
|
internal_details: Record<string, {} | null>;
|
|
390
389
|
}[] | null;
|
|
390
|
+
status: "skipped";
|
|
391
391
|
simple_status: "ok";
|
|
392
392
|
is_paused: boolean;
|
|
393
393
|
has_rendered: boolean;
|
|
@@ -396,27 +396,25 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
396
396
|
skipped_reason: string;
|
|
397
397
|
skipped_details: Record<string, {} | null>;
|
|
398
398
|
} | {
|
|
399
|
-
status: "bounced";
|
|
400
399
|
id: string;
|
|
401
|
-
subject: string;
|
|
402
400
|
created_at_millis: number;
|
|
403
401
|
html: string | null;
|
|
404
402
|
text: string | null;
|
|
403
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
417
|
-
updated_at_millis: number;
|
|
418
|
-
tsx_source: string;
|
|
419
|
-
theme_id: string | null;
|
|
420
418
|
variables: Record<string, {} | null>;
|
|
421
419
|
skip_deliverability_check: boolean;
|
|
422
420
|
scheduled_at_millis: number;
|
|
@@ -433,6 +431,7 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
433
431
|
internal_message: string;
|
|
434
432
|
internal_details: Record<string, {} | null>;
|
|
435
433
|
}[] | null;
|
|
434
|
+
status: "bounced";
|
|
436
435
|
simple_status: "error";
|
|
437
436
|
is_paused: boolean;
|
|
438
437
|
has_rendered: boolean;
|
|
@@ -441,30 +440,29 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
441
440
|
rendered_at_millis: number;
|
|
442
441
|
is_transactional: boolean;
|
|
443
442
|
is_high_priority: boolean;
|
|
443
|
+
notification_category_id: string | null;
|
|
444
444
|
started_sending_at_millis: number;
|
|
445
445
|
bounced_at_millis: number;
|
|
446
446
|
} | {
|
|
447
|
-
status: "delivery-delayed";
|
|
448
447
|
id: string;
|
|
449
|
-
subject: string;
|
|
450
448
|
created_at_millis: number;
|
|
451
449
|
html: string | null;
|
|
452
450
|
text: string | null;
|
|
451
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
465
|
-
updated_at_millis: number;
|
|
466
|
-
tsx_source: string;
|
|
467
|
-
theme_id: string | null;
|
|
468
466
|
variables: Record<string, {} | null>;
|
|
469
467
|
skip_deliverability_check: boolean;
|
|
470
468
|
scheduled_at_millis: number;
|
|
@@ -481,6 +479,7 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
481
479
|
internal_message: string;
|
|
482
480
|
internal_details: Record<string, {} | null>;
|
|
483
481
|
}[] | null;
|
|
482
|
+
status: "delivery-delayed";
|
|
484
483
|
simple_status: "ok";
|
|
485
484
|
is_paused: boolean;
|
|
486
485
|
has_rendered: boolean;
|
|
@@ -489,30 +488,29 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
489
488
|
rendered_at_millis: number;
|
|
490
489
|
is_transactional: boolean;
|
|
491
490
|
is_high_priority: boolean;
|
|
491
|
+
notification_category_id: string | null;
|
|
492
492
|
started_sending_at_millis: number;
|
|
493
493
|
delivery_delayed_at_millis: number;
|
|
494
494
|
} | {
|
|
495
|
-
status: "sent";
|
|
496
495
|
id: string;
|
|
497
|
-
subject: string;
|
|
498
496
|
created_at_millis: number;
|
|
499
497
|
html: string | null;
|
|
500
498
|
text: string | null;
|
|
499
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
513
|
-
updated_at_millis: number;
|
|
514
|
-
tsx_source: string;
|
|
515
|
-
theme_id: string | null;
|
|
516
514
|
variables: Record<string, {} | null>;
|
|
517
515
|
skip_deliverability_check: boolean;
|
|
518
516
|
scheduled_at_millis: number;
|
|
@@ -529,6 +527,7 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
529
527
|
internal_message: string;
|
|
530
528
|
internal_details: Record<string, {} | null>;
|
|
531
529
|
}[] | null;
|
|
530
|
+
status: "sent";
|
|
532
531
|
simple_status: "ok";
|
|
533
532
|
is_paused: boolean;
|
|
534
533
|
has_rendered: boolean;
|
|
@@ -537,31 +536,30 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
537
536
|
rendered_at_millis: number;
|
|
538
537
|
is_transactional: boolean;
|
|
539
538
|
is_high_priority: boolean;
|
|
539
|
+
notification_category_id: string | null;
|
|
540
540
|
started_sending_at_millis: number;
|
|
541
541
|
delivered_at_millis: number;
|
|
542
542
|
can_have_delivery_info: boolean;
|
|
543
543
|
} | {
|
|
544
|
-
status: "opened";
|
|
545
544
|
id: string;
|
|
546
|
-
subject: string;
|
|
547
545
|
created_at_millis: number;
|
|
548
546
|
html: string | null;
|
|
549
547
|
text: string | null;
|
|
548
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
562
|
-
updated_at_millis: number;
|
|
563
|
-
tsx_source: string;
|
|
564
|
-
theme_id: string | null;
|
|
565
563
|
variables: Record<string, {} | null>;
|
|
566
564
|
skip_deliverability_check: boolean;
|
|
567
565
|
scheduled_at_millis: number;
|
|
@@ -578,6 +576,7 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
578
576
|
internal_message: string;
|
|
579
577
|
internal_details: Record<string, {} | null>;
|
|
580
578
|
}[] | null;
|
|
579
|
+
status: "opened";
|
|
581
580
|
simple_status: "ok";
|
|
582
581
|
is_paused: boolean;
|
|
583
582
|
has_rendered: boolean;
|
|
@@ -586,32 +585,31 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
586
585
|
rendered_at_millis: number;
|
|
587
586
|
is_transactional: boolean;
|
|
588
587
|
is_high_priority: boolean;
|
|
588
|
+
notification_category_id: string | null;
|
|
589
589
|
started_sending_at_millis: number;
|
|
590
590
|
delivered_at_millis: number;
|
|
591
591
|
can_have_delivery_info: boolean;
|
|
592
592
|
opened_at_millis: number;
|
|
593
593
|
} | {
|
|
594
|
-
status: "clicked";
|
|
595
594
|
id: string;
|
|
596
|
-
subject: string;
|
|
597
595
|
created_at_millis: number;
|
|
598
596
|
html: string | null;
|
|
599
597
|
text: string | null;
|
|
598
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
612
|
-
updated_at_millis: number;
|
|
613
|
-
tsx_source: string;
|
|
614
|
-
theme_id: string | null;
|
|
615
613
|
variables: Record<string, {} | null>;
|
|
616
614
|
skip_deliverability_check: boolean;
|
|
617
615
|
scheduled_at_millis: number;
|
|
@@ -628,6 +626,7 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
628
626
|
internal_message: string;
|
|
629
627
|
internal_details: Record<string, {} | null>;
|
|
630
628
|
}[] | null;
|
|
629
|
+
status: "clicked";
|
|
631
630
|
simple_status: "ok";
|
|
632
631
|
is_paused: boolean;
|
|
633
632
|
has_rendered: boolean;
|
|
@@ -636,32 +635,31 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
636
635
|
rendered_at_millis: number;
|
|
637
636
|
is_transactional: boolean;
|
|
638
637
|
is_high_priority: boolean;
|
|
638
|
+
notification_category_id: string | null;
|
|
639
639
|
started_sending_at_millis: number;
|
|
640
640
|
delivered_at_millis: number;
|
|
641
641
|
can_have_delivery_info: boolean;
|
|
642
642
|
clicked_at_millis: number;
|
|
643
643
|
} | {
|
|
644
|
-
status: "marked-as-spam";
|
|
645
644
|
id: string;
|
|
646
|
-
subject: string;
|
|
647
645
|
created_at_millis: number;
|
|
648
646
|
html: string | null;
|
|
649
647
|
text: string | null;
|
|
648
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
662
|
-
updated_at_millis: number;
|
|
663
|
-
tsx_source: string;
|
|
664
|
-
theme_id: string | null;
|
|
665
663
|
variables: Record<string, {} | null>;
|
|
666
664
|
skip_deliverability_check: boolean;
|
|
667
665
|
scheduled_at_millis: number;
|
|
@@ -678,6 +676,7 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
678
676
|
internal_message: string;
|
|
679
677
|
internal_details: Record<string, {} | null>;
|
|
680
678
|
}[] | null;
|
|
679
|
+
status: "marked-as-spam";
|
|
681
680
|
simple_status: "ok";
|
|
682
681
|
is_paused: boolean;
|
|
683
682
|
has_rendered: boolean;
|
|
@@ -686,6 +685,7 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
686
685
|
rendered_at_millis: number;
|
|
687
686
|
is_transactional: boolean;
|
|
688
687
|
is_high_priority: boolean;
|
|
688
|
+
notification_category_id: string | null;
|
|
689
689
|
started_sending_at_millis: number;
|
|
690
690
|
delivered_at_millis: number;
|
|
691
691
|
can_have_delivery_info: boolean;
|
|
@@ -695,11 +695,11 @@ declare const emailOutboxUpdateSchema: import("yup").ObjectSchema<{
|
|
|
695
695
|
tsx_source: string | undefined;
|
|
696
696
|
theme_id: string | null | undefined;
|
|
697
697
|
to: {
|
|
698
|
-
user_id: string;
|
|
699
698
|
type: "user-primary-email";
|
|
700
|
-
} | {
|
|
701
699
|
user_id: string;
|
|
700
|
+
} | {
|
|
702
701
|
type: "user-custom-emails";
|
|
702
|
+
user_id: string;
|
|
703
703
|
emails: string[];
|
|
704
704
|
} | {
|
|
705
705
|
type: "custom-emails";
|
|
@@ -722,23 +722,22 @@ declare const emailOutboxUpdateSchema: import("yup").ObjectSchema<{
|
|
|
722
722
|
}, "">;
|
|
723
723
|
declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
724
724
|
serverReadSchema: import("yup").MixedSchema<{
|
|
725
|
-
status: "paused";
|
|
726
725
|
id: string;
|
|
727
726
|
created_at_millis: number;
|
|
727
|
+
updated_at_millis: number;
|
|
728
|
+
tsx_source: string;
|
|
729
|
+
theme_id: string | null;
|
|
728
730
|
to: {
|
|
729
|
-
user_id: string;
|
|
730
731
|
type: "user-primary-email";
|
|
731
|
-
} | {
|
|
732
732
|
user_id: string;
|
|
733
|
+
} | {
|
|
733
734
|
type: "user-custom-emails";
|
|
735
|
+
user_id: string;
|
|
734
736
|
emails: string[];
|
|
735
737
|
} | {
|
|
736
738
|
type: "custom-emails";
|
|
737
739
|
emails: string[];
|
|
738
740
|
};
|
|
739
|
-
updated_at_millis: number;
|
|
740
|
-
tsx_source: string;
|
|
741
|
-
theme_id: string | null;
|
|
742
741
|
variables: Record<string, {} | null>;
|
|
743
742
|
skip_deliverability_check: boolean;
|
|
744
743
|
scheduled_at_millis: number;
|
|
@@ -755,28 +754,28 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
755
754
|
internal_message: string;
|
|
756
755
|
internal_details: Record<string, {} | null>;
|
|
757
756
|
}[] | null;
|
|
757
|
+
status: "paused";
|
|
758
758
|
simple_status: "in-progress";
|
|
759
759
|
is_paused: boolean;
|
|
760
760
|
has_rendered: boolean;
|
|
761
761
|
has_delivered: boolean;
|
|
762
762
|
} | {
|
|
763
|
-
status: "preparing";
|
|
764
763
|
id: string;
|
|
765
764
|
created_at_millis: number;
|
|
765
|
+
updated_at_millis: number;
|
|
766
|
+
tsx_source: string;
|
|
767
|
+
theme_id: string | null;
|
|
766
768
|
to: {
|
|
767
|
-
user_id: string;
|
|
768
769
|
type: "user-primary-email";
|
|
769
|
-
} | {
|
|
770
770
|
user_id: string;
|
|
771
|
+
} | {
|
|
771
772
|
type: "user-custom-emails";
|
|
773
|
+
user_id: string;
|
|
772
774
|
emails: string[];
|
|
773
775
|
} | {
|
|
774
776
|
type: "custom-emails";
|
|
775
777
|
emails: string[];
|
|
776
778
|
};
|
|
777
|
-
updated_at_millis: number;
|
|
778
|
-
tsx_source: string;
|
|
779
|
-
theme_id: string | null;
|
|
780
779
|
variables: Record<string, {} | null>;
|
|
781
780
|
skip_deliverability_check: boolean;
|
|
782
781
|
scheduled_at_millis: number;
|
|
@@ -793,28 +792,28 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
793
792
|
internal_message: string;
|
|
794
793
|
internal_details: Record<string, {} | null>;
|
|
795
794
|
}[] | null;
|
|
795
|
+
status: "preparing";
|
|
796
796
|
simple_status: "in-progress";
|
|
797
797
|
is_paused: boolean;
|
|
798
798
|
has_rendered: boolean;
|
|
799
799
|
has_delivered: boolean;
|
|
800
800
|
} | {
|
|
801
|
-
status: "rendering";
|
|
802
801
|
id: string;
|
|
803
802
|
created_at_millis: number;
|
|
803
|
+
updated_at_millis: number;
|
|
804
|
+
tsx_source: string;
|
|
805
|
+
theme_id: string | null;
|
|
804
806
|
to: {
|
|
805
|
-
user_id: string;
|
|
806
807
|
type: "user-primary-email";
|
|
807
|
-
} | {
|
|
808
808
|
user_id: string;
|
|
809
|
+
} | {
|
|
809
810
|
type: "user-custom-emails";
|
|
811
|
+
user_id: string;
|
|
810
812
|
emails: string[];
|
|
811
813
|
} | {
|
|
812
814
|
type: "custom-emails";
|
|
813
815
|
emails: string[];
|
|
814
816
|
};
|
|
815
|
-
updated_at_millis: number;
|
|
816
|
-
tsx_source: string;
|
|
817
|
-
theme_id: string | null;
|
|
818
817
|
variables: Record<string, {} | null>;
|
|
819
818
|
skip_deliverability_check: boolean;
|
|
820
819
|
scheduled_at_millis: number;
|
|
@@ -831,29 +830,29 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
831
830
|
internal_message: string;
|
|
832
831
|
internal_details: Record<string, {} | null>;
|
|
833
832
|
}[] | null;
|
|
833
|
+
status: "rendering";
|
|
834
834
|
simple_status: "in-progress";
|
|
835
835
|
is_paused: boolean;
|
|
836
836
|
has_rendered: boolean;
|
|
837
837
|
has_delivered: boolean;
|
|
838
838
|
started_rendering_at_millis: number;
|
|
839
839
|
} | {
|
|
840
|
-
status: "render-error";
|
|
841
840
|
id: string;
|
|
842
841
|
created_at_millis: number;
|
|
842
|
+
updated_at_millis: number;
|
|
843
|
+
tsx_source: string;
|
|
844
|
+
theme_id: string | null;
|
|
843
845
|
to: {
|
|
844
|
-
user_id: string;
|
|
845
846
|
type: "user-primary-email";
|
|
846
|
-
} | {
|
|
847
847
|
user_id: string;
|
|
848
|
+
} | {
|
|
848
849
|
type: "user-custom-emails";
|
|
850
|
+
user_id: string;
|
|
849
851
|
emails: string[];
|
|
850
852
|
} | {
|
|
851
853
|
type: "custom-emails";
|
|
852
854
|
emails: string[];
|
|
853
855
|
};
|
|
854
|
-
updated_at_millis: number;
|
|
855
|
-
tsx_source: string;
|
|
856
|
-
theme_id: string | null;
|
|
857
856
|
variables: Record<string, {} | null>;
|
|
858
857
|
skip_deliverability_check: boolean;
|
|
859
858
|
scheduled_at_millis: number;
|
|
@@ -870,6 +869,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
870
869
|
internal_message: string;
|
|
871
870
|
internal_details: Record<string, {} | null>;
|
|
872
871
|
}[] | null;
|
|
872
|
+
status: "render-error";
|
|
873
873
|
simple_status: "error";
|
|
874
874
|
is_paused: boolean;
|
|
875
875
|
has_rendered: boolean;
|
|
@@ -878,27 +878,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
878
878
|
rendered_at_millis: number;
|
|
879
879
|
render_error: string;
|
|
880
880
|
} | {
|
|
881
|
-
status: "scheduled";
|
|
882
881
|
id: string;
|
|
883
|
-
subject: string;
|
|
884
882
|
created_at_millis: number;
|
|
885
883
|
html: string | null;
|
|
886
884
|
text: string | null;
|
|
885
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
899
|
-
updated_at_millis: number;
|
|
900
|
-
tsx_source: string;
|
|
901
|
-
theme_id: string | null;
|
|
902
900
|
variables: Record<string, {} | null>;
|
|
903
901
|
skip_deliverability_check: boolean;
|
|
904
902
|
scheduled_at_millis: number;
|
|
@@ -915,6 +913,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
915
913
|
internal_message: string;
|
|
916
914
|
internal_details: Record<string, {} | null>;
|
|
917
915
|
}[] | null;
|
|
916
|
+
status: "scheduled";
|
|
918
917
|
simple_status: "in-progress";
|
|
919
918
|
is_paused: boolean;
|
|
920
919
|
has_rendered: boolean;
|
|
@@ -923,28 +922,27 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
923
922
|
rendered_at_millis: number;
|
|
924
923
|
is_transactional: boolean;
|
|
925
924
|
is_high_priority: boolean;
|
|
925
|
+
notification_category_id: string | null;
|
|
926
926
|
} | {
|
|
927
|
-
status: "queued";
|
|
928
927
|
id: string;
|
|
929
|
-
subject: string;
|
|
930
928
|
created_at_millis: number;
|
|
931
929
|
html: string | null;
|
|
932
930
|
text: string | null;
|
|
931
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
945
|
-
updated_at_millis: number;
|
|
946
|
-
tsx_source: string;
|
|
947
|
-
theme_id: string | null;
|
|
948
946
|
variables: Record<string, {} | null>;
|
|
949
947
|
skip_deliverability_check: boolean;
|
|
950
948
|
scheduled_at_millis: number;
|
|
@@ -961,6 +959,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
961
959
|
internal_message: string;
|
|
962
960
|
internal_details: Record<string, {} | null>;
|
|
963
961
|
}[] | null;
|
|
962
|
+
status: "queued";
|
|
964
963
|
simple_status: "in-progress";
|
|
965
964
|
is_paused: boolean;
|
|
966
965
|
has_rendered: boolean;
|
|
@@ -969,28 +968,27 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
969
968
|
rendered_at_millis: number;
|
|
970
969
|
is_transactional: boolean;
|
|
971
970
|
is_high_priority: boolean;
|
|
971
|
+
notification_category_id: string | null;
|
|
972
972
|
} | {
|
|
973
|
-
status: "sending";
|
|
974
973
|
id: string;
|
|
975
|
-
subject: string;
|
|
976
974
|
created_at_millis: number;
|
|
977
975
|
html: string | null;
|
|
978
976
|
text: string | null;
|
|
977
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
991
|
-
updated_at_millis: number;
|
|
992
|
-
tsx_source: string;
|
|
993
|
-
theme_id: string | null;
|
|
994
992
|
variables: Record<string, {} | null>;
|
|
995
993
|
skip_deliverability_check: boolean;
|
|
996
994
|
scheduled_at_millis: number;
|
|
@@ -1007,6 +1005,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1007
1005
|
internal_message: string;
|
|
1008
1006
|
internal_details: Record<string, {} | null>;
|
|
1009
1007
|
}[] | null;
|
|
1008
|
+
status: "sending";
|
|
1010
1009
|
simple_status: "in-progress";
|
|
1011
1010
|
is_paused: boolean;
|
|
1012
1011
|
has_rendered: boolean;
|
|
@@ -1015,29 +1014,28 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1015
1014
|
rendered_at_millis: number;
|
|
1016
1015
|
is_transactional: boolean;
|
|
1017
1016
|
is_high_priority: boolean;
|
|
1017
|
+
notification_category_id: string | null;
|
|
1018
1018
|
started_sending_at_millis: number;
|
|
1019
1019
|
} | {
|
|
1020
|
-
status: "server-error";
|
|
1021
1020
|
id: string;
|
|
1022
|
-
subject: string;
|
|
1023
1021
|
created_at_millis: number;
|
|
1024
1022
|
html: string | null;
|
|
1025
1023
|
text: string | null;
|
|
1024
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
1038
|
-
updated_at_millis: number;
|
|
1039
|
-
tsx_source: string;
|
|
1040
|
-
theme_id: string | null;
|
|
1041
1039
|
variables: Record<string, {} | null>;
|
|
1042
1040
|
skip_deliverability_check: boolean;
|
|
1043
1041
|
scheduled_at_millis: number;
|
|
@@ -1054,6 +1052,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1054
1052
|
internal_message: string;
|
|
1055
1053
|
internal_details: Record<string, {} | null>;
|
|
1056
1054
|
}[] | null;
|
|
1055
|
+
status: "server-error";
|
|
1057
1056
|
simple_status: "error";
|
|
1058
1057
|
is_paused: boolean;
|
|
1059
1058
|
has_rendered: boolean;
|
|
@@ -1062,36 +1061,36 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1062
1061
|
rendered_at_millis: number;
|
|
1063
1062
|
is_transactional: boolean;
|
|
1064
1063
|
is_high_priority: boolean;
|
|
1064
|
+
notification_category_id: string | null;
|
|
1065
1065
|
started_sending_at_millis: number;
|
|
1066
1066
|
error_at_millis: number;
|
|
1067
1067
|
server_error: string;
|
|
1068
1068
|
} | {
|
|
1069
|
-
subject?: string | undefined;
|
|
1070
1069
|
html?: string | null | undefined;
|
|
1071
1070
|
text?: string | null | undefined;
|
|
1072
|
-
|
|
1071
|
+
subject?: string | undefined;
|
|
1073
1072
|
started_rendering_at_millis?: number | undefined;
|
|
1074
1073
|
rendered_at_millis?: number | undefined;
|
|
1075
1074
|
is_transactional?: boolean | undefined;
|
|
1076
1075
|
is_high_priority?: boolean | undefined;
|
|
1076
|
+
notification_category_id?: string | null | undefined;
|
|
1077
1077
|
started_sending_at_millis?: number | undefined;
|
|
1078
|
-
status: "skipped";
|
|
1079
1078
|
id: string;
|
|
1080
1079
|
created_at_millis: number;
|
|
1080
|
+
updated_at_millis: number;
|
|
1081
|
+
tsx_source: string;
|
|
1082
|
+
theme_id: string | null;
|
|
1081
1083
|
to: {
|
|
1082
|
-
user_id: string;
|
|
1083
1084
|
type: "user-primary-email";
|
|
1084
|
-
} | {
|
|
1085
1085
|
user_id: string;
|
|
1086
|
+
} | {
|
|
1086
1087
|
type: "user-custom-emails";
|
|
1088
|
+
user_id: string;
|
|
1087
1089
|
emails: string[];
|
|
1088
1090
|
} | {
|
|
1089
1091
|
type: "custom-emails";
|
|
1090
1092
|
emails: string[];
|
|
1091
1093
|
};
|
|
1092
|
-
updated_at_millis: number;
|
|
1093
|
-
tsx_source: string;
|
|
1094
|
-
theme_id: string | null;
|
|
1095
1094
|
variables: Record<string, {} | null>;
|
|
1096
1095
|
skip_deliverability_check: boolean;
|
|
1097
1096
|
scheduled_at_millis: number;
|
|
@@ -1108,6 +1107,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1108
1107
|
internal_message: string;
|
|
1109
1108
|
internal_details: Record<string, {} | null>;
|
|
1110
1109
|
}[] | null;
|
|
1110
|
+
status: "skipped";
|
|
1111
1111
|
simple_status: "ok";
|
|
1112
1112
|
is_paused: boolean;
|
|
1113
1113
|
has_rendered: boolean;
|
|
@@ -1116,27 +1116,25 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1116
1116
|
skipped_reason: string;
|
|
1117
1117
|
skipped_details: Record<string, {} | null>;
|
|
1118
1118
|
} | {
|
|
1119
|
-
status: "bounced";
|
|
1120
1119
|
id: string;
|
|
1121
|
-
subject: string;
|
|
1122
1120
|
created_at_millis: number;
|
|
1123
1121
|
html: string | null;
|
|
1124
1122
|
text: string | null;
|
|
1123
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
1137
|
-
updated_at_millis: number;
|
|
1138
|
-
tsx_source: string;
|
|
1139
|
-
theme_id: string | null;
|
|
1140
1138
|
variables: Record<string, {} | null>;
|
|
1141
1139
|
skip_deliverability_check: boolean;
|
|
1142
1140
|
scheduled_at_millis: number;
|
|
@@ -1153,6 +1151,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1153
1151
|
internal_message: string;
|
|
1154
1152
|
internal_details: Record<string, {} | null>;
|
|
1155
1153
|
}[] | null;
|
|
1154
|
+
status: "bounced";
|
|
1156
1155
|
simple_status: "error";
|
|
1157
1156
|
is_paused: boolean;
|
|
1158
1157
|
has_rendered: boolean;
|
|
@@ -1161,30 +1160,29 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1161
1160
|
rendered_at_millis: number;
|
|
1162
1161
|
is_transactional: boolean;
|
|
1163
1162
|
is_high_priority: boolean;
|
|
1163
|
+
notification_category_id: string | null;
|
|
1164
1164
|
started_sending_at_millis: number;
|
|
1165
1165
|
bounced_at_millis: number;
|
|
1166
1166
|
} | {
|
|
1167
|
-
status: "delivery-delayed";
|
|
1168
1167
|
id: string;
|
|
1169
|
-
subject: string;
|
|
1170
1168
|
created_at_millis: number;
|
|
1171
1169
|
html: string | null;
|
|
1172
1170
|
text: string | null;
|
|
1171
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
1185
|
-
updated_at_millis: number;
|
|
1186
|
-
tsx_source: string;
|
|
1187
|
-
theme_id: string | null;
|
|
1188
1186
|
variables: Record<string, {} | null>;
|
|
1189
1187
|
skip_deliverability_check: boolean;
|
|
1190
1188
|
scheduled_at_millis: number;
|
|
@@ -1201,6 +1199,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1201
1199
|
internal_message: string;
|
|
1202
1200
|
internal_details: Record<string, {} | null>;
|
|
1203
1201
|
}[] | null;
|
|
1202
|
+
status: "delivery-delayed";
|
|
1204
1203
|
simple_status: "ok";
|
|
1205
1204
|
is_paused: boolean;
|
|
1206
1205
|
has_rendered: boolean;
|
|
@@ -1209,30 +1208,29 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1209
1208
|
rendered_at_millis: number;
|
|
1210
1209
|
is_transactional: boolean;
|
|
1211
1210
|
is_high_priority: boolean;
|
|
1211
|
+
notification_category_id: string | null;
|
|
1212
1212
|
started_sending_at_millis: number;
|
|
1213
1213
|
delivery_delayed_at_millis: number;
|
|
1214
1214
|
} | {
|
|
1215
|
-
status: "sent";
|
|
1216
1215
|
id: string;
|
|
1217
|
-
subject: string;
|
|
1218
1216
|
created_at_millis: number;
|
|
1219
1217
|
html: string | null;
|
|
1220
1218
|
text: string | null;
|
|
1219
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
1233
|
-
updated_at_millis: number;
|
|
1234
|
-
tsx_source: string;
|
|
1235
|
-
theme_id: string | null;
|
|
1236
1234
|
variables: Record<string, {} | null>;
|
|
1237
1235
|
skip_deliverability_check: boolean;
|
|
1238
1236
|
scheduled_at_millis: number;
|
|
@@ -1249,6 +1247,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1249
1247
|
internal_message: string;
|
|
1250
1248
|
internal_details: Record<string, {} | null>;
|
|
1251
1249
|
}[] | null;
|
|
1250
|
+
status: "sent";
|
|
1252
1251
|
simple_status: "ok";
|
|
1253
1252
|
is_paused: boolean;
|
|
1254
1253
|
has_rendered: boolean;
|
|
@@ -1257,31 +1256,30 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1257
1256
|
rendered_at_millis: number;
|
|
1258
1257
|
is_transactional: boolean;
|
|
1259
1258
|
is_high_priority: boolean;
|
|
1259
|
+
notification_category_id: string | null;
|
|
1260
1260
|
started_sending_at_millis: number;
|
|
1261
1261
|
delivered_at_millis: number;
|
|
1262
1262
|
can_have_delivery_info: boolean;
|
|
1263
1263
|
} | {
|
|
1264
|
-
status: "opened";
|
|
1265
1264
|
id: string;
|
|
1266
|
-
subject: string;
|
|
1267
1265
|
created_at_millis: number;
|
|
1268
1266
|
html: string | null;
|
|
1269
1267
|
text: string | null;
|
|
1268
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
1282
|
-
updated_at_millis: number;
|
|
1283
|
-
tsx_source: string;
|
|
1284
|
-
theme_id: string | null;
|
|
1285
1283
|
variables: Record<string, {} | null>;
|
|
1286
1284
|
skip_deliverability_check: boolean;
|
|
1287
1285
|
scheduled_at_millis: number;
|
|
@@ -1298,6 +1296,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1298
1296
|
internal_message: string;
|
|
1299
1297
|
internal_details: Record<string, {} | null>;
|
|
1300
1298
|
}[] | null;
|
|
1299
|
+
status: "opened";
|
|
1301
1300
|
simple_status: "ok";
|
|
1302
1301
|
is_paused: boolean;
|
|
1303
1302
|
has_rendered: boolean;
|
|
@@ -1306,32 +1305,31 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1306
1305
|
rendered_at_millis: number;
|
|
1307
1306
|
is_transactional: boolean;
|
|
1308
1307
|
is_high_priority: boolean;
|
|
1308
|
+
notification_category_id: string | null;
|
|
1309
1309
|
started_sending_at_millis: number;
|
|
1310
1310
|
delivered_at_millis: number;
|
|
1311
1311
|
can_have_delivery_info: boolean;
|
|
1312
1312
|
opened_at_millis: number;
|
|
1313
1313
|
} | {
|
|
1314
|
-
status: "clicked";
|
|
1315
1314
|
id: string;
|
|
1316
|
-
subject: string;
|
|
1317
1315
|
created_at_millis: number;
|
|
1318
1316
|
html: string | null;
|
|
1319
1317
|
text: string | null;
|
|
1318
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
1332
|
-
updated_at_millis: number;
|
|
1333
|
-
tsx_source: string;
|
|
1334
|
-
theme_id: string | null;
|
|
1335
1333
|
variables: Record<string, {} | null>;
|
|
1336
1334
|
skip_deliverability_check: boolean;
|
|
1337
1335
|
scheduled_at_millis: number;
|
|
@@ -1348,6 +1346,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1348
1346
|
internal_message: string;
|
|
1349
1347
|
internal_details: Record<string, {} | null>;
|
|
1350
1348
|
}[] | null;
|
|
1349
|
+
status: "clicked";
|
|
1351
1350
|
simple_status: "ok";
|
|
1352
1351
|
is_paused: boolean;
|
|
1353
1352
|
has_rendered: boolean;
|
|
@@ -1356,32 +1355,31 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1356
1355
|
rendered_at_millis: number;
|
|
1357
1356
|
is_transactional: boolean;
|
|
1358
1357
|
is_high_priority: boolean;
|
|
1358
|
+
notification_category_id: string | null;
|
|
1359
1359
|
started_sending_at_millis: number;
|
|
1360
1360
|
delivered_at_millis: number;
|
|
1361
1361
|
can_have_delivery_info: boolean;
|
|
1362
1362
|
clicked_at_millis: number;
|
|
1363
1363
|
} | {
|
|
1364
|
-
status: "marked-as-spam";
|
|
1365
1364
|
id: string;
|
|
1366
|
-
subject: string;
|
|
1367
1365
|
created_at_millis: number;
|
|
1368
1366
|
html: string | null;
|
|
1369
1367
|
text: string | null;
|
|
1368
|
+
subject: string;
|
|
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
|
-
notification_category_id: string | null;
|
|
1382
|
-
updated_at_millis: number;
|
|
1383
|
-
tsx_source: string;
|
|
1384
|
-
theme_id: string | null;
|
|
1385
1383
|
variables: Record<string, {} | null>;
|
|
1386
1384
|
skip_deliverability_check: boolean;
|
|
1387
1385
|
scheduled_at_millis: number;
|
|
@@ -1398,6 +1396,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1398
1396
|
internal_message: string;
|
|
1399
1397
|
internal_details: Record<string, {} | null>;
|
|
1400
1398
|
}[] | null;
|
|
1399
|
+
status: "marked-as-spam";
|
|
1401
1400
|
simple_status: "ok";
|
|
1402
1401
|
is_paused: boolean;
|
|
1403
1402
|
has_rendered: boolean;
|
|
@@ -1406,6 +1405,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1406
1405
|
rendered_at_millis: number;
|
|
1407
1406
|
is_transactional: boolean;
|
|
1408
1407
|
is_high_priority: boolean;
|
|
1408
|
+
notification_category_id: string | null;
|
|
1409
1409
|
started_sending_at_millis: number;
|
|
1410
1410
|
delivered_at_millis: number;
|
|
1411
1411
|
can_have_delivery_info: boolean;
|
|
@@ -1415,11 +1415,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1415
1415
|
tsx_source: string | undefined;
|
|
1416
1416
|
theme_id: string | null | undefined;
|
|
1417
1417
|
to: {
|
|
1418
|
-
user_id: string;
|
|
1419
1418
|
type: "user-primary-email";
|
|
1420
|
-
} | {
|
|
1421
1419
|
user_id: string;
|
|
1420
|
+
} | {
|
|
1422
1421
|
type: "user-custom-emails";
|
|
1422
|
+
user_id: string;
|
|
1423
1423
|
emails: string[];
|
|
1424
1424
|
} | {
|
|
1425
1425
|
type: "custom-emails";
|
|
@@ -1461,4 +1461,4 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1461
1461
|
type EmailOutboxCrud = CrudTypeOf<typeof emailOutboxCrud>;
|
|
1462
1462
|
//#endregion
|
|
1463
1463
|
export { emailOutboxUpdateSchema as i, emailOutboxCrud as n, emailOutboxReadSchema as r, EmailOutboxCrud as t };
|
|
1464
|
-
//# sourceMappingURL=email-outbox-
|
|
1464
|
+
//# sourceMappingURL=email-outbox-B3lyx4Eg.d.ts.map
|