@hexclave/shared 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/unified-prompts/reminders.js +1 -1
- package/dist/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/config/schema.d.ts +84 -84
- package/dist/esm/ai/unified-prompts/reminders.js +1 -1
- package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/esm/config/schema.d.ts +84 -84
- package/dist/esm/interface/admin-metrics.d.ts +18 -18
- package/dist/esm/interface/conversations.d.ts +14 -14
- package/dist/esm/interface/crud/current-user.d.ts +12 -12
- package/dist/esm/interface/crud/email-outbox.d.ts +280 -280
- package/dist/esm/interface/crud/products.d.ts +13 -13
- package/dist/esm/interface/crud/products.d.ts.map +1 -1
- package/dist/esm/interface/crud/project-api-keys.d.ts +6 -6
- package/dist/esm/interface/crud/projects.d.ts +36 -36
- package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
- package/dist/esm/interface/crud/transactions.d.ts +13 -13
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +14 -14
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/esm/known-errors.d.ts +5 -5
- package/dist/esm/schema-fields.d.ts +5 -5
- package/dist/esm/sessions.d.ts +7 -7
- package/dist/interface/admin-metrics.d.ts +18 -18
- package/dist/interface/conversations.d.ts +14 -14
- package/dist/interface/crud/current-user.d.ts +12 -12
- package/dist/interface/crud/email-outbox.d.ts +280 -280
- package/dist/interface/crud/products.d.ts +13 -13
- package/dist/interface/crud/products.d.ts.map +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +6 -6
- package/dist/interface/crud/projects.d.ts +36 -36
- package/dist/interface/crud/team-member-profiles.d.ts +24 -24
- package/dist/interface/crud/transactions.d.ts +13 -13
- package/dist/interface/crud/transactions.d.ts.map +1 -1
- package/dist/interface/crud/users.d.ts +14 -14
- package/dist/interface/webhooks.d.ts +2 -2
- package/dist/known-errors.d.ts +5 -5
- package/dist/schema-fields.d.ts +5 -5
- package/dist/sessions.d.ts +7 -7
- package/package.json +1 -1
- package/src/ai/unified-prompts/reminders.ts +1 -1
|
@@ -4,23 +4,23 @@ import { CrudTypeOf } from "../../crud";
|
|
|
4
4
|
|
|
5
5
|
//#region src/interface/crud/email-outbox.d.ts
|
|
6
6
|
declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
7
|
-
id: string;
|
|
8
7
|
status: "paused";
|
|
9
|
-
|
|
10
|
-
updated_at_millis: number;
|
|
11
|
-
tsx_source: string;
|
|
12
|
-
theme_id: string | null;
|
|
8
|
+
id: string;
|
|
13
9
|
to: {
|
|
14
|
-
type: "user-primary-email";
|
|
15
10
|
user_id: string;
|
|
11
|
+
type: "user-primary-email";
|
|
16
12
|
} | {
|
|
17
|
-
type: "user-custom-emails";
|
|
18
13
|
user_id: string;
|
|
14
|
+
type: "user-custom-emails";
|
|
19
15
|
emails: string[];
|
|
20
16
|
} | {
|
|
21
17
|
type: "custom-emails";
|
|
22
18
|
emails: string[];
|
|
23
19
|
};
|
|
20
|
+
created_at_millis: number;
|
|
21
|
+
updated_at_millis: number;
|
|
22
|
+
tsx_source: string;
|
|
23
|
+
theme_id: string | null;
|
|
24
24
|
variables: Record<string, {} | null>;
|
|
25
25
|
skip_deliverability_check: boolean;
|
|
26
26
|
scheduled_at_millis: number;
|
|
@@ -42,23 +42,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
42
42
|
has_rendered: boolean;
|
|
43
43
|
has_delivered: boolean;
|
|
44
44
|
} | {
|
|
45
|
-
id: string;
|
|
46
45
|
status: "preparing";
|
|
47
|
-
|
|
48
|
-
updated_at_millis: number;
|
|
49
|
-
tsx_source: string;
|
|
50
|
-
theme_id: string | null;
|
|
46
|
+
id: string;
|
|
51
47
|
to: {
|
|
52
|
-
type: "user-primary-email";
|
|
53
48
|
user_id: string;
|
|
49
|
+
type: "user-primary-email";
|
|
54
50
|
} | {
|
|
55
|
-
type: "user-custom-emails";
|
|
56
51
|
user_id: string;
|
|
52
|
+
type: "user-custom-emails";
|
|
57
53
|
emails: string[];
|
|
58
54
|
} | {
|
|
59
55
|
type: "custom-emails";
|
|
60
56
|
emails: string[];
|
|
61
57
|
};
|
|
58
|
+
created_at_millis: number;
|
|
59
|
+
updated_at_millis: number;
|
|
60
|
+
tsx_source: string;
|
|
61
|
+
theme_id: string | null;
|
|
62
62
|
variables: Record<string, {} | null>;
|
|
63
63
|
skip_deliverability_check: boolean;
|
|
64
64
|
scheduled_at_millis: number;
|
|
@@ -80,23 +80,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
80
80
|
has_rendered: boolean;
|
|
81
81
|
has_delivered: boolean;
|
|
82
82
|
} | {
|
|
83
|
-
id: string;
|
|
84
83
|
status: "rendering";
|
|
85
|
-
|
|
86
|
-
updated_at_millis: number;
|
|
87
|
-
tsx_source: string;
|
|
88
|
-
theme_id: string | null;
|
|
84
|
+
id: string;
|
|
89
85
|
to: {
|
|
90
|
-
type: "user-primary-email";
|
|
91
86
|
user_id: string;
|
|
87
|
+
type: "user-primary-email";
|
|
92
88
|
} | {
|
|
93
|
-
type: "user-custom-emails";
|
|
94
89
|
user_id: string;
|
|
90
|
+
type: "user-custom-emails";
|
|
95
91
|
emails: string[];
|
|
96
92
|
} | {
|
|
97
93
|
type: "custom-emails";
|
|
98
94
|
emails: string[];
|
|
99
95
|
};
|
|
96
|
+
created_at_millis: number;
|
|
97
|
+
updated_at_millis: number;
|
|
98
|
+
tsx_source: string;
|
|
99
|
+
theme_id: string | null;
|
|
100
100
|
variables: Record<string, {} | null>;
|
|
101
101
|
skip_deliverability_check: boolean;
|
|
102
102
|
scheduled_at_millis: number;
|
|
@@ -119,23 +119,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
119
119
|
has_delivered: boolean;
|
|
120
120
|
started_rendering_at_millis: number;
|
|
121
121
|
} | {
|
|
122
|
-
id: string;
|
|
123
122
|
status: "render-error";
|
|
124
|
-
|
|
125
|
-
updated_at_millis: number;
|
|
126
|
-
tsx_source: string;
|
|
127
|
-
theme_id: string | null;
|
|
123
|
+
id: string;
|
|
128
124
|
to: {
|
|
129
|
-
type: "user-primary-email";
|
|
130
125
|
user_id: string;
|
|
126
|
+
type: "user-primary-email";
|
|
131
127
|
} | {
|
|
132
|
-
type: "user-custom-emails";
|
|
133
128
|
user_id: string;
|
|
129
|
+
type: "user-custom-emails";
|
|
134
130
|
emails: string[];
|
|
135
131
|
} | {
|
|
136
132
|
type: "custom-emails";
|
|
137
133
|
emails: string[];
|
|
138
134
|
};
|
|
135
|
+
created_at_millis: number;
|
|
136
|
+
updated_at_millis: number;
|
|
137
|
+
tsx_source: string;
|
|
138
|
+
theme_id: string | null;
|
|
139
139
|
variables: Record<string, {} | null>;
|
|
140
140
|
skip_deliverability_check: boolean;
|
|
141
141
|
scheduled_at_millis: number;
|
|
@@ -160,27 +160,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
160
160
|
rendered_at_millis: number;
|
|
161
161
|
render_error: string;
|
|
162
162
|
} | {
|
|
163
|
+
status: "scheduled";
|
|
163
164
|
id: string;
|
|
164
165
|
subject: string;
|
|
165
|
-
status: "scheduled";
|
|
166
|
-
created_at_millis: number;
|
|
167
|
-
html: string | null;
|
|
168
|
-
text: string | null;
|
|
169
|
-
notification_category_id: string | null;
|
|
170
|
-
updated_at_millis: number;
|
|
171
|
-
tsx_source: string;
|
|
172
|
-
theme_id: string | null;
|
|
173
166
|
to: {
|
|
174
|
-
type: "user-primary-email";
|
|
175
167
|
user_id: string;
|
|
168
|
+
type: "user-primary-email";
|
|
176
169
|
} | {
|
|
177
|
-
type: "user-custom-emails";
|
|
178
170
|
user_id: string;
|
|
171
|
+
type: "user-custom-emails";
|
|
179
172
|
emails: string[];
|
|
180
173
|
} | {
|
|
181
174
|
type: "custom-emails";
|
|
182
175
|
emails: string[];
|
|
183
176
|
};
|
|
177
|
+
created_at_millis: number;
|
|
178
|
+
updated_at_millis: number;
|
|
179
|
+
tsx_source: string;
|
|
180
|
+
theme_id: string | null;
|
|
184
181
|
variables: Record<string, {} | null>;
|
|
185
182
|
skip_deliverability_check: boolean;
|
|
186
183
|
scheduled_at_millis: number;
|
|
@@ -203,30 +200,30 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
203
200
|
has_delivered: boolean;
|
|
204
201
|
started_rendering_at_millis: number;
|
|
205
202
|
rendered_at_millis: number;
|
|
203
|
+
html: string | null;
|
|
204
|
+
text: string | null;
|
|
206
205
|
is_transactional: boolean;
|
|
207
206
|
is_high_priority: boolean;
|
|
207
|
+
notification_category_id: string | null;
|
|
208
208
|
} | {
|
|
209
|
+
status: "queued";
|
|
209
210
|
id: string;
|
|
210
211
|
subject: string;
|
|
211
|
-
status: "queued";
|
|
212
|
-
created_at_millis: number;
|
|
213
|
-
html: string | null;
|
|
214
|
-
text: string | null;
|
|
215
|
-
notification_category_id: string | null;
|
|
216
|
-
updated_at_millis: number;
|
|
217
|
-
tsx_source: string;
|
|
218
|
-
theme_id: string | null;
|
|
219
212
|
to: {
|
|
220
|
-
type: "user-primary-email";
|
|
221
213
|
user_id: string;
|
|
214
|
+
type: "user-primary-email";
|
|
222
215
|
} | {
|
|
223
|
-
type: "user-custom-emails";
|
|
224
216
|
user_id: string;
|
|
217
|
+
type: "user-custom-emails";
|
|
225
218
|
emails: string[];
|
|
226
219
|
} | {
|
|
227
220
|
type: "custom-emails";
|
|
228
221
|
emails: string[];
|
|
229
222
|
};
|
|
223
|
+
created_at_millis: number;
|
|
224
|
+
updated_at_millis: number;
|
|
225
|
+
tsx_source: string;
|
|
226
|
+
theme_id: string | null;
|
|
230
227
|
variables: Record<string, {} | null>;
|
|
231
228
|
skip_deliverability_check: boolean;
|
|
232
229
|
scheduled_at_millis: number;
|
|
@@ -249,30 +246,30 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
249
246
|
has_delivered: boolean;
|
|
250
247
|
started_rendering_at_millis: number;
|
|
251
248
|
rendered_at_millis: number;
|
|
249
|
+
html: string | null;
|
|
250
|
+
text: string | null;
|
|
252
251
|
is_transactional: boolean;
|
|
253
252
|
is_high_priority: boolean;
|
|
253
|
+
notification_category_id: string | null;
|
|
254
254
|
} | {
|
|
255
|
+
status: "sending";
|
|
255
256
|
id: string;
|
|
256
257
|
subject: string;
|
|
257
|
-
status: "sending";
|
|
258
|
-
created_at_millis: number;
|
|
259
|
-
html: string | null;
|
|
260
|
-
text: string | null;
|
|
261
|
-
notification_category_id: string | null;
|
|
262
|
-
updated_at_millis: number;
|
|
263
|
-
tsx_source: string;
|
|
264
|
-
theme_id: string | null;
|
|
265
258
|
to: {
|
|
266
|
-
type: "user-primary-email";
|
|
267
259
|
user_id: string;
|
|
260
|
+
type: "user-primary-email";
|
|
268
261
|
} | {
|
|
269
|
-
type: "user-custom-emails";
|
|
270
262
|
user_id: string;
|
|
263
|
+
type: "user-custom-emails";
|
|
271
264
|
emails: string[];
|
|
272
265
|
} | {
|
|
273
266
|
type: "custom-emails";
|
|
274
267
|
emails: string[];
|
|
275
268
|
};
|
|
269
|
+
created_at_millis: number;
|
|
270
|
+
updated_at_millis: number;
|
|
271
|
+
tsx_source: string;
|
|
272
|
+
theme_id: string | null;
|
|
276
273
|
variables: Record<string, {} | null>;
|
|
277
274
|
skip_deliverability_check: boolean;
|
|
278
275
|
scheduled_at_millis: number;
|
|
@@ -295,31 +292,31 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
295
292
|
has_delivered: boolean;
|
|
296
293
|
started_rendering_at_millis: number;
|
|
297
294
|
rendered_at_millis: number;
|
|
295
|
+
html: string | null;
|
|
296
|
+
text: string | null;
|
|
298
297
|
is_transactional: boolean;
|
|
299
298
|
is_high_priority: boolean;
|
|
299
|
+
notification_category_id: string | null;
|
|
300
300
|
started_sending_at_millis: number;
|
|
301
301
|
} | {
|
|
302
|
+
status: "server-error";
|
|
302
303
|
id: string;
|
|
303
304
|
subject: string;
|
|
304
|
-
status: "server-error";
|
|
305
|
-
created_at_millis: number;
|
|
306
|
-
html: string | null;
|
|
307
|
-
text: string | null;
|
|
308
|
-
notification_category_id: string | null;
|
|
309
|
-
updated_at_millis: number;
|
|
310
|
-
tsx_source: string;
|
|
311
|
-
theme_id: string | null;
|
|
312
305
|
to: {
|
|
313
|
-
type: "user-primary-email";
|
|
314
306
|
user_id: string;
|
|
307
|
+
type: "user-primary-email";
|
|
315
308
|
} | {
|
|
316
|
-
type: "user-custom-emails";
|
|
317
309
|
user_id: string;
|
|
310
|
+
type: "user-custom-emails";
|
|
318
311
|
emails: string[];
|
|
319
312
|
} | {
|
|
320
313
|
type: "custom-emails";
|
|
321
314
|
emails: string[];
|
|
322
315
|
};
|
|
316
|
+
created_at_millis: number;
|
|
317
|
+
updated_at_millis: number;
|
|
318
|
+
tsx_source: string;
|
|
319
|
+
theme_id: string | null;
|
|
323
320
|
variables: Record<string, {} | null>;
|
|
324
321
|
skip_deliverability_check: boolean;
|
|
325
322
|
scheduled_at_millis: number;
|
|
@@ -342,38 +339,41 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
342
339
|
has_delivered: boolean;
|
|
343
340
|
started_rendering_at_millis: number;
|
|
344
341
|
rendered_at_millis: number;
|
|
342
|
+
html: string | null;
|
|
343
|
+
text: string | null;
|
|
345
344
|
is_transactional: boolean;
|
|
346
345
|
is_high_priority: boolean;
|
|
346
|
+
notification_category_id: string | null;
|
|
347
347
|
started_sending_at_millis: number;
|
|
348
348
|
error_at_millis: number;
|
|
349
349
|
server_error: string;
|
|
350
350
|
} | {
|
|
351
351
|
subject?: string | undefined;
|
|
352
|
-
html?: string | null | undefined;
|
|
353
|
-
text?: string | null | undefined;
|
|
354
|
-
notification_category_id?: string | null | undefined;
|
|
355
352
|
started_rendering_at_millis?: number | undefined;
|
|
356
353
|
rendered_at_millis?: number | undefined;
|
|
354
|
+
html?: string | null | undefined;
|
|
355
|
+
text?: string | null | undefined;
|
|
357
356
|
is_transactional?: boolean | undefined;
|
|
358
357
|
is_high_priority?: boolean | undefined;
|
|
358
|
+
notification_category_id?: string | null | undefined;
|
|
359
359
|
started_sending_at_millis?: number | undefined;
|
|
360
|
-
id: string;
|
|
361
360
|
status: "skipped";
|
|
362
|
-
|
|
363
|
-
updated_at_millis: number;
|
|
364
|
-
tsx_source: string;
|
|
365
|
-
theme_id: string | null;
|
|
361
|
+
id: string;
|
|
366
362
|
to: {
|
|
367
|
-
type: "user-primary-email";
|
|
368
363
|
user_id: string;
|
|
364
|
+
type: "user-primary-email";
|
|
369
365
|
} | {
|
|
370
|
-
type: "user-custom-emails";
|
|
371
366
|
user_id: string;
|
|
367
|
+
type: "user-custom-emails";
|
|
372
368
|
emails: string[];
|
|
373
369
|
} | {
|
|
374
370
|
type: "custom-emails";
|
|
375
371
|
emails: string[];
|
|
376
372
|
};
|
|
373
|
+
created_at_millis: number;
|
|
374
|
+
updated_at_millis: number;
|
|
375
|
+
tsx_source: string;
|
|
376
|
+
theme_id: string | null;
|
|
377
377
|
variables: Record<string, {} | null>;
|
|
378
378
|
skip_deliverability_check: boolean;
|
|
379
379
|
scheduled_at_millis: number;
|
|
@@ -398,27 +398,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
398
398
|
skipped_reason: string;
|
|
399
399
|
skipped_details: Record<string, {} | null>;
|
|
400
400
|
} | {
|
|
401
|
+
status: "bounced";
|
|
401
402
|
id: string;
|
|
402
403
|
subject: string;
|
|
403
|
-
status: "bounced";
|
|
404
|
-
created_at_millis: number;
|
|
405
|
-
html: string | null;
|
|
406
|
-
text: string | null;
|
|
407
|
-
notification_category_id: string | null;
|
|
408
|
-
updated_at_millis: number;
|
|
409
|
-
tsx_source: string;
|
|
410
|
-
theme_id: string | null;
|
|
411
404
|
to: {
|
|
412
|
-
type: "user-primary-email";
|
|
413
405
|
user_id: string;
|
|
406
|
+
type: "user-primary-email";
|
|
414
407
|
} | {
|
|
415
|
-
type: "user-custom-emails";
|
|
416
408
|
user_id: string;
|
|
409
|
+
type: "user-custom-emails";
|
|
417
410
|
emails: string[];
|
|
418
411
|
} | {
|
|
419
412
|
type: "custom-emails";
|
|
420
413
|
emails: string[];
|
|
421
414
|
};
|
|
415
|
+
created_at_millis: number;
|
|
416
|
+
updated_at_millis: number;
|
|
417
|
+
tsx_source: string;
|
|
418
|
+
theme_id: string | null;
|
|
422
419
|
variables: Record<string, {} | null>;
|
|
423
420
|
skip_deliverability_check: boolean;
|
|
424
421
|
scheduled_at_millis: number;
|
|
@@ -441,32 +438,32 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
441
438
|
has_delivered: boolean;
|
|
442
439
|
started_rendering_at_millis: number;
|
|
443
440
|
rendered_at_millis: number;
|
|
441
|
+
html: string | null;
|
|
442
|
+
text: string | null;
|
|
444
443
|
is_transactional: boolean;
|
|
445
444
|
is_high_priority: boolean;
|
|
445
|
+
notification_category_id: string | null;
|
|
446
446
|
started_sending_at_millis: number;
|
|
447
447
|
bounced_at_millis: number;
|
|
448
448
|
} | {
|
|
449
|
+
status: "delivery-delayed";
|
|
449
450
|
id: string;
|
|
450
451
|
subject: string;
|
|
451
|
-
status: "delivery-delayed";
|
|
452
|
-
created_at_millis: number;
|
|
453
|
-
html: string | null;
|
|
454
|
-
text: string | null;
|
|
455
|
-
notification_category_id: string | null;
|
|
456
|
-
updated_at_millis: number;
|
|
457
|
-
tsx_source: string;
|
|
458
|
-
theme_id: string | null;
|
|
459
452
|
to: {
|
|
460
|
-
type: "user-primary-email";
|
|
461
453
|
user_id: string;
|
|
454
|
+
type: "user-primary-email";
|
|
462
455
|
} | {
|
|
463
|
-
type: "user-custom-emails";
|
|
464
456
|
user_id: string;
|
|
457
|
+
type: "user-custom-emails";
|
|
465
458
|
emails: string[];
|
|
466
459
|
} | {
|
|
467
460
|
type: "custom-emails";
|
|
468
461
|
emails: string[];
|
|
469
462
|
};
|
|
463
|
+
created_at_millis: number;
|
|
464
|
+
updated_at_millis: number;
|
|
465
|
+
tsx_source: string;
|
|
466
|
+
theme_id: string | null;
|
|
470
467
|
variables: Record<string, {} | null>;
|
|
471
468
|
skip_deliverability_check: boolean;
|
|
472
469
|
scheduled_at_millis: number;
|
|
@@ -489,32 +486,32 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
489
486
|
has_delivered: boolean;
|
|
490
487
|
started_rendering_at_millis: number;
|
|
491
488
|
rendered_at_millis: number;
|
|
489
|
+
html: string | null;
|
|
490
|
+
text: string | null;
|
|
492
491
|
is_transactional: boolean;
|
|
493
492
|
is_high_priority: boolean;
|
|
493
|
+
notification_category_id: string | null;
|
|
494
494
|
started_sending_at_millis: number;
|
|
495
495
|
delivery_delayed_at_millis: number;
|
|
496
496
|
} | {
|
|
497
|
+
status: "sent";
|
|
497
498
|
id: string;
|
|
498
499
|
subject: string;
|
|
499
|
-
status: "sent";
|
|
500
|
-
created_at_millis: number;
|
|
501
|
-
html: string | null;
|
|
502
|
-
text: string | null;
|
|
503
|
-
notification_category_id: string | null;
|
|
504
|
-
updated_at_millis: number;
|
|
505
|
-
tsx_source: string;
|
|
506
|
-
theme_id: string | null;
|
|
507
500
|
to: {
|
|
508
|
-
type: "user-primary-email";
|
|
509
501
|
user_id: string;
|
|
502
|
+
type: "user-primary-email";
|
|
510
503
|
} | {
|
|
511
|
-
type: "user-custom-emails";
|
|
512
504
|
user_id: string;
|
|
505
|
+
type: "user-custom-emails";
|
|
513
506
|
emails: string[];
|
|
514
507
|
} | {
|
|
515
508
|
type: "custom-emails";
|
|
516
509
|
emails: string[];
|
|
517
510
|
};
|
|
511
|
+
created_at_millis: number;
|
|
512
|
+
updated_at_millis: number;
|
|
513
|
+
tsx_source: string;
|
|
514
|
+
theme_id: string | null;
|
|
518
515
|
variables: Record<string, {} | null>;
|
|
519
516
|
skip_deliverability_check: boolean;
|
|
520
517
|
scheduled_at_millis: number;
|
|
@@ -537,33 +534,33 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
537
534
|
has_delivered: boolean;
|
|
538
535
|
started_rendering_at_millis: number;
|
|
539
536
|
rendered_at_millis: number;
|
|
537
|
+
html: string | null;
|
|
538
|
+
text: string | null;
|
|
540
539
|
is_transactional: boolean;
|
|
541
540
|
is_high_priority: boolean;
|
|
541
|
+
notification_category_id: string | null;
|
|
542
542
|
started_sending_at_millis: number;
|
|
543
543
|
delivered_at_millis: number;
|
|
544
544
|
can_have_delivery_info: boolean;
|
|
545
545
|
} | {
|
|
546
|
+
status: "opened";
|
|
546
547
|
id: string;
|
|
547
548
|
subject: string;
|
|
548
|
-
status: "opened";
|
|
549
|
-
created_at_millis: number;
|
|
550
|
-
html: string | null;
|
|
551
|
-
text: string | null;
|
|
552
|
-
notification_category_id: string | null;
|
|
553
|
-
updated_at_millis: number;
|
|
554
|
-
tsx_source: string;
|
|
555
|
-
theme_id: string | null;
|
|
556
549
|
to: {
|
|
557
|
-
type: "user-primary-email";
|
|
558
550
|
user_id: string;
|
|
551
|
+
type: "user-primary-email";
|
|
559
552
|
} | {
|
|
560
|
-
type: "user-custom-emails";
|
|
561
553
|
user_id: string;
|
|
554
|
+
type: "user-custom-emails";
|
|
562
555
|
emails: string[];
|
|
563
556
|
} | {
|
|
564
557
|
type: "custom-emails";
|
|
565
558
|
emails: string[];
|
|
566
559
|
};
|
|
560
|
+
created_at_millis: number;
|
|
561
|
+
updated_at_millis: number;
|
|
562
|
+
tsx_source: string;
|
|
563
|
+
theme_id: string | null;
|
|
567
564
|
variables: Record<string, {} | null>;
|
|
568
565
|
skip_deliverability_check: boolean;
|
|
569
566
|
scheduled_at_millis: number;
|
|
@@ -586,34 +583,34 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
586
583
|
has_delivered: boolean;
|
|
587
584
|
started_rendering_at_millis: number;
|
|
588
585
|
rendered_at_millis: number;
|
|
586
|
+
html: string | null;
|
|
587
|
+
text: string | null;
|
|
589
588
|
is_transactional: boolean;
|
|
590
589
|
is_high_priority: boolean;
|
|
590
|
+
notification_category_id: string | null;
|
|
591
591
|
started_sending_at_millis: number;
|
|
592
592
|
delivered_at_millis: number;
|
|
593
593
|
can_have_delivery_info: boolean;
|
|
594
594
|
opened_at_millis: number;
|
|
595
595
|
} | {
|
|
596
|
+
status: "clicked";
|
|
596
597
|
id: string;
|
|
597
598
|
subject: string;
|
|
598
|
-
status: "clicked";
|
|
599
|
-
created_at_millis: number;
|
|
600
|
-
html: string | null;
|
|
601
|
-
text: string | null;
|
|
602
|
-
notification_category_id: string | null;
|
|
603
|
-
updated_at_millis: number;
|
|
604
|
-
tsx_source: string;
|
|
605
|
-
theme_id: string | null;
|
|
606
599
|
to: {
|
|
607
|
-
type: "user-primary-email";
|
|
608
600
|
user_id: string;
|
|
601
|
+
type: "user-primary-email";
|
|
609
602
|
} | {
|
|
610
|
-
type: "user-custom-emails";
|
|
611
603
|
user_id: string;
|
|
604
|
+
type: "user-custom-emails";
|
|
612
605
|
emails: string[];
|
|
613
606
|
} | {
|
|
614
607
|
type: "custom-emails";
|
|
615
608
|
emails: string[];
|
|
616
609
|
};
|
|
610
|
+
created_at_millis: number;
|
|
611
|
+
updated_at_millis: number;
|
|
612
|
+
tsx_source: string;
|
|
613
|
+
theme_id: string | null;
|
|
617
614
|
variables: Record<string, {} | null>;
|
|
618
615
|
skip_deliverability_check: boolean;
|
|
619
616
|
scheduled_at_millis: number;
|
|
@@ -636,34 +633,34 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
636
633
|
has_delivered: boolean;
|
|
637
634
|
started_rendering_at_millis: number;
|
|
638
635
|
rendered_at_millis: number;
|
|
636
|
+
html: string | null;
|
|
637
|
+
text: string | null;
|
|
639
638
|
is_transactional: boolean;
|
|
640
639
|
is_high_priority: boolean;
|
|
640
|
+
notification_category_id: string | null;
|
|
641
641
|
started_sending_at_millis: number;
|
|
642
642
|
delivered_at_millis: number;
|
|
643
643
|
can_have_delivery_info: boolean;
|
|
644
644
|
clicked_at_millis: number;
|
|
645
645
|
} | {
|
|
646
|
+
status: "marked-as-spam";
|
|
646
647
|
id: string;
|
|
647
648
|
subject: string;
|
|
648
|
-
status: "marked-as-spam";
|
|
649
|
-
created_at_millis: number;
|
|
650
|
-
html: string | null;
|
|
651
|
-
text: string | null;
|
|
652
|
-
notification_category_id: string | null;
|
|
653
|
-
updated_at_millis: number;
|
|
654
|
-
tsx_source: string;
|
|
655
|
-
theme_id: string | null;
|
|
656
649
|
to: {
|
|
657
|
-
type: "user-primary-email";
|
|
658
650
|
user_id: string;
|
|
651
|
+
type: "user-primary-email";
|
|
659
652
|
} | {
|
|
660
|
-
type: "user-custom-emails";
|
|
661
653
|
user_id: string;
|
|
654
|
+
type: "user-custom-emails";
|
|
662
655
|
emails: string[];
|
|
663
656
|
} | {
|
|
664
657
|
type: "custom-emails";
|
|
665
658
|
emails: string[];
|
|
666
659
|
};
|
|
660
|
+
created_at_millis: number;
|
|
661
|
+
updated_at_millis: number;
|
|
662
|
+
tsx_source: string;
|
|
663
|
+
theme_id: string | null;
|
|
667
664
|
variables: Record<string, {} | null>;
|
|
668
665
|
skip_deliverability_check: boolean;
|
|
669
666
|
scheduled_at_millis: number;
|
|
@@ -686,8 +683,11 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
686
683
|
has_delivered: boolean;
|
|
687
684
|
started_rendering_at_millis: number;
|
|
688
685
|
rendered_at_millis: number;
|
|
686
|
+
html: string | null;
|
|
687
|
+
text: string | null;
|
|
689
688
|
is_transactional: boolean;
|
|
690
689
|
is_high_priority: boolean;
|
|
690
|
+
notification_category_id: string | null;
|
|
691
691
|
started_sending_at_millis: number;
|
|
692
692
|
delivered_at_millis: number;
|
|
693
693
|
can_have_delivery_info: boolean;
|
|
@@ -697,11 +697,11 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
|
|
|
697
697
|
tsx_source: string | undefined;
|
|
698
698
|
theme_id: string | null | undefined;
|
|
699
699
|
to: {
|
|
700
|
-
type: "user-primary-email";
|
|
701
700
|
user_id: string;
|
|
701
|
+
type: "user-primary-email";
|
|
702
702
|
} | {
|
|
703
|
-
type: "user-custom-emails";
|
|
704
703
|
user_id: string;
|
|
704
|
+
type: "user-custom-emails";
|
|
705
705
|
emails: string[];
|
|
706
706
|
} | {
|
|
707
707
|
type: "custom-emails";
|
|
@@ -724,23 +724,23 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
|
|
|
724
724
|
}, "">;
|
|
725
725
|
declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
726
726
|
serverReadSchema: yup$1.MixedSchema<{
|
|
727
|
-
id: string;
|
|
728
727
|
status: "paused";
|
|
729
|
-
|
|
730
|
-
updated_at_millis: number;
|
|
731
|
-
tsx_source: string;
|
|
732
|
-
theme_id: string | null;
|
|
728
|
+
id: string;
|
|
733
729
|
to: {
|
|
734
|
-
type: "user-primary-email";
|
|
735
730
|
user_id: string;
|
|
731
|
+
type: "user-primary-email";
|
|
736
732
|
} | {
|
|
737
|
-
type: "user-custom-emails";
|
|
738
733
|
user_id: string;
|
|
734
|
+
type: "user-custom-emails";
|
|
739
735
|
emails: string[];
|
|
740
736
|
} | {
|
|
741
737
|
type: "custom-emails";
|
|
742
738
|
emails: string[];
|
|
743
739
|
};
|
|
740
|
+
created_at_millis: number;
|
|
741
|
+
updated_at_millis: number;
|
|
742
|
+
tsx_source: string;
|
|
743
|
+
theme_id: string | null;
|
|
744
744
|
variables: Record<string, {} | null>;
|
|
745
745
|
skip_deliverability_check: boolean;
|
|
746
746
|
scheduled_at_millis: number;
|
|
@@ -762,23 +762,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
762
762
|
has_rendered: boolean;
|
|
763
763
|
has_delivered: boolean;
|
|
764
764
|
} | {
|
|
765
|
-
id: string;
|
|
766
765
|
status: "preparing";
|
|
767
|
-
|
|
768
|
-
updated_at_millis: number;
|
|
769
|
-
tsx_source: string;
|
|
770
|
-
theme_id: string | null;
|
|
766
|
+
id: string;
|
|
771
767
|
to: {
|
|
772
|
-
type: "user-primary-email";
|
|
773
768
|
user_id: string;
|
|
769
|
+
type: "user-primary-email";
|
|
774
770
|
} | {
|
|
775
|
-
type: "user-custom-emails";
|
|
776
771
|
user_id: string;
|
|
772
|
+
type: "user-custom-emails";
|
|
777
773
|
emails: string[];
|
|
778
774
|
} | {
|
|
779
775
|
type: "custom-emails";
|
|
780
776
|
emails: string[];
|
|
781
777
|
};
|
|
778
|
+
created_at_millis: number;
|
|
779
|
+
updated_at_millis: number;
|
|
780
|
+
tsx_source: string;
|
|
781
|
+
theme_id: string | null;
|
|
782
782
|
variables: Record<string, {} | null>;
|
|
783
783
|
skip_deliverability_check: boolean;
|
|
784
784
|
scheduled_at_millis: number;
|
|
@@ -800,23 +800,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
800
800
|
has_rendered: boolean;
|
|
801
801
|
has_delivered: boolean;
|
|
802
802
|
} | {
|
|
803
|
-
id: string;
|
|
804
803
|
status: "rendering";
|
|
805
|
-
|
|
806
|
-
updated_at_millis: number;
|
|
807
|
-
tsx_source: string;
|
|
808
|
-
theme_id: string | null;
|
|
804
|
+
id: string;
|
|
809
805
|
to: {
|
|
810
|
-
type: "user-primary-email";
|
|
811
806
|
user_id: string;
|
|
807
|
+
type: "user-primary-email";
|
|
812
808
|
} | {
|
|
813
|
-
type: "user-custom-emails";
|
|
814
809
|
user_id: string;
|
|
810
|
+
type: "user-custom-emails";
|
|
815
811
|
emails: string[];
|
|
816
812
|
} | {
|
|
817
813
|
type: "custom-emails";
|
|
818
814
|
emails: string[];
|
|
819
815
|
};
|
|
816
|
+
created_at_millis: number;
|
|
817
|
+
updated_at_millis: number;
|
|
818
|
+
tsx_source: string;
|
|
819
|
+
theme_id: string | null;
|
|
820
820
|
variables: Record<string, {} | null>;
|
|
821
821
|
skip_deliverability_check: boolean;
|
|
822
822
|
scheduled_at_millis: number;
|
|
@@ -839,23 +839,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
839
839
|
has_delivered: boolean;
|
|
840
840
|
started_rendering_at_millis: number;
|
|
841
841
|
} | {
|
|
842
|
-
id: string;
|
|
843
842
|
status: "render-error";
|
|
844
|
-
|
|
845
|
-
updated_at_millis: number;
|
|
846
|
-
tsx_source: string;
|
|
847
|
-
theme_id: string | null;
|
|
843
|
+
id: string;
|
|
848
844
|
to: {
|
|
849
|
-
type: "user-primary-email";
|
|
850
845
|
user_id: string;
|
|
846
|
+
type: "user-primary-email";
|
|
851
847
|
} | {
|
|
852
|
-
type: "user-custom-emails";
|
|
853
848
|
user_id: string;
|
|
849
|
+
type: "user-custom-emails";
|
|
854
850
|
emails: string[];
|
|
855
851
|
} | {
|
|
856
852
|
type: "custom-emails";
|
|
857
853
|
emails: string[];
|
|
858
854
|
};
|
|
855
|
+
created_at_millis: number;
|
|
856
|
+
updated_at_millis: number;
|
|
857
|
+
tsx_source: string;
|
|
858
|
+
theme_id: string | null;
|
|
859
859
|
variables: Record<string, {} | null>;
|
|
860
860
|
skip_deliverability_check: boolean;
|
|
861
861
|
scheduled_at_millis: number;
|
|
@@ -880,27 +880,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
880
880
|
rendered_at_millis: number;
|
|
881
881
|
render_error: string;
|
|
882
882
|
} | {
|
|
883
|
+
status: "scheduled";
|
|
883
884
|
id: string;
|
|
884
885
|
subject: string;
|
|
885
|
-
status: "scheduled";
|
|
886
|
-
created_at_millis: number;
|
|
887
|
-
html: string | null;
|
|
888
|
-
text: string | null;
|
|
889
|
-
notification_category_id: string | null;
|
|
890
|
-
updated_at_millis: number;
|
|
891
|
-
tsx_source: string;
|
|
892
|
-
theme_id: string | null;
|
|
893
886
|
to: {
|
|
894
|
-
type: "user-primary-email";
|
|
895
887
|
user_id: string;
|
|
888
|
+
type: "user-primary-email";
|
|
896
889
|
} | {
|
|
897
|
-
type: "user-custom-emails";
|
|
898
890
|
user_id: string;
|
|
891
|
+
type: "user-custom-emails";
|
|
899
892
|
emails: string[];
|
|
900
893
|
} | {
|
|
901
894
|
type: "custom-emails";
|
|
902
895
|
emails: string[];
|
|
903
896
|
};
|
|
897
|
+
created_at_millis: number;
|
|
898
|
+
updated_at_millis: number;
|
|
899
|
+
tsx_source: string;
|
|
900
|
+
theme_id: string | null;
|
|
904
901
|
variables: Record<string, {} | null>;
|
|
905
902
|
skip_deliverability_check: boolean;
|
|
906
903
|
scheduled_at_millis: number;
|
|
@@ -923,30 +920,30 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
923
920
|
has_delivered: boolean;
|
|
924
921
|
started_rendering_at_millis: number;
|
|
925
922
|
rendered_at_millis: number;
|
|
923
|
+
html: string | null;
|
|
924
|
+
text: string | null;
|
|
926
925
|
is_transactional: boolean;
|
|
927
926
|
is_high_priority: boolean;
|
|
927
|
+
notification_category_id: string | null;
|
|
928
928
|
} | {
|
|
929
|
+
status: "queued";
|
|
929
930
|
id: string;
|
|
930
931
|
subject: string;
|
|
931
|
-
status: "queued";
|
|
932
|
-
created_at_millis: number;
|
|
933
|
-
html: string | null;
|
|
934
|
-
text: string | null;
|
|
935
|
-
notification_category_id: string | null;
|
|
936
|
-
updated_at_millis: number;
|
|
937
|
-
tsx_source: string;
|
|
938
|
-
theme_id: string | null;
|
|
939
932
|
to: {
|
|
940
|
-
type: "user-primary-email";
|
|
941
933
|
user_id: string;
|
|
934
|
+
type: "user-primary-email";
|
|
942
935
|
} | {
|
|
943
|
-
type: "user-custom-emails";
|
|
944
936
|
user_id: string;
|
|
937
|
+
type: "user-custom-emails";
|
|
945
938
|
emails: string[];
|
|
946
939
|
} | {
|
|
947
940
|
type: "custom-emails";
|
|
948
941
|
emails: string[];
|
|
949
942
|
};
|
|
943
|
+
created_at_millis: number;
|
|
944
|
+
updated_at_millis: number;
|
|
945
|
+
tsx_source: string;
|
|
946
|
+
theme_id: string | null;
|
|
950
947
|
variables: Record<string, {} | null>;
|
|
951
948
|
skip_deliverability_check: boolean;
|
|
952
949
|
scheduled_at_millis: number;
|
|
@@ -969,30 +966,30 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
969
966
|
has_delivered: boolean;
|
|
970
967
|
started_rendering_at_millis: number;
|
|
971
968
|
rendered_at_millis: number;
|
|
969
|
+
html: string | null;
|
|
970
|
+
text: string | null;
|
|
972
971
|
is_transactional: boolean;
|
|
973
972
|
is_high_priority: boolean;
|
|
973
|
+
notification_category_id: string | null;
|
|
974
974
|
} | {
|
|
975
|
+
status: "sending";
|
|
975
976
|
id: string;
|
|
976
977
|
subject: string;
|
|
977
|
-
status: "sending";
|
|
978
|
-
created_at_millis: number;
|
|
979
|
-
html: string | null;
|
|
980
|
-
text: string | null;
|
|
981
|
-
notification_category_id: string | null;
|
|
982
|
-
updated_at_millis: number;
|
|
983
|
-
tsx_source: string;
|
|
984
|
-
theme_id: string | null;
|
|
985
978
|
to: {
|
|
986
|
-
type: "user-primary-email";
|
|
987
979
|
user_id: string;
|
|
980
|
+
type: "user-primary-email";
|
|
988
981
|
} | {
|
|
989
|
-
type: "user-custom-emails";
|
|
990
982
|
user_id: string;
|
|
983
|
+
type: "user-custom-emails";
|
|
991
984
|
emails: string[];
|
|
992
985
|
} | {
|
|
993
986
|
type: "custom-emails";
|
|
994
987
|
emails: string[];
|
|
995
988
|
};
|
|
989
|
+
created_at_millis: number;
|
|
990
|
+
updated_at_millis: number;
|
|
991
|
+
tsx_source: string;
|
|
992
|
+
theme_id: string | null;
|
|
996
993
|
variables: Record<string, {} | null>;
|
|
997
994
|
skip_deliverability_check: boolean;
|
|
998
995
|
scheduled_at_millis: number;
|
|
@@ -1015,31 +1012,31 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1015
1012
|
has_delivered: boolean;
|
|
1016
1013
|
started_rendering_at_millis: number;
|
|
1017
1014
|
rendered_at_millis: number;
|
|
1015
|
+
html: string | null;
|
|
1016
|
+
text: string | null;
|
|
1018
1017
|
is_transactional: boolean;
|
|
1019
1018
|
is_high_priority: boolean;
|
|
1019
|
+
notification_category_id: string | null;
|
|
1020
1020
|
started_sending_at_millis: number;
|
|
1021
1021
|
} | {
|
|
1022
|
+
status: "server-error";
|
|
1022
1023
|
id: string;
|
|
1023
1024
|
subject: string;
|
|
1024
|
-
status: "server-error";
|
|
1025
|
-
created_at_millis: number;
|
|
1026
|
-
html: string | null;
|
|
1027
|
-
text: string | null;
|
|
1028
|
-
notification_category_id: string | null;
|
|
1029
|
-
updated_at_millis: number;
|
|
1030
|
-
tsx_source: string;
|
|
1031
|
-
theme_id: string | null;
|
|
1032
1025
|
to: {
|
|
1033
|
-
type: "user-primary-email";
|
|
1034
1026
|
user_id: string;
|
|
1027
|
+
type: "user-primary-email";
|
|
1035
1028
|
} | {
|
|
1036
|
-
type: "user-custom-emails";
|
|
1037
1029
|
user_id: string;
|
|
1030
|
+
type: "user-custom-emails";
|
|
1038
1031
|
emails: string[];
|
|
1039
1032
|
} | {
|
|
1040
1033
|
type: "custom-emails";
|
|
1041
1034
|
emails: string[];
|
|
1042
1035
|
};
|
|
1036
|
+
created_at_millis: number;
|
|
1037
|
+
updated_at_millis: number;
|
|
1038
|
+
tsx_source: string;
|
|
1039
|
+
theme_id: string | null;
|
|
1043
1040
|
variables: Record<string, {} | null>;
|
|
1044
1041
|
skip_deliverability_check: boolean;
|
|
1045
1042
|
scheduled_at_millis: number;
|
|
@@ -1062,38 +1059,41 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1062
1059
|
has_delivered: boolean;
|
|
1063
1060
|
started_rendering_at_millis: number;
|
|
1064
1061
|
rendered_at_millis: number;
|
|
1062
|
+
html: string | null;
|
|
1063
|
+
text: string | null;
|
|
1065
1064
|
is_transactional: boolean;
|
|
1066
1065
|
is_high_priority: boolean;
|
|
1066
|
+
notification_category_id: string | null;
|
|
1067
1067
|
started_sending_at_millis: number;
|
|
1068
1068
|
error_at_millis: number;
|
|
1069
1069
|
server_error: string;
|
|
1070
1070
|
} | {
|
|
1071
1071
|
subject?: string | undefined;
|
|
1072
|
-
html?: string | null | undefined;
|
|
1073
|
-
text?: string | null | undefined;
|
|
1074
|
-
notification_category_id?: string | null | undefined;
|
|
1075
1072
|
started_rendering_at_millis?: number | undefined;
|
|
1076
1073
|
rendered_at_millis?: number | undefined;
|
|
1074
|
+
html?: string | null | undefined;
|
|
1075
|
+
text?: string | null | undefined;
|
|
1077
1076
|
is_transactional?: boolean | undefined;
|
|
1078
1077
|
is_high_priority?: boolean | undefined;
|
|
1078
|
+
notification_category_id?: string | null | undefined;
|
|
1079
1079
|
started_sending_at_millis?: number | undefined;
|
|
1080
|
-
id: string;
|
|
1081
1080
|
status: "skipped";
|
|
1082
|
-
|
|
1083
|
-
updated_at_millis: number;
|
|
1084
|
-
tsx_source: string;
|
|
1085
|
-
theme_id: string | null;
|
|
1081
|
+
id: string;
|
|
1086
1082
|
to: {
|
|
1087
|
-
type: "user-primary-email";
|
|
1088
1083
|
user_id: string;
|
|
1084
|
+
type: "user-primary-email";
|
|
1089
1085
|
} | {
|
|
1090
|
-
type: "user-custom-emails";
|
|
1091
1086
|
user_id: string;
|
|
1087
|
+
type: "user-custom-emails";
|
|
1092
1088
|
emails: string[];
|
|
1093
1089
|
} | {
|
|
1094
1090
|
type: "custom-emails";
|
|
1095
1091
|
emails: string[];
|
|
1096
1092
|
};
|
|
1093
|
+
created_at_millis: number;
|
|
1094
|
+
updated_at_millis: number;
|
|
1095
|
+
tsx_source: string;
|
|
1096
|
+
theme_id: string | null;
|
|
1097
1097
|
variables: Record<string, {} | null>;
|
|
1098
1098
|
skip_deliverability_check: boolean;
|
|
1099
1099
|
scheduled_at_millis: number;
|
|
@@ -1118,27 +1118,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1118
1118
|
skipped_reason: string;
|
|
1119
1119
|
skipped_details: Record<string, {} | null>;
|
|
1120
1120
|
} | {
|
|
1121
|
+
status: "bounced";
|
|
1121
1122
|
id: string;
|
|
1122
1123
|
subject: string;
|
|
1123
|
-
status: "bounced";
|
|
1124
|
-
created_at_millis: number;
|
|
1125
|
-
html: string | null;
|
|
1126
|
-
text: string | null;
|
|
1127
|
-
notification_category_id: string | null;
|
|
1128
|
-
updated_at_millis: number;
|
|
1129
|
-
tsx_source: string;
|
|
1130
|
-
theme_id: string | null;
|
|
1131
1124
|
to: {
|
|
1132
|
-
type: "user-primary-email";
|
|
1133
1125
|
user_id: string;
|
|
1126
|
+
type: "user-primary-email";
|
|
1134
1127
|
} | {
|
|
1135
|
-
type: "user-custom-emails";
|
|
1136
1128
|
user_id: string;
|
|
1129
|
+
type: "user-custom-emails";
|
|
1137
1130
|
emails: string[];
|
|
1138
1131
|
} | {
|
|
1139
1132
|
type: "custom-emails";
|
|
1140
1133
|
emails: string[];
|
|
1141
1134
|
};
|
|
1135
|
+
created_at_millis: number;
|
|
1136
|
+
updated_at_millis: number;
|
|
1137
|
+
tsx_source: string;
|
|
1138
|
+
theme_id: string | null;
|
|
1142
1139
|
variables: Record<string, {} | null>;
|
|
1143
1140
|
skip_deliverability_check: boolean;
|
|
1144
1141
|
scheduled_at_millis: number;
|
|
@@ -1161,32 +1158,32 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1161
1158
|
has_delivered: boolean;
|
|
1162
1159
|
started_rendering_at_millis: number;
|
|
1163
1160
|
rendered_at_millis: number;
|
|
1161
|
+
html: string | null;
|
|
1162
|
+
text: string | null;
|
|
1164
1163
|
is_transactional: boolean;
|
|
1165
1164
|
is_high_priority: boolean;
|
|
1165
|
+
notification_category_id: string | null;
|
|
1166
1166
|
started_sending_at_millis: number;
|
|
1167
1167
|
bounced_at_millis: number;
|
|
1168
1168
|
} | {
|
|
1169
|
+
status: "delivery-delayed";
|
|
1169
1170
|
id: string;
|
|
1170
1171
|
subject: string;
|
|
1171
|
-
status: "delivery-delayed";
|
|
1172
|
-
created_at_millis: number;
|
|
1173
|
-
html: string | null;
|
|
1174
|
-
text: string | null;
|
|
1175
|
-
notification_category_id: string | null;
|
|
1176
|
-
updated_at_millis: number;
|
|
1177
|
-
tsx_source: string;
|
|
1178
|
-
theme_id: string | null;
|
|
1179
1172
|
to: {
|
|
1180
|
-
type: "user-primary-email";
|
|
1181
1173
|
user_id: string;
|
|
1174
|
+
type: "user-primary-email";
|
|
1182
1175
|
} | {
|
|
1183
|
-
type: "user-custom-emails";
|
|
1184
1176
|
user_id: string;
|
|
1177
|
+
type: "user-custom-emails";
|
|
1185
1178
|
emails: string[];
|
|
1186
1179
|
} | {
|
|
1187
1180
|
type: "custom-emails";
|
|
1188
1181
|
emails: string[];
|
|
1189
1182
|
};
|
|
1183
|
+
created_at_millis: number;
|
|
1184
|
+
updated_at_millis: number;
|
|
1185
|
+
tsx_source: string;
|
|
1186
|
+
theme_id: string | null;
|
|
1190
1187
|
variables: Record<string, {} | null>;
|
|
1191
1188
|
skip_deliverability_check: boolean;
|
|
1192
1189
|
scheduled_at_millis: number;
|
|
@@ -1209,32 +1206,32 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1209
1206
|
has_delivered: boolean;
|
|
1210
1207
|
started_rendering_at_millis: number;
|
|
1211
1208
|
rendered_at_millis: number;
|
|
1209
|
+
html: string | null;
|
|
1210
|
+
text: string | null;
|
|
1212
1211
|
is_transactional: boolean;
|
|
1213
1212
|
is_high_priority: boolean;
|
|
1213
|
+
notification_category_id: string | null;
|
|
1214
1214
|
started_sending_at_millis: number;
|
|
1215
1215
|
delivery_delayed_at_millis: number;
|
|
1216
1216
|
} | {
|
|
1217
|
+
status: "sent";
|
|
1217
1218
|
id: string;
|
|
1218
1219
|
subject: string;
|
|
1219
|
-
status: "sent";
|
|
1220
|
-
created_at_millis: number;
|
|
1221
|
-
html: string | null;
|
|
1222
|
-
text: string | null;
|
|
1223
|
-
notification_category_id: string | null;
|
|
1224
|
-
updated_at_millis: number;
|
|
1225
|
-
tsx_source: string;
|
|
1226
|
-
theme_id: string | null;
|
|
1227
1220
|
to: {
|
|
1228
|
-
type: "user-primary-email";
|
|
1229
1221
|
user_id: string;
|
|
1222
|
+
type: "user-primary-email";
|
|
1230
1223
|
} | {
|
|
1231
|
-
type: "user-custom-emails";
|
|
1232
1224
|
user_id: string;
|
|
1225
|
+
type: "user-custom-emails";
|
|
1233
1226
|
emails: string[];
|
|
1234
1227
|
} | {
|
|
1235
1228
|
type: "custom-emails";
|
|
1236
1229
|
emails: string[];
|
|
1237
1230
|
};
|
|
1231
|
+
created_at_millis: number;
|
|
1232
|
+
updated_at_millis: number;
|
|
1233
|
+
tsx_source: string;
|
|
1234
|
+
theme_id: string | null;
|
|
1238
1235
|
variables: Record<string, {} | null>;
|
|
1239
1236
|
skip_deliverability_check: boolean;
|
|
1240
1237
|
scheduled_at_millis: number;
|
|
@@ -1257,33 +1254,33 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1257
1254
|
has_delivered: boolean;
|
|
1258
1255
|
started_rendering_at_millis: number;
|
|
1259
1256
|
rendered_at_millis: number;
|
|
1257
|
+
html: string | null;
|
|
1258
|
+
text: string | null;
|
|
1260
1259
|
is_transactional: boolean;
|
|
1261
1260
|
is_high_priority: boolean;
|
|
1261
|
+
notification_category_id: string | null;
|
|
1262
1262
|
started_sending_at_millis: number;
|
|
1263
1263
|
delivered_at_millis: number;
|
|
1264
1264
|
can_have_delivery_info: boolean;
|
|
1265
1265
|
} | {
|
|
1266
|
+
status: "opened";
|
|
1266
1267
|
id: string;
|
|
1267
1268
|
subject: string;
|
|
1268
|
-
status: "opened";
|
|
1269
|
-
created_at_millis: number;
|
|
1270
|
-
html: string | null;
|
|
1271
|
-
text: string | null;
|
|
1272
|
-
notification_category_id: string | null;
|
|
1273
|
-
updated_at_millis: number;
|
|
1274
|
-
tsx_source: string;
|
|
1275
|
-
theme_id: string | null;
|
|
1276
1269
|
to: {
|
|
1277
|
-
type: "user-primary-email";
|
|
1278
1270
|
user_id: string;
|
|
1271
|
+
type: "user-primary-email";
|
|
1279
1272
|
} | {
|
|
1280
|
-
type: "user-custom-emails";
|
|
1281
1273
|
user_id: string;
|
|
1274
|
+
type: "user-custom-emails";
|
|
1282
1275
|
emails: string[];
|
|
1283
1276
|
} | {
|
|
1284
1277
|
type: "custom-emails";
|
|
1285
1278
|
emails: string[];
|
|
1286
1279
|
};
|
|
1280
|
+
created_at_millis: number;
|
|
1281
|
+
updated_at_millis: number;
|
|
1282
|
+
tsx_source: string;
|
|
1283
|
+
theme_id: string | null;
|
|
1287
1284
|
variables: Record<string, {} | null>;
|
|
1288
1285
|
skip_deliverability_check: boolean;
|
|
1289
1286
|
scheduled_at_millis: number;
|
|
@@ -1306,34 +1303,34 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1306
1303
|
has_delivered: boolean;
|
|
1307
1304
|
started_rendering_at_millis: number;
|
|
1308
1305
|
rendered_at_millis: number;
|
|
1306
|
+
html: string | null;
|
|
1307
|
+
text: string | null;
|
|
1309
1308
|
is_transactional: boolean;
|
|
1310
1309
|
is_high_priority: boolean;
|
|
1310
|
+
notification_category_id: string | null;
|
|
1311
1311
|
started_sending_at_millis: number;
|
|
1312
1312
|
delivered_at_millis: number;
|
|
1313
1313
|
can_have_delivery_info: boolean;
|
|
1314
1314
|
opened_at_millis: number;
|
|
1315
1315
|
} | {
|
|
1316
|
+
status: "clicked";
|
|
1316
1317
|
id: string;
|
|
1317
1318
|
subject: string;
|
|
1318
|
-
status: "clicked";
|
|
1319
|
-
created_at_millis: number;
|
|
1320
|
-
html: string | null;
|
|
1321
|
-
text: string | null;
|
|
1322
|
-
notification_category_id: string | null;
|
|
1323
|
-
updated_at_millis: number;
|
|
1324
|
-
tsx_source: string;
|
|
1325
|
-
theme_id: string | null;
|
|
1326
1319
|
to: {
|
|
1327
|
-
type: "user-primary-email";
|
|
1328
1320
|
user_id: string;
|
|
1321
|
+
type: "user-primary-email";
|
|
1329
1322
|
} | {
|
|
1330
|
-
type: "user-custom-emails";
|
|
1331
1323
|
user_id: string;
|
|
1324
|
+
type: "user-custom-emails";
|
|
1332
1325
|
emails: string[];
|
|
1333
1326
|
} | {
|
|
1334
1327
|
type: "custom-emails";
|
|
1335
1328
|
emails: string[];
|
|
1336
1329
|
};
|
|
1330
|
+
created_at_millis: number;
|
|
1331
|
+
updated_at_millis: number;
|
|
1332
|
+
tsx_source: string;
|
|
1333
|
+
theme_id: string | null;
|
|
1337
1334
|
variables: Record<string, {} | null>;
|
|
1338
1335
|
skip_deliverability_check: boolean;
|
|
1339
1336
|
scheduled_at_millis: number;
|
|
@@ -1356,34 +1353,34 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1356
1353
|
has_delivered: boolean;
|
|
1357
1354
|
started_rendering_at_millis: number;
|
|
1358
1355
|
rendered_at_millis: number;
|
|
1356
|
+
html: string | null;
|
|
1357
|
+
text: string | null;
|
|
1359
1358
|
is_transactional: boolean;
|
|
1360
1359
|
is_high_priority: boolean;
|
|
1360
|
+
notification_category_id: string | null;
|
|
1361
1361
|
started_sending_at_millis: number;
|
|
1362
1362
|
delivered_at_millis: number;
|
|
1363
1363
|
can_have_delivery_info: boolean;
|
|
1364
1364
|
clicked_at_millis: number;
|
|
1365
1365
|
} | {
|
|
1366
|
+
status: "marked-as-spam";
|
|
1366
1367
|
id: string;
|
|
1367
1368
|
subject: string;
|
|
1368
|
-
status: "marked-as-spam";
|
|
1369
|
-
created_at_millis: number;
|
|
1370
|
-
html: string | null;
|
|
1371
|
-
text: string | null;
|
|
1372
|
-
notification_category_id: string | null;
|
|
1373
|
-
updated_at_millis: number;
|
|
1374
|
-
tsx_source: string;
|
|
1375
|
-
theme_id: string | null;
|
|
1376
1369
|
to: {
|
|
1377
|
-
type: "user-primary-email";
|
|
1378
1370
|
user_id: string;
|
|
1371
|
+
type: "user-primary-email";
|
|
1379
1372
|
} | {
|
|
1380
|
-
type: "user-custom-emails";
|
|
1381
1373
|
user_id: string;
|
|
1374
|
+
type: "user-custom-emails";
|
|
1382
1375
|
emails: string[];
|
|
1383
1376
|
} | {
|
|
1384
1377
|
type: "custom-emails";
|
|
1385
1378
|
emails: string[];
|
|
1386
1379
|
};
|
|
1380
|
+
created_at_millis: number;
|
|
1381
|
+
updated_at_millis: number;
|
|
1382
|
+
tsx_source: string;
|
|
1383
|
+
theme_id: string | null;
|
|
1387
1384
|
variables: Record<string, {} | null>;
|
|
1388
1385
|
skip_deliverability_check: boolean;
|
|
1389
1386
|
scheduled_at_millis: number;
|
|
@@ -1406,8 +1403,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1406
1403
|
has_delivered: boolean;
|
|
1407
1404
|
started_rendering_at_millis: number;
|
|
1408
1405
|
rendered_at_millis: number;
|
|
1406
|
+
html: string | null;
|
|
1407
|
+
text: string | null;
|
|
1409
1408
|
is_transactional: boolean;
|
|
1410
1409
|
is_high_priority: boolean;
|
|
1410
|
+
notification_category_id: string | null;
|
|
1411
1411
|
started_sending_at_millis: number;
|
|
1412
1412
|
delivered_at_millis: number;
|
|
1413
1413
|
can_have_delivery_info: boolean;
|
|
@@ -1417,11 +1417,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1417
1417
|
tsx_source: string | undefined;
|
|
1418
1418
|
theme_id: string | null | undefined;
|
|
1419
1419
|
to: {
|
|
1420
|
-
type: "user-primary-email";
|
|
1421
1420
|
user_id: string;
|
|
1421
|
+
type: "user-primary-email";
|
|
1422
1422
|
} | {
|
|
1423
|
-
type: "user-custom-emails";
|
|
1424
1423
|
user_id: string;
|
|
1424
|
+
type: "user-custom-emails";
|
|
1425
1425
|
emails: string[];
|
|
1426
1426
|
} | {
|
|
1427
1427
|
type: "custom-emails";
|