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