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