@hexclave/shared 1.0.65 → 1.0.66
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-DpRVOD-m.d.ts → admin-interface-CWBkUuzk.d.ts} +11 -11
- package/dist/{admin-interface-DpRVOD-m.d.ts.map → admin-interface-CWBkUuzk.d.ts.map} +1 -1
- 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/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-DuVu82ry.d.ts → client-interface-DCTCrVW8.d.ts} +10 -10
- package/dist/{client-interface-DuVu82ry.d.ts.map → client-interface-DCTCrVW8.d.ts.map} +1 -1
- package/dist/config/schema.d.ts +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-B1wmVPRG.d.ts} +221 -221
- package/dist/{email-outbox-BRZiK0ZG.d.ts.map → email-outbox-B1wmVPRG.d.ts.map} +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +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.d.ts +93 -93
- package/dist/esm/interface/admin-metrics.d.ts +14 -14
- package/dist/esm/interface/conversations.d.ts +16 -16
- package/dist/esm/interface/crud/current-user.d.ts +16 -16
- package/dist/esm/interface/crud/email-outbox.d.ts +220 -220
- package/dist/esm/interface/crud/invoices.d.ts +1 -1
- 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 +8 -8
- package/dist/esm/sessions.d.ts +8 -8
- 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 +2 -2
- package/dist/interface/admin-metrics.d.ts +1 -1
- package/dist/interface/client-interface.d.ts +1 -1
- package/dist/interface/conversations.d.ts +16 -16
- 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-U65KzAZX.d.ts} +2 -2
- package/dist/{invoices-BGLLnTlR.d.ts.map → invoices-U65KzAZX.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-3X-2xYMA.d.ts → schema-KigK8FiY.d.ts} +94 -94
- package/dist/{schema-3X-2xYMA.d.ts.map → schema-KigK8FiY.d.ts.map} +1 -1
- package/dist/{schema-fields-D_5cu_1S.d.ts → schema-fields-DZtDQEEO.d.ts} +9 -9
- package/dist/{schema-fields-D_5cu_1S.d.ts.map → schema-fields-DZtDQEEO.d.ts.map} +1 -1
- package/dist/schema-fields.d.ts +1 -1
- package/dist/{server-interface-D4qaM0LE.d.ts → server-interface-C2PILRLO.d.ts} +8 -8
- package/dist/{server-interface-D4qaM0LE.d.ts.map → server-interface-C2PILRLO.d.ts.map} +1 -1
- package/dist/{sessions-Cu_D5stb.d.ts → sessions-CI-0TBQb.d.ts} +10 -10
- package/dist/{sessions-Cu_D5stb.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/{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/apps/apps-config.ts +6 -0
- package/dist/transactions-7q13mxhG.d.ts.map +0 -1
|
@@ -2,21 +2,22 @@ import { CrudTypeOf } from "../../crud.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,25 @@ 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
|
+
html: string | null;
|
|
166
|
+
text: string | null;
|
|
165
167
|
updated_at_millis: number;
|
|
166
168
|
tsx_source: string;
|
|
167
169
|
theme_id: string | null;
|
|
168
170
|
to: {
|
|
169
|
-
type: "user-primary-email";
|
|
170
171
|
user_id: string;
|
|
172
|
+
type: "user-primary-email";
|
|
171
173
|
} | {
|
|
172
|
-
emails: string[];
|
|
173
|
-
type: "user-custom-emails";
|
|
174
174
|
user_id: string;
|
|
175
|
-
|
|
175
|
+
type: "user-custom-emails";
|
|
176
176
|
emails: string[];
|
|
177
|
+
} | {
|
|
177
178
|
type: "custom-emails";
|
|
179
|
+
emails: string[];
|
|
178
180
|
};
|
|
179
181
|
variables: Record<string, {} | null>;
|
|
180
182
|
skip_deliverability_check: boolean;
|
|
@@ -192,35 +194,35 @@ 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
|
+
html: string | null;
|
|
212
|
+
text: string | null;
|
|
211
213
|
updated_at_millis: number;
|
|
212
214
|
tsx_source: string;
|
|
213
215
|
theme_id: string | null;
|
|
214
216
|
to: {
|
|
215
|
-
type: "user-primary-email";
|
|
216
217
|
user_id: string;
|
|
218
|
+
type: "user-primary-email";
|
|
217
219
|
} | {
|
|
218
|
-
emails: string[];
|
|
219
|
-
type: "user-custom-emails";
|
|
220
220
|
user_id: string;
|
|
221
|
-
|
|
221
|
+
type: "user-custom-emails";
|
|
222
222
|
emails: string[];
|
|
223
|
+
} | {
|
|
223
224
|
type: "custom-emails";
|
|
225
|
+
emails: string[];
|
|
224
226
|
};
|
|
225
227
|
variables: Record<string, {} | null>;
|
|
226
228
|
skip_deliverability_check: boolean;
|
|
@@ -238,35 +240,35 @@ 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
|
+
html: string | null;
|
|
258
|
+
text: string | null;
|
|
257
259
|
updated_at_millis: number;
|
|
258
260
|
tsx_source: string;
|
|
259
261
|
theme_id: string | null;
|
|
260
262
|
to: {
|
|
261
|
-
type: "user-primary-email";
|
|
262
263
|
user_id: string;
|
|
264
|
+
type: "user-primary-email";
|
|
263
265
|
} | {
|
|
264
|
-
emails: string[];
|
|
265
|
-
type: "user-custom-emails";
|
|
266
266
|
user_id: string;
|
|
267
|
-
|
|
267
|
+
type: "user-custom-emails";
|
|
268
268
|
emails: string[];
|
|
269
|
+
} | {
|
|
269
270
|
type: "custom-emails";
|
|
271
|
+
emails: string[];
|
|
270
272
|
};
|
|
271
273
|
variables: Record<string, {} | null>;
|
|
272
274
|
skip_deliverability_check: boolean;
|
|
@@ -284,36 +286,36 @@ 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
|
+
html: string | null;
|
|
305
|
+
text: string | null;
|
|
304
306
|
updated_at_millis: number;
|
|
305
307
|
tsx_source: string;
|
|
306
308
|
theme_id: string | null;
|
|
307
309
|
to: {
|
|
308
|
-
type: "user-primary-email";
|
|
309
310
|
user_id: string;
|
|
311
|
+
type: "user-primary-email";
|
|
310
312
|
} | {
|
|
311
|
-
emails: string[];
|
|
312
|
-
type: "user-custom-emails";
|
|
313
313
|
user_id: string;
|
|
314
|
-
|
|
314
|
+
type: "user-custom-emails";
|
|
315
315
|
emails: string[];
|
|
316
|
+
} | {
|
|
316
317
|
type: "custom-emails";
|
|
318
|
+
emails: string[];
|
|
317
319
|
};
|
|
318
320
|
variables: Record<string, {} | null>;
|
|
319
321
|
skip_deliverability_check: boolean;
|
|
@@ -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,30 +346,31 @@ 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
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,25 @@ 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
|
+
html: string | null;
|
|
404
|
+
text: string | null;
|
|
403
405
|
updated_at_millis: number;
|
|
404
406
|
tsx_source: string;
|
|
405
407
|
theme_id: string | null;
|
|
406
408
|
to: {
|
|
407
|
-
type: "user-primary-email";
|
|
408
409
|
user_id: string;
|
|
410
|
+
type: "user-primary-email";
|
|
409
411
|
} | {
|
|
410
|
-
emails: string[];
|
|
411
|
-
type: "user-custom-emails";
|
|
412
412
|
user_id: string;
|
|
413
|
-
|
|
413
|
+
type: "user-custom-emails";
|
|
414
414
|
emails: string[];
|
|
415
|
+
} | {
|
|
415
416
|
type: "custom-emails";
|
|
417
|
+
emails: string[];
|
|
416
418
|
};
|
|
417
419
|
variables: Record<string, {} | null>;
|
|
418
420
|
skip_deliverability_check: boolean;
|
|
@@ -430,37 +432,37 @@ 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
|
+
html: string | null;
|
|
452
|
+
text: string | null;
|
|
451
453
|
updated_at_millis: number;
|
|
452
454
|
tsx_source: string;
|
|
453
455
|
theme_id: string | null;
|
|
454
456
|
to: {
|
|
455
|
-
type: "user-primary-email";
|
|
456
457
|
user_id: string;
|
|
458
|
+
type: "user-primary-email";
|
|
457
459
|
} | {
|
|
458
|
-
emails: string[];
|
|
459
|
-
type: "user-custom-emails";
|
|
460
460
|
user_id: string;
|
|
461
|
-
|
|
461
|
+
type: "user-custom-emails";
|
|
462
462
|
emails: string[];
|
|
463
|
+
} | {
|
|
463
464
|
type: "custom-emails";
|
|
465
|
+
emails: string[];
|
|
464
466
|
};
|
|
465
467
|
variables: Record<string, {} | null>;
|
|
466
468
|
skip_deliverability_check: boolean;
|
|
@@ -478,37 +480,37 @@ 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
|
+
html: string | null;
|
|
500
|
+
text: string | null;
|
|
499
501
|
updated_at_millis: number;
|
|
500
502
|
tsx_source: string;
|
|
501
503
|
theme_id: string | null;
|
|
502
504
|
to: {
|
|
503
|
-
type: "user-primary-email";
|
|
504
505
|
user_id: string;
|
|
506
|
+
type: "user-primary-email";
|
|
505
507
|
} | {
|
|
506
|
-
emails: string[];
|
|
507
|
-
type: "user-custom-emails";
|
|
508
508
|
user_id: string;
|
|
509
|
-
|
|
509
|
+
type: "user-custom-emails";
|
|
510
510
|
emails: string[];
|
|
511
|
+
} | {
|
|
511
512
|
type: "custom-emails";
|
|
513
|
+
emails: string[];
|
|
512
514
|
};
|
|
513
515
|
variables: Record<string, {} | null>;
|
|
514
516
|
skip_deliverability_check: boolean;
|
|
@@ -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,23 +541,25 @@ 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
|
+
html: string | null;
|
|
549
|
+
text: string | null;
|
|
548
550
|
updated_at_millis: number;
|
|
549
551
|
tsx_source: string;
|
|
550
552
|
theme_id: string | null;
|
|
551
553
|
to: {
|
|
552
|
-
type: "user-primary-email";
|
|
553
554
|
user_id: string;
|
|
555
|
+
type: "user-primary-email";
|
|
554
556
|
} | {
|
|
555
|
-
emails: string[];
|
|
556
|
-
type: "user-custom-emails";
|
|
557
557
|
user_id: string;
|
|
558
|
-
|
|
558
|
+
type: "user-custom-emails";
|
|
559
559
|
emails: string[];
|
|
560
|
+
} | {
|
|
560
561
|
type: "custom-emails";
|
|
562
|
+
emails: string[];
|
|
561
563
|
};
|
|
562
564
|
variables: Record<string, {} | null>;
|
|
563
565
|
skip_deliverability_check: boolean;
|
|
@@ -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,23 +591,25 @@ 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
|
+
html: string | null;
|
|
599
|
+
text: string | null;
|
|
598
600
|
updated_at_millis: number;
|
|
599
601
|
tsx_source: string;
|
|
600
602
|
theme_id: string | null;
|
|
601
603
|
to: {
|
|
602
|
-
type: "user-primary-email";
|
|
603
604
|
user_id: string;
|
|
605
|
+
type: "user-primary-email";
|
|
604
606
|
} | {
|
|
605
|
-
emails: string[];
|
|
606
|
-
type: "user-custom-emails";
|
|
607
607
|
user_id: string;
|
|
608
|
-
|
|
608
|
+
type: "user-custom-emails";
|
|
609
609
|
emails: string[];
|
|
610
|
+
} | {
|
|
610
611
|
type: "custom-emails";
|
|
612
|
+
emails: string[];
|
|
611
613
|
};
|
|
612
614
|
variables: Record<string, {} | null>;
|
|
613
615
|
skip_deliverability_check: boolean;
|
|
@@ -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,23 +641,25 @@ 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
|
+
html: string | null;
|
|
649
|
+
text: string | null;
|
|
648
650
|
updated_at_millis: number;
|
|
649
651
|
tsx_source: string;
|
|
650
652
|
theme_id: string | null;
|
|
651
653
|
to: {
|
|
652
|
-
type: "user-primary-email";
|
|
653
654
|
user_id: string;
|
|
655
|
+
type: "user-primary-email";
|
|
654
656
|
} | {
|
|
655
|
-
emails: string[];
|
|
656
|
-
type: "user-custom-emails";
|
|
657
657
|
user_id: string;
|
|
658
|
-
|
|
658
|
+
type: "user-custom-emails";
|
|
659
659
|
emails: string[];
|
|
660
|
+
} | {
|
|
660
661
|
type: "custom-emails";
|
|
662
|
+
emails: string[];
|
|
661
663
|
};
|
|
662
664
|
variables: Record<string, {} | null>;
|
|
663
665
|
skip_deliverability_check: boolean;
|
|
@@ -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,21 +722,22 @@ declare const emailOutboxUpdateSchema: import("yup").ObjectSchema<{
|
|
|
722
722
|
}, "">;
|
|
723
723
|
declare const emailOutboxCrud: import("../../crud").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: import("../../crud").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: import("../../crud").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: import("../../crud").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: import("../../crud").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,25 @@ declare const emailOutboxCrud: import("../../crud").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
|
+
html: string | null;
|
|
886
|
+
text: string | null;
|
|
885
887
|
updated_at_millis: number;
|
|
886
888
|
tsx_source: string;
|
|
887
889
|
theme_id: string | null;
|
|
888
890
|
to: {
|
|
889
|
-
type: "user-primary-email";
|
|
890
891
|
user_id: string;
|
|
892
|
+
type: "user-primary-email";
|
|
891
893
|
} | {
|
|
892
|
-
emails: string[];
|
|
893
|
-
type: "user-custom-emails";
|
|
894
894
|
user_id: string;
|
|
895
|
-
|
|
895
|
+
type: "user-custom-emails";
|
|
896
896
|
emails: string[];
|
|
897
|
+
} | {
|
|
897
898
|
type: "custom-emails";
|
|
899
|
+
emails: string[];
|
|
898
900
|
};
|
|
899
901
|
variables: Record<string, {} | null>;
|
|
900
902
|
skip_deliverability_check: boolean;
|
|
@@ -912,35 +914,35 @@ declare const emailOutboxCrud: import("../../crud").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
|
+
html: string | null;
|
|
932
|
+
text: string | null;
|
|
931
933
|
updated_at_millis: number;
|
|
932
934
|
tsx_source: string;
|
|
933
935
|
theme_id: string | null;
|
|
934
936
|
to: {
|
|
935
|
-
type: "user-primary-email";
|
|
936
937
|
user_id: string;
|
|
938
|
+
type: "user-primary-email";
|
|
937
939
|
} | {
|
|
938
|
-
emails: string[];
|
|
939
|
-
type: "user-custom-emails";
|
|
940
940
|
user_id: string;
|
|
941
|
-
|
|
941
|
+
type: "user-custom-emails";
|
|
942
942
|
emails: string[];
|
|
943
|
+
} | {
|
|
943
944
|
type: "custom-emails";
|
|
945
|
+
emails: string[];
|
|
944
946
|
};
|
|
945
947
|
variables: Record<string, {} | null>;
|
|
946
948
|
skip_deliverability_check: boolean;
|
|
@@ -958,35 +960,35 @@ declare const emailOutboxCrud: import("../../crud").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
|
+
html: string | null;
|
|
978
|
+
text: string | null;
|
|
977
979
|
updated_at_millis: number;
|
|
978
980
|
tsx_source: string;
|
|
979
981
|
theme_id: string | null;
|
|
980
982
|
to: {
|
|
981
|
-
type: "user-primary-email";
|
|
982
983
|
user_id: string;
|
|
984
|
+
type: "user-primary-email";
|
|
983
985
|
} | {
|
|
984
|
-
emails: string[];
|
|
985
|
-
type: "user-custom-emails";
|
|
986
986
|
user_id: string;
|
|
987
|
-
|
|
987
|
+
type: "user-custom-emails";
|
|
988
988
|
emails: string[];
|
|
989
|
+
} | {
|
|
989
990
|
type: "custom-emails";
|
|
991
|
+
emails: string[];
|
|
990
992
|
};
|
|
991
993
|
variables: Record<string, {} | null>;
|
|
992
994
|
skip_deliverability_check: boolean;
|
|
@@ -1004,36 +1006,36 @@ declare const emailOutboxCrud: import("../../crud").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
|
+
html: string | null;
|
|
1025
|
+
text: string | null;
|
|
1024
1026
|
updated_at_millis: number;
|
|
1025
1027
|
tsx_source: string;
|
|
1026
1028
|
theme_id: string | null;
|
|
1027
1029
|
to: {
|
|
1028
|
-
type: "user-primary-email";
|
|
1029
1030
|
user_id: string;
|
|
1031
|
+
type: "user-primary-email";
|
|
1030
1032
|
} | {
|
|
1031
|
-
emails: string[];
|
|
1032
|
-
type: "user-custom-emails";
|
|
1033
1033
|
user_id: string;
|
|
1034
|
-
|
|
1034
|
+
type: "user-custom-emails";
|
|
1035
1035
|
emails: string[];
|
|
1036
|
+
} | {
|
|
1036
1037
|
type: "custom-emails";
|
|
1038
|
+
emails: string[];
|
|
1037
1039
|
};
|
|
1038
1040
|
variables: Record<string, {} | null>;
|
|
1039
1041
|
skip_deliverability_check: boolean;
|
|
@@ -1051,14 +1053,12 @@ declare const emailOutboxCrud: import("../../crud").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,30 +1066,31 @@ declare const emailOutboxCrud: import("../../crud").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
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: import("../../crud").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,25 @@ declare const emailOutboxCrud: import("../../crud").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
|
+
html: string | null;
|
|
1124
|
+
text: string | null;
|
|
1123
1125
|
updated_at_millis: number;
|
|
1124
1126
|
tsx_source: string;
|
|
1125
1127
|
theme_id: string | null;
|
|
1126
1128
|
to: {
|
|
1127
|
-
type: "user-primary-email";
|
|
1128
1129
|
user_id: string;
|
|
1130
|
+
type: "user-primary-email";
|
|
1129
1131
|
} | {
|
|
1130
|
-
emails: string[];
|
|
1131
|
-
type: "user-custom-emails";
|
|
1132
1132
|
user_id: string;
|
|
1133
|
-
|
|
1133
|
+
type: "user-custom-emails";
|
|
1134
1134
|
emails: string[];
|
|
1135
|
+
} | {
|
|
1135
1136
|
type: "custom-emails";
|
|
1137
|
+
emails: string[];
|
|
1136
1138
|
};
|
|
1137
1139
|
variables: Record<string, {} | null>;
|
|
1138
1140
|
skip_deliverability_check: boolean;
|
|
@@ -1150,37 +1152,37 @@ declare const emailOutboxCrud: import("../../crud").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
|
+
html: string | null;
|
|
1172
|
+
text: string | null;
|
|
1171
1173
|
updated_at_millis: number;
|
|
1172
1174
|
tsx_source: string;
|
|
1173
1175
|
theme_id: string | null;
|
|
1174
1176
|
to: {
|
|
1175
|
-
type: "user-primary-email";
|
|
1176
1177
|
user_id: string;
|
|
1178
|
+
type: "user-primary-email";
|
|
1177
1179
|
} | {
|
|
1178
|
-
emails: string[];
|
|
1179
|
-
type: "user-custom-emails";
|
|
1180
1180
|
user_id: string;
|
|
1181
|
-
|
|
1181
|
+
type: "user-custom-emails";
|
|
1182
1182
|
emails: string[];
|
|
1183
|
+
} | {
|
|
1183
1184
|
type: "custom-emails";
|
|
1185
|
+
emails: string[];
|
|
1184
1186
|
};
|
|
1185
1187
|
variables: Record<string, {} | null>;
|
|
1186
1188
|
skip_deliverability_check: boolean;
|
|
@@ -1198,37 +1200,37 @@ declare const emailOutboxCrud: import("../../crud").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
|
+
html: string | null;
|
|
1220
|
+
text: string | null;
|
|
1219
1221
|
updated_at_millis: number;
|
|
1220
1222
|
tsx_source: string;
|
|
1221
1223
|
theme_id: string | null;
|
|
1222
1224
|
to: {
|
|
1223
|
-
type: "user-primary-email";
|
|
1224
1225
|
user_id: string;
|
|
1226
|
+
type: "user-primary-email";
|
|
1225
1227
|
} | {
|
|
1226
|
-
emails: string[];
|
|
1227
|
-
type: "user-custom-emails";
|
|
1228
1228
|
user_id: string;
|
|
1229
|
-
|
|
1229
|
+
type: "user-custom-emails";
|
|
1230
1230
|
emails: string[];
|
|
1231
|
+
} | {
|
|
1231
1232
|
type: "custom-emails";
|
|
1233
|
+
emails: string[];
|
|
1232
1234
|
};
|
|
1233
1235
|
variables: Record<string, {} | null>;
|
|
1234
1236
|
skip_deliverability_check: boolean;
|
|
@@ -1246,14 +1248,12 @@ declare const emailOutboxCrud: import("../../crud").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,23 +1261,25 @@ declare const emailOutboxCrud: import("../../crud").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
|
+
html: string | null;
|
|
1269
|
+
text: string | null;
|
|
1268
1270
|
updated_at_millis: number;
|
|
1269
1271
|
tsx_source: string;
|
|
1270
1272
|
theme_id: string | null;
|
|
1271
1273
|
to: {
|
|
1272
|
-
type: "user-primary-email";
|
|
1273
1274
|
user_id: string;
|
|
1275
|
+
type: "user-primary-email";
|
|
1274
1276
|
} | {
|
|
1275
|
-
emails: string[];
|
|
1276
|
-
type: "user-custom-emails";
|
|
1277
1277
|
user_id: string;
|
|
1278
|
-
|
|
1278
|
+
type: "user-custom-emails";
|
|
1279
1279
|
emails: string[];
|
|
1280
|
+
} | {
|
|
1280
1281
|
type: "custom-emails";
|
|
1282
|
+
emails: string[];
|
|
1281
1283
|
};
|
|
1282
1284
|
variables: Record<string, {} | null>;
|
|
1283
1285
|
skip_deliverability_check: boolean;
|
|
@@ -1295,14 +1297,12 @@ declare const emailOutboxCrud: import("../../crud").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,23 +1311,25 @@ declare const emailOutboxCrud: import("../../crud").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
|
+
html: string | null;
|
|
1319
|
+
text: string | null;
|
|
1318
1320
|
updated_at_millis: number;
|
|
1319
1321
|
tsx_source: string;
|
|
1320
1322
|
theme_id: string | null;
|
|
1321
1323
|
to: {
|
|
1322
|
-
type: "user-primary-email";
|
|
1323
1324
|
user_id: string;
|
|
1325
|
+
type: "user-primary-email";
|
|
1324
1326
|
} | {
|
|
1325
|
-
emails: string[];
|
|
1326
|
-
type: "user-custom-emails";
|
|
1327
1327
|
user_id: string;
|
|
1328
|
-
|
|
1328
|
+
type: "user-custom-emails";
|
|
1329
1329
|
emails: string[];
|
|
1330
|
+
} | {
|
|
1330
1331
|
type: "custom-emails";
|
|
1332
|
+
emails: string[];
|
|
1331
1333
|
};
|
|
1332
1334
|
variables: Record<string, {} | null>;
|
|
1333
1335
|
skip_deliverability_check: boolean;
|
|
@@ -1345,14 +1347,12 @@ declare const emailOutboxCrud: import("../../crud").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,23 +1361,25 @@ declare const emailOutboxCrud: import("../../crud").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
|
+
html: string | null;
|
|
1369
|
+
text: string | null;
|
|
1368
1370
|
updated_at_millis: number;
|
|
1369
1371
|
tsx_source: string;
|
|
1370
1372
|
theme_id: string | null;
|
|
1371
1373
|
to: {
|
|
1372
|
-
type: "user-primary-email";
|
|
1373
1374
|
user_id: string;
|
|
1375
|
+
type: "user-primary-email";
|
|
1374
1376
|
} | {
|
|
1375
|
-
emails: string[];
|
|
1376
|
-
type: "user-custom-emails";
|
|
1377
1377
|
user_id: string;
|
|
1378
|
-
|
|
1378
|
+
type: "user-custom-emails";
|
|
1379
1379
|
emails: string[];
|
|
1380
|
+
} | {
|
|
1380
1381
|
type: "custom-emails";
|
|
1382
|
+
emails: string[];
|
|
1381
1383
|
};
|
|
1382
1384
|
variables: Record<string, {} | null>;
|
|
1383
1385
|
skip_deliverability_check: boolean;
|
|
@@ -1395,14 +1397,12 @@ declare const emailOutboxCrud: import("../../crud").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: import("../../crud").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;
|