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