@hexclave/shared 1.0.61 → 1.0.62
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/{admin-interface-ChuyYSXj.d.ts → admin-interface-D63SFHX_.d.ts} +94 -12
- package/dist/admin-interface-D63SFHX_.d.ts.map +1 -0
- package/dist/{admin-metrics-1yiWGq9z.d.ts → admin-metrics-bsOkw4YQ.d.ts} +15 -15
- package/dist/{admin-metrics-1yiWGq9z.d.ts.map → admin-metrics-bsOkw4YQ.d.ts.map} +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.d.ts +5 -0
- package/dist/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.d.ts.map +1 -0
- package/dist/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.js +128 -0
- package/dist/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.js.map +1 -0
- package/dist/ai/unified-prompts/skill-site-prompt.d.ts +3 -1
- package/dist/ai/unified-prompts/skill-site-prompt.d.ts.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt.js +11 -0
- package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/apps/apps-config.d.ts +6 -0
- package/dist/apps/apps-config.d.ts.map +1 -1
- package/dist/apps/apps-config.js +6 -0
- package/dist/apps/apps-config.js.map +1 -1
- package/dist/{client-interface-C4H4gn_G.d.ts → client-interface-DvkciaL0.d.ts} +10 -10
- package/dist/{client-interface-C4H4gn_G.d.ts.map → client-interface-DvkciaL0.d.ts.map} +1 -1
- package/dist/config/schema-fuzzer.test.js +38 -1
- package/dist/config/schema-fuzzer.test.js.map +1 -1
- package/dist/config/schema.d.ts +2 -2
- package/dist/config/schema.js +45 -0
- package/dist/config/schema.js.map +1 -1
- package/dist/config-authoring.d.ts +1 -1
- package/dist/{current-user-BCkMYzHx.d.ts → current-user-BBoN3hsn.d.ts} +17 -17
- package/dist/{current-user-BCkMYzHx.d.ts.map → current-user-BBoN3hsn.d.ts.map} +1 -1
- package/dist/{email-outbox-BRZiK0ZG.d.ts → email-outbox-CqzwInBL.d.ts} +313 -313
- package/dist/{email-outbox-BRZiK0ZG.d.ts.map → email-outbox-CqzwInBL.d.ts.map} +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.d.ts +5 -0
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.d.ts.map +1 -0
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.js +128 -0
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.js.map +1 -0
- package/dist/esm/ai/unified-prompts/skill-site-prompt.d.ts +3 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.d.ts.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js +10 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/esm/apps/apps-config.d.ts +6 -0
- package/dist/esm/apps/apps-config.d.ts.map +1 -1
- package/dist/esm/apps/apps-config.js +6 -0
- package/dist/esm/apps/apps-config.js.map +1 -1
- package/dist/esm/config/schema-fuzzer.test.js +38 -1
- package/dist/esm/config/schema-fuzzer.test.js.map +1 -1
- package/dist/esm/config/schema.d.ts +249 -119
- package/dist/esm/config/schema.d.ts.map +1 -1
- package/dist/esm/config/schema.js +42 -1
- package/dist/esm/config/schema.js.map +1 -1
- package/dist/esm/interface/admin-interface.d.ts +83 -1
- package/dist/esm/interface/admin-interface.d.ts.map +1 -1
- package/dist/esm/interface/admin-interface.js +48 -0
- package/dist/esm/interface/admin-interface.js.map +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +14 -14
- package/dist/esm/interface/conversations.d.ts +37 -37
- package/dist/esm/interface/crud/current-user.d.ts +16 -16
- package/dist/esm/interface/crud/email-outbox.d.ts +312 -312
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- package/dist/esm/interface/crud/products.d.ts +23 -23
- package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/esm/interface/crud/projects.d.ts +59 -59
- package/dist/esm/interface/crud/team-member-profiles.d.ts +32 -32
- package/dist/esm/interface/crud/transactions.d.ts +29 -29
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +22 -22
- package/dist/esm/interface/plan-usage.d.ts +1 -1
- package/dist/esm/interface/webhooks.d.ts +4 -4
- package/dist/esm/known-errors.d.ts +4 -4
- package/dist/esm/schema-fields.d.ts +12 -12
- package/dist/esm/sessions.d.ts +9 -9
- package/dist/esm/utils/tar.d.ts +26 -0
- package/dist/esm/utils/tar.d.ts.map +1 -0
- package/dist/esm/utils/tar.js +136 -0
- package/dist/esm/utils/tar.js.map +1 -0
- package/dist/helpers/password.d.ts +1 -1
- package/dist/helpers/production-mode.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/interface/admin-interface.d.ts +3 -3
- package/dist/interface/admin-interface.js +48 -0
- package/dist/interface/admin-interface.js.map +1 -1
- package/dist/interface/admin-metrics.d.ts +1 -1
- package/dist/interface/client-interface.d.ts +1 -1
- package/dist/interface/conversations.d.ts +37 -37
- package/dist/interface/crud/current-user.d.ts +1 -1
- package/dist/interface/crud/email-outbox.d.ts +1 -1
- package/dist/interface/crud/invoices.d.ts +1 -1
- package/dist/interface/crud/products.d.ts +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +1 -1
- package/dist/interface/crud/projects.d.ts +1 -1
- package/dist/interface/crud/team-member-profiles.d.ts +1 -1
- package/dist/interface/crud/transactions.d.ts +1 -1
- package/dist/interface/crud/users.d.ts +1 -1
- package/dist/interface/plan-usage.d.ts +1 -1
- package/dist/interface/server-interface.d.ts +1 -1
- package/dist/interface/webhooks.d.ts +1 -1
- package/dist/{invoices-BGLLnTlR.d.ts → invoices-CHo9YKbI.d.ts} +3 -3
- package/dist/{invoices-BGLLnTlR.d.ts.map → invoices-CHo9YKbI.d.ts.map} +1 -1
- package/dist/{known-errors-Bhd0JAgh.d.ts → known-errors-Bm4a61wL.d.ts} +5 -5
- package/dist/{known-errors-Bhd0JAgh.d.ts.map → known-errors-Bm4a61wL.d.ts.map} +1 -1
- package/dist/known-errors.d.ts +1 -1
- package/dist/{plan-usage-COq9I00z.d.ts → plan-usage-BaDxcLZ1.d.ts} +2 -2
- package/dist/{plan-usage-COq9I00z.d.ts.map → plan-usage-BaDxcLZ1.d.ts.map} +1 -1
- package/dist/{products-BkPf1X78.d.ts → products-D4o8A2W0.d.ts} +24 -24
- package/dist/{products-BkPf1X78.d.ts.map → products-D4o8A2W0.d.ts.map} +1 -1
- package/dist/{project-api-keys-CK9SIo0q.d.ts → project-api-keys--7V5X_UW.d.ts} +5 -5
- package/dist/{project-api-keys-CK9SIo0q.d.ts.map → project-api-keys--7V5X_UW.d.ts.map} +1 -1
- package/dist/{projects-CVqfljhv.d.ts → projects-BX5Y50kJ.d.ts} +60 -60
- package/dist/{projects-CVqfljhv.d.ts.map → projects-BX5Y50kJ.d.ts.map} +1 -1
- package/dist/{schema-BPMGhu_7.d.ts → schema-dJ_7rUCO.d.ts} +250 -120
- package/dist/schema-dJ_7rUCO.d.ts.map +1 -0
- package/dist/{schema-fields-C8sIQVTq.d.ts → schema-fields-DZtDQEEO.d.ts} +13 -13
- package/dist/{schema-fields-C8sIQVTq.d.ts.map → schema-fields-DZtDQEEO.d.ts.map} +1 -1
- package/dist/schema-fields.d.ts +1 -1
- package/dist/{server-interface-CRp4VVZh.d.ts → server-interface-Ra_vIHP4.d.ts} +8 -8
- package/dist/{server-interface-CRp4VVZh.d.ts.map → server-interface-Ra_vIHP4.d.ts.map} +1 -1
- package/dist/{sessions-COluKK6_.d.ts → sessions-CI-0TBQb.d.ts} +11 -11
- package/dist/{sessions-COluKK6_.d.ts.map → sessions-CI-0TBQb.d.ts.map} +1 -1
- package/dist/sessions.d.ts +1 -1
- package/dist/{team-member-profiles-CgYXR-Rx.d.ts → team-member-profiles-BoDEqx-0.d.ts} +33 -33
- package/dist/{team-member-profiles-CgYXR-Rx.d.ts.map → team-member-profiles-BoDEqx-0.d.ts.map} +1 -1
- package/dist/{transactions-7q13mxhG.d.ts → transactions-CHNUJ42J.d.ts} +30 -30
- package/dist/transactions-CHNUJ42J.d.ts.map +1 -0
- package/dist/{users-7MKfEyyq.d.ts → users-DHNRwoSz.d.ts} +24 -24
- package/dist/{users-7MKfEyyq.d.ts.map → users-DHNRwoSz.d.ts.map} +1 -1
- package/dist/utils/tar.d.ts +26 -0
- package/dist/utils/tar.d.ts.map +1 -0
- package/dist/utils/tar.js +138 -0
- package/dist/utils/tar.js.map +1 -0
- package/dist/{webhooks-C5gG85Ce.d.ts → webhooks-8Ts1Clcb.d.ts} +5 -5
- package/dist/{webhooks-C5gG85Ce.d.ts.map → webhooks-8Ts1Clcb.d.ts.map} +1 -1
- package/package.json +1 -1
- package/src/ai/unified-prompts/skill-site-prompt-parts/deployments-skill.ts +128 -0
- package/src/ai/unified-prompts/skill-site-prompt.ts +15 -0
- package/src/apps/apps-config.ts +9 -0
- package/src/config/schema-fuzzer.test.ts +37 -0
- package/src/config/schema.ts +193 -0
- package/src/interface/admin-interface.ts +173 -0
- package/src/utils/tar.tsx +261 -0
- package/dist/admin-interface-ChuyYSXj.d.ts.map +0 -1
- package/dist/schema-BPMGhu_7.d.ts.map +0 -1
- package/dist/transactions-7q13mxhG.d.ts.map +0 -1
|
@@ -2,22 +2,23 @@ import { c as CrudTypeOf, s as CrudSchemaFromOptions } from "./crud-CqmEW9s6.js"
|
|
|
2
2
|
|
|
3
3
|
//#region src/interface/crud/email-outbox.d.ts
|
|
4
4
|
declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
5
|
+
status: "paused";
|
|
5
6
|
id: string;
|
|
6
7
|
created_at_millis: number;
|
|
7
|
-
updated_at_millis: number;
|
|
8
|
-
tsx_source: string;
|
|
9
|
-
theme_id: string | null;
|
|
10
8
|
to: {
|
|
11
|
-
type: "user-primary-email";
|
|
12
9
|
user_id: string;
|
|
10
|
+
type: "user-primary-email";
|
|
13
11
|
} | {
|
|
14
|
-
emails: string[];
|
|
15
|
-
type: "user-custom-emails";
|
|
16
12
|
user_id: string;
|
|
17
|
-
|
|
13
|
+
type: "user-custom-emails";
|
|
18
14
|
emails: string[];
|
|
15
|
+
} | {
|
|
19
16
|
type: "custom-emails";
|
|
17
|
+
emails: string[];
|
|
20
18
|
};
|
|
19
|
+
updated_at_millis: number;
|
|
20
|
+
tsx_source: string;
|
|
21
|
+
theme_id: string | null;
|
|
21
22
|
variables: Record<string, {} | null>;
|
|
22
23
|
skip_deliverability_check: boolean;
|
|
23
24
|
scheduled_at_millis: number;
|
|
@@ -34,28 +35,28 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
34
35
|
internal_message: string;
|
|
35
36
|
internal_details: Record<string, {} | null>;
|
|
36
37
|
}[] | null;
|
|
37
|
-
status: "paused";
|
|
38
38
|
simple_status: "in-progress";
|
|
39
39
|
is_paused: boolean;
|
|
40
40
|
has_rendered: boolean;
|
|
41
41
|
has_delivered: boolean;
|
|
42
42
|
} | {
|
|
43
|
+
status: "preparing";
|
|
43
44
|
id: string;
|
|
44
45
|
created_at_millis: number;
|
|
45
|
-
updated_at_millis: number;
|
|
46
|
-
tsx_source: string;
|
|
47
|
-
theme_id: string | null;
|
|
48
46
|
to: {
|
|
49
|
-
type: "user-primary-email";
|
|
50
47
|
user_id: string;
|
|
48
|
+
type: "user-primary-email";
|
|
51
49
|
} | {
|
|
52
|
-
emails: string[];
|
|
53
|
-
type: "user-custom-emails";
|
|
54
50
|
user_id: string;
|
|
55
|
-
|
|
51
|
+
type: "user-custom-emails";
|
|
56
52
|
emails: string[];
|
|
53
|
+
} | {
|
|
57
54
|
type: "custom-emails";
|
|
55
|
+
emails: string[];
|
|
58
56
|
};
|
|
57
|
+
updated_at_millis: number;
|
|
58
|
+
tsx_source: string;
|
|
59
|
+
theme_id: string | null;
|
|
59
60
|
variables: Record<string, {} | null>;
|
|
60
61
|
skip_deliverability_check: boolean;
|
|
61
62
|
scheduled_at_millis: number;
|
|
@@ -72,28 +73,28 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
72
73
|
internal_message: string;
|
|
73
74
|
internal_details: Record<string, {} | null>;
|
|
74
75
|
}[] | null;
|
|
75
|
-
status: "preparing";
|
|
76
76
|
simple_status: "in-progress";
|
|
77
77
|
is_paused: boolean;
|
|
78
78
|
has_rendered: boolean;
|
|
79
79
|
has_delivered: boolean;
|
|
80
80
|
} | {
|
|
81
|
+
status: "rendering";
|
|
81
82
|
id: string;
|
|
82
83
|
created_at_millis: number;
|
|
83
|
-
updated_at_millis: number;
|
|
84
|
-
tsx_source: string;
|
|
85
|
-
theme_id: string | null;
|
|
86
84
|
to: {
|
|
87
|
-
type: "user-primary-email";
|
|
88
85
|
user_id: string;
|
|
86
|
+
type: "user-primary-email";
|
|
89
87
|
} | {
|
|
90
|
-
emails: string[];
|
|
91
|
-
type: "user-custom-emails";
|
|
92
88
|
user_id: string;
|
|
93
|
-
|
|
89
|
+
type: "user-custom-emails";
|
|
94
90
|
emails: string[];
|
|
91
|
+
} | {
|
|
95
92
|
type: "custom-emails";
|
|
93
|
+
emails: string[];
|
|
96
94
|
};
|
|
95
|
+
updated_at_millis: number;
|
|
96
|
+
tsx_source: string;
|
|
97
|
+
theme_id: string | null;
|
|
97
98
|
variables: Record<string, {} | null>;
|
|
98
99
|
skip_deliverability_check: boolean;
|
|
99
100
|
scheduled_at_millis: number;
|
|
@@ -110,29 +111,29 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
110
111
|
internal_message: string;
|
|
111
112
|
internal_details: Record<string, {} | null>;
|
|
112
113
|
}[] | null;
|
|
113
|
-
status: "rendering";
|
|
114
114
|
simple_status: "in-progress";
|
|
115
115
|
is_paused: boolean;
|
|
116
116
|
has_rendered: boolean;
|
|
117
117
|
has_delivered: boolean;
|
|
118
118
|
started_rendering_at_millis: number;
|
|
119
119
|
} | {
|
|
120
|
+
status: "render-error";
|
|
120
121
|
id: string;
|
|
121
122
|
created_at_millis: number;
|
|
122
|
-
updated_at_millis: number;
|
|
123
|
-
tsx_source: string;
|
|
124
|
-
theme_id: string | null;
|
|
125
123
|
to: {
|
|
126
|
-
type: "user-primary-email";
|
|
127
124
|
user_id: string;
|
|
125
|
+
type: "user-primary-email";
|
|
128
126
|
} | {
|
|
129
|
-
emails: string[];
|
|
130
|
-
type: "user-custom-emails";
|
|
131
127
|
user_id: string;
|
|
132
|
-
|
|
128
|
+
type: "user-custom-emails";
|
|
133
129
|
emails: string[];
|
|
130
|
+
} | {
|
|
134
131
|
type: "custom-emails";
|
|
132
|
+
emails: string[];
|
|
135
133
|
};
|
|
134
|
+
updated_at_millis: number;
|
|
135
|
+
tsx_source: string;
|
|
136
|
+
theme_id: string | null;
|
|
136
137
|
variables: Record<string, {} | null>;
|
|
137
138
|
skip_deliverability_check: boolean;
|
|
138
139
|
scheduled_at_millis: number;
|
|
@@ -149,7 +150,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
149
150
|
internal_message: string;
|
|
150
151
|
internal_details: Record<string, {} | null>;
|
|
151
152
|
}[] | null;
|
|
152
|
-
status: "render-error";
|
|
153
153
|
simple_status: "error";
|
|
154
154
|
is_paused: boolean;
|
|
155
155
|
has_rendered: boolean;
|
|
@@ -158,24 +158,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
158
158
|
rendered_at_millis: number;
|
|
159
159
|
render_error: string;
|
|
160
160
|
} | {
|
|
161
|
-
|
|
162
|
-
text: string | null;
|
|
161
|
+
status: "scheduled";
|
|
163
162
|
id: string;
|
|
163
|
+
subject: string;
|
|
164
164
|
created_at_millis: number;
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
theme_id: string | null;
|
|
165
|
+
html: string | null;
|
|
166
|
+
text: string | null;
|
|
168
167
|
to: {
|
|
169
|
-
type: "user-primary-email";
|
|
170
168
|
user_id: string;
|
|
169
|
+
type: "user-primary-email";
|
|
171
170
|
} | {
|
|
172
|
-
emails: string[];
|
|
173
|
-
type: "user-custom-emails";
|
|
174
171
|
user_id: string;
|
|
175
|
-
|
|
172
|
+
type: "user-custom-emails";
|
|
176
173
|
emails: string[];
|
|
174
|
+
} | {
|
|
177
175
|
type: "custom-emails";
|
|
176
|
+
emails: string[];
|
|
178
177
|
};
|
|
178
|
+
updated_at_millis: number;
|
|
179
|
+
tsx_source: string;
|
|
180
|
+
theme_id: string | null;
|
|
179
181
|
variables: Record<string, {} | null>;
|
|
180
182
|
skip_deliverability_check: boolean;
|
|
181
183
|
scheduled_at_millis: number;
|
|
@@ -192,36 +194,36 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
192
194
|
internal_message: string;
|
|
193
195
|
internal_details: Record<string, {} | null>;
|
|
194
196
|
}[] | null;
|
|
195
|
-
status: "scheduled";
|
|
196
197
|
simple_status: "in-progress";
|
|
197
198
|
is_paused: boolean;
|
|
198
199
|
has_rendered: boolean;
|
|
199
200
|
has_delivered: boolean;
|
|
200
201
|
started_rendering_at_millis: number;
|
|
201
202
|
rendered_at_millis: number;
|
|
202
|
-
subject: string;
|
|
203
203
|
is_transactional: boolean;
|
|
204
204
|
is_high_priority: boolean;
|
|
205
205
|
notification_category_id: string | null;
|
|
206
206
|
} | {
|
|
207
|
-
|
|
208
|
-
text: string | null;
|
|
207
|
+
status: "queued";
|
|
209
208
|
id: string;
|
|
209
|
+
subject: string;
|
|
210
210
|
created_at_millis: number;
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
theme_id: string | null;
|
|
211
|
+
html: string | null;
|
|
212
|
+
text: string | null;
|
|
214
213
|
to: {
|
|
215
|
-
type: "user-primary-email";
|
|
216
214
|
user_id: string;
|
|
215
|
+
type: "user-primary-email";
|
|
217
216
|
} | {
|
|
218
|
-
emails: string[];
|
|
219
|
-
type: "user-custom-emails";
|
|
220
217
|
user_id: string;
|
|
221
|
-
|
|
218
|
+
type: "user-custom-emails";
|
|
222
219
|
emails: string[];
|
|
220
|
+
} | {
|
|
223
221
|
type: "custom-emails";
|
|
222
|
+
emails: string[];
|
|
224
223
|
};
|
|
224
|
+
updated_at_millis: number;
|
|
225
|
+
tsx_source: string;
|
|
226
|
+
theme_id: string | null;
|
|
225
227
|
variables: Record<string, {} | null>;
|
|
226
228
|
skip_deliverability_check: boolean;
|
|
227
229
|
scheduled_at_millis: number;
|
|
@@ -238,36 +240,36 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
238
240
|
internal_message: string;
|
|
239
241
|
internal_details: Record<string, {} | null>;
|
|
240
242
|
}[] | null;
|
|
241
|
-
status: "queued";
|
|
242
243
|
simple_status: "in-progress";
|
|
243
244
|
is_paused: boolean;
|
|
244
245
|
has_rendered: boolean;
|
|
245
246
|
has_delivered: boolean;
|
|
246
247
|
started_rendering_at_millis: number;
|
|
247
248
|
rendered_at_millis: number;
|
|
248
|
-
subject: string;
|
|
249
249
|
is_transactional: boolean;
|
|
250
250
|
is_high_priority: boolean;
|
|
251
251
|
notification_category_id: string | null;
|
|
252
252
|
} | {
|
|
253
|
-
|
|
254
|
-
text: string | null;
|
|
253
|
+
status: "sending";
|
|
255
254
|
id: string;
|
|
255
|
+
subject: string;
|
|
256
256
|
created_at_millis: number;
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
theme_id: string | null;
|
|
257
|
+
html: string | null;
|
|
258
|
+
text: string | null;
|
|
260
259
|
to: {
|
|
261
|
-
type: "user-primary-email";
|
|
262
260
|
user_id: string;
|
|
261
|
+
type: "user-primary-email";
|
|
263
262
|
} | {
|
|
264
|
-
emails: string[];
|
|
265
|
-
type: "user-custom-emails";
|
|
266
263
|
user_id: string;
|
|
267
|
-
|
|
264
|
+
type: "user-custom-emails";
|
|
268
265
|
emails: string[];
|
|
266
|
+
} | {
|
|
269
267
|
type: "custom-emails";
|
|
268
|
+
emails: string[];
|
|
270
269
|
};
|
|
270
|
+
updated_at_millis: number;
|
|
271
|
+
tsx_source: string;
|
|
272
|
+
theme_id: string | null;
|
|
271
273
|
variables: Record<string, {} | null>;
|
|
272
274
|
skip_deliverability_check: boolean;
|
|
273
275
|
scheduled_at_millis: number;
|
|
@@ -284,37 +286,37 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
284
286
|
internal_message: string;
|
|
285
287
|
internal_details: Record<string, {} | null>;
|
|
286
288
|
}[] | null;
|
|
287
|
-
status: "sending";
|
|
288
289
|
simple_status: "in-progress";
|
|
289
290
|
is_paused: boolean;
|
|
290
291
|
has_rendered: boolean;
|
|
291
292
|
has_delivered: boolean;
|
|
292
293
|
started_rendering_at_millis: number;
|
|
293
294
|
rendered_at_millis: number;
|
|
294
|
-
subject: string;
|
|
295
295
|
is_transactional: boolean;
|
|
296
296
|
is_high_priority: boolean;
|
|
297
297
|
notification_category_id: string | null;
|
|
298
298
|
started_sending_at_millis: number;
|
|
299
299
|
} | {
|
|
300
|
-
|
|
301
|
-
text: string | null;
|
|
300
|
+
status: "server-error";
|
|
302
301
|
id: string;
|
|
302
|
+
subject: string;
|
|
303
303
|
created_at_millis: number;
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
theme_id: string | null;
|
|
304
|
+
html: string | null;
|
|
305
|
+
text: string | null;
|
|
307
306
|
to: {
|
|
308
|
-
type: "user-primary-email";
|
|
309
307
|
user_id: string;
|
|
308
|
+
type: "user-primary-email";
|
|
310
309
|
} | {
|
|
311
|
-
emails: string[];
|
|
312
|
-
type: "user-custom-emails";
|
|
313
310
|
user_id: string;
|
|
314
|
-
|
|
311
|
+
type: "user-custom-emails";
|
|
315
312
|
emails: string[];
|
|
313
|
+
} | {
|
|
316
314
|
type: "custom-emails";
|
|
315
|
+
emails: string[];
|
|
317
316
|
};
|
|
317
|
+
updated_at_millis: number;
|
|
318
|
+
tsx_source: string;
|
|
319
|
+
theme_id: string | null;
|
|
318
320
|
variables: Record<string, {} | null>;
|
|
319
321
|
skip_deliverability_check: boolean;
|
|
320
322
|
scheduled_at_millis: number;
|
|
@@ -331,14 +333,12 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
331
333
|
internal_message: string;
|
|
332
334
|
internal_details: Record<string, {} | null>;
|
|
333
335
|
}[] | null;
|
|
334
|
-
status: "server-error";
|
|
335
336
|
simple_status: "error";
|
|
336
337
|
is_paused: boolean;
|
|
337
338
|
has_rendered: boolean;
|
|
338
339
|
has_delivered: boolean;
|
|
339
340
|
started_rendering_at_millis: number;
|
|
340
341
|
rendered_at_millis: number;
|
|
341
|
-
subject: string;
|
|
342
342
|
is_transactional: boolean;
|
|
343
343
|
is_high_priority: boolean;
|
|
344
344
|
notification_category_id: string | null;
|
|
@@ -346,31 +346,32 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
346
346
|
error_at_millis: number;
|
|
347
347
|
server_error: string;
|
|
348
348
|
} | {
|
|
349
|
+
subject?: string | undefined;
|
|
349
350
|
html?: string | null | undefined;
|
|
350
351
|
text?: string | null | undefined;
|
|
351
352
|
started_rendering_at_millis?: number | undefined;
|
|
352
353
|
rendered_at_millis?: number | undefined;
|
|
353
|
-
subject?: string | undefined;
|
|
354
354
|
is_transactional?: boolean | undefined;
|
|
355
355
|
is_high_priority?: boolean | undefined;
|
|
356
356
|
notification_category_id?: string | null | undefined;
|
|
357
357
|
started_sending_at_millis?: number | undefined;
|
|
358
|
+
status: "skipped";
|
|
358
359
|
id: string;
|
|
359
360
|
created_at_millis: number;
|
|
360
|
-
updated_at_millis: number;
|
|
361
|
-
tsx_source: string;
|
|
362
|
-
theme_id: string | null;
|
|
363
361
|
to: {
|
|
364
|
-
type: "user-primary-email";
|
|
365
362
|
user_id: string;
|
|
363
|
+
type: "user-primary-email";
|
|
366
364
|
} | {
|
|
367
|
-
emails: string[];
|
|
368
|
-
type: "user-custom-emails";
|
|
369
365
|
user_id: string;
|
|
370
|
-
|
|
366
|
+
type: "user-custom-emails";
|
|
371
367
|
emails: string[];
|
|
368
|
+
} | {
|
|
372
369
|
type: "custom-emails";
|
|
370
|
+
emails: string[];
|
|
373
371
|
};
|
|
372
|
+
updated_at_millis: number;
|
|
373
|
+
tsx_source: string;
|
|
374
|
+
theme_id: string | null;
|
|
374
375
|
variables: Record<string, {} | null>;
|
|
375
376
|
skip_deliverability_check: boolean;
|
|
376
377
|
scheduled_at_millis: number;
|
|
@@ -387,7 +388,6 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
387
388
|
internal_message: string;
|
|
388
389
|
internal_details: Record<string, {} | null>;
|
|
389
390
|
}[] | null;
|
|
390
|
-
status: "skipped";
|
|
391
391
|
simple_status: "ok";
|
|
392
392
|
is_paused: boolean;
|
|
393
393
|
has_rendered: boolean;
|
|
@@ -396,24 +396,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
396
396
|
skipped_reason: string;
|
|
397
397
|
skipped_details: Record<string, {} | null>;
|
|
398
398
|
} | {
|
|
399
|
-
|
|
400
|
-
text: string | null;
|
|
399
|
+
status: "bounced";
|
|
401
400
|
id: string;
|
|
401
|
+
subject: string;
|
|
402
402
|
created_at_millis: number;
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
theme_id: string | null;
|
|
403
|
+
html: string | null;
|
|
404
|
+
text: string | null;
|
|
406
405
|
to: {
|
|
407
|
-
type: "user-primary-email";
|
|
408
406
|
user_id: string;
|
|
407
|
+
type: "user-primary-email";
|
|
409
408
|
} | {
|
|
410
|
-
emails: string[];
|
|
411
|
-
type: "user-custom-emails";
|
|
412
409
|
user_id: string;
|
|
413
|
-
|
|
410
|
+
type: "user-custom-emails";
|
|
414
411
|
emails: string[];
|
|
412
|
+
} | {
|
|
415
413
|
type: "custom-emails";
|
|
414
|
+
emails: string[];
|
|
416
415
|
};
|
|
416
|
+
updated_at_millis: number;
|
|
417
|
+
tsx_source: string;
|
|
418
|
+
theme_id: string | null;
|
|
417
419
|
variables: Record<string, {} | null>;
|
|
418
420
|
skip_deliverability_check: boolean;
|
|
419
421
|
scheduled_at_millis: number;
|
|
@@ -430,38 +432,38 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
430
432
|
internal_message: string;
|
|
431
433
|
internal_details: Record<string, {} | null>;
|
|
432
434
|
}[] | null;
|
|
433
|
-
status: "bounced";
|
|
434
435
|
simple_status: "error";
|
|
435
436
|
is_paused: boolean;
|
|
436
437
|
has_rendered: boolean;
|
|
437
438
|
has_delivered: boolean;
|
|
438
439
|
started_rendering_at_millis: number;
|
|
439
440
|
rendered_at_millis: number;
|
|
440
|
-
subject: string;
|
|
441
441
|
is_transactional: boolean;
|
|
442
442
|
is_high_priority: boolean;
|
|
443
443
|
notification_category_id: string | null;
|
|
444
444
|
started_sending_at_millis: number;
|
|
445
445
|
bounced_at_millis: number;
|
|
446
446
|
} | {
|
|
447
|
-
|
|
448
|
-
text: string | null;
|
|
447
|
+
status: "delivery-delayed";
|
|
449
448
|
id: string;
|
|
449
|
+
subject: string;
|
|
450
450
|
created_at_millis: number;
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
theme_id: string | null;
|
|
451
|
+
html: string | null;
|
|
452
|
+
text: string | null;
|
|
454
453
|
to: {
|
|
455
|
-
type: "user-primary-email";
|
|
456
454
|
user_id: string;
|
|
455
|
+
type: "user-primary-email";
|
|
457
456
|
} | {
|
|
458
|
-
emails: string[];
|
|
459
|
-
type: "user-custom-emails";
|
|
460
457
|
user_id: string;
|
|
461
|
-
|
|
458
|
+
type: "user-custom-emails";
|
|
462
459
|
emails: string[];
|
|
460
|
+
} | {
|
|
463
461
|
type: "custom-emails";
|
|
462
|
+
emails: string[];
|
|
464
463
|
};
|
|
464
|
+
updated_at_millis: number;
|
|
465
|
+
tsx_source: string;
|
|
466
|
+
theme_id: string | null;
|
|
465
467
|
variables: Record<string, {} | null>;
|
|
466
468
|
skip_deliverability_check: boolean;
|
|
467
469
|
scheduled_at_millis: number;
|
|
@@ -478,38 +480,38 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
478
480
|
internal_message: string;
|
|
479
481
|
internal_details: Record<string, {} | null>;
|
|
480
482
|
}[] | null;
|
|
481
|
-
status: "delivery-delayed";
|
|
482
483
|
simple_status: "ok";
|
|
483
484
|
is_paused: boolean;
|
|
484
485
|
has_rendered: boolean;
|
|
485
486
|
has_delivered: boolean;
|
|
486
487
|
started_rendering_at_millis: number;
|
|
487
488
|
rendered_at_millis: number;
|
|
488
|
-
subject: string;
|
|
489
489
|
is_transactional: boolean;
|
|
490
490
|
is_high_priority: boolean;
|
|
491
491
|
notification_category_id: string | null;
|
|
492
492
|
started_sending_at_millis: number;
|
|
493
493
|
delivery_delayed_at_millis: number;
|
|
494
494
|
} | {
|
|
495
|
-
|
|
496
|
-
text: string | null;
|
|
495
|
+
status: "sent";
|
|
497
496
|
id: string;
|
|
497
|
+
subject: string;
|
|
498
498
|
created_at_millis: number;
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
theme_id: string | null;
|
|
499
|
+
html: string | null;
|
|
500
|
+
text: string | null;
|
|
502
501
|
to: {
|
|
503
|
-
type: "user-primary-email";
|
|
504
502
|
user_id: string;
|
|
503
|
+
type: "user-primary-email";
|
|
505
504
|
} | {
|
|
506
|
-
emails: string[];
|
|
507
|
-
type: "user-custom-emails";
|
|
508
505
|
user_id: string;
|
|
509
|
-
|
|
506
|
+
type: "user-custom-emails";
|
|
510
507
|
emails: string[];
|
|
508
|
+
} | {
|
|
511
509
|
type: "custom-emails";
|
|
510
|
+
emails: string[];
|
|
512
511
|
};
|
|
512
|
+
updated_at_millis: number;
|
|
513
|
+
tsx_source: string;
|
|
514
|
+
theme_id: string | null;
|
|
513
515
|
variables: Record<string, {} | null>;
|
|
514
516
|
skip_deliverability_check: boolean;
|
|
515
517
|
scheduled_at_millis: number;
|
|
@@ -526,14 +528,12 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
526
528
|
internal_message: string;
|
|
527
529
|
internal_details: Record<string, {} | null>;
|
|
528
530
|
}[] | null;
|
|
529
|
-
status: "sent";
|
|
530
531
|
simple_status: "ok";
|
|
531
532
|
is_paused: boolean;
|
|
532
533
|
has_rendered: boolean;
|
|
533
534
|
has_delivered: boolean;
|
|
534
535
|
started_rendering_at_millis: number;
|
|
535
536
|
rendered_at_millis: number;
|
|
536
|
-
subject: string;
|
|
537
537
|
is_transactional: boolean;
|
|
538
538
|
is_high_priority: boolean;
|
|
539
539
|
notification_category_id: string | null;
|
|
@@ -541,24 +541,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
541
541
|
delivered_at_millis: number;
|
|
542
542
|
can_have_delivery_info: boolean;
|
|
543
543
|
} | {
|
|
544
|
-
|
|
545
|
-
text: string | null;
|
|
544
|
+
status: "opened";
|
|
546
545
|
id: string;
|
|
546
|
+
subject: string;
|
|
547
547
|
created_at_millis: number;
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
theme_id: string | null;
|
|
548
|
+
html: string | null;
|
|
549
|
+
text: string | null;
|
|
551
550
|
to: {
|
|
552
|
-
type: "user-primary-email";
|
|
553
551
|
user_id: string;
|
|
552
|
+
type: "user-primary-email";
|
|
554
553
|
} | {
|
|
555
|
-
emails: string[];
|
|
556
|
-
type: "user-custom-emails";
|
|
557
554
|
user_id: string;
|
|
558
|
-
|
|
555
|
+
type: "user-custom-emails";
|
|
559
556
|
emails: string[];
|
|
557
|
+
} | {
|
|
560
558
|
type: "custom-emails";
|
|
559
|
+
emails: string[];
|
|
561
560
|
};
|
|
561
|
+
updated_at_millis: number;
|
|
562
|
+
tsx_source: string;
|
|
563
|
+
theme_id: string | null;
|
|
562
564
|
variables: Record<string, {} | null>;
|
|
563
565
|
skip_deliverability_check: boolean;
|
|
564
566
|
scheduled_at_millis: number;
|
|
@@ -575,14 +577,12 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
575
577
|
internal_message: string;
|
|
576
578
|
internal_details: Record<string, {} | null>;
|
|
577
579
|
}[] | null;
|
|
578
|
-
status: "opened";
|
|
579
580
|
simple_status: "ok";
|
|
580
581
|
is_paused: boolean;
|
|
581
582
|
has_rendered: boolean;
|
|
582
583
|
has_delivered: boolean;
|
|
583
584
|
started_rendering_at_millis: number;
|
|
584
585
|
rendered_at_millis: number;
|
|
585
|
-
subject: string;
|
|
586
586
|
is_transactional: boolean;
|
|
587
587
|
is_high_priority: boolean;
|
|
588
588
|
notification_category_id: string | null;
|
|
@@ -591,24 +591,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
591
591
|
can_have_delivery_info: boolean;
|
|
592
592
|
opened_at_millis: number;
|
|
593
593
|
} | {
|
|
594
|
-
|
|
595
|
-
text: string | null;
|
|
594
|
+
status: "clicked";
|
|
596
595
|
id: string;
|
|
596
|
+
subject: string;
|
|
597
597
|
created_at_millis: number;
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
theme_id: string | null;
|
|
598
|
+
html: string | null;
|
|
599
|
+
text: string | null;
|
|
601
600
|
to: {
|
|
602
|
-
type: "user-primary-email";
|
|
603
601
|
user_id: string;
|
|
602
|
+
type: "user-primary-email";
|
|
604
603
|
} | {
|
|
605
|
-
emails: string[];
|
|
606
|
-
type: "user-custom-emails";
|
|
607
604
|
user_id: string;
|
|
608
|
-
|
|
605
|
+
type: "user-custom-emails";
|
|
609
606
|
emails: string[];
|
|
607
|
+
} | {
|
|
610
608
|
type: "custom-emails";
|
|
609
|
+
emails: string[];
|
|
611
610
|
};
|
|
611
|
+
updated_at_millis: number;
|
|
612
|
+
tsx_source: string;
|
|
613
|
+
theme_id: string | null;
|
|
612
614
|
variables: Record<string, {} | null>;
|
|
613
615
|
skip_deliverability_check: boolean;
|
|
614
616
|
scheduled_at_millis: number;
|
|
@@ -625,14 +627,12 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
625
627
|
internal_message: string;
|
|
626
628
|
internal_details: Record<string, {} | null>;
|
|
627
629
|
}[] | null;
|
|
628
|
-
status: "clicked";
|
|
629
630
|
simple_status: "ok";
|
|
630
631
|
is_paused: boolean;
|
|
631
632
|
has_rendered: boolean;
|
|
632
633
|
has_delivered: boolean;
|
|
633
634
|
started_rendering_at_millis: number;
|
|
634
635
|
rendered_at_millis: number;
|
|
635
|
-
subject: string;
|
|
636
636
|
is_transactional: boolean;
|
|
637
637
|
is_high_priority: boolean;
|
|
638
638
|
notification_category_id: string | null;
|
|
@@ -641,24 +641,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
641
641
|
can_have_delivery_info: boolean;
|
|
642
642
|
clicked_at_millis: number;
|
|
643
643
|
} | {
|
|
644
|
-
|
|
645
|
-
text: string | null;
|
|
644
|
+
status: "marked-as-spam";
|
|
646
645
|
id: string;
|
|
646
|
+
subject: string;
|
|
647
647
|
created_at_millis: number;
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
theme_id: string | null;
|
|
648
|
+
html: string | null;
|
|
649
|
+
text: string | null;
|
|
651
650
|
to: {
|
|
652
|
-
type: "user-primary-email";
|
|
653
651
|
user_id: string;
|
|
652
|
+
type: "user-primary-email";
|
|
654
653
|
} | {
|
|
655
|
-
emails: string[];
|
|
656
|
-
type: "user-custom-emails";
|
|
657
654
|
user_id: string;
|
|
658
|
-
|
|
655
|
+
type: "user-custom-emails";
|
|
659
656
|
emails: string[];
|
|
657
|
+
} | {
|
|
660
658
|
type: "custom-emails";
|
|
659
|
+
emails: string[];
|
|
661
660
|
};
|
|
661
|
+
updated_at_millis: number;
|
|
662
|
+
tsx_source: string;
|
|
663
|
+
theme_id: string | null;
|
|
662
664
|
variables: Record<string, {} | null>;
|
|
663
665
|
skip_deliverability_check: boolean;
|
|
664
666
|
scheduled_at_millis: number;
|
|
@@ -675,14 +677,12 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
675
677
|
internal_message: string;
|
|
676
678
|
internal_details: Record<string, {} | null>;
|
|
677
679
|
}[] | null;
|
|
678
|
-
status: "marked-as-spam";
|
|
679
680
|
simple_status: "ok";
|
|
680
681
|
is_paused: boolean;
|
|
681
682
|
has_rendered: boolean;
|
|
682
683
|
has_delivered: boolean;
|
|
683
684
|
started_rendering_at_millis: number;
|
|
684
685
|
rendered_at_millis: number;
|
|
685
|
-
subject: string;
|
|
686
686
|
is_transactional: boolean;
|
|
687
687
|
is_high_priority: boolean;
|
|
688
688
|
notification_category_id: string | null;
|
|
@@ -695,15 +695,15 @@ declare const emailOutboxUpdateSchema: import("yup").ObjectSchema<{
|
|
|
695
695
|
tsx_source: string | undefined;
|
|
696
696
|
theme_id: string | null | undefined;
|
|
697
697
|
to: {
|
|
698
|
-
type: "user-primary-email";
|
|
699
698
|
user_id: string;
|
|
699
|
+
type: "user-primary-email";
|
|
700
700
|
} | {
|
|
701
|
-
emails: string[];
|
|
702
|
-
type: "user-custom-emails";
|
|
703
701
|
user_id: string;
|
|
704
|
-
|
|
702
|
+
type: "user-custom-emails";
|
|
705
703
|
emails: string[];
|
|
704
|
+
} | {
|
|
706
705
|
type: "custom-emails";
|
|
706
|
+
emails: string[];
|
|
707
707
|
} | undefined;
|
|
708
708
|
variables: Record<string, {} | null> | undefined;
|
|
709
709
|
skip_deliverability_check: boolean | undefined;
|
|
@@ -722,22 +722,23 @@ declare const emailOutboxUpdateSchema: import("yup").ObjectSchema<{
|
|
|
722
722
|
}, "">;
|
|
723
723
|
declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
724
724
|
serverReadSchema: import("yup").MixedSchema<{
|
|
725
|
+
status: "paused";
|
|
725
726
|
id: string;
|
|
726
727
|
created_at_millis: number;
|
|
727
|
-
updated_at_millis: number;
|
|
728
|
-
tsx_source: string;
|
|
729
|
-
theme_id: string | null;
|
|
730
728
|
to: {
|
|
731
|
-
type: "user-primary-email";
|
|
732
729
|
user_id: string;
|
|
730
|
+
type: "user-primary-email";
|
|
733
731
|
} | {
|
|
734
|
-
emails: string[];
|
|
735
|
-
type: "user-custom-emails";
|
|
736
732
|
user_id: string;
|
|
737
|
-
|
|
733
|
+
type: "user-custom-emails";
|
|
738
734
|
emails: string[];
|
|
735
|
+
} | {
|
|
739
736
|
type: "custom-emails";
|
|
737
|
+
emails: string[];
|
|
740
738
|
};
|
|
739
|
+
updated_at_millis: number;
|
|
740
|
+
tsx_source: string;
|
|
741
|
+
theme_id: string | null;
|
|
741
742
|
variables: Record<string, {} | null>;
|
|
742
743
|
skip_deliverability_check: boolean;
|
|
743
744
|
scheduled_at_millis: number;
|
|
@@ -754,28 +755,28 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
754
755
|
internal_message: string;
|
|
755
756
|
internal_details: Record<string, {} | null>;
|
|
756
757
|
}[] | null;
|
|
757
|
-
status: "paused";
|
|
758
758
|
simple_status: "in-progress";
|
|
759
759
|
is_paused: boolean;
|
|
760
760
|
has_rendered: boolean;
|
|
761
761
|
has_delivered: boolean;
|
|
762
762
|
} | {
|
|
763
|
+
status: "preparing";
|
|
763
764
|
id: string;
|
|
764
765
|
created_at_millis: number;
|
|
765
|
-
updated_at_millis: number;
|
|
766
|
-
tsx_source: string;
|
|
767
|
-
theme_id: string | null;
|
|
768
766
|
to: {
|
|
769
|
-
type: "user-primary-email";
|
|
770
767
|
user_id: string;
|
|
768
|
+
type: "user-primary-email";
|
|
771
769
|
} | {
|
|
772
|
-
emails: string[];
|
|
773
|
-
type: "user-custom-emails";
|
|
774
770
|
user_id: string;
|
|
775
|
-
|
|
771
|
+
type: "user-custom-emails";
|
|
776
772
|
emails: string[];
|
|
773
|
+
} | {
|
|
777
774
|
type: "custom-emails";
|
|
775
|
+
emails: string[];
|
|
778
776
|
};
|
|
777
|
+
updated_at_millis: number;
|
|
778
|
+
tsx_source: string;
|
|
779
|
+
theme_id: string | null;
|
|
779
780
|
variables: Record<string, {} | null>;
|
|
780
781
|
skip_deliverability_check: boolean;
|
|
781
782
|
scheduled_at_millis: number;
|
|
@@ -792,28 +793,28 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
792
793
|
internal_message: string;
|
|
793
794
|
internal_details: Record<string, {} | null>;
|
|
794
795
|
}[] | null;
|
|
795
|
-
status: "preparing";
|
|
796
796
|
simple_status: "in-progress";
|
|
797
797
|
is_paused: boolean;
|
|
798
798
|
has_rendered: boolean;
|
|
799
799
|
has_delivered: boolean;
|
|
800
800
|
} | {
|
|
801
|
+
status: "rendering";
|
|
801
802
|
id: string;
|
|
802
803
|
created_at_millis: number;
|
|
803
|
-
updated_at_millis: number;
|
|
804
|
-
tsx_source: string;
|
|
805
|
-
theme_id: string | null;
|
|
806
804
|
to: {
|
|
807
|
-
type: "user-primary-email";
|
|
808
805
|
user_id: string;
|
|
806
|
+
type: "user-primary-email";
|
|
809
807
|
} | {
|
|
810
|
-
emails: string[];
|
|
811
|
-
type: "user-custom-emails";
|
|
812
808
|
user_id: string;
|
|
813
|
-
|
|
809
|
+
type: "user-custom-emails";
|
|
814
810
|
emails: string[];
|
|
811
|
+
} | {
|
|
815
812
|
type: "custom-emails";
|
|
813
|
+
emails: string[];
|
|
816
814
|
};
|
|
815
|
+
updated_at_millis: number;
|
|
816
|
+
tsx_source: string;
|
|
817
|
+
theme_id: string | null;
|
|
817
818
|
variables: Record<string, {} | null>;
|
|
818
819
|
skip_deliverability_check: boolean;
|
|
819
820
|
scheduled_at_millis: number;
|
|
@@ -830,29 +831,29 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
830
831
|
internal_message: string;
|
|
831
832
|
internal_details: Record<string, {} | null>;
|
|
832
833
|
}[] | null;
|
|
833
|
-
status: "rendering";
|
|
834
834
|
simple_status: "in-progress";
|
|
835
835
|
is_paused: boolean;
|
|
836
836
|
has_rendered: boolean;
|
|
837
837
|
has_delivered: boolean;
|
|
838
838
|
started_rendering_at_millis: number;
|
|
839
839
|
} | {
|
|
840
|
+
status: "render-error";
|
|
840
841
|
id: string;
|
|
841
842
|
created_at_millis: number;
|
|
842
|
-
|
|
843
|
-
tsx_source: string;
|
|
844
|
-
theme_id: string | null;
|
|
845
|
-
to: {
|
|
846
|
-
type: "user-primary-email";
|
|
847
|
-
user_id: string;
|
|
848
|
-
} | {
|
|
849
|
-
emails: string[];
|
|
850
|
-
type: "user-custom-emails";
|
|
843
|
+
to: {
|
|
851
844
|
user_id: string;
|
|
845
|
+
type: "user-primary-email";
|
|
852
846
|
} | {
|
|
847
|
+
user_id: string;
|
|
848
|
+
type: "user-custom-emails";
|
|
853
849
|
emails: string[];
|
|
850
|
+
} | {
|
|
854
851
|
type: "custom-emails";
|
|
852
|
+
emails: string[];
|
|
855
853
|
};
|
|
854
|
+
updated_at_millis: number;
|
|
855
|
+
tsx_source: string;
|
|
856
|
+
theme_id: string | null;
|
|
856
857
|
variables: Record<string, {} | null>;
|
|
857
858
|
skip_deliverability_check: boolean;
|
|
858
859
|
scheduled_at_millis: number;
|
|
@@ -869,7 +870,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
869
870
|
internal_message: string;
|
|
870
871
|
internal_details: Record<string, {} | null>;
|
|
871
872
|
}[] | null;
|
|
872
|
-
status: "render-error";
|
|
873
873
|
simple_status: "error";
|
|
874
874
|
is_paused: boolean;
|
|
875
875
|
has_rendered: boolean;
|
|
@@ -878,24 +878,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
878
878
|
rendered_at_millis: number;
|
|
879
879
|
render_error: string;
|
|
880
880
|
} | {
|
|
881
|
-
|
|
882
|
-
text: string | null;
|
|
881
|
+
status: "scheduled";
|
|
883
882
|
id: string;
|
|
883
|
+
subject: string;
|
|
884
884
|
created_at_millis: number;
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
theme_id: string | null;
|
|
885
|
+
html: string | null;
|
|
886
|
+
text: string | null;
|
|
888
887
|
to: {
|
|
889
|
-
type: "user-primary-email";
|
|
890
888
|
user_id: string;
|
|
889
|
+
type: "user-primary-email";
|
|
891
890
|
} | {
|
|
892
|
-
emails: string[];
|
|
893
|
-
type: "user-custom-emails";
|
|
894
891
|
user_id: string;
|
|
895
|
-
|
|
892
|
+
type: "user-custom-emails";
|
|
896
893
|
emails: string[];
|
|
894
|
+
} | {
|
|
897
895
|
type: "custom-emails";
|
|
896
|
+
emails: string[];
|
|
898
897
|
};
|
|
898
|
+
updated_at_millis: number;
|
|
899
|
+
tsx_source: string;
|
|
900
|
+
theme_id: string | null;
|
|
899
901
|
variables: Record<string, {} | null>;
|
|
900
902
|
skip_deliverability_check: boolean;
|
|
901
903
|
scheduled_at_millis: number;
|
|
@@ -912,36 +914,36 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
912
914
|
internal_message: string;
|
|
913
915
|
internal_details: Record<string, {} | null>;
|
|
914
916
|
}[] | null;
|
|
915
|
-
status: "scheduled";
|
|
916
917
|
simple_status: "in-progress";
|
|
917
918
|
is_paused: boolean;
|
|
918
919
|
has_rendered: boolean;
|
|
919
920
|
has_delivered: boolean;
|
|
920
921
|
started_rendering_at_millis: number;
|
|
921
922
|
rendered_at_millis: number;
|
|
922
|
-
subject: string;
|
|
923
923
|
is_transactional: boolean;
|
|
924
924
|
is_high_priority: boolean;
|
|
925
925
|
notification_category_id: string | null;
|
|
926
926
|
} | {
|
|
927
|
-
|
|
928
|
-
text: string | null;
|
|
927
|
+
status: "queued";
|
|
929
928
|
id: string;
|
|
929
|
+
subject: string;
|
|
930
930
|
created_at_millis: number;
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
theme_id: string | null;
|
|
931
|
+
html: string | null;
|
|
932
|
+
text: string | null;
|
|
934
933
|
to: {
|
|
935
|
-
type: "user-primary-email";
|
|
936
934
|
user_id: string;
|
|
935
|
+
type: "user-primary-email";
|
|
937
936
|
} | {
|
|
938
|
-
emails: string[];
|
|
939
|
-
type: "user-custom-emails";
|
|
940
937
|
user_id: string;
|
|
941
|
-
|
|
938
|
+
type: "user-custom-emails";
|
|
942
939
|
emails: string[];
|
|
940
|
+
} | {
|
|
943
941
|
type: "custom-emails";
|
|
942
|
+
emails: string[];
|
|
944
943
|
};
|
|
944
|
+
updated_at_millis: number;
|
|
945
|
+
tsx_source: string;
|
|
946
|
+
theme_id: string | null;
|
|
945
947
|
variables: Record<string, {} | null>;
|
|
946
948
|
skip_deliverability_check: boolean;
|
|
947
949
|
scheduled_at_millis: number;
|
|
@@ -958,36 +960,36 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
958
960
|
internal_message: string;
|
|
959
961
|
internal_details: Record<string, {} | null>;
|
|
960
962
|
}[] | null;
|
|
961
|
-
status: "queued";
|
|
962
963
|
simple_status: "in-progress";
|
|
963
964
|
is_paused: boolean;
|
|
964
965
|
has_rendered: boolean;
|
|
965
966
|
has_delivered: boolean;
|
|
966
967
|
started_rendering_at_millis: number;
|
|
967
968
|
rendered_at_millis: number;
|
|
968
|
-
subject: string;
|
|
969
969
|
is_transactional: boolean;
|
|
970
970
|
is_high_priority: boolean;
|
|
971
971
|
notification_category_id: string | null;
|
|
972
972
|
} | {
|
|
973
|
-
|
|
974
|
-
text: string | null;
|
|
973
|
+
status: "sending";
|
|
975
974
|
id: string;
|
|
975
|
+
subject: string;
|
|
976
976
|
created_at_millis: number;
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
theme_id: string | null;
|
|
977
|
+
html: string | null;
|
|
978
|
+
text: string | null;
|
|
980
979
|
to: {
|
|
981
|
-
type: "user-primary-email";
|
|
982
980
|
user_id: string;
|
|
981
|
+
type: "user-primary-email";
|
|
983
982
|
} | {
|
|
984
|
-
emails: string[];
|
|
985
|
-
type: "user-custom-emails";
|
|
986
983
|
user_id: string;
|
|
987
|
-
|
|
984
|
+
type: "user-custom-emails";
|
|
988
985
|
emails: string[];
|
|
986
|
+
} | {
|
|
989
987
|
type: "custom-emails";
|
|
988
|
+
emails: string[];
|
|
990
989
|
};
|
|
990
|
+
updated_at_millis: number;
|
|
991
|
+
tsx_source: string;
|
|
992
|
+
theme_id: string | null;
|
|
991
993
|
variables: Record<string, {} | null>;
|
|
992
994
|
skip_deliverability_check: boolean;
|
|
993
995
|
scheduled_at_millis: number;
|
|
@@ -1004,37 +1006,37 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1004
1006
|
internal_message: string;
|
|
1005
1007
|
internal_details: Record<string, {} | null>;
|
|
1006
1008
|
}[] | null;
|
|
1007
|
-
status: "sending";
|
|
1008
1009
|
simple_status: "in-progress";
|
|
1009
1010
|
is_paused: boolean;
|
|
1010
1011
|
has_rendered: boolean;
|
|
1011
1012
|
has_delivered: boolean;
|
|
1012
1013
|
started_rendering_at_millis: number;
|
|
1013
1014
|
rendered_at_millis: number;
|
|
1014
|
-
subject: string;
|
|
1015
1015
|
is_transactional: boolean;
|
|
1016
1016
|
is_high_priority: boolean;
|
|
1017
1017
|
notification_category_id: string | null;
|
|
1018
1018
|
started_sending_at_millis: number;
|
|
1019
1019
|
} | {
|
|
1020
|
-
|
|
1021
|
-
text: string | null;
|
|
1020
|
+
status: "server-error";
|
|
1022
1021
|
id: string;
|
|
1022
|
+
subject: string;
|
|
1023
1023
|
created_at_millis: number;
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
theme_id: string | null;
|
|
1024
|
+
html: string | null;
|
|
1025
|
+
text: string | null;
|
|
1027
1026
|
to: {
|
|
1028
|
-
type: "user-primary-email";
|
|
1029
1027
|
user_id: string;
|
|
1028
|
+
type: "user-primary-email";
|
|
1030
1029
|
} | {
|
|
1031
|
-
emails: string[];
|
|
1032
|
-
type: "user-custom-emails";
|
|
1033
1030
|
user_id: string;
|
|
1034
|
-
|
|
1031
|
+
type: "user-custom-emails";
|
|
1035
1032
|
emails: string[];
|
|
1033
|
+
} | {
|
|
1036
1034
|
type: "custom-emails";
|
|
1035
|
+
emails: string[];
|
|
1037
1036
|
};
|
|
1037
|
+
updated_at_millis: number;
|
|
1038
|
+
tsx_source: string;
|
|
1039
|
+
theme_id: string | null;
|
|
1038
1040
|
variables: Record<string, {} | null>;
|
|
1039
1041
|
skip_deliverability_check: boolean;
|
|
1040
1042
|
scheduled_at_millis: number;
|
|
@@ -1051,14 +1053,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1051
1053
|
internal_message: string;
|
|
1052
1054
|
internal_details: Record<string, {} | null>;
|
|
1053
1055
|
}[] | null;
|
|
1054
|
-
status: "server-error";
|
|
1055
1056
|
simple_status: "error";
|
|
1056
1057
|
is_paused: boolean;
|
|
1057
1058
|
has_rendered: boolean;
|
|
1058
1059
|
has_delivered: boolean;
|
|
1059
1060
|
started_rendering_at_millis: number;
|
|
1060
1061
|
rendered_at_millis: number;
|
|
1061
|
-
subject: string;
|
|
1062
1062
|
is_transactional: boolean;
|
|
1063
1063
|
is_high_priority: boolean;
|
|
1064
1064
|
notification_category_id: string | null;
|
|
@@ -1066,31 +1066,32 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1066
1066
|
error_at_millis: number;
|
|
1067
1067
|
server_error: string;
|
|
1068
1068
|
} | {
|
|
1069
|
+
subject?: string | undefined;
|
|
1069
1070
|
html?: string | null | undefined;
|
|
1070
1071
|
text?: string | null | undefined;
|
|
1071
1072
|
started_rendering_at_millis?: number | undefined;
|
|
1072
1073
|
rendered_at_millis?: number | undefined;
|
|
1073
|
-
subject?: string | undefined;
|
|
1074
1074
|
is_transactional?: boolean | undefined;
|
|
1075
1075
|
is_high_priority?: boolean | undefined;
|
|
1076
1076
|
notification_category_id?: string | null | undefined;
|
|
1077
1077
|
started_sending_at_millis?: number | undefined;
|
|
1078
|
+
status: "skipped";
|
|
1078
1079
|
id: string;
|
|
1079
1080
|
created_at_millis: number;
|
|
1080
|
-
updated_at_millis: number;
|
|
1081
|
-
tsx_source: string;
|
|
1082
|
-
theme_id: string | null;
|
|
1083
1081
|
to: {
|
|
1084
|
-
type: "user-primary-email";
|
|
1085
1082
|
user_id: string;
|
|
1083
|
+
type: "user-primary-email";
|
|
1086
1084
|
} | {
|
|
1087
|
-
emails: string[];
|
|
1088
|
-
type: "user-custom-emails";
|
|
1089
1085
|
user_id: string;
|
|
1090
|
-
|
|
1086
|
+
type: "user-custom-emails";
|
|
1091
1087
|
emails: string[];
|
|
1088
|
+
} | {
|
|
1092
1089
|
type: "custom-emails";
|
|
1090
|
+
emails: string[];
|
|
1093
1091
|
};
|
|
1092
|
+
updated_at_millis: number;
|
|
1093
|
+
tsx_source: string;
|
|
1094
|
+
theme_id: string | null;
|
|
1094
1095
|
variables: Record<string, {} | null>;
|
|
1095
1096
|
skip_deliverability_check: boolean;
|
|
1096
1097
|
scheduled_at_millis: number;
|
|
@@ -1107,7 +1108,6 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1107
1108
|
internal_message: string;
|
|
1108
1109
|
internal_details: Record<string, {} | null>;
|
|
1109
1110
|
}[] | null;
|
|
1110
|
-
status: "skipped";
|
|
1111
1111
|
simple_status: "ok";
|
|
1112
1112
|
is_paused: boolean;
|
|
1113
1113
|
has_rendered: boolean;
|
|
@@ -1116,24 +1116,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1116
1116
|
skipped_reason: string;
|
|
1117
1117
|
skipped_details: Record<string, {} | null>;
|
|
1118
1118
|
} | {
|
|
1119
|
-
|
|
1120
|
-
text: string | null;
|
|
1119
|
+
status: "bounced";
|
|
1121
1120
|
id: string;
|
|
1121
|
+
subject: string;
|
|
1122
1122
|
created_at_millis: number;
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
theme_id: string | null;
|
|
1123
|
+
html: string | null;
|
|
1124
|
+
text: string | null;
|
|
1126
1125
|
to: {
|
|
1127
|
-
type: "user-primary-email";
|
|
1128
1126
|
user_id: string;
|
|
1127
|
+
type: "user-primary-email";
|
|
1129
1128
|
} | {
|
|
1130
|
-
emails: string[];
|
|
1131
|
-
type: "user-custom-emails";
|
|
1132
1129
|
user_id: string;
|
|
1133
|
-
|
|
1130
|
+
type: "user-custom-emails";
|
|
1134
1131
|
emails: string[];
|
|
1132
|
+
} | {
|
|
1135
1133
|
type: "custom-emails";
|
|
1134
|
+
emails: string[];
|
|
1136
1135
|
};
|
|
1136
|
+
updated_at_millis: number;
|
|
1137
|
+
tsx_source: string;
|
|
1138
|
+
theme_id: string | null;
|
|
1137
1139
|
variables: Record<string, {} | null>;
|
|
1138
1140
|
skip_deliverability_check: boolean;
|
|
1139
1141
|
scheduled_at_millis: number;
|
|
@@ -1150,38 +1152,38 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1150
1152
|
internal_message: string;
|
|
1151
1153
|
internal_details: Record<string, {} | null>;
|
|
1152
1154
|
}[] | null;
|
|
1153
|
-
status: "bounced";
|
|
1154
1155
|
simple_status: "error";
|
|
1155
1156
|
is_paused: boolean;
|
|
1156
1157
|
has_rendered: boolean;
|
|
1157
1158
|
has_delivered: boolean;
|
|
1158
1159
|
started_rendering_at_millis: number;
|
|
1159
1160
|
rendered_at_millis: number;
|
|
1160
|
-
subject: string;
|
|
1161
1161
|
is_transactional: boolean;
|
|
1162
1162
|
is_high_priority: boolean;
|
|
1163
1163
|
notification_category_id: string | null;
|
|
1164
1164
|
started_sending_at_millis: number;
|
|
1165
1165
|
bounced_at_millis: number;
|
|
1166
1166
|
} | {
|
|
1167
|
-
|
|
1168
|
-
text: string | null;
|
|
1167
|
+
status: "delivery-delayed";
|
|
1169
1168
|
id: string;
|
|
1169
|
+
subject: string;
|
|
1170
1170
|
created_at_millis: number;
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
theme_id: string | null;
|
|
1171
|
+
html: string | null;
|
|
1172
|
+
text: string | null;
|
|
1174
1173
|
to: {
|
|
1175
|
-
type: "user-primary-email";
|
|
1176
1174
|
user_id: string;
|
|
1175
|
+
type: "user-primary-email";
|
|
1177
1176
|
} | {
|
|
1178
|
-
emails: string[];
|
|
1179
|
-
type: "user-custom-emails";
|
|
1180
1177
|
user_id: string;
|
|
1181
|
-
|
|
1178
|
+
type: "user-custom-emails";
|
|
1182
1179
|
emails: string[];
|
|
1180
|
+
} | {
|
|
1183
1181
|
type: "custom-emails";
|
|
1182
|
+
emails: string[];
|
|
1184
1183
|
};
|
|
1184
|
+
updated_at_millis: number;
|
|
1185
|
+
tsx_source: string;
|
|
1186
|
+
theme_id: string | null;
|
|
1185
1187
|
variables: Record<string, {} | null>;
|
|
1186
1188
|
skip_deliverability_check: boolean;
|
|
1187
1189
|
scheduled_at_millis: number;
|
|
@@ -1198,38 +1200,38 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1198
1200
|
internal_message: string;
|
|
1199
1201
|
internal_details: Record<string, {} | null>;
|
|
1200
1202
|
}[] | null;
|
|
1201
|
-
status: "delivery-delayed";
|
|
1202
1203
|
simple_status: "ok";
|
|
1203
1204
|
is_paused: boolean;
|
|
1204
1205
|
has_rendered: boolean;
|
|
1205
1206
|
has_delivered: boolean;
|
|
1206
1207
|
started_rendering_at_millis: number;
|
|
1207
1208
|
rendered_at_millis: number;
|
|
1208
|
-
subject: string;
|
|
1209
1209
|
is_transactional: boolean;
|
|
1210
1210
|
is_high_priority: boolean;
|
|
1211
1211
|
notification_category_id: string | null;
|
|
1212
1212
|
started_sending_at_millis: number;
|
|
1213
1213
|
delivery_delayed_at_millis: number;
|
|
1214
1214
|
} | {
|
|
1215
|
-
|
|
1216
|
-
text: string | null;
|
|
1215
|
+
status: "sent";
|
|
1217
1216
|
id: string;
|
|
1217
|
+
subject: string;
|
|
1218
1218
|
created_at_millis: number;
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
theme_id: string | null;
|
|
1219
|
+
html: string | null;
|
|
1220
|
+
text: string | null;
|
|
1222
1221
|
to: {
|
|
1223
|
-
type: "user-primary-email";
|
|
1224
1222
|
user_id: string;
|
|
1223
|
+
type: "user-primary-email";
|
|
1225
1224
|
} | {
|
|
1226
|
-
emails: string[];
|
|
1227
|
-
type: "user-custom-emails";
|
|
1228
1225
|
user_id: string;
|
|
1229
|
-
|
|
1226
|
+
type: "user-custom-emails";
|
|
1230
1227
|
emails: string[];
|
|
1228
|
+
} | {
|
|
1231
1229
|
type: "custom-emails";
|
|
1230
|
+
emails: string[];
|
|
1232
1231
|
};
|
|
1232
|
+
updated_at_millis: number;
|
|
1233
|
+
tsx_source: string;
|
|
1234
|
+
theme_id: string | null;
|
|
1233
1235
|
variables: Record<string, {} | null>;
|
|
1234
1236
|
skip_deliverability_check: boolean;
|
|
1235
1237
|
scheduled_at_millis: number;
|
|
@@ -1246,14 +1248,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1246
1248
|
internal_message: string;
|
|
1247
1249
|
internal_details: Record<string, {} | null>;
|
|
1248
1250
|
}[] | null;
|
|
1249
|
-
status: "sent";
|
|
1250
1251
|
simple_status: "ok";
|
|
1251
1252
|
is_paused: boolean;
|
|
1252
1253
|
has_rendered: boolean;
|
|
1253
1254
|
has_delivered: boolean;
|
|
1254
1255
|
started_rendering_at_millis: number;
|
|
1255
1256
|
rendered_at_millis: number;
|
|
1256
|
-
subject: string;
|
|
1257
1257
|
is_transactional: boolean;
|
|
1258
1258
|
is_high_priority: boolean;
|
|
1259
1259
|
notification_category_id: string | null;
|
|
@@ -1261,24 +1261,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1261
1261
|
delivered_at_millis: number;
|
|
1262
1262
|
can_have_delivery_info: boolean;
|
|
1263
1263
|
} | {
|
|
1264
|
-
|
|
1265
|
-
text: string | null;
|
|
1264
|
+
status: "opened";
|
|
1266
1265
|
id: string;
|
|
1266
|
+
subject: string;
|
|
1267
1267
|
created_at_millis: number;
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
theme_id: string | null;
|
|
1268
|
+
html: string | null;
|
|
1269
|
+
text: string | null;
|
|
1271
1270
|
to: {
|
|
1272
|
-
type: "user-primary-email";
|
|
1273
1271
|
user_id: string;
|
|
1272
|
+
type: "user-primary-email";
|
|
1274
1273
|
} | {
|
|
1275
|
-
emails: string[];
|
|
1276
|
-
type: "user-custom-emails";
|
|
1277
1274
|
user_id: string;
|
|
1278
|
-
|
|
1275
|
+
type: "user-custom-emails";
|
|
1279
1276
|
emails: string[];
|
|
1277
|
+
} | {
|
|
1280
1278
|
type: "custom-emails";
|
|
1279
|
+
emails: string[];
|
|
1281
1280
|
};
|
|
1281
|
+
updated_at_millis: number;
|
|
1282
|
+
tsx_source: string;
|
|
1283
|
+
theme_id: string | null;
|
|
1282
1284
|
variables: Record<string, {} | null>;
|
|
1283
1285
|
skip_deliverability_check: boolean;
|
|
1284
1286
|
scheduled_at_millis: number;
|
|
@@ -1295,14 +1297,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1295
1297
|
internal_message: string;
|
|
1296
1298
|
internal_details: Record<string, {} | null>;
|
|
1297
1299
|
}[] | null;
|
|
1298
|
-
status: "opened";
|
|
1299
1300
|
simple_status: "ok";
|
|
1300
1301
|
is_paused: boolean;
|
|
1301
1302
|
has_rendered: boolean;
|
|
1302
1303
|
has_delivered: boolean;
|
|
1303
1304
|
started_rendering_at_millis: number;
|
|
1304
1305
|
rendered_at_millis: number;
|
|
1305
|
-
subject: string;
|
|
1306
1306
|
is_transactional: boolean;
|
|
1307
1307
|
is_high_priority: boolean;
|
|
1308
1308
|
notification_category_id: string | null;
|
|
@@ -1311,24 +1311,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1311
1311
|
can_have_delivery_info: boolean;
|
|
1312
1312
|
opened_at_millis: number;
|
|
1313
1313
|
} | {
|
|
1314
|
-
|
|
1315
|
-
text: string | null;
|
|
1314
|
+
status: "clicked";
|
|
1316
1315
|
id: string;
|
|
1316
|
+
subject: string;
|
|
1317
1317
|
created_at_millis: number;
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
theme_id: string | null;
|
|
1318
|
+
html: string | null;
|
|
1319
|
+
text: string | null;
|
|
1321
1320
|
to: {
|
|
1322
|
-
type: "user-primary-email";
|
|
1323
1321
|
user_id: string;
|
|
1322
|
+
type: "user-primary-email";
|
|
1324
1323
|
} | {
|
|
1325
|
-
emails: string[];
|
|
1326
|
-
type: "user-custom-emails";
|
|
1327
1324
|
user_id: string;
|
|
1328
|
-
|
|
1325
|
+
type: "user-custom-emails";
|
|
1329
1326
|
emails: string[];
|
|
1327
|
+
} | {
|
|
1330
1328
|
type: "custom-emails";
|
|
1329
|
+
emails: string[];
|
|
1331
1330
|
};
|
|
1331
|
+
updated_at_millis: number;
|
|
1332
|
+
tsx_source: string;
|
|
1333
|
+
theme_id: string | null;
|
|
1332
1334
|
variables: Record<string, {} | null>;
|
|
1333
1335
|
skip_deliverability_check: boolean;
|
|
1334
1336
|
scheduled_at_millis: number;
|
|
@@ -1345,14 +1347,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1345
1347
|
internal_message: string;
|
|
1346
1348
|
internal_details: Record<string, {} | null>;
|
|
1347
1349
|
}[] | null;
|
|
1348
|
-
status: "clicked";
|
|
1349
1350
|
simple_status: "ok";
|
|
1350
1351
|
is_paused: boolean;
|
|
1351
1352
|
has_rendered: boolean;
|
|
1352
1353
|
has_delivered: boolean;
|
|
1353
1354
|
started_rendering_at_millis: number;
|
|
1354
1355
|
rendered_at_millis: number;
|
|
1355
|
-
subject: string;
|
|
1356
1356
|
is_transactional: boolean;
|
|
1357
1357
|
is_high_priority: boolean;
|
|
1358
1358
|
notification_category_id: string | null;
|
|
@@ -1361,24 +1361,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1361
1361
|
can_have_delivery_info: boolean;
|
|
1362
1362
|
clicked_at_millis: number;
|
|
1363
1363
|
} | {
|
|
1364
|
-
|
|
1365
|
-
text: string | null;
|
|
1364
|
+
status: "marked-as-spam";
|
|
1366
1365
|
id: string;
|
|
1366
|
+
subject: string;
|
|
1367
1367
|
created_at_millis: number;
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
theme_id: string | null;
|
|
1368
|
+
html: string | null;
|
|
1369
|
+
text: string | null;
|
|
1371
1370
|
to: {
|
|
1372
|
-
type: "user-primary-email";
|
|
1373
1371
|
user_id: string;
|
|
1372
|
+
type: "user-primary-email";
|
|
1374
1373
|
} | {
|
|
1375
|
-
emails: string[];
|
|
1376
|
-
type: "user-custom-emails";
|
|
1377
1374
|
user_id: string;
|
|
1378
|
-
|
|
1375
|
+
type: "user-custom-emails";
|
|
1379
1376
|
emails: string[];
|
|
1377
|
+
} | {
|
|
1380
1378
|
type: "custom-emails";
|
|
1379
|
+
emails: string[];
|
|
1381
1380
|
};
|
|
1381
|
+
updated_at_millis: number;
|
|
1382
|
+
tsx_source: string;
|
|
1383
|
+
theme_id: string | null;
|
|
1382
1384
|
variables: Record<string, {} | null>;
|
|
1383
1385
|
skip_deliverability_check: boolean;
|
|
1384
1386
|
scheduled_at_millis: number;
|
|
@@ -1395,14 +1397,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1395
1397
|
internal_message: string;
|
|
1396
1398
|
internal_details: Record<string, {} | null>;
|
|
1397
1399
|
}[] | null;
|
|
1398
|
-
status: "marked-as-spam";
|
|
1399
1400
|
simple_status: "ok";
|
|
1400
1401
|
is_paused: boolean;
|
|
1401
1402
|
has_rendered: boolean;
|
|
1402
1403
|
has_delivered: boolean;
|
|
1403
1404
|
started_rendering_at_millis: number;
|
|
1404
1405
|
rendered_at_millis: number;
|
|
1405
|
-
subject: string;
|
|
1406
1406
|
is_transactional: boolean;
|
|
1407
1407
|
is_high_priority: boolean;
|
|
1408
1408
|
notification_category_id: string | null;
|
|
@@ -1415,15 +1415,15 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1415
1415
|
tsx_source: string | undefined;
|
|
1416
1416
|
theme_id: string | null | undefined;
|
|
1417
1417
|
to: {
|
|
1418
|
-
type: "user-primary-email";
|
|
1419
1418
|
user_id: string;
|
|
1419
|
+
type: "user-primary-email";
|
|
1420
1420
|
} | {
|
|
1421
|
-
emails: string[];
|
|
1422
|
-
type: "user-custom-emails";
|
|
1423
1421
|
user_id: string;
|
|
1424
|
-
|
|
1422
|
+
type: "user-custom-emails";
|
|
1425
1423
|
emails: string[];
|
|
1424
|
+
} | {
|
|
1426
1425
|
type: "custom-emails";
|
|
1426
|
+
emails: string[];
|
|
1427
1427
|
} | undefined;
|
|
1428
1428
|
variables: Record<string, {} | null> | undefined;
|
|
1429
1429
|
skip_deliverability_check: boolean | undefined;
|
|
@@ -1461,4 +1461,4 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1461
1461
|
type EmailOutboxCrud = CrudTypeOf<typeof emailOutboxCrud>;
|
|
1462
1462
|
//#endregion
|
|
1463
1463
|
export { emailOutboxUpdateSchema as i, emailOutboxCrud as n, emailOutboxReadSchema as r, EmailOutboxCrud as t };
|
|
1464
|
-
//# sourceMappingURL=email-outbox-
|
|
1464
|
+
//# sourceMappingURL=email-outbox-CqzwInBL.d.ts.map
|