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