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