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