@hexclave/shared 1.0.61 → 1.0.63
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-B9TRKVnU.d.ts} +94 -12
- package/dist/admin-interface-B9TRKVnU.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-CYmVerum.d.ts} +225 -225
- package/dist/{email-outbox-BRZiK0ZG.d.ts.map → email-outbox-CYmVerum.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 +224 -224
- 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,21 +2,22 @@ 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
8
|
updated_at_millis: number;
|
|
8
9
|
tsx_source: string;
|
|
9
10
|
theme_id: string | null;
|
|
10
11
|
to: {
|
|
11
|
-
type: "user-primary-email";
|
|
12
12
|
user_id: string;
|
|
13
|
+
type: "user-primary-email";
|
|
13
14
|
} | {
|
|
14
|
-
emails: string[];
|
|
15
|
-
type: "user-custom-emails";
|
|
16
15
|
user_id: string;
|
|
17
|
-
|
|
16
|
+
type: "user-custom-emails";
|
|
18
17
|
emails: string[];
|
|
18
|
+
} | {
|
|
19
19
|
type: "custom-emails";
|
|
20
|
+
emails: string[];
|
|
20
21
|
};
|
|
21
22
|
variables: Record<string, {} | null>;
|
|
22
23
|
skip_deliverability_check: boolean;
|
|
@@ -34,27 +35,27 @@ 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
46
|
updated_at_millis: number;
|
|
46
47
|
tsx_source: string;
|
|
47
48
|
theme_id: string | null;
|
|
48
49
|
to: {
|
|
49
|
-
type: "user-primary-email";
|
|
50
50
|
user_id: string;
|
|
51
|
+
type: "user-primary-email";
|
|
51
52
|
} | {
|
|
52
|
-
emails: string[];
|
|
53
|
-
type: "user-custom-emails";
|
|
54
53
|
user_id: string;
|
|
55
|
-
|
|
54
|
+
type: "user-custom-emails";
|
|
56
55
|
emails: string[];
|
|
56
|
+
} | {
|
|
57
57
|
type: "custom-emails";
|
|
58
|
+
emails: string[];
|
|
58
59
|
};
|
|
59
60
|
variables: Record<string, {} | null>;
|
|
60
61
|
skip_deliverability_check: boolean;
|
|
@@ -72,27 +73,27 @@ 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
84
|
updated_at_millis: number;
|
|
84
85
|
tsx_source: string;
|
|
85
86
|
theme_id: string | null;
|
|
86
87
|
to: {
|
|
87
|
-
type: "user-primary-email";
|
|
88
88
|
user_id: string;
|
|
89
|
+
type: "user-primary-email";
|
|
89
90
|
} | {
|
|
90
|
-
emails: string[];
|
|
91
|
-
type: "user-custom-emails";
|
|
92
91
|
user_id: string;
|
|
93
|
-
|
|
92
|
+
type: "user-custom-emails";
|
|
94
93
|
emails: string[];
|
|
94
|
+
} | {
|
|
95
95
|
type: "custom-emails";
|
|
96
|
+
emails: string[];
|
|
96
97
|
};
|
|
97
98
|
variables: Record<string, {} | null>;
|
|
98
99
|
skip_deliverability_check: boolean;
|
|
@@ -110,28 +111,28 @@ 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
123
|
updated_at_millis: number;
|
|
123
124
|
tsx_source: string;
|
|
124
125
|
theme_id: string | null;
|
|
125
126
|
to: {
|
|
126
|
-
type: "user-primary-email";
|
|
127
127
|
user_id: string;
|
|
128
|
+
type: "user-primary-email";
|
|
128
129
|
} | {
|
|
129
|
-
emails: string[];
|
|
130
|
-
type: "user-custom-emails";
|
|
131
130
|
user_id: string;
|
|
132
|
-
|
|
131
|
+
type: "user-custom-emails";
|
|
133
132
|
emails: string[];
|
|
133
|
+
} | {
|
|
134
134
|
type: "custom-emails";
|
|
135
|
+
emails: string[];
|
|
135
136
|
};
|
|
136
137
|
variables: Record<string, {} | null>;
|
|
137
138
|
skip_deliverability_check: boolean;
|
|
@@ -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,23 +158,23 @@ 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
165
|
updated_at_millis: number;
|
|
166
166
|
tsx_source: string;
|
|
167
167
|
theme_id: string | null;
|
|
168
168
|
to: {
|
|
169
|
-
type: "user-primary-email";
|
|
170
169
|
user_id: string;
|
|
170
|
+
type: "user-primary-email";
|
|
171
171
|
} | {
|
|
172
|
-
emails: string[];
|
|
173
|
-
type: "user-custom-emails";
|
|
174
172
|
user_id: string;
|
|
175
|
-
|
|
173
|
+
type: "user-custom-emails";
|
|
176
174
|
emails: string[];
|
|
175
|
+
} | {
|
|
177
176
|
type: "custom-emails";
|
|
177
|
+
emails: string[];
|
|
178
178
|
};
|
|
179
179
|
variables: Record<string, {} | null>;
|
|
180
180
|
skip_deliverability_check: boolean;
|
|
@@ -192,35 +192,35 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
192
192
|
internal_message: string;
|
|
193
193
|
internal_details: Record<string, {} | null>;
|
|
194
194
|
}[] | null;
|
|
195
|
-
status: "scheduled";
|
|
196
195
|
simple_status: "in-progress";
|
|
197
196
|
is_paused: boolean;
|
|
198
197
|
has_rendered: boolean;
|
|
199
198
|
has_delivered: boolean;
|
|
200
199
|
started_rendering_at_millis: number;
|
|
201
200
|
rendered_at_millis: number;
|
|
202
|
-
|
|
201
|
+
html: string | null;
|
|
202
|
+
text: string | null;
|
|
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
211
|
updated_at_millis: number;
|
|
212
212
|
tsx_source: string;
|
|
213
213
|
theme_id: string | null;
|
|
214
214
|
to: {
|
|
215
|
-
type: "user-primary-email";
|
|
216
215
|
user_id: string;
|
|
216
|
+
type: "user-primary-email";
|
|
217
217
|
} | {
|
|
218
|
-
emails: string[];
|
|
219
|
-
type: "user-custom-emails";
|
|
220
218
|
user_id: string;
|
|
221
|
-
|
|
219
|
+
type: "user-custom-emails";
|
|
222
220
|
emails: string[];
|
|
221
|
+
} | {
|
|
223
222
|
type: "custom-emails";
|
|
223
|
+
emails: string[];
|
|
224
224
|
};
|
|
225
225
|
variables: Record<string, {} | null>;
|
|
226
226
|
skip_deliverability_check: boolean;
|
|
@@ -238,35 +238,35 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
238
238
|
internal_message: string;
|
|
239
239
|
internal_details: Record<string, {} | null>;
|
|
240
240
|
}[] | null;
|
|
241
|
-
status: "queued";
|
|
242
241
|
simple_status: "in-progress";
|
|
243
242
|
is_paused: boolean;
|
|
244
243
|
has_rendered: boolean;
|
|
245
244
|
has_delivered: boolean;
|
|
246
245
|
started_rendering_at_millis: number;
|
|
247
246
|
rendered_at_millis: number;
|
|
248
|
-
|
|
247
|
+
html: string | null;
|
|
248
|
+
text: string | null;
|
|
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
257
|
updated_at_millis: number;
|
|
258
258
|
tsx_source: string;
|
|
259
259
|
theme_id: string | null;
|
|
260
260
|
to: {
|
|
261
|
-
type: "user-primary-email";
|
|
262
261
|
user_id: string;
|
|
262
|
+
type: "user-primary-email";
|
|
263
263
|
} | {
|
|
264
|
-
emails: string[];
|
|
265
|
-
type: "user-custom-emails";
|
|
266
264
|
user_id: string;
|
|
267
|
-
|
|
265
|
+
type: "user-custom-emails";
|
|
268
266
|
emails: string[];
|
|
267
|
+
} | {
|
|
269
268
|
type: "custom-emails";
|
|
269
|
+
emails: string[];
|
|
270
270
|
};
|
|
271
271
|
variables: Record<string, {} | null>;
|
|
272
272
|
skip_deliverability_check: boolean;
|
|
@@ -284,36 +284,36 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
284
284
|
internal_message: string;
|
|
285
285
|
internal_details: Record<string, {} | null>;
|
|
286
286
|
}[] | null;
|
|
287
|
-
status: "sending";
|
|
288
287
|
simple_status: "in-progress";
|
|
289
288
|
is_paused: boolean;
|
|
290
289
|
has_rendered: boolean;
|
|
291
290
|
has_delivered: boolean;
|
|
292
291
|
started_rendering_at_millis: number;
|
|
293
292
|
rendered_at_millis: number;
|
|
294
|
-
|
|
293
|
+
html: string | null;
|
|
294
|
+
text: string | null;
|
|
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
304
|
updated_at_millis: number;
|
|
305
305
|
tsx_source: string;
|
|
306
306
|
theme_id: string | null;
|
|
307
307
|
to: {
|
|
308
|
-
type: "user-primary-email";
|
|
309
308
|
user_id: string;
|
|
309
|
+
type: "user-primary-email";
|
|
310
310
|
} | {
|
|
311
|
-
emails: string[];
|
|
312
|
-
type: "user-custom-emails";
|
|
313
311
|
user_id: string;
|
|
314
|
-
|
|
312
|
+
type: "user-custom-emails";
|
|
315
313
|
emails: string[];
|
|
314
|
+
} | {
|
|
316
315
|
type: "custom-emails";
|
|
316
|
+
emails: string[];
|
|
317
317
|
};
|
|
318
318
|
variables: Record<string, {} | null>;
|
|
319
319
|
skip_deliverability_check: boolean;
|
|
@@ -331,14 +331,14 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
331
331
|
internal_message: string;
|
|
332
332
|
internal_details: Record<string, {} | null>;
|
|
333
333
|
}[] | null;
|
|
334
|
-
status: "server-error";
|
|
335
334
|
simple_status: "error";
|
|
336
335
|
is_paused: boolean;
|
|
337
336
|
has_rendered: boolean;
|
|
338
337
|
has_delivered: boolean;
|
|
339
338
|
started_rendering_at_millis: number;
|
|
340
339
|
rendered_at_millis: number;
|
|
341
|
-
|
|
340
|
+
html: string | null;
|
|
341
|
+
text: string | null;
|
|
342
342
|
is_transactional: boolean;
|
|
343
343
|
is_high_priority: boolean;
|
|
344
344
|
notification_category_id: string | null;
|
|
@@ -346,30 +346,31 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
346
346
|
error_at_millis: number;
|
|
347
347
|
server_error: string;
|
|
348
348
|
} | {
|
|
349
|
-
|
|
350
|
-
text?: string | null | undefined;
|
|
349
|
+
subject?: string | undefined;
|
|
351
350
|
started_rendering_at_millis?: number | undefined;
|
|
352
351
|
rendered_at_millis?: number | undefined;
|
|
353
|
-
|
|
352
|
+
html?: string | null | undefined;
|
|
353
|
+
text?: string | null | 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
361
|
updated_at_millis: number;
|
|
361
362
|
tsx_source: string;
|
|
362
363
|
theme_id: string | null;
|
|
363
364
|
to: {
|
|
364
|
-
type: "user-primary-email";
|
|
365
365
|
user_id: string;
|
|
366
|
+
type: "user-primary-email";
|
|
366
367
|
} | {
|
|
367
|
-
emails: string[];
|
|
368
|
-
type: "user-custom-emails";
|
|
369
368
|
user_id: string;
|
|
370
|
-
|
|
369
|
+
type: "user-custom-emails";
|
|
371
370
|
emails: string[];
|
|
371
|
+
} | {
|
|
372
372
|
type: "custom-emails";
|
|
373
|
+
emails: string[];
|
|
373
374
|
};
|
|
374
375
|
variables: Record<string, {} | null>;
|
|
375
376
|
skip_deliverability_check: boolean;
|
|
@@ -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,23 +396,23 @@ 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
403
|
updated_at_millis: number;
|
|
404
404
|
tsx_source: string;
|
|
405
405
|
theme_id: string | null;
|
|
406
406
|
to: {
|
|
407
|
-
type: "user-primary-email";
|
|
408
407
|
user_id: string;
|
|
408
|
+
type: "user-primary-email";
|
|
409
409
|
} | {
|
|
410
|
-
emails: string[];
|
|
411
|
-
type: "user-custom-emails";
|
|
412
410
|
user_id: string;
|
|
413
|
-
|
|
411
|
+
type: "user-custom-emails";
|
|
414
412
|
emails: string[];
|
|
413
|
+
} | {
|
|
415
414
|
type: "custom-emails";
|
|
415
|
+
emails: string[];
|
|
416
416
|
};
|
|
417
417
|
variables: Record<string, {} | null>;
|
|
418
418
|
skip_deliverability_check: boolean;
|
|
@@ -430,37 +430,37 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
430
430
|
internal_message: string;
|
|
431
431
|
internal_details: Record<string, {} | null>;
|
|
432
432
|
}[] | null;
|
|
433
|
-
status: "bounced";
|
|
434
433
|
simple_status: "error";
|
|
435
434
|
is_paused: boolean;
|
|
436
435
|
has_rendered: boolean;
|
|
437
436
|
has_delivered: boolean;
|
|
438
437
|
started_rendering_at_millis: number;
|
|
439
438
|
rendered_at_millis: number;
|
|
440
|
-
|
|
439
|
+
html: string | null;
|
|
440
|
+
text: string | null;
|
|
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
451
|
updated_at_millis: number;
|
|
452
452
|
tsx_source: string;
|
|
453
453
|
theme_id: string | null;
|
|
454
454
|
to: {
|
|
455
|
-
type: "user-primary-email";
|
|
456
455
|
user_id: string;
|
|
456
|
+
type: "user-primary-email";
|
|
457
457
|
} | {
|
|
458
|
-
emails: string[];
|
|
459
|
-
type: "user-custom-emails";
|
|
460
458
|
user_id: string;
|
|
461
|
-
|
|
459
|
+
type: "user-custom-emails";
|
|
462
460
|
emails: string[];
|
|
461
|
+
} | {
|
|
463
462
|
type: "custom-emails";
|
|
463
|
+
emails: string[];
|
|
464
464
|
};
|
|
465
465
|
variables: Record<string, {} | null>;
|
|
466
466
|
skip_deliverability_check: boolean;
|
|
@@ -478,37 +478,37 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
478
478
|
internal_message: string;
|
|
479
479
|
internal_details: Record<string, {} | null>;
|
|
480
480
|
}[] | null;
|
|
481
|
-
status: "delivery-delayed";
|
|
482
481
|
simple_status: "ok";
|
|
483
482
|
is_paused: boolean;
|
|
484
483
|
has_rendered: boolean;
|
|
485
484
|
has_delivered: boolean;
|
|
486
485
|
started_rendering_at_millis: number;
|
|
487
486
|
rendered_at_millis: number;
|
|
488
|
-
|
|
487
|
+
html: string | null;
|
|
488
|
+
text: string | null;
|
|
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
499
|
updated_at_millis: number;
|
|
500
500
|
tsx_source: string;
|
|
501
501
|
theme_id: string | null;
|
|
502
502
|
to: {
|
|
503
|
-
type: "user-primary-email";
|
|
504
503
|
user_id: string;
|
|
504
|
+
type: "user-primary-email";
|
|
505
505
|
} | {
|
|
506
|
-
emails: string[];
|
|
507
|
-
type: "user-custom-emails";
|
|
508
506
|
user_id: string;
|
|
509
|
-
|
|
507
|
+
type: "user-custom-emails";
|
|
510
508
|
emails: string[];
|
|
509
|
+
} | {
|
|
511
510
|
type: "custom-emails";
|
|
511
|
+
emails: string[];
|
|
512
512
|
};
|
|
513
513
|
variables: Record<string, {} | null>;
|
|
514
514
|
skip_deliverability_check: boolean;
|
|
@@ -526,14 +526,14 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
526
526
|
internal_message: string;
|
|
527
527
|
internal_details: Record<string, {} | null>;
|
|
528
528
|
}[] | null;
|
|
529
|
-
status: "sent";
|
|
530
529
|
simple_status: "ok";
|
|
531
530
|
is_paused: boolean;
|
|
532
531
|
has_rendered: boolean;
|
|
533
532
|
has_delivered: boolean;
|
|
534
533
|
started_rendering_at_millis: number;
|
|
535
534
|
rendered_at_millis: number;
|
|
536
|
-
|
|
535
|
+
html: string | null;
|
|
536
|
+
text: string | null;
|
|
537
537
|
is_transactional: boolean;
|
|
538
538
|
is_high_priority: boolean;
|
|
539
539
|
notification_category_id: string | null;
|
|
@@ -541,23 +541,23 @@ 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
548
|
updated_at_millis: number;
|
|
549
549
|
tsx_source: string;
|
|
550
550
|
theme_id: string | null;
|
|
551
551
|
to: {
|
|
552
|
-
type: "user-primary-email";
|
|
553
552
|
user_id: string;
|
|
553
|
+
type: "user-primary-email";
|
|
554
554
|
} | {
|
|
555
|
-
emails: string[];
|
|
556
|
-
type: "user-custom-emails";
|
|
557
555
|
user_id: string;
|
|
558
|
-
|
|
556
|
+
type: "user-custom-emails";
|
|
559
557
|
emails: string[];
|
|
558
|
+
} | {
|
|
560
559
|
type: "custom-emails";
|
|
560
|
+
emails: string[];
|
|
561
561
|
};
|
|
562
562
|
variables: Record<string, {} | null>;
|
|
563
563
|
skip_deliverability_check: boolean;
|
|
@@ -575,14 +575,14 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
575
575
|
internal_message: string;
|
|
576
576
|
internal_details: Record<string, {} | null>;
|
|
577
577
|
}[] | null;
|
|
578
|
-
status: "opened";
|
|
579
578
|
simple_status: "ok";
|
|
580
579
|
is_paused: boolean;
|
|
581
580
|
has_rendered: boolean;
|
|
582
581
|
has_delivered: boolean;
|
|
583
582
|
started_rendering_at_millis: number;
|
|
584
583
|
rendered_at_millis: number;
|
|
585
|
-
|
|
584
|
+
html: string | null;
|
|
585
|
+
text: string | null;
|
|
586
586
|
is_transactional: boolean;
|
|
587
587
|
is_high_priority: boolean;
|
|
588
588
|
notification_category_id: string | null;
|
|
@@ -591,23 +591,23 @@ 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
598
|
updated_at_millis: number;
|
|
599
599
|
tsx_source: string;
|
|
600
600
|
theme_id: string | null;
|
|
601
601
|
to: {
|
|
602
|
-
type: "user-primary-email";
|
|
603
602
|
user_id: string;
|
|
603
|
+
type: "user-primary-email";
|
|
604
604
|
} | {
|
|
605
|
-
emails: string[];
|
|
606
|
-
type: "user-custom-emails";
|
|
607
605
|
user_id: string;
|
|
608
|
-
|
|
606
|
+
type: "user-custom-emails";
|
|
609
607
|
emails: string[];
|
|
608
|
+
} | {
|
|
610
609
|
type: "custom-emails";
|
|
610
|
+
emails: string[];
|
|
611
611
|
};
|
|
612
612
|
variables: Record<string, {} | null>;
|
|
613
613
|
skip_deliverability_check: boolean;
|
|
@@ -625,14 +625,14 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
625
625
|
internal_message: string;
|
|
626
626
|
internal_details: Record<string, {} | null>;
|
|
627
627
|
}[] | null;
|
|
628
|
-
status: "clicked";
|
|
629
628
|
simple_status: "ok";
|
|
630
629
|
is_paused: boolean;
|
|
631
630
|
has_rendered: boolean;
|
|
632
631
|
has_delivered: boolean;
|
|
633
632
|
started_rendering_at_millis: number;
|
|
634
633
|
rendered_at_millis: number;
|
|
635
|
-
|
|
634
|
+
html: string | null;
|
|
635
|
+
text: string | null;
|
|
636
636
|
is_transactional: boolean;
|
|
637
637
|
is_high_priority: boolean;
|
|
638
638
|
notification_category_id: string | null;
|
|
@@ -641,23 +641,23 @@ 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
648
|
updated_at_millis: number;
|
|
649
649
|
tsx_source: string;
|
|
650
650
|
theme_id: string | null;
|
|
651
651
|
to: {
|
|
652
|
-
type: "user-primary-email";
|
|
653
652
|
user_id: string;
|
|
653
|
+
type: "user-primary-email";
|
|
654
654
|
} | {
|
|
655
|
-
emails: string[];
|
|
656
|
-
type: "user-custom-emails";
|
|
657
655
|
user_id: string;
|
|
658
|
-
|
|
656
|
+
type: "user-custom-emails";
|
|
659
657
|
emails: string[];
|
|
658
|
+
} | {
|
|
660
659
|
type: "custom-emails";
|
|
660
|
+
emails: string[];
|
|
661
661
|
};
|
|
662
662
|
variables: Record<string, {} | null>;
|
|
663
663
|
skip_deliverability_check: boolean;
|
|
@@ -675,14 +675,14 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
675
675
|
internal_message: string;
|
|
676
676
|
internal_details: Record<string, {} | null>;
|
|
677
677
|
}[] | null;
|
|
678
|
-
status: "marked-as-spam";
|
|
679
678
|
simple_status: "ok";
|
|
680
679
|
is_paused: boolean;
|
|
681
680
|
has_rendered: boolean;
|
|
682
681
|
has_delivered: boolean;
|
|
683
682
|
started_rendering_at_millis: number;
|
|
684
683
|
rendered_at_millis: number;
|
|
685
|
-
|
|
684
|
+
html: string | null;
|
|
685
|
+
text: string | null;
|
|
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,21 +722,22 @@ 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
728
|
updated_at_millis: number;
|
|
728
729
|
tsx_source: string;
|
|
729
730
|
theme_id: string | null;
|
|
730
731
|
to: {
|
|
731
|
-
type: "user-primary-email";
|
|
732
732
|
user_id: string;
|
|
733
|
+
type: "user-primary-email";
|
|
733
734
|
} | {
|
|
734
|
-
emails: string[];
|
|
735
|
-
type: "user-custom-emails";
|
|
736
735
|
user_id: string;
|
|
737
|
-
|
|
736
|
+
type: "user-custom-emails";
|
|
738
737
|
emails: string[];
|
|
738
|
+
} | {
|
|
739
739
|
type: "custom-emails";
|
|
740
|
+
emails: string[];
|
|
740
741
|
};
|
|
741
742
|
variables: Record<string, {} | null>;
|
|
742
743
|
skip_deliverability_check: boolean;
|
|
@@ -754,27 +755,27 @@ 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
766
|
updated_at_millis: number;
|
|
766
767
|
tsx_source: string;
|
|
767
768
|
theme_id: string | null;
|
|
768
769
|
to: {
|
|
769
|
-
type: "user-primary-email";
|
|
770
770
|
user_id: string;
|
|
771
|
+
type: "user-primary-email";
|
|
771
772
|
} | {
|
|
772
|
-
emails: string[];
|
|
773
|
-
type: "user-custom-emails";
|
|
774
773
|
user_id: string;
|
|
775
|
-
|
|
774
|
+
type: "user-custom-emails";
|
|
776
775
|
emails: string[];
|
|
776
|
+
} | {
|
|
777
777
|
type: "custom-emails";
|
|
778
|
+
emails: string[];
|
|
778
779
|
};
|
|
779
780
|
variables: Record<string, {} | null>;
|
|
780
781
|
skip_deliverability_check: boolean;
|
|
@@ -792,27 +793,27 @@ 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
804
|
updated_at_millis: number;
|
|
804
805
|
tsx_source: string;
|
|
805
806
|
theme_id: string | null;
|
|
806
807
|
to: {
|
|
807
|
-
type: "user-primary-email";
|
|
808
808
|
user_id: string;
|
|
809
|
+
type: "user-primary-email";
|
|
809
810
|
} | {
|
|
810
|
-
emails: string[];
|
|
811
|
-
type: "user-custom-emails";
|
|
812
811
|
user_id: string;
|
|
813
|
-
|
|
812
|
+
type: "user-custom-emails";
|
|
814
813
|
emails: string[];
|
|
814
|
+
} | {
|
|
815
815
|
type: "custom-emails";
|
|
816
|
+
emails: string[];
|
|
816
817
|
};
|
|
817
818
|
variables: Record<string, {} | null>;
|
|
818
819
|
skip_deliverability_check: boolean;
|
|
@@ -830,28 +831,28 @@ 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
|
updated_at_millis: number;
|
|
843
844
|
tsx_source: string;
|
|
844
845
|
theme_id: string | null;
|
|
845
846
|
to: {
|
|
846
|
-
type: "user-primary-email";
|
|
847
847
|
user_id: string;
|
|
848
|
+
type: "user-primary-email";
|
|
848
849
|
} | {
|
|
849
|
-
emails: string[];
|
|
850
|
-
type: "user-custom-emails";
|
|
851
850
|
user_id: string;
|
|
852
|
-
|
|
851
|
+
type: "user-custom-emails";
|
|
853
852
|
emails: string[];
|
|
853
|
+
} | {
|
|
854
854
|
type: "custom-emails";
|
|
855
|
+
emails: string[];
|
|
855
856
|
};
|
|
856
857
|
variables: Record<string, {} | null>;
|
|
857
858
|
skip_deliverability_check: boolean;
|
|
@@ -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,23 +878,23 @@ 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
885
|
updated_at_millis: number;
|
|
886
886
|
tsx_source: string;
|
|
887
887
|
theme_id: string | null;
|
|
888
888
|
to: {
|
|
889
|
-
type: "user-primary-email";
|
|
890
889
|
user_id: string;
|
|
890
|
+
type: "user-primary-email";
|
|
891
891
|
} | {
|
|
892
|
-
emails: string[];
|
|
893
|
-
type: "user-custom-emails";
|
|
894
892
|
user_id: string;
|
|
895
|
-
|
|
893
|
+
type: "user-custom-emails";
|
|
896
894
|
emails: string[];
|
|
895
|
+
} | {
|
|
897
896
|
type: "custom-emails";
|
|
897
|
+
emails: string[];
|
|
898
898
|
};
|
|
899
899
|
variables: Record<string, {} | null>;
|
|
900
900
|
skip_deliverability_check: boolean;
|
|
@@ -912,35 +912,35 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
912
912
|
internal_message: string;
|
|
913
913
|
internal_details: Record<string, {} | null>;
|
|
914
914
|
}[] | null;
|
|
915
|
-
status: "scheduled";
|
|
916
915
|
simple_status: "in-progress";
|
|
917
916
|
is_paused: boolean;
|
|
918
917
|
has_rendered: boolean;
|
|
919
918
|
has_delivered: boolean;
|
|
920
919
|
started_rendering_at_millis: number;
|
|
921
920
|
rendered_at_millis: number;
|
|
922
|
-
|
|
921
|
+
html: string | null;
|
|
922
|
+
text: string | null;
|
|
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
931
|
updated_at_millis: number;
|
|
932
932
|
tsx_source: string;
|
|
933
933
|
theme_id: string | null;
|
|
934
934
|
to: {
|
|
935
|
-
type: "user-primary-email";
|
|
936
935
|
user_id: string;
|
|
936
|
+
type: "user-primary-email";
|
|
937
937
|
} | {
|
|
938
|
-
emails: string[];
|
|
939
|
-
type: "user-custom-emails";
|
|
940
938
|
user_id: string;
|
|
941
|
-
|
|
939
|
+
type: "user-custom-emails";
|
|
942
940
|
emails: string[];
|
|
941
|
+
} | {
|
|
943
942
|
type: "custom-emails";
|
|
943
|
+
emails: string[];
|
|
944
944
|
};
|
|
945
945
|
variables: Record<string, {} | null>;
|
|
946
946
|
skip_deliverability_check: boolean;
|
|
@@ -958,35 +958,35 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
958
958
|
internal_message: string;
|
|
959
959
|
internal_details: Record<string, {} | null>;
|
|
960
960
|
}[] | null;
|
|
961
|
-
status: "queued";
|
|
962
961
|
simple_status: "in-progress";
|
|
963
962
|
is_paused: boolean;
|
|
964
963
|
has_rendered: boolean;
|
|
965
964
|
has_delivered: boolean;
|
|
966
965
|
started_rendering_at_millis: number;
|
|
967
966
|
rendered_at_millis: number;
|
|
968
|
-
|
|
967
|
+
html: string | null;
|
|
968
|
+
text: string | null;
|
|
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
977
|
updated_at_millis: number;
|
|
978
978
|
tsx_source: string;
|
|
979
979
|
theme_id: string | null;
|
|
980
980
|
to: {
|
|
981
|
-
type: "user-primary-email";
|
|
982
981
|
user_id: string;
|
|
982
|
+
type: "user-primary-email";
|
|
983
983
|
} | {
|
|
984
|
-
emails: string[];
|
|
985
|
-
type: "user-custom-emails";
|
|
986
984
|
user_id: string;
|
|
987
|
-
|
|
985
|
+
type: "user-custom-emails";
|
|
988
986
|
emails: string[];
|
|
987
|
+
} | {
|
|
989
988
|
type: "custom-emails";
|
|
989
|
+
emails: string[];
|
|
990
990
|
};
|
|
991
991
|
variables: Record<string, {} | null>;
|
|
992
992
|
skip_deliverability_check: boolean;
|
|
@@ -1004,36 +1004,36 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1004
1004
|
internal_message: string;
|
|
1005
1005
|
internal_details: Record<string, {} | null>;
|
|
1006
1006
|
}[] | null;
|
|
1007
|
-
status: "sending";
|
|
1008
1007
|
simple_status: "in-progress";
|
|
1009
1008
|
is_paused: boolean;
|
|
1010
1009
|
has_rendered: boolean;
|
|
1011
1010
|
has_delivered: boolean;
|
|
1012
1011
|
started_rendering_at_millis: number;
|
|
1013
1012
|
rendered_at_millis: number;
|
|
1014
|
-
|
|
1013
|
+
html: string | null;
|
|
1014
|
+
text: string | null;
|
|
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
1024
|
updated_at_millis: number;
|
|
1025
1025
|
tsx_source: string;
|
|
1026
1026
|
theme_id: string | null;
|
|
1027
1027
|
to: {
|
|
1028
|
-
type: "user-primary-email";
|
|
1029
1028
|
user_id: string;
|
|
1029
|
+
type: "user-primary-email";
|
|
1030
1030
|
} | {
|
|
1031
|
-
emails: string[];
|
|
1032
|
-
type: "user-custom-emails";
|
|
1033
1031
|
user_id: string;
|
|
1034
|
-
|
|
1032
|
+
type: "user-custom-emails";
|
|
1035
1033
|
emails: string[];
|
|
1034
|
+
} | {
|
|
1036
1035
|
type: "custom-emails";
|
|
1036
|
+
emails: string[];
|
|
1037
1037
|
};
|
|
1038
1038
|
variables: Record<string, {} | null>;
|
|
1039
1039
|
skip_deliverability_check: boolean;
|
|
@@ -1051,14 +1051,14 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1051
1051
|
internal_message: string;
|
|
1052
1052
|
internal_details: Record<string, {} | null>;
|
|
1053
1053
|
}[] | null;
|
|
1054
|
-
status: "server-error";
|
|
1055
1054
|
simple_status: "error";
|
|
1056
1055
|
is_paused: boolean;
|
|
1057
1056
|
has_rendered: boolean;
|
|
1058
1057
|
has_delivered: boolean;
|
|
1059
1058
|
started_rendering_at_millis: number;
|
|
1060
1059
|
rendered_at_millis: number;
|
|
1061
|
-
|
|
1060
|
+
html: string | null;
|
|
1061
|
+
text: string | null;
|
|
1062
1062
|
is_transactional: boolean;
|
|
1063
1063
|
is_high_priority: boolean;
|
|
1064
1064
|
notification_category_id: string | null;
|
|
@@ -1066,30 +1066,31 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1066
1066
|
error_at_millis: number;
|
|
1067
1067
|
server_error: string;
|
|
1068
1068
|
} | {
|
|
1069
|
-
|
|
1070
|
-
text?: string | null | undefined;
|
|
1069
|
+
subject?: string | undefined;
|
|
1071
1070
|
started_rendering_at_millis?: number | undefined;
|
|
1072
1071
|
rendered_at_millis?: number | undefined;
|
|
1073
|
-
|
|
1072
|
+
html?: string | null | undefined;
|
|
1073
|
+
text?: string | null | 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
1081
|
updated_at_millis: number;
|
|
1081
1082
|
tsx_source: string;
|
|
1082
1083
|
theme_id: string | null;
|
|
1083
1084
|
to: {
|
|
1084
|
-
type: "user-primary-email";
|
|
1085
1085
|
user_id: string;
|
|
1086
|
+
type: "user-primary-email";
|
|
1086
1087
|
} | {
|
|
1087
|
-
emails: string[];
|
|
1088
|
-
type: "user-custom-emails";
|
|
1089
1088
|
user_id: string;
|
|
1090
|
-
|
|
1089
|
+
type: "user-custom-emails";
|
|
1091
1090
|
emails: string[];
|
|
1091
|
+
} | {
|
|
1092
1092
|
type: "custom-emails";
|
|
1093
|
+
emails: string[];
|
|
1093
1094
|
};
|
|
1094
1095
|
variables: Record<string, {} | null>;
|
|
1095
1096
|
skip_deliverability_check: boolean;
|
|
@@ -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,23 +1116,23 @@ 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
1123
|
updated_at_millis: number;
|
|
1124
1124
|
tsx_source: string;
|
|
1125
1125
|
theme_id: string | null;
|
|
1126
1126
|
to: {
|
|
1127
|
-
type: "user-primary-email";
|
|
1128
1127
|
user_id: string;
|
|
1128
|
+
type: "user-primary-email";
|
|
1129
1129
|
} | {
|
|
1130
|
-
emails: string[];
|
|
1131
|
-
type: "user-custom-emails";
|
|
1132
1130
|
user_id: string;
|
|
1133
|
-
|
|
1131
|
+
type: "user-custom-emails";
|
|
1134
1132
|
emails: string[];
|
|
1133
|
+
} | {
|
|
1135
1134
|
type: "custom-emails";
|
|
1135
|
+
emails: string[];
|
|
1136
1136
|
};
|
|
1137
1137
|
variables: Record<string, {} | null>;
|
|
1138
1138
|
skip_deliverability_check: boolean;
|
|
@@ -1150,37 +1150,37 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1150
1150
|
internal_message: string;
|
|
1151
1151
|
internal_details: Record<string, {} | null>;
|
|
1152
1152
|
}[] | null;
|
|
1153
|
-
status: "bounced";
|
|
1154
1153
|
simple_status: "error";
|
|
1155
1154
|
is_paused: boolean;
|
|
1156
1155
|
has_rendered: boolean;
|
|
1157
1156
|
has_delivered: boolean;
|
|
1158
1157
|
started_rendering_at_millis: number;
|
|
1159
1158
|
rendered_at_millis: number;
|
|
1160
|
-
|
|
1159
|
+
html: string | null;
|
|
1160
|
+
text: string | null;
|
|
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
1171
|
updated_at_millis: number;
|
|
1172
1172
|
tsx_source: string;
|
|
1173
1173
|
theme_id: string | null;
|
|
1174
1174
|
to: {
|
|
1175
|
-
type: "user-primary-email";
|
|
1176
1175
|
user_id: string;
|
|
1176
|
+
type: "user-primary-email";
|
|
1177
1177
|
} | {
|
|
1178
|
-
emails: string[];
|
|
1179
|
-
type: "user-custom-emails";
|
|
1180
1178
|
user_id: string;
|
|
1181
|
-
|
|
1179
|
+
type: "user-custom-emails";
|
|
1182
1180
|
emails: string[];
|
|
1181
|
+
} | {
|
|
1183
1182
|
type: "custom-emails";
|
|
1183
|
+
emails: string[];
|
|
1184
1184
|
};
|
|
1185
1185
|
variables: Record<string, {} | null>;
|
|
1186
1186
|
skip_deliverability_check: boolean;
|
|
@@ -1198,37 +1198,37 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1198
1198
|
internal_message: string;
|
|
1199
1199
|
internal_details: Record<string, {} | null>;
|
|
1200
1200
|
}[] | null;
|
|
1201
|
-
status: "delivery-delayed";
|
|
1202
1201
|
simple_status: "ok";
|
|
1203
1202
|
is_paused: boolean;
|
|
1204
1203
|
has_rendered: boolean;
|
|
1205
1204
|
has_delivered: boolean;
|
|
1206
1205
|
started_rendering_at_millis: number;
|
|
1207
1206
|
rendered_at_millis: number;
|
|
1208
|
-
|
|
1207
|
+
html: string | null;
|
|
1208
|
+
text: string | null;
|
|
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
1219
|
updated_at_millis: number;
|
|
1220
1220
|
tsx_source: string;
|
|
1221
1221
|
theme_id: string | null;
|
|
1222
1222
|
to: {
|
|
1223
|
-
type: "user-primary-email";
|
|
1224
1223
|
user_id: string;
|
|
1224
|
+
type: "user-primary-email";
|
|
1225
1225
|
} | {
|
|
1226
|
-
emails: string[];
|
|
1227
|
-
type: "user-custom-emails";
|
|
1228
1226
|
user_id: string;
|
|
1229
|
-
|
|
1227
|
+
type: "user-custom-emails";
|
|
1230
1228
|
emails: string[];
|
|
1229
|
+
} | {
|
|
1231
1230
|
type: "custom-emails";
|
|
1231
|
+
emails: string[];
|
|
1232
1232
|
};
|
|
1233
1233
|
variables: Record<string, {} | null>;
|
|
1234
1234
|
skip_deliverability_check: boolean;
|
|
@@ -1246,14 +1246,14 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1246
1246
|
internal_message: string;
|
|
1247
1247
|
internal_details: Record<string, {} | null>;
|
|
1248
1248
|
}[] | null;
|
|
1249
|
-
status: "sent";
|
|
1250
1249
|
simple_status: "ok";
|
|
1251
1250
|
is_paused: boolean;
|
|
1252
1251
|
has_rendered: boolean;
|
|
1253
1252
|
has_delivered: boolean;
|
|
1254
1253
|
started_rendering_at_millis: number;
|
|
1255
1254
|
rendered_at_millis: number;
|
|
1256
|
-
|
|
1255
|
+
html: string | null;
|
|
1256
|
+
text: string | null;
|
|
1257
1257
|
is_transactional: boolean;
|
|
1258
1258
|
is_high_priority: boolean;
|
|
1259
1259
|
notification_category_id: string | null;
|
|
@@ -1261,23 +1261,23 @@ 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
1268
|
updated_at_millis: number;
|
|
1269
1269
|
tsx_source: string;
|
|
1270
1270
|
theme_id: string | null;
|
|
1271
1271
|
to: {
|
|
1272
|
-
type: "user-primary-email";
|
|
1273
1272
|
user_id: string;
|
|
1273
|
+
type: "user-primary-email";
|
|
1274
1274
|
} | {
|
|
1275
|
-
emails: string[];
|
|
1276
|
-
type: "user-custom-emails";
|
|
1277
1275
|
user_id: string;
|
|
1278
|
-
|
|
1276
|
+
type: "user-custom-emails";
|
|
1279
1277
|
emails: string[];
|
|
1278
|
+
} | {
|
|
1280
1279
|
type: "custom-emails";
|
|
1280
|
+
emails: string[];
|
|
1281
1281
|
};
|
|
1282
1282
|
variables: Record<string, {} | null>;
|
|
1283
1283
|
skip_deliverability_check: boolean;
|
|
@@ -1295,14 +1295,14 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1295
1295
|
internal_message: string;
|
|
1296
1296
|
internal_details: Record<string, {} | null>;
|
|
1297
1297
|
}[] | null;
|
|
1298
|
-
status: "opened";
|
|
1299
1298
|
simple_status: "ok";
|
|
1300
1299
|
is_paused: boolean;
|
|
1301
1300
|
has_rendered: boolean;
|
|
1302
1301
|
has_delivered: boolean;
|
|
1303
1302
|
started_rendering_at_millis: number;
|
|
1304
1303
|
rendered_at_millis: number;
|
|
1305
|
-
|
|
1304
|
+
html: string | null;
|
|
1305
|
+
text: string | null;
|
|
1306
1306
|
is_transactional: boolean;
|
|
1307
1307
|
is_high_priority: boolean;
|
|
1308
1308
|
notification_category_id: string | null;
|
|
@@ -1311,23 +1311,23 @@ 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
1318
|
updated_at_millis: number;
|
|
1319
1319
|
tsx_source: string;
|
|
1320
1320
|
theme_id: string | null;
|
|
1321
1321
|
to: {
|
|
1322
|
-
type: "user-primary-email";
|
|
1323
1322
|
user_id: string;
|
|
1323
|
+
type: "user-primary-email";
|
|
1324
1324
|
} | {
|
|
1325
|
-
emails: string[];
|
|
1326
|
-
type: "user-custom-emails";
|
|
1327
1325
|
user_id: string;
|
|
1328
|
-
|
|
1326
|
+
type: "user-custom-emails";
|
|
1329
1327
|
emails: string[];
|
|
1328
|
+
} | {
|
|
1330
1329
|
type: "custom-emails";
|
|
1330
|
+
emails: string[];
|
|
1331
1331
|
};
|
|
1332
1332
|
variables: Record<string, {} | null>;
|
|
1333
1333
|
skip_deliverability_check: boolean;
|
|
@@ -1345,14 +1345,14 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1345
1345
|
internal_message: string;
|
|
1346
1346
|
internal_details: Record<string, {} | null>;
|
|
1347
1347
|
}[] | null;
|
|
1348
|
-
status: "clicked";
|
|
1349
1348
|
simple_status: "ok";
|
|
1350
1349
|
is_paused: boolean;
|
|
1351
1350
|
has_rendered: boolean;
|
|
1352
1351
|
has_delivered: boolean;
|
|
1353
1352
|
started_rendering_at_millis: number;
|
|
1354
1353
|
rendered_at_millis: number;
|
|
1355
|
-
|
|
1354
|
+
html: string | null;
|
|
1355
|
+
text: string | null;
|
|
1356
1356
|
is_transactional: boolean;
|
|
1357
1357
|
is_high_priority: boolean;
|
|
1358
1358
|
notification_category_id: string | null;
|
|
@@ -1361,23 +1361,23 @@ 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
1368
|
updated_at_millis: number;
|
|
1369
1369
|
tsx_source: string;
|
|
1370
1370
|
theme_id: string | null;
|
|
1371
1371
|
to: {
|
|
1372
|
-
type: "user-primary-email";
|
|
1373
1372
|
user_id: string;
|
|
1373
|
+
type: "user-primary-email";
|
|
1374
1374
|
} | {
|
|
1375
|
-
emails: string[];
|
|
1376
|
-
type: "user-custom-emails";
|
|
1377
1375
|
user_id: string;
|
|
1378
|
-
|
|
1376
|
+
type: "user-custom-emails";
|
|
1379
1377
|
emails: string[];
|
|
1378
|
+
} | {
|
|
1380
1379
|
type: "custom-emails";
|
|
1380
|
+
emails: string[];
|
|
1381
1381
|
};
|
|
1382
1382
|
variables: Record<string, {} | null>;
|
|
1383
1383
|
skip_deliverability_check: boolean;
|
|
@@ -1395,14 +1395,14 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1395
1395
|
internal_message: string;
|
|
1396
1396
|
internal_details: Record<string, {} | null>;
|
|
1397
1397
|
}[] | null;
|
|
1398
|
-
status: "marked-as-spam";
|
|
1399
1398
|
simple_status: "ok";
|
|
1400
1399
|
is_paused: boolean;
|
|
1401
1400
|
has_rendered: boolean;
|
|
1402
1401
|
has_delivered: boolean;
|
|
1403
1402
|
started_rendering_at_millis: number;
|
|
1404
1403
|
rendered_at_millis: number;
|
|
1405
|
-
|
|
1404
|
+
html: string | null;
|
|
1405
|
+
text: string | null;
|
|
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-CYmVerum.d.ts.map
|