@hexclave/shared 1.0.23 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/unified-prompts/reminders.js +1 -0
- package/dist/ai/unified-prompts/reminders.js.map +1 -1
- 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 +15 -0
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.d.ts +1 -46
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js +1 -62
- package/dist/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js.map +1 -1
- package/dist/config/schema.d.ts +30 -30
- package/dist/config-authoring.d.ts +2 -2
- package/dist/config-authoring.d.ts.map +1 -1
- package/dist/config-authoring.js.map +1 -1
- package/dist/esm/ai/unified-prompts/reminders.js +1 -0
- package/dist/esm/ai/unified-prompts/reminders.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 +15 -0
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.d.ts +1 -46
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js +1 -62
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.js.map +1 -1
- package/dist/esm/config/schema.d.ts +30 -30
- package/dist/esm/config-authoring.d.ts +2 -2
- package/dist/esm/config-authoring.d.ts.map +1 -1
- package/dist/esm/config-authoring.js.map +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +10 -10
- package/dist/esm/interface/conversations.d.ts +11 -11
- package/dist/esm/interface/crud/current-user.d.ts +8 -8
- package/dist/esm/interface/crud/email-outbox.d.ts +184 -184
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- 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 +4 -4
- package/dist/esm/interface/crud/projects.d.ts +50 -0
- package/dist/esm/interface/crud/projects.d.ts.map +1 -1
- package/dist/esm/interface/crud/projects.js +6 -0
- package/dist/esm/interface/crud/projects.js.map +1 -1
- package/dist/esm/interface/crud/team-member-profiles.d.ts +12 -12
- package/dist/esm/interface/crud/transactions.d.ts +20 -20
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +8 -8
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/esm/known-errors.d.ts +1 -1
- package/dist/esm/schema-fields.d.ts +1 -1
- package/dist/esm/sessions.d.ts +7 -7
- package/dist/esm/utils/env.d.ts +2 -1
- package/dist/esm/utils/env.d.ts.map +1 -1
- package/dist/esm/utils/env.js +29 -17
- package/dist/esm/utils/env.js.map +1 -1
- package/dist/esm/utils/env.test.d.ts +1 -0
- package/dist/esm/utils/env.test.js +49 -0
- package/dist/esm/utils/env.test.js.map +1 -0
- package/dist/esm/utils/errors.d.ts.map +1 -1
- package/dist/esm/utils/errors.js +4 -1
- package/dist/esm/utils/errors.js.map +1 -1
- package/dist/interface/admin-metrics.d.ts +10 -10
- package/dist/interface/conversations.d.ts +11 -11
- package/dist/interface/crud/current-user.d.ts +8 -8
- package/dist/interface/crud/email-outbox.d.ts +184 -184
- package/dist/interface/crud/invoices.d.ts +2 -2
- 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 +4 -4
- package/dist/interface/crud/projects.d.ts +50 -0
- package/dist/interface/crud/projects.d.ts.map +1 -1
- package/dist/interface/crud/projects.js +6 -0
- package/dist/interface/crud/projects.js.map +1 -1
- package/dist/interface/crud/team-member-profiles.d.ts +12 -12
- package/dist/interface/crud/transactions.d.ts +20 -20
- package/dist/interface/crud/transactions.d.ts.map +1 -1
- package/dist/interface/crud/users.d.ts +8 -8
- package/dist/interface/webhooks.d.ts +2 -2
- package/dist/known-errors.d.ts +1 -1
- package/dist/schema-fields.d.ts +1 -1
- package/dist/sessions.d.ts +7 -7
- package/dist/utils/env.d.ts +2 -1
- package/dist/utils/env.d.ts.map +1 -1
- package/dist/utils/env.js +29 -16
- package/dist/utils/env.js.map +1 -1
- package/dist/utils/env.test.d.ts +1 -0
- package/dist/utils/env.test.js +49 -0
- package/dist/utils/env.test.js.map +1 -0
- package/dist/utils/errors.d.ts.map +1 -1
- package/dist/utils/errors.js +4 -1
- package/dist/utils/errors.js.map +1 -1
- package/package.json +1 -1
- package/src/ai/unified-prompts/reminders.ts +1 -0
- package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +15 -0
- package/src/ai/unified-prompts/skill-site-prompt-parts/docs-json.generated.ts +1 -62
- package/src/config-authoring.ts +2 -2
- package/src/interface/crud/projects.ts +12 -0
- package/src/utils/env.test.tsx +58 -0
- package/src/utils/env.tsx +36 -20
- package/src/utils/errors.tsx +6 -1
|
@@ -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
|
-
status: "paused";
|
|
7
6
|
id: string;
|
|
7
|
+
status: "paused";
|
|
8
8
|
created_at_millis: number;
|
|
9
|
-
updated_at_millis: number;
|
|
10
|
-
tsx_source: string;
|
|
11
|
-
theme_id: string | null;
|
|
12
9
|
to: {
|
|
13
|
-
user_id: string;
|
|
14
10
|
type: "user-primary-email";
|
|
15
|
-
} | {
|
|
16
11
|
user_id: string;
|
|
12
|
+
} | {
|
|
17
13
|
type: "user-custom-emails";
|
|
14
|
+
user_id: string;
|
|
18
15
|
emails: string[];
|
|
19
16
|
} | {
|
|
20
17
|
type: "custom-emails";
|
|
21
18
|
emails: string[];
|
|
22
19
|
};
|
|
20
|
+
updated_at_millis: number;
|
|
21
|
+
tsx_source: string;
|
|
22
|
+
theme_id: string | null;
|
|
23
23
|
variables: Record<string, {} | null>;
|
|
24
24
|
skip_deliverability_check: boolean;
|
|
25
25
|
scheduled_at_millis: number;
|
|
@@ -41,23 +41,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
41
41
|
has_rendered: boolean;
|
|
42
42
|
has_delivered: boolean;
|
|
43
43
|
} | {
|
|
44
|
-
status: "preparing";
|
|
45
44
|
id: string;
|
|
45
|
+
status: "preparing";
|
|
46
46
|
created_at_millis: number;
|
|
47
|
-
updated_at_millis: number;
|
|
48
|
-
tsx_source: string;
|
|
49
|
-
theme_id: string | null;
|
|
50
47
|
to: {
|
|
51
|
-
user_id: string;
|
|
52
48
|
type: "user-primary-email";
|
|
53
|
-
} | {
|
|
54
49
|
user_id: string;
|
|
50
|
+
} | {
|
|
55
51
|
type: "user-custom-emails";
|
|
52
|
+
user_id: string;
|
|
56
53
|
emails: string[];
|
|
57
54
|
} | {
|
|
58
55
|
type: "custom-emails";
|
|
59
56
|
emails: string[];
|
|
60
57
|
};
|
|
58
|
+
updated_at_millis: number;
|
|
59
|
+
tsx_source: string;
|
|
60
|
+
theme_id: string | null;
|
|
61
61
|
variables: Record<string, {} | null>;
|
|
62
62
|
skip_deliverability_check: boolean;
|
|
63
63
|
scheduled_at_millis: number;
|
|
@@ -79,23 +79,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
79
79
|
has_rendered: boolean;
|
|
80
80
|
has_delivered: boolean;
|
|
81
81
|
} | {
|
|
82
|
-
status: "rendering";
|
|
83
82
|
id: string;
|
|
83
|
+
status: "rendering";
|
|
84
84
|
created_at_millis: number;
|
|
85
|
-
updated_at_millis: number;
|
|
86
|
-
tsx_source: string;
|
|
87
|
-
theme_id: string | null;
|
|
88
85
|
to: {
|
|
89
|
-
user_id: string;
|
|
90
86
|
type: "user-primary-email";
|
|
91
|
-
} | {
|
|
92
87
|
user_id: string;
|
|
88
|
+
} | {
|
|
93
89
|
type: "user-custom-emails";
|
|
90
|
+
user_id: string;
|
|
94
91
|
emails: string[];
|
|
95
92
|
} | {
|
|
96
93
|
type: "custom-emails";
|
|
97
94
|
emails: string[];
|
|
98
95
|
};
|
|
96
|
+
updated_at_millis: number;
|
|
97
|
+
tsx_source: string;
|
|
98
|
+
theme_id: string | null;
|
|
99
99
|
variables: Record<string, {} | null>;
|
|
100
100
|
skip_deliverability_check: boolean;
|
|
101
101
|
scheduled_at_millis: number;
|
|
@@ -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
|
-
status: "render-error";
|
|
122
121
|
id: string;
|
|
122
|
+
status: "render-error";
|
|
123
123
|
created_at_millis: number;
|
|
124
|
-
updated_at_millis: number;
|
|
125
|
-
tsx_source: string;
|
|
126
|
-
theme_id: string | null;
|
|
127
124
|
to: {
|
|
128
|
-
user_id: string;
|
|
129
125
|
type: "user-primary-email";
|
|
130
|
-
} | {
|
|
131
126
|
user_id: string;
|
|
127
|
+
} | {
|
|
132
128
|
type: "user-custom-emails";
|
|
129
|
+
user_id: string;
|
|
133
130
|
emails: string[];
|
|
134
131
|
} | {
|
|
135
132
|
type: "custom-emails";
|
|
136
133
|
emails: string[];
|
|
137
134
|
};
|
|
135
|
+
updated_at_millis: number;
|
|
136
|
+
tsx_source: string;
|
|
137
|
+
theme_id: string | null;
|
|
138
138
|
variables: Record<string, {} | null>;
|
|
139
139
|
skip_deliverability_check: boolean;
|
|
140
140
|
scheduled_at_millis: number;
|
|
@@ -159,26 +159,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
159
159
|
rendered_at_millis: number;
|
|
160
160
|
render_error: string;
|
|
161
161
|
} | {
|
|
162
|
-
status: "scheduled";
|
|
163
162
|
id: string;
|
|
164
163
|
html: string | null;
|
|
165
164
|
text: string | null;
|
|
165
|
+
status: "scheduled";
|
|
166
166
|
created_at_millis: number;
|
|
167
167
|
subject: string;
|
|
168
|
-
updated_at_millis: number;
|
|
169
|
-
tsx_source: string;
|
|
170
|
-
theme_id: string | null;
|
|
171
168
|
to: {
|
|
172
|
-
user_id: string;
|
|
173
169
|
type: "user-primary-email";
|
|
174
|
-
} | {
|
|
175
170
|
user_id: string;
|
|
171
|
+
} | {
|
|
176
172
|
type: "user-custom-emails";
|
|
173
|
+
user_id: string;
|
|
177
174
|
emails: string[];
|
|
178
175
|
} | {
|
|
179
176
|
type: "custom-emails";
|
|
180
177
|
emails: string[];
|
|
181
178
|
};
|
|
179
|
+
updated_at_millis: number;
|
|
180
|
+
tsx_source: string;
|
|
181
|
+
theme_id: string | null;
|
|
182
182
|
variables: Record<string, {} | null>;
|
|
183
183
|
skip_deliverability_check: boolean;
|
|
184
184
|
scheduled_at_millis: number;
|
|
@@ -205,26 +205,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
205
205
|
is_high_priority: boolean;
|
|
206
206
|
notification_category_id: string | null;
|
|
207
207
|
} | {
|
|
208
|
-
status: "queued";
|
|
209
208
|
id: string;
|
|
210
209
|
html: string | null;
|
|
211
210
|
text: string | null;
|
|
211
|
+
status: "queued";
|
|
212
212
|
created_at_millis: number;
|
|
213
213
|
subject: string;
|
|
214
|
-
updated_at_millis: number;
|
|
215
|
-
tsx_source: string;
|
|
216
|
-
theme_id: string | null;
|
|
217
214
|
to: {
|
|
218
|
-
user_id: string;
|
|
219
215
|
type: "user-primary-email";
|
|
220
|
-
} | {
|
|
221
216
|
user_id: string;
|
|
217
|
+
} | {
|
|
222
218
|
type: "user-custom-emails";
|
|
219
|
+
user_id: string;
|
|
223
220
|
emails: string[];
|
|
224
221
|
} | {
|
|
225
222
|
type: "custom-emails";
|
|
226
223
|
emails: string[];
|
|
227
224
|
};
|
|
225
|
+
updated_at_millis: number;
|
|
226
|
+
tsx_source: string;
|
|
227
|
+
theme_id: string | null;
|
|
228
228
|
variables: Record<string, {} | null>;
|
|
229
229
|
skip_deliverability_check: boolean;
|
|
230
230
|
scheduled_at_millis: number;
|
|
@@ -251,26 +251,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
251
251
|
is_high_priority: boolean;
|
|
252
252
|
notification_category_id: string | null;
|
|
253
253
|
} | {
|
|
254
|
-
status: "sending";
|
|
255
254
|
id: string;
|
|
256
255
|
html: string | null;
|
|
257
256
|
text: string | null;
|
|
257
|
+
status: "sending";
|
|
258
258
|
created_at_millis: number;
|
|
259
259
|
subject: string;
|
|
260
|
-
updated_at_millis: number;
|
|
261
|
-
tsx_source: string;
|
|
262
|
-
theme_id: string | null;
|
|
263
260
|
to: {
|
|
264
|
-
user_id: string;
|
|
265
261
|
type: "user-primary-email";
|
|
266
|
-
} | {
|
|
267
262
|
user_id: string;
|
|
263
|
+
} | {
|
|
268
264
|
type: "user-custom-emails";
|
|
265
|
+
user_id: string;
|
|
269
266
|
emails: string[];
|
|
270
267
|
} | {
|
|
271
268
|
type: "custom-emails";
|
|
272
269
|
emails: string[];
|
|
273
270
|
};
|
|
271
|
+
updated_at_millis: number;
|
|
272
|
+
tsx_source: string;
|
|
273
|
+
theme_id: string | null;
|
|
274
274
|
variables: Record<string, {} | null>;
|
|
275
275
|
skip_deliverability_check: boolean;
|
|
276
276
|
scheduled_at_millis: number;
|
|
@@ -298,26 +298,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
298
298
|
notification_category_id: string | null;
|
|
299
299
|
started_sending_at_millis: number;
|
|
300
300
|
} | {
|
|
301
|
-
status: "server-error";
|
|
302
301
|
id: string;
|
|
303
302
|
html: string | null;
|
|
304
303
|
text: string | null;
|
|
304
|
+
status: "server-error";
|
|
305
305
|
created_at_millis: number;
|
|
306
306
|
subject: string;
|
|
307
|
-
updated_at_millis: number;
|
|
308
|
-
tsx_source: string;
|
|
309
|
-
theme_id: string | null;
|
|
310
307
|
to: {
|
|
311
|
-
user_id: string;
|
|
312
308
|
type: "user-primary-email";
|
|
313
|
-
} | {
|
|
314
309
|
user_id: string;
|
|
310
|
+
} | {
|
|
315
311
|
type: "user-custom-emails";
|
|
312
|
+
user_id: string;
|
|
316
313
|
emails: string[];
|
|
317
314
|
} | {
|
|
318
315
|
type: "custom-emails";
|
|
319
316
|
emails: string[];
|
|
320
317
|
};
|
|
318
|
+
updated_at_millis: number;
|
|
319
|
+
tsx_source: string;
|
|
320
|
+
theme_id: string | null;
|
|
321
321
|
variables: Record<string, {} | null>;
|
|
322
322
|
skip_deliverability_check: boolean;
|
|
323
323
|
scheduled_at_millis: number;
|
|
@@ -356,23 +356,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
356
356
|
is_high_priority?: boolean | undefined;
|
|
357
357
|
notification_category_id?: string | null | undefined;
|
|
358
358
|
started_sending_at_millis?: number | undefined;
|
|
359
|
-
status: "skipped";
|
|
360
359
|
id: string;
|
|
360
|
+
status: "skipped";
|
|
361
361
|
created_at_millis: number;
|
|
362
|
-
updated_at_millis: number;
|
|
363
|
-
tsx_source: string;
|
|
364
|
-
theme_id: string | null;
|
|
365
362
|
to: {
|
|
366
|
-
user_id: string;
|
|
367
363
|
type: "user-primary-email";
|
|
368
|
-
} | {
|
|
369
364
|
user_id: string;
|
|
365
|
+
} | {
|
|
370
366
|
type: "user-custom-emails";
|
|
367
|
+
user_id: string;
|
|
371
368
|
emails: string[];
|
|
372
369
|
} | {
|
|
373
370
|
type: "custom-emails";
|
|
374
371
|
emails: string[];
|
|
375
372
|
};
|
|
373
|
+
updated_at_millis: number;
|
|
374
|
+
tsx_source: string;
|
|
375
|
+
theme_id: string | null;
|
|
376
376
|
variables: Record<string, {} | null>;
|
|
377
377
|
skip_deliverability_check: boolean;
|
|
378
378
|
scheduled_at_millis: number;
|
|
@@ -397,26 +397,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
397
397
|
skipped_reason: string;
|
|
398
398
|
skipped_details: Record<string, {} | null>;
|
|
399
399
|
} | {
|
|
400
|
-
status: "bounced";
|
|
401
400
|
id: string;
|
|
402
401
|
html: string | null;
|
|
403
402
|
text: string | null;
|
|
403
|
+
status: "bounced";
|
|
404
404
|
created_at_millis: number;
|
|
405
405
|
subject: string;
|
|
406
|
-
updated_at_millis: number;
|
|
407
|
-
tsx_source: string;
|
|
408
|
-
theme_id: string | null;
|
|
409
406
|
to: {
|
|
410
|
-
user_id: string;
|
|
411
407
|
type: "user-primary-email";
|
|
412
|
-
} | {
|
|
413
408
|
user_id: string;
|
|
409
|
+
} | {
|
|
414
410
|
type: "user-custom-emails";
|
|
411
|
+
user_id: string;
|
|
415
412
|
emails: string[];
|
|
416
413
|
} | {
|
|
417
414
|
type: "custom-emails";
|
|
418
415
|
emails: string[];
|
|
419
416
|
};
|
|
417
|
+
updated_at_millis: number;
|
|
418
|
+
tsx_source: string;
|
|
419
|
+
theme_id: string | null;
|
|
420
420
|
variables: Record<string, {} | null>;
|
|
421
421
|
skip_deliverability_check: boolean;
|
|
422
422
|
scheduled_at_millis: number;
|
|
@@ -445,26 +445,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
445
445
|
started_sending_at_millis: number;
|
|
446
446
|
bounced_at_millis: number;
|
|
447
447
|
} | {
|
|
448
|
-
status: "delivery-delayed";
|
|
449
448
|
id: string;
|
|
450
449
|
html: string | null;
|
|
451
450
|
text: string | null;
|
|
451
|
+
status: "delivery-delayed";
|
|
452
452
|
created_at_millis: number;
|
|
453
453
|
subject: string;
|
|
454
|
-
updated_at_millis: number;
|
|
455
|
-
tsx_source: string;
|
|
456
|
-
theme_id: string | null;
|
|
457
454
|
to: {
|
|
458
|
-
user_id: string;
|
|
459
455
|
type: "user-primary-email";
|
|
460
|
-
} | {
|
|
461
456
|
user_id: string;
|
|
457
|
+
} | {
|
|
462
458
|
type: "user-custom-emails";
|
|
459
|
+
user_id: string;
|
|
463
460
|
emails: string[];
|
|
464
461
|
} | {
|
|
465
462
|
type: "custom-emails";
|
|
466
463
|
emails: string[];
|
|
467
464
|
};
|
|
465
|
+
updated_at_millis: number;
|
|
466
|
+
tsx_source: string;
|
|
467
|
+
theme_id: string | null;
|
|
468
468
|
variables: Record<string, {} | null>;
|
|
469
469
|
skip_deliverability_check: boolean;
|
|
470
470
|
scheduled_at_millis: number;
|
|
@@ -493,26 +493,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
493
493
|
started_sending_at_millis: number;
|
|
494
494
|
delivery_delayed_at_millis: number;
|
|
495
495
|
} | {
|
|
496
|
-
status: "sent";
|
|
497
496
|
id: string;
|
|
498
497
|
html: string | null;
|
|
499
498
|
text: string | null;
|
|
499
|
+
status: "sent";
|
|
500
500
|
created_at_millis: number;
|
|
501
501
|
subject: string;
|
|
502
|
-
updated_at_millis: number;
|
|
503
|
-
tsx_source: string;
|
|
504
|
-
theme_id: string | null;
|
|
505
502
|
to: {
|
|
506
|
-
user_id: string;
|
|
507
503
|
type: "user-primary-email";
|
|
508
|
-
} | {
|
|
509
504
|
user_id: string;
|
|
505
|
+
} | {
|
|
510
506
|
type: "user-custom-emails";
|
|
507
|
+
user_id: string;
|
|
511
508
|
emails: string[];
|
|
512
509
|
} | {
|
|
513
510
|
type: "custom-emails";
|
|
514
511
|
emails: string[];
|
|
515
512
|
};
|
|
513
|
+
updated_at_millis: number;
|
|
514
|
+
tsx_source: string;
|
|
515
|
+
theme_id: string | null;
|
|
516
516
|
variables: Record<string, {} | null>;
|
|
517
517
|
skip_deliverability_check: boolean;
|
|
518
518
|
scheduled_at_millis: number;
|
|
@@ -542,26 +542,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
542
542
|
delivered_at_millis: number;
|
|
543
543
|
can_have_delivery_info: boolean;
|
|
544
544
|
} | {
|
|
545
|
-
status: "opened";
|
|
546
545
|
id: string;
|
|
547
546
|
html: string | null;
|
|
548
547
|
text: string | null;
|
|
548
|
+
status: "opened";
|
|
549
549
|
created_at_millis: number;
|
|
550
550
|
subject: string;
|
|
551
|
-
updated_at_millis: number;
|
|
552
|
-
tsx_source: string;
|
|
553
|
-
theme_id: string | null;
|
|
554
551
|
to: {
|
|
555
|
-
user_id: string;
|
|
556
552
|
type: "user-primary-email";
|
|
557
|
-
} | {
|
|
558
553
|
user_id: string;
|
|
554
|
+
} | {
|
|
559
555
|
type: "user-custom-emails";
|
|
556
|
+
user_id: string;
|
|
560
557
|
emails: string[];
|
|
561
558
|
} | {
|
|
562
559
|
type: "custom-emails";
|
|
563
560
|
emails: string[];
|
|
564
561
|
};
|
|
562
|
+
updated_at_millis: number;
|
|
563
|
+
tsx_source: string;
|
|
564
|
+
theme_id: string | null;
|
|
565
565
|
variables: Record<string, {} | null>;
|
|
566
566
|
skip_deliverability_check: boolean;
|
|
567
567
|
scheduled_at_millis: number;
|
|
@@ -592,26 +592,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
592
592
|
can_have_delivery_info: boolean;
|
|
593
593
|
opened_at_millis: number;
|
|
594
594
|
} | {
|
|
595
|
-
status: "clicked";
|
|
596
595
|
id: string;
|
|
597
596
|
html: string | null;
|
|
598
597
|
text: string | null;
|
|
598
|
+
status: "clicked";
|
|
599
599
|
created_at_millis: number;
|
|
600
600
|
subject: string;
|
|
601
|
-
updated_at_millis: number;
|
|
602
|
-
tsx_source: string;
|
|
603
|
-
theme_id: string | null;
|
|
604
601
|
to: {
|
|
605
|
-
user_id: string;
|
|
606
602
|
type: "user-primary-email";
|
|
607
|
-
} | {
|
|
608
603
|
user_id: string;
|
|
604
|
+
} | {
|
|
609
605
|
type: "user-custom-emails";
|
|
606
|
+
user_id: string;
|
|
610
607
|
emails: string[];
|
|
611
608
|
} | {
|
|
612
609
|
type: "custom-emails";
|
|
613
610
|
emails: string[];
|
|
614
611
|
};
|
|
612
|
+
updated_at_millis: number;
|
|
613
|
+
tsx_source: string;
|
|
614
|
+
theme_id: string | null;
|
|
615
615
|
variables: Record<string, {} | null>;
|
|
616
616
|
skip_deliverability_check: boolean;
|
|
617
617
|
scheduled_at_millis: number;
|
|
@@ -642,26 +642,26 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
642
642
|
can_have_delivery_info: boolean;
|
|
643
643
|
clicked_at_millis: number;
|
|
644
644
|
} | {
|
|
645
|
-
status: "marked-as-spam";
|
|
646
645
|
id: string;
|
|
647
646
|
html: string | null;
|
|
648
647
|
text: string | null;
|
|
648
|
+
status: "marked-as-spam";
|
|
649
649
|
created_at_millis: number;
|
|
650
650
|
subject: string;
|
|
651
|
-
updated_at_millis: number;
|
|
652
|
-
tsx_source: string;
|
|
653
|
-
theme_id: string | null;
|
|
654
651
|
to: {
|
|
655
|
-
user_id: string;
|
|
656
652
|
type: "user-primary-email";
|
|
657
|
-
} | {
|
|
658
653
|
user_id: string;
|
|
654
|
+
} | {
|
|
659
655
|
type: "user-custom-emails";
|
|
656
|
+
user_id: string;
|
|
660
657
|
emails: string[];
|
|
661
658
|
} | {
|
|
662
659
|
type: "custom-emails";
|
|
663
660
|
emails: string[];
|
|
664
661
|
};
|
|
662
|
+
updated_at_millis: number;
|
|
663
|
+
tsx_source: string;
|
|
664
|
+
theme_id: string | null;
|
|
665
665
|
variables: Record<string, {} | null>;
|
|
666
666
|
skip_deliverability_check: boolean;
|
|
667
667
|
scheduled_at_millis: number;
|
|
@@ -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
|
-
user_id: string;
|
|
700
699
|
type: "user-primary-email";
|
|
701
|
-
} | {
|
|
702
700
|
user_id: string;
|
|
701
|
+
} | {
|
|
703
702
|
type: "user-custom-emails";
|
|
703
|
+
user_id: string;
|
|
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
|
-
status: "paused";
|
|
727
726
|
id: string;
|
|
727
|
+
status: "paused";
|
|
728
728
|
created_at_millis: number;
|
|
729
|
-
updated_at_millis: number;
|
|
730
|
-
tsx_source: string;
|
|
731
|
-
theme_id: string | null;
|
|
732
729
|
to: {
|
|
733
|
-
user_id: string;
|
|
734
730
|
type: "user-primary-email";
|
|
735
|
-
} | {
|
|
736
731
|
user_id: string;
|
|
732
|
+
} | {
|
|
737
733
|
type: "user-custom-emails";
|
|
734
|
+
user_id: string;
|
|
738
735
|
emails: string[];
|
|
739
736
|
} | {
|
|
740
737
|
type: "custom-emails";
|
|
741
738
|
emails: string[];
|
|
742
739
|
};
|
|
740
|
+
updated_at_millis: number;
|
|
741
|
+
tsx_source: string;
|
|
742
|
+
theme_id: string | null;
|
|
743
743
|
variables: Record<string, {} | null>;
|
|
744
744
|
skip_deliverability_check: boolean;
|
|
745
745
|
scheduled_at_millis: number;
|
|
@@ -761,23 +761,23 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
761
761
|
has_rendered: boolean;
|
|
762
762
|
has_delivered: boolean;
|
|
763
763
|
} | {
|
|
764
|
-
status: "preparing";
|
|
765
764
|
id: string;
|
|
765
|
+
status: "preparing";
|
|
766
766
|
created_at_millis: number;
|
|
767
|
-
updated_at_millis: number;
|
|
768
|
-
tsx_source: string;
|
|
769
|
-
theme_id: string | null;
|
|
770
767
|
to: {
|
|
771
|
-
user_id: string;
|
|
772
768
|
type: "user-primary-email";
|
|
773
|
-
} | {
|
|
774
769
|
user_id: string;
|
|
770
|
+
} | {
|
|
775
771
|
type: "user-custom-emails";
|
|
772
|
+
user_id: string;
|
|
776
773
|
emails: string[];
|
|
777
774
|
} | {
|
|
778
775
|
type: "custom-emails";
|
|
779
776
|
emails: string[];
|
|
780
777
|
};
|
|
778
|
+
updated_at_millis: number;
|
|
779
|
+
tsx_source: string;
|
|
780
|
+
theme_id: string | null;
|
|
781
781
|
variables: Record<string, {} | null>;
|
|
782
782
|
skip_deliverability_check: boolean;
|
|
783
783
|
scheduled_at_millis: number;
|
|
@@ -799,23 +799,23 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
799
799
|
has_rendered: boolean;
|
|
800
800
|
has_delivered: boolean;
|
|
801
801
|
} | {
|
|
802
|
-
status: "rendering";
|
|
803
802
|
id: string;
|
|
803
|
+
status: "rendering";
|
|
804
804
|
created_at_millis: number;
|
|
805
|
-
updated_at_millis: number;
|
|
806
|
-
tsx_source: string;
|
|
807
|
-
theme_id: string | null;
|
|
808
805
|
to: {
|
|
809
|
-
user_id: string;
|
|
810
806
|
type: "user-primary-email";
|
|
811
|
-
} | {
|
|
812
807
|
user_id: string;
|
|
808
|
+
} | {
|
|
813
809
|
type: "user-custom-emails";
|
|
810
|
+
user_id: string;
|
|
814
811
|
emails: string[];
|
|
815
812
|
} | {
|
|
816
813
|
type: "custom-emails";
|
|
817
814
|
emails: string[];
|
|
818
815
|
};
|
|
816
|
+
updated_at_millis: number;
|
|
817
|
+
tsx_source: string;
|
|
818
|
+
theme_id: string | null;
|
|
819
819
|
variables: Record<string, {} | null>;
|
|
820
820
|
skip_deliverability_check: boolean;
|
|
821
821
|
scheduled_at_millis: number;
|
|
@@ -838,23 +838,23 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
838
838
|
has_delivered: boolean;
|
|
839
839
|
started_rendering_at_millis: number;
|
|
840
840
|
} | {
|
|
841
|
-
status: "render-error";
|
|
842
841
|
id: string;
|
|
842
|
+
status: "render-error";
|
|
843
843
|
created_at_millis: number;
|
|
844
|
-
updated_at_millis: number;
|
|
845
|
-
tsx_source: string;
|
|
846
|
-
theme_id: string | null;
|
|
847
844
|
to: {
|
|
848
|
-
user_id: string;
|
|
849
845
|
type: "user-primary-email";
|
|
850
|
-
} | {
|
|
851
846
|
user_id: string;
|
|
847
|
+
} | {
|
|
852
848
|
type: "user-custom-emails";
|
|
849
|
+
user_id: string;
|
|
853
850
|
emails: string[];
|
|
854
851
|
} | {
|
|
855
852
|
type: "custom-emails";
|
|
856
853
|
emails: string[];
|
|
857
854
|
};
|
|
855
|
+
updated_at_millis: number;
|
|
856
|
+
tsx_source: string;
|
|
857
|
+
theme_id: string | null;
|
|
858
858
|
variables: Record<string, {} | null>;
|
|
859
859
|
skip_deliverability_check: boolean;
|
|
860
860
|
scheduled_at_millis: number;
|
|
@@ -879,26 +879,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
879
879
|
rendered_at_millis: number;
|
|
880
880
|
render_error: string;
|
|
881
881
|
} | {
|
|
882
|
-
status: "scheduled";
|
|
883
882
|
id: string;
|
|
884
883
|
html: string | null;
|
|
885
884
|
text: string | null;
|
|
885
|
+
status: "scheduled";
|
|
886
886
|
created_at_millis: number;
|
|
887
887
|
subject: string;
|
|
888
|
-
updated_at_millis: number;
|
|
889
|
-
tsx_source: string;
|
|
890
|
-
theme_id: string | null;
|
|
891
888
|
to: {
|
|
892
|
-
user_id: string;
|
|
893
889
|
type: "user-primary-email";
|
|
894
|
-
} | {
|
|
895
890
|
user_id: string;
|
|
891
|
+
} | {
|
|
896
892
|
type: "user-custom-emails";
|
|
893
|
+
user_id: string;
|
|
897
894
|
emails: string[];
|
|
898
895
|
} | {
|
|
899
896
|
type: "custom-emails";
|
|
900
897
|
emails: string[];
|
|
901
898
|
};
|
|
899
|
+
updated_at_millis: number;
|
|
900
|
+
tsx_source: string;
|
|
901
|
+
theme_id: string | null;
|
|
902
902
|
variables: Record<string, {} | null>;
|
|
903
903
|
skip_deliverability_check: boolean;
|
|
904
904
|
scheduled_at_millis: number;
|
|
@@ -925,26 +925,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
925
925
|
is_high_priority: boolean;
|
|
926
926
|
notification_category_id: string | null;
|
|
927
927
|
} | {
|
|
928
|
-
status: "queued";
|
|
929
928
|
id: string;
|
|
930
929
|
html: string | null;
|
|
931
930
|
text: string | null;
|
|
931
|
+
status: "queued";
|
|
932
932
|
created_at_millis: number;
|
|
933
933
|
subject: string;
|
|
934
|
-
updated_at_millis: number;
|
|
935
|
-
tsx_source: string;
|
|
936
|
-
theme_id: string | null;
|
|
937
934
|
to: {
|
|
938
|
-
user_id: string;
|
|
939
935
|
type: "user-primary-email";
|
|
940
|
-
} | {
|
|
941
936
|
user_id: string;
|
|
937
|
+
} | {
|
|
942
938
|
type: "user-custom-emails";
|
|
939
|
+
user_id: string;
|
|
943
940
|
emails: string[];
|
|
944
941
|
} | {
|
|
945
942
|
type: "custom-emails";
|
|
946
943
|
emails: string[];
|
|
947
944
|
};
|
|
945
|
+
updated_at_millis: number;
|
|
946
|
+
tsx_source: string;
|
|
947
|
+
theme_id: string | null;
|
|
948
948
|
variables: Record<string, {} | null>;
|
|
949
949
|
skip_deliverability_check: boolean;
|
|
950
950
|
scheduled_at_millis: number;
|
|
@@ -971,26 +971,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
971
971
|
is_high_priority: boolean;
|
|
972
972
|
notification_category_id: string | null;
|
|
973
973
|
} | {
|
|
974
|
-
status: "sending";
|
|
975
974
|
id: string;
|
|
976
975
|
html: string | null;
|
|
977
976
|
text: string | null;
|
|
977
|
+
status: "sending";
|
|
978
978
|
created_at_millis: number;
|
|
979
979
|
subject: string;
|
|
980
|
-
updated_at_millis: number;
|
|
981
|
-
tsx_source: string;
|
|
982
|
-
theme_id: string | null;
|
|
983
980
|
to: {
|
|
984
|
-
user_id: string;
|
|
985
981
|
type: "user-primary-email";
|
|
986
|
-
} | {
|
|
987
982
|
user_id: string;
|
|
983
|
+
} | {
|
|
988
984
|
type: "user-custom-emails";
|
|
985
|
+
user_id: string;
|
|
989
986
|
emails: string[];
|
|
990
987
|
} | {
|
|
991
988
|
type: "custom-emails";
|
|
992
989
|
emails: string[];
|
|
993
990
|
};
|
|
991
|
+
updated_at_millis: number;
|
|
992
|
+
tsx_source: string;
|
|
993
|
+
theme_id: string | null;
|
|
994
994
|
variables: Record<string, {} | null>;
|
|
995
995
|
skip_deliverability_check: boolean;
|
|
996
996
|
scheduled_at_millis: number;
|
|
@@ -1018,26 +1018,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1018
1018
|
notification_category_id: string | null;
|
|
1019
1019
|
started_sending_at_millis: number;
|
|
1020
1020
|
} | {
|
|
1021
|
-
status: "server-error";
|
|
1022
1021
|
id: string;
|
|
1023
1022
|
html: string | null;
|
|
1024
1023
|
text: string | null;
|
|
1024
|
+
status: "server-error";
|
|
1025
1025
|
created_at_millis: number;
|
|
1026
1026
|
subject: string;
|
|
1027
|
-
updated_at_millis: number;
|
|
1028
|
-
tsx_source: string;
|
|
1029
|
-
theme_id: string | null;
|
|
1030
1027
|
to: {
|
|
1031
|
-
user_id: string;
|
|
1032
1028
|
type: "user-primary-email";
|
|
1033
|
-
} | {
|
|
1034
1029
|
user_id: string;
|
|
1030
|
+
} | {
|
|
1035
1031
|
type: "user-custom-emails";
|
|
1032
|
+
user_id: string;
|
|
1036
1033
|
emails: string[];
|
|
1037
1034
|
} | {
|
|
1038
1035
|
type: "custom-emails";
|
|
1039
1036
|
emails: string[];
|
|
1040
1037
|
};
|
|
1038
|
+
updated_at_millis: number;
|
|
1039
|
+
tsx_source: string;
|
|
1040
|
+
theme_id: string | null;
|
|
1041
1041
|
variables: Record<string, {} | null>;
|
|
1042
1042
|
skip_deliverability_check: boolean;
|
|
1043
1043
|
scheduled_at_millis: number;
|
|
@@ -1076,23 +1076,23 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1076
1076
|
is_high_priority?: boolean | undefined;
|
|
1077
1077
|
notification_category_id?: string | null | undefined;
|
|
1078
1078
|
started_sending_at_millis?: number | undefined;
|
|
1079
|
-
status: "skipped";
|
|
1080
1079
|
id: string;
|
|
1080
|
+
status: "skipped";
|
|
1081
1081
|
created_at_millis: number;
|
|
1082
|
-
updated_at_millis: number;
|
|
1083
|
-
tsx_source: string;
|
|
1084
|
-
theme_id: string | null;
|
|
1085
1082
|
to: {
|
|
1086
|
-
user_id: string;
|
|
1087
1083
|
type: "user-primary-email";
|
|
1088
|
-
} | {
|
|
1089
1084
|
user_id: string;
|
|
1085
|
+
} | {
|
|
1090
1086
|
type: "user-custom-emails";
|
|
1087
|
+
user_id: string;
|
|
1091
1088
|
emails: string[];
|
|
1092
1089
|
} | {
|
|
1093
1090
|
type: "custom-emails";
|
|
1094
1091
|
emails: string[];
|
|
1095
1092
|
};
|
|
1093
|
+
updated_at_millis: number;
|
|
1094
|
+
tsx_source: string;
|
|
1095
|
+
theme_id: string | null;
|
|
1096
1096
|
variables: Record<string, {} | null>;
|
|
1097
1097
|
skip_deliverability_check: boolean;
|
|
1098
1098
|
scheduled_at_millis: number;
|
|
@@ -1117,26 +1117,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1117
1117
|
skipped_reason: string;
|
|
1118
1118
|
skipped_details: Record<string, {} | null>;
|
|
1119
1119
|
} | {
|
|
1120
|
-
status: "bounced";
|
|
1121
1120
|
id: string;
|
|
1122
1121
|
html: string | null;
|
|
1123
1122
|
text: string | null;
|
|
1123
|
+
status: "bounced";
|
|
1124
1124
|
created_at_millis: number;
|
|
1125
1125
|
subject: string;
|
|
1126
|
-
updated_at_millis: number;
|
|
1127
|
-
tsx_source: string;
|
|
1128
|
-
theme_id: string | null;
|
|
1129
1126
|
to: {
|
|
1130
|
-
user_id: string;
|
|
1131
1127
|
type: "user-primary-email";
|
|
1132
|
-
} | {
|
|
1133
1128
|
user_id: string;
|
|
1129
|
+
} | {
|
|
1134
1130
|
type: "user-custom-emails";
|
|
1131
|
+
user_id: string;
|
|
1135
1132
|
emails: string[];
|
|
1136
1133
|
} | {
|
|
1137
1134
|
type: "custom-emails";
|
|
1138
1135
|
emails: string[];
|
|
1139
1136
|
};
|
|
1137
|
+
updated_at_millis: number;
|
|
1138
|
+
tsx_source: string;
|
|
1139
|
+
theme_id: string | null;
|
|
1140
1140
|
variables: Record<string, {} | null>;
|
|
1141
1141
|
skip_deliverability_check: boolean;
|
|
1142
1142
|
scheduled_at_millis: number;
|
|
@@ -1165,26 +1165,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1165
1165
|
started_sending_at_millis: number;
|
|
1166
1166
|
bounced_at_millis: number;
|
|
1167
1167
|
} | {
|
|
1168
|
-
status: "delivery-delayed";
|
|
1169
1168
|
id: string;
|
|
1170
1169
|
html: string | null;
|
|
1171
1170
|
text: string | null;
|
|
1171
|
+
status: "delivery-delayed";
|
|
1172
1172
|
created_at_millis: number;
|
|
1173
1173
|
subject: string;
|
|
1174
|
-
updated_at_millis: number;
|
|
1175
|
-
tsx_source: string;
|
|
1176
|
-
theme_id: string | null;
|
|
1177
1174
|
to: {
|
|
1178
|
-
user_id: string;
|
|
1179
1175
|
type: "user-primary-email";
|
|
1180
|
-
} | {
|
|
1181
1176
|
user_id: string;
|
|
1177
|
+
} | {
|
|
1182
1178
|
type: "user-custom-emails";
|
|
1179
|
+
user_id: string;
|
|
1183
1180
|
emails: string[];
|
|
1184
1181
|
} | {
|
|
1185
1182
|
type: "custom-emails";
|
|
1186
1183
|
emails: string[];
|
|
1187
1184
|
};
|
|
1185
|
+
updated_at_millis: number;
|
|
1186
|
+
tsx_source: string;
|
|
1187
|
+
theme_id: string | null;
|
|
1188
1188
|
variables: Record<string, {} | null>;
|
|
1189
1189
|
skip_deliverability_check: boolean;
|
|
1190
1190
|
scheduled_at_millis: number;
|
|
@@ -1213,26 +1213,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1213
1213
|
started_sending_at_millis: number;
|
|
1214
1214
|
delivery_delayed_at_millis: number;
|
|
1215
1215
|
} | {
|
|
1216
|
-
status: "sent";
|
|
1217
1216
|
id: string;
|
|
1218
1217
|
html: string | null;
|
|
1219
1218
|
text: string | null;
|
|
1219
|
+
status: "sent";
|
|
1220
1220
|
created_at_millis: number;
|
|
1221
1221
|
subject: string;
|
|
1222
|
-
updated_at_millis: number;
|
|
1223
|
-
tsx_source: string;
|
|
1224
|
-
theme_id: string | null;
|
|
1225
1222
|
to: {
|
|
1226
|
-
user_id: string;
|
|
1227
1223
|
type: "user-primary-email";
|
|
1228
|
-
} | {
|
|
1229
1224
|
user_id: string;
|
|
1225
|
+
} | {
|
|
1230
1226
|
type: "user-custom-emails";
|
|
1227
|
+
user_id: string;
|
|
1231
1228
|
emails: string[];
|
|
1232
1229
|
} | {
|
|
1233
1230
|
type: "custom-emails";
|
|
1234
1231
|
emails: string[];
|
|
1235
1232
|
};
|
|
1233
|
+
updated_at_millis: number;
|
|
1234
|
+
tsx_source: string;
|
|
1235
|
+
theme_id: string | null;
|
|
1236
1236
|
variables: Record<string, {} | null>;
|
|
1237
1237
|
skip_deliverability_check: boolean;
|
|
1238
1238
|
scheduled_at_millis: number;
|
|
@@ -1262,26 +1262,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1262
1262
|
delivered_at_millis: number;
|
|
1263
1263
|
can_have_delivery_info: boolean;
|
|
1264
1264
|
} | {
|
|
1265
|
-
status: "opened";
|
|
1266
1265
|
id: string;
|
|
1267
1266
|
html: string | null;
|
|
1268
1267
|
text: string | null;
|
|
1268
|
+
status: "opened";
|
|
1269
1269
|
created_at_millis: number;
|
|
1270
1270
|
subject: string;
|
|
1271
|
-
updated_at_millis: number;
|
|
1272
|
-
tsx_source: string;
|
|
1273
|
-
theme_id: string | null;
|
|
1274
1271
|
to: {
|
|
1275
|
-
user_id: string;
|
|
1276
1272
|
type: "user-primary-email";
|
|
1277
|
-
} | {
|
|
1278
1273
|
user_id: string;
|
|
1274
|
+
} | {
|
|
1279
1275
|
type: "user-custom-emails";
|
|
1276
|
+
user_id: string;
|
|
1280
1277
|
emails: string[];
|
|
1281
1278
|
} | {
|
|
1282
1279
|
type: "custom-emails";
|
|
1283
1280
|
emails: string[];
|
|
1284
1281
|
};
|
|
1282
|
+
updated_at_millis: number;
|
|
1283
|
+
tsx_source: string;
|
|
1284
|
+
theme_id: string | null;
|
|
1285
1285
|
variables: Record<string, {} | null>;
|
|
1286
1286
|
skip_deliverability_check: boolean;
|
|
1287
1287
|
scheduled_at_millis: number;
|
|
@@ -1312,26 +1312,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1312
1312
|
can_have_delivery_info: boolean;
|
|
1313
1313
|
opened_at_millis: number;
|
|
1314
1314
|
} | {
|
|
1315
|
-
status: "clicked";
|
|
1316
1315
|
id: string;
|
|
1317
1316
|
html: string | null;
|
|
1318
1317
|
text: string | null;
|
|
1318
|
+
status: "clicked";
|
|
1319
1319
|
created_at_millis: number;
|
|
1320
1320
|
subject: string;
|
|
1321
|
-
updated_at_millis: number;
|
|
1322
|
-
tsx_source: string;
|
|
1323
|
-
theme_id: string | null;
|
|
1324
1321
|
to: {
|
|
1325
|
-
user_id: string;
|
|
1326
1322
|
type: "user-primary-email";
|
|
1327
|
-
} | {
|
|
1328
1323
|
user_id: string;
|
|
1324
|
+
} | {
|
|
1329
1325
|
type: "user-custom-emails";
|
|
1326
|
+
user_id: string;
|
|
1330
1327
|
emails: string[];
|
|
1331
1328
|
} | {
|
|
1332
1329
|
type: "custom-emails";
|
|
1333
1330
|
emails: string[];
|
|
1334
1331
|
};
|
|
1332
|
+
updated_at_millis: number;
|
|
1333
|
+
tsx_source: string;
|
|
1334
|
+
theme_id: string | null;
|
|
1335
1335
|
variables: Record<string, {} | null>;
|
|
1336
1336
|
skip_deliverability_check: boolean;
|
|
1337
1337
|
scheduled_at_millis: number;
|
|
@@ -1362,26 +1362,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1362
1362
|
can_have_delivery_info: boolean;
|
|
1363
1363
|
clicked_at_millis: number;
|
|
1364
1364
|
} | {
|
|
1365
|
-
status: "marked-as-spam";
|
|
1366
1365
|
id: string;
|
|
1367
1366
|
html: string | null;
|
|
1368
1367
|
text: string | null;
|
|
1368
|
+
status: "marked-as-spam";
|
|
1369
1369
|
created_at_millis: number;
|
|
1370
1370
|
subject: string;
|
|
1371
|
-
updated_at_millis: number;
|
|
1372
|
-
tsx_source: string;
|
|
1373
|
-
theme_id: string | null;
|
|
1374
1371
|
to: {
|
|
1375
|
-
user_id: string;
|
|
1376
1372
|
type: "user-primary-email";
|
|
1377
|
-
} | {
|
|
1378
1373
|
user_id: string;
|
|
1374
|
+
} | {
|
|
1379
1375
|
type: "user-custom-emails";
|
|
1376
|
+
user_id: string;
|
|
1380
1377
|
emails: string[];
|
|
1381
1378
|
} | {
|
|
1382
1379
|
type: "custom-emails";
|
|
1383
1380
|
emails: string[];
|
|
1384
1381
|
};
|
|
1382
|
+
updated_at_millis: number;
|
|
1383
|
+
tsx_source: string;
|
|
1384
|
+
theme_id: string | null;
|
|
1385
1385
|
variables: Record<string, {} | null>;
|
|
1386
1386
|
skip_deliverability_check: boolean;
|
|
1387
1387
|
scheduled_at_millis: number;
|
|
@@ -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
|
-
user_id: string;
|
|
1420
1419
|
type: "user-primary-email";
|
|
1421
|
-
} | {
|
|
1422
1420
|
user_id: string;
|
|
1421
|
+
} | {
|
|
1423
1422
|
type: "user-custom-emails";
|
|
1423
|
+
user_id: string;
|
|
1424
1424
|
emails: string[];
|
|
1425
1425
|
} | {
|
|
1426
1426
|
type: "custom-emails";
|