@hexclave/shared 1.0.56 → 1.0.58
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-sca4FCAt.d.ts → admin-interface-Do9G1zZ8.d.ts} +11 -11
- package/dist/{admin-interface-sca4FCAt.d.ts.map → admin-interface-Do9G1zZ8.d.ts.map} +1 -1
- package/dist/{admin-metrics-BTgqWZXI.d.ts → admin-metrics-bsOkw4YQ.d.ts} +16 -16
- package/dist/{admin-metrics-BTgqWZXI.d.ts.map → admin-metrics-bsOkw4YQ.d.ts.map} +1 -1
- package/dist/{client-interface-BQakINAH.d.ts → client-interface-DvkciaL0.d.ts} +10 -10
- package/dist/{client-interface-BQakINAH.d.ts.map → client-interface-DvkciaL0.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-DosTPiF7.d.ts → current-user-BBoN3hsn.d.ts} +12 -12
- package/dist/{current-user-DosTPiF7.d.ts.map → current-user-BBoN3hsn.d.ts.map} +1 -1
- package/dist/{email-outbox-C07KfbmL.d.ts → email-outbox-D_wbK759.d.ts} +271 -271
- package/dist/{email-outbox-C07KfbmL.d.ts.map → email-outbox-D_wbK759.d.ts.map} +1 -1
- package/dist/esm/config/schema.d.ts +181 -181
- package/dist/esm/interface/admin-interface.js +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +15 -15
- package/dist/esm/interface/client-interface.js +1 -1
- package/dist/esm/interface/conversations.d.ts +30 -30
- package/dist/esm/interface/crud/current-user.d.ts +11 -11
- package/dist/esm/interface/crud/email-outbox.d.ts +270 -270
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- package/dist/esm/interface/crud/products.d.ts +15 -15
- package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/esm/interface/crud/projects.d.ts +117 -113
- package/dist/esm/interface/crud/projects.d.ts.map +1 -1
- package/dist/esm/interface/crud/projects.js +1 -0
- package/dist/esm/interface/crud/projects.js.map +1 -1
- package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
- package/dist/esm/interface/crud/transactions.d.ts +20 -20
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +6 -6
- package/dist/esm/interface/plan-usage.d.ts +2 -2
- package/dist/esm/interface/server-interface.js +1 -1
- package/dist/esm/known-errors.d.ts +1 -1
- package/dist/esm/schema-fields.d.ts +2 -2
- package/dist/esm/sessions.d.ts +7 -7
- package/dist/esm/utils/promises.js +1 -1
- 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-interface.js +1 -1
- package/dist/interface/admin-metrics.d.ts +1 -1
- package/dist/interface/client-interface.d.ts +1 -1
- package/dist/interface/client-interface.js +1 -1
- package/dist/interface/conversations.d.ts +30 -30
- 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/projects.js +1 -0
- package/dist/interface/crud/projects.js.map +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/server-interface.js +1 -1
- package/dist/{invoices-U65KzAZX.d.ts → invoices-CHo9YKbI.d.ts} +3 -3
- package/dist/{invoices-U65KzAZX.d.ts.map → invoices-CHo9YKbI.d.ts.map} +1 -1
- package/dist/{known-errors-BFf8SVm8.d.ts → known-errors-Bm4a61wL.d.ts} +2 -2
- package/dist/{known-errors-BFf8SVm8.d.ts.map → known-errors-Bm4a61wL.d.ts.map} +1 -1
- package/dist/known-errors.d.ts +1 -1
- package/dist/{plan-usage-CFwV688o.d.ts → plan-usage-BaDxcLZ1.d.ts} +3 -3
- package/dist/{plan-usage-CFwV688o.d.ts.map → plan-usage-BaDxcLZ1.d.ts.map} +1 -1
- package/dist/{products-DzedG6oU.d.ts → products-D4o8A2W0.d.ts} +16 -16
- package/dist/{products-DzedG6oU.d.ts.map → products-D4o8A2W0.d.ts.map} +1 -1
- package/dist/{project-api-keys-Di2ENRam.d.ts → project-api-keys--7V5X_UW.d.ts} +3 -3
- package/dist/{project-api-keys-Di2ENRam.d.ts.map → project-api-keys--7V5X_UW.d.ts.map} +1 -1
- package/dist/{projects-W2I5ueag.d.ts → projects-BX5Y50kJ.d.ts} +118 -114
- package/dist/projects-BX5Y50kJ.d.ts.map +1 -0
- package/dist/{schema-BXM8B2V2.d.ts → schema-BvjIkl-K.d.ts} +182 -182
- package/dist/{schema-BXM8B2V2.d.ts.map → schema-BvjIkl-K.d.ts.map} +1 -1
- package/dist/{schema-fields-DhryPaD4.d.ts → schema-fields-DZtDQEEO.d.ts} +3 -3
- package/dist/{schema-fields-DhryPaD4.d.ts.map → schema-fields-DZtDQEEO.d.ts.map} +1 -1
- package/dist/schema-fields.d.ts +1 -1
- package/dist/{server-interface--aZDYxx4.d.ts → server-interface-Ra_vIHP4.d.ts} +8 -8
- package/dist/{server-interface--aZDYxx4.d.ts.map → server-interface-Ra_vIHP4.d.ts.map} +1 -1
- package/dist/{sessions-CKNkS48M.d.ts → sessions-CI-0TBQb.d.ts} +9 -9
- package/dist/{sessions-CKNkS48M.d.ts.map → sessions-CI-0TBQb.d.ts.map} +1 -1
- package/dist/sessions.d.ts +1 -1
- package/dist/{team-member-profiles-BhcD2OP5.d.ts → team-member-profiles-BoDEqx-0.d.ts} +25 -25
- package/dist/{team-member-profiles-BhcD2OP5.d.ts.map → team-member-profiles-BoDEqx-0.d.ts.map} +1 -1
- package/dist/{transactions-icyjJzs-.d.ts → transactions-CHNUJ42J.d.ts} +21 -21
- package/dist/transactions-CHNUJ42J.d.ts.map +1 -0
- package/dist/{users-DMNuqLTW.d.ts → users-DHNRwoSz.d.ts} +7 -7
- package/dist/{users-DMNuqLTW.d.ts.map → users-DHNRwoSz.d.ts.map} +1 -1
- package/dist/utils/promises.js +1 -1
- package/package.json +1 -1
- package/src/interface/crud/projects.ts +1 -0
- package/dist/projects-W2I5ueag.d.ts.map +0 -1
- package/dist/transactions-icyjJzs-.d.ts.map +0 -1
|
@@ -2,23 +2,23 @@ import { CrudTypeOf } from "../../crud.js";
|
|
|
2
2
|
|
|
3
3
|
//#region src/interface/crud/email-outbox.d.ts
|
|
4
4
|
declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
5
|
-
id: string;
|
|
6
5
|
status: "paused";
|
|
6
|
+
id: string;
|
|
7
7
|
created_at_millis: number;
|
|
8
|
-
updated_at_millis: number;
|
|
9
|
-
tsx_source: string;
|
|
10
|
-
theme_id: string | null;
|
|
11
8
|
to: {
|
|
12
|
-
type: "user-primary-email";
|
|
13
9
|
user_id: string;
|
|
10
|
+
type: "user-primary-email";
|
|
14
11
|
} | {
|
|
15
|
-
type: "user-custom-emails";
|
|
16
12
|
user_id: string;
|
|
13
|
+
type: "user-custom-emails";
|
|
17
14
|
emails: string[];
|
|
18
15
|
} | {
|
|
19
16
|
type: "custom-emails";
|
|
20
17
|
emails: string[];
|
|
21
18
|
};
|
|
19
|
+
updated_at_millis: number;
|
|
20
|
+
tsx_source: string;
|
|
21
|
+
theme_id: string | null;
|
|
22
22
|
variables: Record<string, {} | null>;
|
|
23
23
|
skip_deliverability_check: boolean;
|
|
24
24
|
scheduled_at_millis: number;
|
|
@@ -40,23 +40,23 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
40
40
|
has_rendered: boolean;
|
|
41
41
|
has_delivered: boolean;
|
|
42
42
|
} | {
|
|
43
|
-
id: string;
|
|
44
43
|
status: "preparing";
|
|
44
|
+
id: string;
|
|
45
45
|
created_at_millis: number;
|
|
46
|
-
updated_at_millis: number;
|
|
47
|
-
tsx_source: string;
|
|
48
|
-
theme_id: string | null;
|
|
49
46
|
to: {
|
|
50
|
-
type: "user-primary-email";
|
|
51
47
|
user_id: string;
|
|
48
|
+
type: "user-primary-email";
|
|
52
49
|
} | {
|
|
53
|
-
type: "user-custom-emails";
|
|
54
50
|
user_id: string;
|
|
51
|
+
type: "user-custom-emails";
|
|
55
52
|
emails: string[];
|
|
56
53
|
} | {
|
|
57
54
|
type: "custom-emails";
|
|
58
55
|
emails: string[];
|
|
59
56
|
};
|
|
57
|
+
updated_at_millis: number;
|
|
58
|
+
tsx_source: string;
|
|
59
|
+
theme_id: string | null;
|
|
60
60
|
variables: Record<string, {} | null>;
|
|
61
61
|
skip_deliverability_check: boolean;
|
|
62
62
|
scheduled_at_millis: number;
|
|
@@ -78,23 +78,23 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
78
78
|
has_rendered: boolean;
|
|
79
79
|
has_delivered: boolean;
|
|
80
80
|
} | {
|
|
81
|
-
id: string;
|
|
82
81
|
status: "rendering";
|
|
82
|
+
id: string;
|
|
83
83
|
created_at_millis: number;
|
|
84
|
-
updated_at_millis: number;
|
|
85
|
-
tsx_source: string;
|
|
86
|
-
theme_id: string | null;
|
|
87
84
|
to: {
|
|
88
|
-
type: "user-primary-email";
|
|
89
85
|
user_id: string;
|
|
86
|
+
type: "user-primary-email";
|
|
90
87
|
} | {
|
|
91
|
-
type: "user-custom-emails";
|
|
92
88
|
user_id: string;
|
|
89
|
+
type: "user-custom-emails";
|
|
93
90
|
emails: string[];
|
|
94
91
|
} | {
|
|
95
92
|
type: "custom-emails";
|
|
96
93
|
emails: string[];
|
|
97
94
|
};
|
|
95
|
+
updated_at_millis: number;
|
|
96
|
+
tsx_source: string;
|
|
97
|
+
theme_id: string | null;
|
|
98
98
|
variables: Record<string, {} | null>;
|
|
99
99
|
skip_deliverability_check: boolean;
|
|
100
100
|
scheduled_at_millis: number;
|
|
@@ -117,23 +117,23 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
117
117
|
has_delivered: boolean;
|
|
118
118
|
started_rendering_at_millis: number;
|
|
119
119
|
} | {
|
|
120
|
-
id: string;
|
|
121
120
|
status: "render-error";
|
|
121
|
+
id: string;
|
|
122
122
|
created_at_millis: number;
|
|
123
|
-
updated_at_millis: number;
|
|
124
|
-
tsx_source: string;
|
|
125
|
-
theme_id: string | null;
|
|
126
123
|
to: {
|
|
127
|
-
type: "user-primary-email";
|
|
128
124
|
user_id: string;
|
|
125
|
+
type: "user-primary-email";
|
|
129
126
|
} | {
|
|
130
|
-
type: "user-custom-emails";
|
|
131
127
|
user_id: string;
|
|
128
|
+
type: "user-custom-emails";
|
|
132
129
|
emails: string[];
|
|
133
130
|
} | {
|
|
134
131
|
type: "custom-emails";
|
|
135
132
|
emails: string[];
|
|
136
133
|
};
|
|
134
|
+
updated_at_millis: number;
|
|
135
|
+
tsx_source: string;
|
|
136
|
+
theme_id: string | null;
|
|
137
137
|
variables: Record<string, {} | null>;
|
|
138
138
|
skip_deliverability_check: boolean;
|
|
139
139
|
scheduled_at_millis: number;
|
|
@@ -158,23 +158,27 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
158
158
|
rendered_at_millis: number;
|
|
159
159
|
render_error: string;
|
|
160
160
|
} | {
|
|
161
|
-
id: string;
|
|
162
161
|
status: "scheduled";
|
|
162
|
+
id: string;
|
|
163
|
+
subject: string;
|
|
163
164
|
created_at_millis: number;
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
theme_id: string | null;
|
|
165
|
+
html: string | null;
|
|
166
|
+
text: string | null;
|
|
167
167
|
to: {
|
|
168
|
-
type: "user-primary-email";
|
|
169
168
|
user_id: string;
|
|
169
|
+
type: "user-primary-email";
|
|
170
170
|
} | {
|
|
171
|
-
type: "user-custom-emails";
|
|
172
171
|
user_id: string;
|
|
172
|
+
type: "user-custom-emails";
|
|
173
173
|
emails: string[];
|
|
174
174
|
} | {
|
|
175
175
|
type: "custom-emails";
|
|
176
176
|
emails: string[];
|
|
177
177
|
};
|
|
178
|
+
notification_category_id: string | null;
|
|
179
|
+
updated_at_millis: number;
|
|
180
|
+
tsx_source: string;
|
|
181
|
+
theme_id: string | null;
|
|
178
182
|
variables: Record<string, {} | null>;
|
|
179
183
|
skip_deliverability_check: boolean;
|
|
180
184
|
scheduled_at_millis: number;
|
|
@@ -197,30 +201,30 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
197
201
|
has_delivered: boolean;
|
|
198
202
|
started_rendering_at_millis: number;
|
|
199
203
|
rendered_at_millis: number;
|
|
200
|
-
subject: string;
|
|
201
|
-
html: string | null;
|
|
202
|
-
text: string | null;
|
|
203
204
|
is_transactional: boolean;
|
|
204
205
|
is_high_priority: boolean;
|
|
205
|
-
notification_category_id: string | null;
|
|
206
206
|
} | {
|
|
207
|
-
id: string;
|
|
208
207
|
status: "queued";
|
|
208
|
+
id: string;
|
|
209
|
+
subject: string;
|
|
209
210
|
created_at_millis: number;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
theme_id: string | null;
|
|
211
|
+
html: string | null;
|
|
212
|
+
text: string | null;
|
|
213
213
|
to: {
|
|
214
|
-
type: "user-primary-email";
|
|
215
214
|
user_id: string;
|
|
215
|
+
type: "user-primary-email";
|
|
216
216
|
} | {
|
|
217
|
-
type: "user-custom-emails";
|
|
218
217
|
user_id: string;
|
|
218
|
+
type: "user-custom-emails";
|
|
219
219
|
emails: string[];
|
|
220
220
|
} | {
|
|
221
221
|
type: "custom-emails";
|
|
222
222
|
emails: string[];
|
|
223
223
|
};
|
|
224
|
+
notification_category_id: string | null;
|
|
225
|
+
updated_at_millis: number;
|
|
226
|
+
tsx_source: string;
|
|
227
|
+
theme_id: string | null;
|
|
224
228
|
variables: Record<string, {} | null>;
|
|
225
229
|
skip_deliverability_check: boolean;
|
|
226
230
|
scheduled_at_millis: number;
|
|
@@ -243,30 +247,30 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
243
247
|
has_delivered: boolean;
|
|
244
248
|
started_rendering_at_millis: number;
|
|
245
249
|
rendered_at_millis: number;
|
|
246
|
-
subject: string;
|
|
247
|
-
html: string | null;
|
|
248
|
-
text: string | null;
|
|
249
250
|
is_transactional: boolean;
|
|
250
251
|
is_high_priority: boolean;
|
|
251
|
-
notification_category_id: string | null;
|
|
252
252
|
} | {
|
|
253
|
-
id: string;
|
|
254
253
|
status: "sending";
|
|
254
|
+
id: string;
|
|
255
|
+
subject: string;
|
|
255
256
|
created_at_millis: number;
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
theme_id: string | null;
|
|
257
|
+
html: string | null;
|
|
258
|
+
text: string | null;
|
|
259
259
|
to: {
|
|
260
|
-
type: "user-primary-email";
|
|
261
260
|
user_id: string;
|
|
261
|
+
type: "user-primary-email";
|
|
262
262
|
} | {
|
|
263
|
-
type: "user-custom-emails";
|
|
264
263
|
user_id: string;
|
|
264
|
+
type: "user-custom-emails";
|
|
265
265
|
emails: string[];
|
|
266
266
|
} | {
|
|
267
267
|
type: "custom-emails";
|
|
268
268
|
emails: string[];
|
|
269
269
|
};
|
|
270
|
+
notification_category_id: string | null;
|
|
271
|
+
updated_at_millis: number;
|
|
272
|
+
tsx_source: string;
|
|
273
|
+
theme_id: string | null;
|
|
270
274
|
variables: Record<string, {} | null>;
|
|
271
275
|
skip_deliverability_check: boolean;
|
|
272
276
|
scheduled_at_millis: number;
|
|
@@ -289,31 +293,31 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
289
293
|
has_delivered: boolean;
|
|
290
294
|
started_rendering_at_millis: number;
|
|
291
295
|
rendered_at_millis: number;
|
|
292
|
-
subject: string;
|
|
293
|
-
html: string | null;
|
|
294
|
-
text: string | null;
|
|
295
296
|
is_transactional: boolean;
|
|
296
297
|
is_high_priority: boolean;
|
|
297
|
-
notification_category_id: string | null;
|
|
298
298
|
started_sending_at_millis: number;
|
|
299
299
|
} | {
|
|
300
|
-
id: string;
|
|
301
300
|
status: "server-error";
|
|
301
|
+
id: string;
|
|
302
|
+
subject: string;
|
|
302
303
|
created_at_millis: number;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
theme_id: string | null;
|
|
304
|
+
html: string | null;
|
|
305
|
+
text: string | null;
|
|
306
306
|
to: {
|
|
307
|
-
type: "user-primary-email";
|
|
308
307
|
user_id: string;
|
|
308
|
+
type: "user-primary-email";
|
|
309
309
|
} | {
|
|
310
|
-
type: "user-custom-emails";
|
|
311
310
|
user_id: string;
|
|
311
|
+
type: "user-custom-emails";
|
|
312
312
|
emails: string[];
|
|
313
313
|
} | {
|
|
314
314
|
type: "custom-emails";
|
|
315
315
|
emails: string[];
|
|
316
316
|
};
|
|
317
|
+
notification_category_id: string | null;
|
|
318
|
+
updated_at_millis: number;
|
|
319
|
+
tsx_source: string;
|
|
320
|
+
theme_id: string | null;
|
|
317
321
|
variables: Record<string, {} | null>;
|
|
318
322
|
skip_deliverability_check: boolean;
|
|
319
323
|
scheduled_at_millis: number;
|
|
@@ -336,42 +340,38 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
336
340
|
has_delivered: boolean;
|
|
337
341
|
started_rendering_at_millis: number;
|
|
338
342
|
rendered_at_millis: number;
|
|
339
|
-
subject: string;
|
|
340
|
-
html: string | null;
|
|
341
|
-
text: string | null;
|
|
342
343
|
is_transactional: boolean;
|
|
343
344
|
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
|
-
started_rendering_at_millis?: number | undefined;
|
|
350
|
-
rendered_at_millis?: number | undefined;
|
|
351
349
|
subject?: string | undefined;
|
|
352
350
|
html?: string | null | undefined;
|
|
353
351
|
text?: string | null | undefined;
|
|
352
|
+
notification_category_id?: string | null | undefined;
|
|
353
|
+
started_rendering_at_millis?: number | undefined;
|
|
354
|
+
rendered_at_millis?: number | undefined;
|
|
354
355
|
is_transactional?: boolean | undefined;
|
|
355
356
|
is_high_priority?: boolean | undefined;
|
|
356
|
-
notification_category_id?: string | null | undefined;
|
|
357
357
|
started_sending_at_millis?: number | undefined;
|
|
358
|
-
id: string;
|
|
359
358
|
status: "skipped";
|
|
359
|
+
id: string;
|
|
360
360
|
created_at_millis: number;
|
|
361
|
-
updated_at_millis: number;
|
|
362
|
-
tsx_source: string;
|
|
363
|
-
theme_id: string | null;
|
|
364
361
|
to: {
|
|
365
|
-
type: "user-primary-email";
|
|
366
362
|
user_id: string;
|
|
363
|
+
type: "user-primary-email";
|
|
367
364
|
} | {
|
|
368
|
-
type: "user-custom-emails";
|
|
369
365
|
user_id: string;
|
|
366
|
+
type: "user-custom-emails";
|
|
370
367
|
emails: string[];
|
|
371
368
|
} | {
|
|
372
369
|
type: "custom-emails";
|
|
373
370
|
emails: string[];
|
|
374
371
|
};
|
|
372
|
+
updated_at_millis: number;
|
|
373
|
+
tsx_source: string;
|
|
374
|
+
theme_id: string | null;
|
|
375
375
|
variables: Record<string, {} | null>;
|
|
376
376
|
skip_deliverability_check: boolean;
|
|
377
377
|
scheduled_at_millis: number;
|
|
@@ -396,23 +396,27 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
396
396
|
skipped_reason: string;
|
|
397
397
|
skipped_details: Record<string, {} | null>;
|
|
398
398
|
} | {
|
|
399
|
-
id: string;
|
|
400
399
|
status: "bounced";
|
|
400
|
+
id: string;
|
|
401
|
+
subject: string;
|
|
401
402
|
created_at_millis: number;
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
theme_id: string | null;
|
|
403
|
+
html: string | null;
|
|
404
|
+
text: string | null;
|
|
405
405
|
to: {
|
|
406
|
-
type: "user-primary-email";
|
|
407
406
|
user_id: string;
|
|
407
|
+
type: "user-primary-email";
|
|
408
408
|
} | {
|
|
409
|
-
type: "user-custom-emails";
|
|
410
409
|
user_id: string;
|
|
410
|
+
type: "user-custom-emails";
|
|
411
411
|
emails: string[];
|
|
412
412
|
} | {
|
|
413
413
|
type: "custom-emails";
|
|
414
414
|
emails: string[];
|
|
415
415
|
};
|
|
416
|
+
notification_category_id: string | null;
|
|
417
|
+
updated_at_millis: number;
|
|
418
|
+
tsx_source: string;
|
|
419
|
+
theme_id: string | null;
|
|
416
420
|
variables: Record<string, {} | null>;
|
|
417
421
|
skip_deliverability_check: boolean;
|
|
418
422
|
scheduled_at_millis: number;
|
|
@@ -435,32 +439,32 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
435
439
|
has_delivered: boolean;
|
|
436
440
|
started_rendering_at_millis: number;
|
|
437
441
|
rendered_at_millis: number;
|
|
438
|
-
subject: string;
|
|
439
|
-
html: string | null;
|
|
440
|
-
text: string | null;
|
|
441
442
|
is_transactional: boolean;
|
|
442
443
|
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
|
-
id: string;
|
|
448
447
|
status: "delivery-delayed";
|
|
448
|
+
id: string;
|
|
449
|
+
subject: string;
|
|
449
450
|
created_at_millis: number;
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
theme_id: string | null;
|
|
451
|
+
html: string | null;
|
|
452
|
+
text: string | null;
|
|
453
453
|
to: {
|
|
454
|
-
type: "user-primary-email";
|
|
455
454
|
user_id: string;
|
|
455
|
+
type: "user-primary-email";
|
|
456
456
|
} | {
|
|
457
|
-
type: "user-custom-emails";
|
|
458
457
|
user_id: string;
|
|
458
|
+
type: "user-custom-emails";
|
|
459
459
|
emails: string[];
|
|
460
460
|
} | {
|
|
461
461
|
type: "custom-emails";
|
|
462
462
|
emails: string[];
|
|
463
463
|
};
|
|
464
|
+
notification_category_id: string | null;
|
|
465
|
+
updated_at_millis: number;
|
|
466
|
+
tsx_source: string;
|
|
467
|
+
theme_id: string | null;
|
|
464
468
|
variables: Record<string, {} | null>;
|
|
465
469
|
skip_deliverability_check: boolean;
|
|
466
470
|
scheduled_at_millis: number;
|
|
@@ -483,32 +487,32 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
483
487
|
has_delivered: boolean;
|
|
484
488
|
started_rendering_at_millis: number;
|
|
485
489
|
rendered_at_millis: number;
|
|
486
|
-
subject: string;
|
|
487
|
-
html: string | null;
|
|
488
|
-
text: string | null;
|
|
489
490
|
is_transactional: boolean;
|
|
490
491
|
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
|
-
id: string;
|
|
496
495
|
status: "sent";
|
|
496
|
+
id: string;
|
|
497
|
+
subject: string;
|
|
497
498
|
created_at_millis: number;
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
theme_id: string | null;
|
|
499
|
+
html: string | null;
|
|
500
|
+
text: string | null;
|
|
501
501
|
to: {
|
|
502
|
-
type: "user-primary-email";
|
|
503
502
|
user_id: string;
|
|
503
|
+
type: "user-primary-email";
|
|
504
504
|
} | {
|
|
505
|
-
type: "user-custom-emails";
|
|
506
505
|
user_id: string;
|
|
506
|
+
type: "user-custom-emails";
|
|
507
507
|
emails: string[];
|
|
508
508
|
} | {
|
|
509
509
|
type: "custom-emails";
|
|
510
510
|
emails: string[];
|
|
511
511
|
};
|
|
512
|
+
notification_category_id: string | null;
|
|
513
|
+
updated_at_millis: number;
|
|
514
|
+
tsx_source: string;
|
|
515
|
+
theme_id: string | null;
|
|
512
516
|
variables: Record<string, {} | null>;
|
|
513
517
|
skip_deliverability_check: boolean;
|
|
514
518
|
scheduled_at_millis: number;
|
|
@@ -531,33 +535,33 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
531
535
|
has_delivered: boolean;
|
|
532
536
|
started_rendering_at_millis: number;
|
|
533
537
|
rendered_at_millis: number;
|
|
534
|
-
subject: string;
|
|
535
|
-
html: string | null;
|
|
536
|
-
text: string | null;
|
|
537
538
|
is_transactional: boolean;
|
|
538
539
|
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
|
-
id: string;
|
|
545
544
|
status: "opened";
|
|
545
|
+
id: string;
|
|
546
|
+
subject: string;
|
|
546
547
|
created_at_millis: number;
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
theme_id: string | null;
|
|
548
|
+
html: string | null;
|
|
549
|
+
text: string | null;
|
|
550
550
|
to: {
|
|
551
|
-
type: "user-primary-email";
|
|
552
551
|
user_id: string;
|
|
552
|
+
type: "user-primary-email";
|
|
553
553
|
} | {
|
|
554
|
-
type: "user-custom-emails";
|
|
555
554
|
user_id: string;
|
|
555
|
+
type: "user-custom-emails";
|
|
556
556
|
emails: string[];
|
|
557
557
|
} | {
|
|
558
558
|
type: "custom-emails";
|
|
559
559
|
emails: string[];
|
|
560
560
|
};
|
|
561
|
+
notification_category_id: string | null;
|
|
562
|
+
updated_at_millis: number;
|
|
563
|
+
tsx_source: string;
|
|
564
|
+
theme_id: string | null;
|
|
561
565
|
variables: Record<string, {} | null>;
|
|
562
566
|
skip_deliverability_check: boolean;
|
|
563
567
|
scheduled_at_millis: number;
|
|
@@ -580,34 +584,34 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
580
584
|
has_delivered: boolean;
|
|
581
585
|
started_rendering_at_millis: number;
|
|
582
586
|
rendered_at_millis: number;
|
|
583
|
-
subject: string;
|
|
584
|
-
html: string | null;
|
|
585
|
-
text: string | null;
|
|
586
587
|
is_transactional: boolean;
|
|
587
588
|
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
|
-
id: string;
|
|
595
594
|
status: "clicked";
|
|
595
|
+
id: string;
|
|
596
|
+
subject: string;
|
|
596
597
|
created_at_millis: number;
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
theme_id: string | null;
|
|
598
|
+
html: string | null;
|
|
599
|
+
text: string | null;
|
|
600
600
|
to: {
|
|
601
|
-
type: "user-primary-email";
|
|
602
601
|
user_id: string;
|
|
602
|
+
type: "user-primary-email";
|
|
603
603
|
} | {
|
|
604
|
-
type: "user-custom-emails";
|
|
605
604
|
user_id: string;
|
|
605
|
+
type: "user-custom-emails";
|
|
606
606
|
emails: string[];
|
|
607
607
|
} | {
|
|
608
608
|
type: "custom-emails";
|
|
609
609
|
emails: string[];
|
|
610
610
|
};
|
|
611
|
+
notification_category_id: string | null;
|
|
612
|
+
updated_at_millis: number;
|
|
613
|
+
tsx_source: string;
|
|
614
|
+
theme_id: string | null;
|
|
611
615
|
variables: Record<string, {} | null>;
|
|
612
616
|
skip_deliverability_check: boolean;
|
|
613
617
|
scheduled_at_millis: number;
|
|
@@ -630,34 +634,34 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
630
634
|
has_delivered: boolean;
|
|
631
635
|
started_rendering_at_millis: number;
|
|
632
636
|
rendered_at_millis: number;
|
|
633
|
-
subject: string;
|
|
634
|
-
html: string | null;
|
|
635
|
-
text: string | null;
|
|
636
637
|
is_transactional: boolean;
|
|
637
638
|
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
|
-
id: string;
|
|
645
644
|
status: "marked-as-spam";
|
|
645
|
+
id: string;
|
|
646
|
+
subject: string;
|
|
646
647
|
created_at_millis: number;
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
theme_id: string | null;
|
|
648
|
+
html: string | null;
|
|
649
|
+
text: string | null;
|
|
650
650
|
to: {
|
|
651
|
-
type: "user-primary-email";
|
|
652
651
|
user_id: string;
|
|
652
|
+
type: "user-primary-email";
|
|
653
653
|
} | {
|
|
654
|
-
type: "user-custom-emails";
|
|
655
654
|
user_id: string;
|
|
655
|
+
type: "user-custom-emails";
|
|
656
656
|
emails: string[];
|
|
657
657
|
} | {
|
|
658
658
|
type: "custom-emails";
|
|
659
659
|
emails: string[];
|
|
660
660
|
};
|
|
661
|
+
notification_category_id: string | null;
|
|
662
|
+
updated_at_millis: number;
|
|
663
|
+
tsx_source: string;
|
|
664
|
+
theme_id: string | null;
|
|
661
665
|
variables: Record<string, {} | null>;
|
|
662
666
|
skip_deliverability_check: boolean;
|
|
663
667
|
scheduled_at_millis: number;
|
|
@@ -680,12 +684,8 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
680
684
|
has_delivered: boolean;
|
|
681
685
|
started_rendering_at_millis: number;
|
|
682
686
|
rendered_at_millis: number;
|
|
683
|
-
subject: string;
|
|
684
|
-
html: string | null;
|
|
685
|
-
text: string | null;
|
|
686
687
|
is_transactional: boolean;
|
|
687
688
|
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
|
-
type: "user-primary-email";
|
|
699
698
|
user_id: string;
|
|
699
|
+
type: "user-primary-email";
|
|
700
700
|
} | {
|
|
701
|
-
type: "user-custom-emails";
|
|
702
701
|
user_id: string;
|
|
702
|
+
type: "user-custom-emails";
|
|
703
703
|
emails: string[];
|
|
704
704
|
} | {
|
|
705
705
|
type: "custom-emails";
|
|
@@ -722,23 +722,23 @@ declare const emailOutboxUpdateSchema: import("yup").ObjectSchema<{
|
|
|
722
722
|
}, "">;
|
|
723
723
|
declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
724
724
|
serverReadSchema: import("yup").MixedSchema<{
|
|
725
|
-
id: string;
|
|
726
725
|
status: "paused";
|
|
726
|
+
id: string;
|
|
727
727
|
created_at_millis: number;
|
|
728
|
-
updated_at_millis: number;
|
|
729
|
-
tsx_source: string;
|
|
730
|
-
theme_id: string | null;
|
|
731
728
|
to: {
|
|
732
|
-
type: "user-primary-email";
|
|
733
729
|
user_id: string;
|
|
730
|
+
type: "user-primary-email";
|
|
734
731
|
} | {
|
|
735
|
-
type: "user-custom-emails";
|
|
736
732
|
user_id: string;
|
|
733
|
+
type: "user-custom-emails";
|
|
737
734
|
emails: string[];
|
|
738
735
|
} | {
|
|
739
736
|
type: "custom-emails";
|
|
740
737
|
emails: string[];
|
|
741
738
|
};
|
|
739
|
+
updated_at_millis: number;
|
|
740
|
+
tsx_source: string;
|
|
741
|
+
theme_id: string | null;
|
|
742
742
|
variables: Record<string, {} | null>;
|
|
743
743
|
skip_deliverability_check: boolean;
|
|
744
744
|
scheduled_at_millis: number;
|
|
@@ -760,23 +760,23 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
760
760
|
has_rendered: boolean;
|
|
761
761
|
has_delivered: boolean;
|
|
762
762
|
} | {
|
|
763
|
-
id: string;
|
|
764
763
|
status: "preparing";
|
|
764
|
+
id: string;
|
|
765
765
|
created_at_millis: number;
|
|
766
|
-
updated_at_millis: number;
|
|
767
|
-
tsx_source: string;
|
|
768
|
-
theme_id: string | null;
|
|
769
766
|
to: {
|
|
770
|
-
type: "user-primary-email";
|
|
771
767
|
user_id: string;
|
|
768
|
+
type: "user-primary-email";
|
|
772
769
|
} | {
|
|
773
|
-
type: "user-custom-emails";
|
|
774
770
|
user_id: string;
|
|
771
|
+
type: "user-custom-emails";
|
|
775
772
|
emails: string[];
|
|
776
773
|
} | {
|
|
777
774
|
type: "custom-emails";
|
|
778
775
|
emails: string[];
|
|
779
776
|
};
|
|
777
|
+
updated_at_millis: number;
|
|
778
|
+
tsx_source: string;
|
|
779
|
+
theme_id: string | null;
|
|
780
780
|
variables: Record<string, {} | null>;
|
|
781
781
|
skip_deliverability_check: boolean;
|
|
782
782
|
scheduled_at_millis: number;
|
|
@@ -798,23 +798,23 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
798
798
|
has_rendered: boolean;
|
|
799
799
|
has_delivered: boolean;
|
|
800
800
|
} | {
|
|
801
|
-
id: string;
|
|
802
801
|
status: "rendering";
|
|
802
|
+
id: string;
|
|
803
803
|
created_at_millis: number;
|
|
804
|
-
updated_at_millis: number;
|
|
805
|
-
tsx_source: string;
|
|
806
|
-
theme_id: string | null;
|
|
807
804
|
to: {
|
|
808
|
-
type: "user-primary-email";
|
|
809
805
|
user_id: string;
|
|
806
|
+
type: "user-primary-email";
|
|
810
807
|
} | {
|
|
811
|
-
type: "user-custom-emails";
|
|
812
808
|
user_id: string;
|
|
809
|
+
type: "user-custom-emails";
|
|
813
810
|
emails: string[];
|
|
814
811
|
} | {
|
|
815
812
|
type: "custom-emails";
|
|
816
813
|
emails: string[];
|
|
817
814
|
};
|
|
815
|
+
updated_at_millis: number;
|
|
816
|
+
tsx_source: string;
|
|
817
|
+
theme_id: string | null;
|
|
818
818
|
variables: Record<string, {} | null>;
|
|
819
819
|
skip_deliverability_check: boolean;
|
|
820
820
|
scheduled_at_millis: number;
|
|
@@ -837,23 +837,23 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
837
837
|
has_delivered: boolean;
|
|
838
838
|
started_rendering_at_millis: number;
|
|
839
839
|
} | {
|
|
840
|
-
id: string;
|
|
841
840
|
status: "render-error";
|
|
841
|
+
id: string;
|
|
842
842
|
created_at_millis: number;
|
|
843
|
-
updated_at_millis: number;
|
|
844
|
-
tsx_source: string;
|
|
845
|
-
theme_id: string | null;
|
|
846
843
|
to: {
|
|
847
|
-
type: "user-primary-email";
|
|
848
844
|
user_id: string;
|
|
845
|
+
type: "user-primary-email";
|
|
849
846
|
} | {
|
|
850
|
-
type: "user-custom-emails";
|
|
851
847
|
user_id: string;
|
|
848
|
+
type: "user-custom-emails";
|
|
852
849
|
emails: string[];
|
|
853
850
|
} | {
|
|
854
851
|
type: "custom-emails";
|
|
855
852
|
emails: string[];
|
|
856
853
|
};
|
|
854
|
+
updated_at_millis: number;
|
|
855
|
+
tsx_source: string;
|
|
856
|
+
theme_id: string | null;
|
|
857
857
|
variables: Record<string, {} | null>;
|
|
858
858
|
skip_deliverability_check: boolean;
|
|
859
859
|
scheduled_at_millis: number;
|
|
@@ -878,23 +878,27 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
878
878
|
rendered_at_millis: number;
|
|
879
879
|
render_error: string;
|
|
880
880
|
} | {
|
|
881
|
-
id: string;
|
|
882
881
|
status: "scheduled";
|
|
882
|
+
id: string;
|
|
883
|
+
subject: string;
|
|
883
884
|
created_at_millis: number;
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
theme_id: string | null;
|
|
885
|
+
html: string | null;
|
|
886
|
+
text: string | null;
|
|
887
887
|
to: {
|
|
888
|
-
type: "user-primary-email";
|
|
889
888
|
user_id: string;
|
|
889
|
+
type: "user-primary-email";
|
|
890
890
|
} | {
|
|
891
|
-
type: "user-custom-emails";
|
|
892
891
|
user_id: string;
|
|
892
|
+
type: "user-custom-emails";
|
|
893
893
|
emails: string[];
|
|
894
894
|
} | {
|
|
895
895
|
type: "custom-emails";
|
|
896
896
|
emails: string[];
|
|
897
897
|
};
|
|
898
|
+
notification_category_id: string | null;
|
|
899
|
+
updated_at_millis: number;
|
|
900
|
+
tsx_source: string;
|
|
901
|
+
theme_id: string | null;
|
|
898
902
|
variables: Record<string, {} | null>;
|
|
899
903
|
skip_deliverability_check: boolean;
|
|
900
904
|
scheduled_at_millis: number;
|
|
@@ -917,30 +921,30 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
917
921
|
has_delivered: boolean;
|
|
918
922
|
started_rendering_at_millis: number;
|
|
919
923
|
rendered_at_millis: number;
|
|
920
|
-
subject: string;
|
|
921
|
-
html: string | null;
|
|
922
|
-
text: string | null;
|
|
923
924
|
is_transactional: boolean;
|
|
924
925
|
is_high_priority: boolean;
|
|
925
|
-
notification_category_id: string | null;
|
|
926
926
|
} | {
|
|
927
|
-
id: string;
|
|
928
927
|
status: "queued";
|
|
928
|
+
id: string;
|
|
929
|
+
subject: string;
|
|
929
930
|
created_at_millis: number;
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
theme_id: string | null;
|
|
931
|
+
html: string | null;
|
|
932
|
+
text: string | null;
|
|
933
933
|
to: {
|
|
934
|
-
type: "user-primary-email";
|
|
935
934
|
user_id: string;
|
|
935
|
+
type: "user-primary-email";
|
|
936
936
|
} | {
|
|
937
|
-
type: "user-custom-emails";
|
|
938
937
|
user_id: string;
|
|
938
|
+
type: "user-custom-emails";
|
|
939
939
|
emails: string[];
|
|
940
940
|
} | {
|
|
941
941
|
type: "custom-emails";
|
|
942
942
|
emails: string[];
|
|
943
943
|
};
|
|
944
|
+
notification_category_id: string | null;
|
|
945
|
+
updated_at_millis: number;
|
|
946
|
+
tsx_source: string;
|
|
947
|
+
theme_id: string | null;
|
|
944
948
|
variables: Record<string, {} | null>;
|
|
945
949
|
skip_deliverability_check: boolean;
|
|
946
950
|
scheduled_at_millis: number;
|
|
@@ -963,30 +967,30 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
963
967
|
has_delivered: boolean;
|
|
964
968
|
started_rendering_at_millis: number;
|
|
965
969
|
rendered_at_millis: number;
|
|
966
|
-
subject: string;
|
|
967
|
-
html: string | null;
|
|
968
|
-
text: string | null;
|
|
969
970
|
is_transactional: boolean;
|
|
970
971
|
is_high_priority: boolean;
|
|
971
|
-
notification_category_id: string | null;
|
|
972
972
|
} | {
|
|
973
|
-
id: string;
|
|
974
973
|
status: "sending";
|
|
974
|
+
id: string;
|
|
975
|
+
subject: string;
|
|
975
976
|
created_at_millis: number;
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
theme_id: string | null;
|
|
977
|
+
html: string | null;
|
|
978
|
+
text: string | null;
|
|
979
979
|
to: {
|
|
980
|
-
type: "user-primary-email";
|
|
981
980
|
user_id: string;
|
|
981
|
+
type: "user-primary-email";
|
|
982
982
|
} | {
|
|
983
|
-
type: "user-custom-emails";
|
|
984
983
|
user_id: string;
|
|
984
|
+
type: "user-custom-emails";
|
|
985
985
|
emails: string[];
|
|
986
986
|
} | {
|
|
987
987
|
type: "custom-emails";
|
|
988
988
|
emails: string[];
|
|
989
989
|
};
|
|
990
|
+
notification_category_id: string | null;
|
|
991
|
+
updated_at_millis: number;
|
|
992
|
+
tsx_source: string;
|
|
993
|
+
theme_id: string | null;
|
|
990
994
|
variables: Record<string, {} | null>;
|
|
991
995
|
skip_deliverability_check: boolean;
|
|
992
996
|
scheduled_at_millis: number;
|
|
@@ -1009,31 +1013,31 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1009
1013
|
has_delivered: boolean;
|
|
1010
1014
|
started_rendering_at_millis: number;
|
|
1011
1015
|
rendered_at_millis: number;
|
|
1012
|
-
subject: string;
|
|
1013
|
-
html: string | null;
|
|
1014
|
-
text: string | null;
|
|
1015
1016
|
is_transactional: boolean;
|
|
1016
1017
|
is_high_priority: boolean;
|
|
1017
|
-
notification_category_id: string | null;
|
|
1018
1018
|
started_sending_at_millis: number;
|
|
1019
1019
|
} | {
|
|
1020
|
-
id: string;
|
|
1021
1020
|
status: "server-error";
|
|
1021
|
+
id: string;
|
|
1022
|
+
subject: string;
|
|
1022
1023
|
created_at_millis: number;
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
theme_id: string | null;
|
|
1024
|
+
html: string | null;
|
|
1025
|
+
text: string | null;
|
|
1026
1026
|
to: {
|
|
1027
|
-
type: "user-primary-email";
|
|
1028
1027
|
user_id: string;
|
|
1028
|
+
type: "user-primary-email";
|
|
1029
1029
|
} | {
|
|
1030
|
-
type: "user-custom-emails";
|
|
1031
1030
|
user_id: string;
|
|
1031
|
+
type: "user-custom-emails";
|
|
1032
1032
|
emails: string[];
|
|
1033
1033
|
} | {
|
|
1034
1034
|
type: "custom-emails";
|
|
1035
1035
|
emails: string[];
|
|
1036
1036
|
};
|
|
1037
|
+
notification_category_id: string | null;
|
|
1038
|
+
updated_at_millis: number;
|
|
1039
|
+
tsx_source: string;
|
|
1040
|
+
theme_id: string | null;
|
|
1037
1041
|
variables: Record<string, {} | null>;
|
|
1038
1042
|
skip_deliverability_check: boolean;
|
|
1039
1043
|
scheduled_at_millis: number;
|
|
@@ -1056,42 +1060,38 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1056
1060
|
has_delivered: boolean;
|
|
1057
1061
|
started_rendering_at_millis: number;
|
|
1058
1062
|
rendered_at_millis: number;
|
|
1059
|
-
subject: string;
|
|
1060
|
-
html: string | null;
|
|
1061
|
-
text: string | null;
|
|
1062
1063
|
is_transactional: boolean;
|
|
1063
1064
|
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
|
-
started_rendering_at_millis?: number | undefined;
|
|
1070
|
-
rendered_at_millis?: number | undefined;
|
|
1071
1069
|
subject?: string | undefined;
|
|
1072
1070
|
html?: string | null | undefined;
|
|
1073
1071
|
text?: string | null | undefined;
|
|
1072
|
+
notification_category_id?: string | null | undefined;
|
|
1073
|
+
started_rendering_at_millis?: number | undefined;
|
|
1074
|
+
rendered_at_millis?: number | undefined;
|
|
1074
1075
|
is_transactional?: boolean | undefined;
|
|
1075
1076
|
is_high_priority?: boolean | undefined;
|
|
1076
|
-
notification_category_id?: string | null | undefined;
|
|
1077
1077
|
started_sending_at_millis?: number | undefined;
|
|
1078
|
-
id: string;
|
|
1079
1078
|
status: "skipped";
|
|
1079
|
+
id: string;
|
|
1080
1080
|
created_at_millis: number;
|
|
1081
|
-
updated_at_millis: number;
|
|
1082
|
-
tsx_source: string;
|
|
1083
|
-
theme_id: string | null;
|
|
1084
1081
|
to: {
|
|
1085
|
-
type: "user-primary-email";
|
|
1086
1082
|
user_id: string;
|
|
1083
|
+
type: "user-primary-email";
|
|
1087
1084
|
} | {
|
|
1088
|
-
type: "user-custom-emails";
|
|
1089
1085
|
user_id: string;
|
|
1086
|
+
type: "user-custom-emails";
|
|
1090
1087
|
emails: string[];
|
|
1091
1088
|
} | {
|
|
1092
1089
|
type: "custom-emails";
|
|
1093
1090
|
emails: string[];
|
|
1094
1091
|
};
|
|
1092
|
+
updated_at_millis: number;
|
|
1093
|
+
tsx_source: string;
|
|
1094
|
+
theme_id: string | null;
|
|
1095
1095
|
variables: Record<string, {} | null>;
|
|
1096
1096
|
skip_deliverability_check: boolean;
|
|
1097
1097
|
scheduled_at_millis: number;
|
|
@@ -1116,23 +1116,27 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1116
1116
|
skipped_reason: string;
|
|
1117
1117
|
skipped_details: Record<string, {} | null>;
|
|
1118
1118
|
} | {
|
|
1119
|
-
id: string;
|
|
1120
1119
|
status: "bounced";
|
|
1120
|
+
id: string;
|
|
1121
|
+
subject: string;
|
|
1121
1122
|
created_at_millis: number;
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
theme_id: string | null;
|
|
1123
|
+
html: string | null;
|
|
1124
|
+
text: string | null;
|
|
1125
1125
|
to: {
|
|
1126
|
-
type: "user-primary-email";
|
|
1127
1126
|
user_id: string;
|
|
1127
|
+
type: "user-primary-email";
|
|
1128
1128
|
} | {
|
|
1129
|
-
type: "user-custom-emails";
|
|
1130
1129
|
user_id: string;
|
|
1130
|
+
type: "user-custom-emails";
|
|
1131
1131
|
emails: string[];
|
|
1132
1132
|
} | {
|
|
1133
1133
|
type: "custom-emails";
|
|
1134
1134
|
emails: string[];
|
|
1135
1135
|
};
|
|
1136
|
+
notification_category_id: string | null;
|
|
1137
|
+
updated_at_millis: number;
|
|
1138
|
+
tsx_source: string;
|
|
1139
|
+
theme_id: string | null;
|
|
1136
1140
|
variables: Record<string, {} | null>;
|
|
1137
1141
|
skip_deliverability_check: boolean;
|
|
1138
1142
|
scheduled_at_millis: number;
|
|
@@ -1155,32 +1159,32 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1155
1159
|
has_delivered: boolean;
|
|
1156
1160
|
started_rendering_at_millis: number;
|
|
1157
1161
|
rendered_at_millis: number;
|
|
1158
|
-
subject: string;
|
|
1159
|
-
html: string | null;
|
|
1160
|
-
text: string | null;
|
|
1161
1162
|
is_transactional: boolean;
|
|
1162
1163
|
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
|
-
id: string;
|
|
1168
1167
|
status: "delivery-delayed";
|
|
1168
|
+
id: string;
|
|
1169
|
+
subject: string;
|
|
1169
1170
|
created_at_millis: number;
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
theme_id: string | null;
|
|
1171
|
+
html: string | null;
|
|
1172
|
+
text: string | null;
|
|
1173
1173
|
to: {
|
|
1174
|
-
type: "user-primary-email";
|
|
1175
1174
|
user_id: string;
|
|
1175
|
+
type: "user-primary-email";
|
|
1176
1176
|
} | {
|
|
1177
|
-
type: "user-custom-emails";
|
|
1178
1177
|
user_id: string;
|
|
1178
|
+
type: "user-custom-emails";
|
|
1179
1179
|
emails: string[];
|
|
1180
1180
|
} | {
|
|
1181
1181
|
type: "custom-emails";
|
|
1182
1182
|
emails: string[];
|
|
1183
1183
|
};
|
|
1184
|
+
notification_category_id: string | null;
|
|
1185
|
+
updated_at_millis: number;
|
|
1186
|
+
tsx_source: string;
|
|
1187
|
+
theme_id: string | null;
|
|
1184
1188
|
variables: Record<string, {} | null>;
|
|
1185
1189
|
skip_deliverability_check: boolean;
|
|
1186
1190
|
scheduled_at_millis: number;
|
|
@@ -1203,32 +1207,32 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1203
1207
|
has_delivered: boolean;
|
|
1204
1208
|
started_rendering_at_millis: number;
|
|
1205
1209
|
rendered_at_millis: number;
|
|
1206
|
-
subject: string;
|
|
1207
|
-
html: string | null;
|
|
1208
|
-
text: string | null;
|
|
1209
1210
|
is_transactional: boolean;
|
|
1210
1211
|
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
|
-
id: string;
|
|
1216
1215
|
status: "sent";
|
|
1216
|
+
id: string;
|
|
1217
|
+
subject: string;
|
|
1217
1218
|
created_at_millis: number;
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
theme_id: string | null;
|
|
1219
|
+
html: string | null;
|
|
1220
|
+
text: string | null;
|
|
1221
1221
|
to: {
|
|
1222
|
-
type: "user-primary-email";
|
|
1223
1222
|
user_id: string;
|
|
1223
|
+
type: "user-primary-email";
|
|
1224
1224
|
} | {
|
|
1225
|
-
type: "user-custom-emails";
|
|
1226
1225
|
user_id: string;
|
|
1226
|
+
type: "user-custom-emails";
|
|
1227
1227
|
emails: string[];
|
|
1228
1228
|
} | {
|
|
1229
1229
|
type: "custom-emails";
|
|
1230
1230
|
emails: string[];
|
|
1231
1231
|
};
|
|
1232
|
+
notification_category_id: string | null;
|
|
1233
|
+
updated_at_millis: number;
|
|
1234
|
+
tsx_source: string;
|
|
1235
|
+
theme_id: string | null;
|
|
1232
1236
|
variables: Record<string, {} | null>;
|
|
1233
1237
|
skip_deliverability_check: boolean;
|
|
1234
1238
|
scheduled_at_millis: number;
|
|
@@ -1251,33 +1255,33 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1251
1255
|
has_delivered: boolean;
|
|
1252
1256
|
started_rendering_at_millis: number;
|
|
1253
1257
|
rendered_at_millis: number;
|
|
1254
|
-
subject: string;
|
|
1255
|
-
html: string | null;
|
|
1256
|
-
text: string | null;
|
|
1257
1258
|
is_transactional: boolean;
|
|
1258
1259
|
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
|
-
id: string;
|
|
1265
1264
|
status: "opened";
|
|
1265
|
+
id: string;
|
|
1266
|
+
subject: string;
|
|
1266
1267
|
created_at_millis: number;
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
theme_id: string | null;
|
|
1268
|
+
html: string | null;
|
|
1269
|
+
text: string | null;
|
|
1270
1270
|
to: {
|
|
1271
|
-
type: "user-primary-email";
|
|
1272
1271
|
user_id: string;
|
|
1272
|
+
type: "user-primary-email";
|
|
1273
1273
|
} | {
|
|
1274
|
-
type: "user-custom-emails";
|
|
1275
1274
|
user_id: string;
|
|
1275
|
+
type: "user-custom-emails";
|
|
1276
1276
|
emails: string[];
|
|
1277
1277
|
} | {
|
|
1278
1278
|
type: "custom-emails";
|
|
1279
1279
|
emails: string[];
|
|
1280
1280
|
};
|
|
1281
|
+
notification_category_id: string | null;
|
|
1282
|
+
updated_at_millis: number;
|
|
1283
|
+
tsx_source: string;
|
|
1284
|
+
theme_id: string | null;
|
|
1281
1285
|
variables: Record<string, {} | null>;
|
|
1282
1286
|
skip_deliverability_check: boolean;
|
|
1283
1287
|
scheduled_at_millis: number;
|
|
@@ -1300,34 +1304,34 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1300
1304
|
has_delivered: boolean;
|
|
1301
1305
|
started_rendering_at_millis: number;
|
|
1302
1306
|
rendered_at_millis: number;
|
|
1303
|
-
subject: string;
|
|
1304
|
-
html: string | null;
|
|
1305
|
-
text: string | null;
|
|
1306
1307
|
is_transactional: boolean;
|
|
1307
1308
|
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
|
-
id: string;
|
|
1315
1314
|
status: "clicked";
|
|
1315
|
+
id: string;
|
|
1316
|
+
subject: string;
|
|
1316
1317
|
created_at_millis: number;
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
theme_id: string | null;
|
|
1318
|
+
html: string | null;
|
|
1319
|
+
text: string | null;
|
|
1320
1320
|
to: {
|
|
1321
|
-
type: "user-primary-email";
|
|
1322
1321
|
user_id: string;
|
|
1322
|
+
type: "user-primary-email";
|
|
1323
1323
|
} | {
|
|
1324
|
-
type: "user-custom-emails";
|
|
1325
1324
|
user_id: string;
|
|
1325
|
+
type: "user-custom-emails";
|
|
1326
1326
|
emails: string[];
|
|
1327
1327
|
} | {
|
|
1328
1328
|
type: "custom-emails";
|
|
1329
1329
|
emails: string[];
|
|
1330
1330
|
};
|
|
1331
|
+
notification_category_id: string | null;
|
|
1332
|
+
updated_at_millis: number;
|
|
1333
|
+
tsx_source: string;
|
|
1334
|
+
theme_id: string | null;
|
|
1331
1335
|
variables: Record<string, {} | null>;
|
|
1332
1336
|
skip_deliverability_check: boolean;
|
|
1333
1337
|
scheduled_at_millis: number;
|
|
@@ -1350,34 +1354,34 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1350
1354
|
has_delivered: boolean;
|
|
1351
1355
|
started_rendering_at_millis: number;
|
|
1352
1356
|
rendered_at_millis: number;
|
|
1353
|
-
subject: string;
|
|
1354
|
-
html: string | null;
|
|
1355
|
-
text: string | null;
|
|
1356
1357
|
is_transactional: boolean;
|
|
1357
1358
|
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
|
-
id: string;
|
|
1365
1364
|
status: "marked-as-spam";
|
|
1365
|
+
id: string;
|
|
1366
|
+
subject: string;
|
|
1366
1367
|
created_at_millis: number;
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
theme_id: string | null;
|
|
1368
|
+
html: string | null;
|
|
1369
|
+
text: string | null;
|
|
1370
1370
|
to: {
|
|
1371
|
-
type: "user-primary-email";
|
|
1372
1371
|
user_id: string;
|
|
1372
|
+
type: "user-primary-email";
|
|
1373
1373
|
} | {
|
|
1374
|
-
type: "user-custom-emails";
|
|
1375
1374
|
user_id: string;
|
|
1375
|
+
type: "user-custom-emails";
|
|
1376
1376
|
emails: string[];
|
|
1377
1377
|
} | {
|
|
1378
1378
|
type: "custom-emails";
|
|
1379
1379
|
emails: string[];
|
|
1380
1380
|
};
|
|
1381
|
+
notification_category_id: string | null;
|
|
1382
|
+
updated_at_millis: number;
|
|
1383
|
+
tsx_source: string;
|
|
1384
|
+
theme_id: string | null;
|
|
1381
1385
|
variables: Record<string, {} | null>;
|
|
1382
1386
|
skip_deliverability_check: boolean;
|
|
1383
1387
|
scheduled_at_millis: number;
|
|
@@ -1400,12 +1404,8 @@ declare const emailOutboxCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1400
1404
|
has_delivered: boolean;
|
|
1401
1405
|
started_rendering_at_millis: number;
|
|
1402
1406
|
rendered_at_millis: number;
|
|
1403
|
-
subject: string;
|
|
1404
|
-
html: string | null;
|
|
1405
|
-
text: string | null;
|
|
1406
1407
|
is_transactional: boolean;
|
|
1407
1408
|
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: import("../../crud").CrudSchemaFromOptions<{
|
|
|
1415
1415
|
tsx_source: string | undefined;
|
|
1416
1416
|
theme_id: string | null | undefined;
|
|
1417
1417
|
to: {
|
|
1418
|
-
type: "user-primary-email";
|
|
1419
1418
|
user_id: string;
|
|
1419
|
+
type: "user-primary-email";
|
|
1420
1420
|
} | {
|
|
1421
|
-
type: "user-custom-emails";
|
|
1422
1421
|
user_id: string;
|
|
1422
|
+
type: "user-custom-emails";
|
|
1423
1423
|
emails: string[];
|
|
1424
1424
|
} | {
|
|
1425
1425
|
type: "custom-emails";
|