@hexclave/shared 1.0.27 → 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 +35 -35
- package/dist/esm/config/schema.d.ts +35 -35
- package/dist/esm/interface/admin-metrics.d.ts +18 -18
- package/dist/esm/interface/conversations.d.ts +13 -13
- package/dist/esm/interface/crud/current-user.d.ts +12 -12
- package/dist/esm/interface/crud/email-outbox.d.ts +140 -140
- package/dist/esm/interface/crud/products.d.ts +13 -13
- package/dist/esm/interface/crud/products.d.ts.map +1 -1
- package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/esm/interface/crud/projects.d.ts +14 -14
- package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
- package/dist/esm/interface/crud/transactions.d.ts +6 -6
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +20 -20
- package/dist/esm/interface/plan-usage.d.ts +2 -2
- package/dist/esm/interface/webhooks.d.ts +4 -4
- package/dist/esm/schema-fields.d.ts +1 -1
- package/dist/esm/sessions.d.ts +7 -7
- package/dist/esm/utils/passkey.d.ts +1 -1
- 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 +57 -1
- package/dist/esm/utils/promises.js.map +1 -1
- package/dist/interface/admin-metrics.d.ts +18 -18
- package/dist/interface/client-interface.d.ts +1 -1
- package/dist/interface/conversations.d.ts +13 -13
- package/dist/interface/crud/current-user.d.ts +12 -12
- package/dist/interface/crud/email-outbox.d.ts +140 -140
- package/dist/interface/crud/products.d.ts +13 -13
- package/dist/interface/crud/products.d.ts.map +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/interface/crud/projects.d.ts +14 -14
- package/dist/interface/crud/team-member-profiles.d.ts +24 -24
- package/dist/interface/crud/transactions.d.ts +6 -6
- package/dist/interface/crud/transactions.d.ts.map +1 -1
- package/dist/interface/crud/users.d.ts +20 -20
- package/dist/interface/plan-usage.d.ts +2 -2
- package/dist/interface/webhooks.d.ts +4 -4
- package/dist/schema-fields.d.ts +1 -1
- package/dist/sessions.d.ts +7 -7
- package/dist/utils/passkey.d.ts +1 -1
- package/dist/utils/promises.d.ts +12 -1
- package/dist/utils/promises.d.ts.map +1 -1
- package/dist/utils/promises.js +57 -0
- package/dist/utils/promises.js.map +1 -1
- package/package.json +3 -7
- package/src/utils/passkey.tsx +1 -1
- package/src/utils/promises.tsx +65 -0
- package/dist/index-nCRuFJTF.d.ts +0 -153
- package/dist/index-nCRuFJTF.d.ts.map +0 -1
|
@@ -4,9 +4,12 @@ import { CrudTypeOf } from "../../crud";
|
|
|
4
4
|
|
|
5
5
|
//#region src/interface/crud/email-outbox.d.ts
|
|
6
6
|
declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
7
|
-
id: string;
|
|
8
7
|
status: "paused";
|
|
8
|
+
id: string;
|
|
9
9
|
created_at_millis: number;
|
|
10
|
+
updated_at_millis: number;
|
|
11
|
+
tsx_source: string;
|
|
12
|
+
theme_id: string | null;
|
|
10
13
|
to: {
|
|
11
14
|
type: "user-primary-email";
|
|
12
15
|
user_id: string;
|
|
@@ -18,9 +21,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
18
21
|
type: "custom-emails";
|
|
19
22
|
emails: string[];
|
|
20
23
|
};
|
|
21
|
-
updated_at_millis: number;
|
|
22
|
-
tsx_source: string;
|
|
23
|
-
theme_id: string | null;
|
|
24
24
|
variables: Record<string, {} | null>;
|
|
25
25
|
skip_deliverability_check: boolean;
|
|
26
26
|
scheduled_at_millis: number;
|
|
@@ -42,9 +42,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
42
42
|
has_rendered: boolean;
|
|
43
43
|
has_delivered: boolean;
|
|
44
44
|
} | {
|
|
45
|
-
id: string;
|
|
46
45
|
status: "preparing";
|
|
46
|
+
id: string;
|
|
47
47
|
created_at_millis: number;
|
|
48
|
+
updated_at_millis: number;
|
|
49
|
+
tsx_source: string;
|
|
50
|
+
theme_id: string | null;
|
|
48
51
|
to: {
|
|
49
52
|
type: "user-primary-email";
|
|
50
53
|
user_id: string;
|
|
@@ -56,9 +59,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
56
59
|
type: "custom-emails";
|
|
57
60
|
emails: string[];
|
|
58
61
|
};
|
|
59
|
-
updated_at_millis: number;
|
|
60
|
-
tsx_source: string;
|
|
61
|
-
theme_id: string | null;
|
|
62
62
|
variables: Record<string, {} | null>;
|
|
63
63
|
skip_deliverability_check: boolean;
|
|
64
64
|
scheduled_at_millis: number;
|
|
@@ -80,9 +80,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
80
80
|
has_rendered: boolean;
|
|
81
81
|
has_delivered: boolean;
|
|
82
82
|
} | {
|
|
83
|
-
id: string;
|
|
84
83
|
status: "rendering";
|
|
84
|
+
id: string;
|
|
85
85
|
created_at_millis: number;
|
|
86
|
+
updated_at_millis: number;
|
|
87
|
+
tsx_source: string;
|
|
88
|
+
theme_id: string | null;
|
|
86
89
|
to: {
|
|
87
90
|
type: "user-primary-email";
|
|
88
91
|
user_id: string;
|
|
@@ -94,9 +97,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
94
97
|
type: "custom-emails";
|
|
95
98
|
emails: string[];
|
|
96
99
|
};
|
|
97
|
-
updated_at_millis: number;
|
|
98
|
-
tsx_source: string;
|
|
99
|
-
theme_id: string | null;
|
|
100
100
|
variables: Record<string, {} | null>;
|
|
101
101
|
skip_deliverability_check: boolean;
|
|
102
102
|
scheduled_at_millis: number;
|
|
@@ -119,9 +119,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
119
119
|
has_delivered: boolean;
|
|
120
120
|
started_rendering_at_millis: number;
|
|
121
121
|
} | {
|
|
122
|
-
id: string;
|
|
123
122
|
status: "render-error";
|
|
123
|
+
id: string;
|
|
124
124
|
created_at_millis: number;
|
|
125
|
+
updated_at_millis: number;
|
|
126
|
+
tsx_source: string;
|
|
127
|
+
theme_id: string | null;
|
|
125
128
|
to: {
|
|
126
129
|
type: "user-primary-email";
|
|
127
130
|
user_id: string;
|
|
@@ -133,9 +136,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
133
136
|
type: "custom-emails";
|
|
134
137
|
emails: string[];
|
|
135
138
|
};
|
|
136
|
-
updated_at_millis: number;
|
|
137
|
-
tsx_source: string;
|
|
138
|
-
theme_id: string | null;
|
|
139
139
|
variables: Record<string, {} | null>;
|
|
140
140
|
skip_deliverability_check: boolean;
|
|
141
141
|
scheduled_at_millis: number;
|
|
@@ -160,12 +160,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
160
160
|
rendered_at_millis: number;
|
|
161
161
|
render_error: string;
|
|
162
162
|
} | {
|
|
163
|
-
id: string;
|
|
164
163
|
status: "scheduled";
|
|
165
|
-
|
|
164
|
+
id: string;
|
|
166
165
|
created_at_millis: number;
|
|
166
|
+
subject: string;
|
|
167
167
|
html: string | null;
|
|
168
168
|
text: string | null;
|
|
169
|
+
updated_at_millis: number;
|
|
170
|
+
tsx_source: string;
|
|
171
|
+
theme_id: string | null;
|
|
169
172
|
to: {
|
|
170
173
|
type: "user-primary-email";
|
|
171
174
|
user_id: string;
|
|
@@ -177,9 +180,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
177
180
|
type: "custom-emails";
|
|
178
181
|
emails: string[];
|
|
179
182
|
};
|
|
180
|
-
updated_at_millis: number;
|
|
181
|
-
tsx_source: string;
|
|
182
|
-
theme_id: string | null;
|
|
183
183
|
variables: Record<string, {} | null>;
|
|
184
184
|
skip_deliverability_check: boolean;
|
|
185
185
|
scheduled_at_millis: number;
|
|
@@ -206,12 +206,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
206
206
|
is_high_priority: boolean;
|
|
207
207
|
notification_category_id: string | null;
|
|
208
208
|
} | {
|
|
209
|
-
id: string;
|
|
210
209
|
status: "queued";
|
|
211
|
-
|
|
210
|
+
id: string;
|
|
212
211
|
created_at_millis: number;
|
|
212
|
+
subject: string;
|
|
213
213
|
html: string | null;
|
|
214
214
|
text: string | null;
|
|
215
|
+
updated_at_millis: number;
|
|
216
|
+
tsx_source: string;
|
|
217
|
+
theme_id: string | null;
|
|
215
218
|
to: {
|
|
216
219
|
type: "user-primary-email";
|
|
217
220
|
user_id: string;
|
|
@@ -223,9 +226,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
223
226
|
type: "custom-emails";
|
|
224
227
|
emails: string[];
|
|
225
228
|
};
|
|
226
|
-
updated_at_millis: number;
|
|
227
|
-
tsx_source: string;
|
|
228
|
-
theme_id: string | null;
|
|
229
229
|
variables: Record<string, {} | null>;
|
|
230
230
|
skip_deliverability_check: boolean;
|
|
231
231
|
scheduled_at_millis: number;
|
|
@@ -252,12 +252,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
252
252
|
is_high_priority: boolean;
|
|
253
253
|
notification_category_id: string | null;
|
|
254
254
|
} | {
|
|
255
|
-
id: string;
|
|
256
255
|
status: "sending";
|
|
257
|
-
|
|
256
|
+
id: string;
|
|
258
257
|
created_at_millis: number;
|
|
258
|
+
subject: string;
|
|
259
259
|
html: string | null;
|
|
260
260
|
text: string | null;
|
|
261
|
+
updated_at_millis: number;
|
|
262
|
+
tsx_source: string;
|
|
263
|
+
theme_id: string | null;
|
|
261
264
|
to: {
|
|
262
265
|
type: "user-primary-email";
|
|
263
266
|
user_id: string;
|
|
@@ -269,9 +272,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
269
272
|
type: "custom-emails";
|
|
270
273
|
emails: string[];
|
|
271
274
|
};
|
|
272
|
-
updated_at_millis: number;
|
|
273
|
-
tsx_source: string;
|
|
274
|
-
theme_id: string | null;
|
|
275
275
|
variables: Record<string, {} | null>;
|
|
276
276
|
skip_deliverability_check: boolean;
|
|
277
277
|
scheduled_at_millis: number;
|
|
@@ -299,12 +299,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
299
299
|
notification_category_id: string | null;
|
|
300
300
|
started_sending_at_millis: number;
|
|
301
301
|
} | {
|
|
302
|
-
id: string;
|
|
303
302
|
status: "server-error";
|
|
304
|
-
|
|
303
|
+
id: string;
|
|
305
304
|
created_at_millis: number;
|
|
305
|
+
subject: string;
|
|
306
306
|
html: string | null;
|
|
307
307
|
text: string | null;
|
|
308
|
+
updated_at_millis: number;
|
|
309
|
+
tsx_source: string;
|
|
310
|
+
theme_id: string | null;
|
|
308
311
|
to: {
|
|
309
312
|
type: "user-primary-email";
|
|
310
313
|
user_id: string;
|
|
@@ -316,9 +319,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
316
319
|
type: "custom-emails";
|
|
317
320
|
emails: string[];
|
|
318
321
|
};
|
|
319
|
-
updated_at_millis: number;
|
|
320
|
-
tsx_source: string;
|
|
321
|
-
theme_id: string | null;
|
|
322
322
|
variables: Record<string, {} | null>;
|
|
323
323
|
skip_deliverability_check: boolean;
|
|
324
324
|
scheduled_at_millis: number;
|
|
@@ -357,9 +357,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
357
357
|
is_high_priority?: boolean | undefined;
|
|
358
358
|
notification_category_id?: string | null | undefined;
|
|
359
359
|
started_sending_at_millis?: number | undefined;
|
|
360
|
-
id: string;
|
|
361
360
|
status: "skipped";
|
|
361
|
+
id: string;
|
|
362
362
|
created_at_millis: number;
|
|
363
|
+
updated_at_millis: number;
|
|
364
|
+
tsx_source: string;
|
|
365
|
+
theme_id: string | null;
|
|
363
366
|
to: {
|
|
364
367
|
type: "user-primary-email";
|
|
365
368
|
user_id: string;
|
|
@@ -371,9 +374,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
371
374
|
type: "custom-emails";
|
|
372
375
|
emails: string[];
|
|
373
376
|
};
|
|
374
|
-
updated_at_millis: number;
|
|
375
|
-
tsx_source: string;
|
|
376
|
-
theme_id: string | null;
|
|
377
377
|
variables: Record<string, {} | null>;
|
|
378
378
|
skip_deliverability_check: boolean;
|
|
379
379
|
scheduled_at_millis: number;
|
|
@@ -398,12 +398,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
398
398
|
skipped_reason: string;
|
|
399
399
|
skipped_details: Record<string, {} | null>;
|
|
400
400
|
} | {
|
|
401
|
-
id: string;
|
|
402
401
|
status: "bounced";
|
|
403
|
-
|
|
402
|
+
id: string;
|
|
404
403
|
created_at_millis: number;
|
|
404
|
+
subject: string;
|
|
405
405
|
html: string | null;
|
|
406
406
|
text: string | null;
|
|
407
|
+
updated_at_millis: number;
|
|
408
|
+
tsx_source: string;
|
|
409
|
+
theme_id: string | null;
|
|
407
410
|
to: {
|
|
408
411
|
type: "user-primary-email";
|
|
409
412
|
user_id: string;
|
|
@@ -415,9 +418,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
415
418
|
type: "custom-emails";
|
|
416
419
|
emails: string[];
|
|
417
420
|
};
|
|
418
|
-
updated_at_millis: number;
|
|
419
|
-
tsx_source: string;
|
|
420
|
-
theme_id: string | null;
|
|
421
421
|
variables: Record<string, {} | null>;
|
|
422
422
|
skip_deliverability_check: boolean;
|
|
423
423
|
scheduled_at_millis: number;
|
|
@@ -446,12 +446,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
446
446
|
started_sending_at_millis: number;
|
|
447
447
|
bounced_at_millis: number;
|
|
448
448
|
} | {
|
|
449
|
-
id: string;
|
|
450
449
|
status: "delivery-delayed";
|
|
451
|
-
|
|
450
|
+
id: string;
|
|
452
451
|
created_at_millis: number;
|
|
452
|
+
subject: string;
|
|
453
453
|
html: string | null;
|
|
454
454
|
text: string | null;
|
|
455
|
+
updated_at_millis: number;
|
|
456
|
+
tsx_source: string;
|
|
457
|
+
theme_id: string | null;
|
|
455
458
|
to: {
|
|
456
459
|
type: "user-primary-email";
|
|
457
460
|
user_id: string;
|
|
@@ -463,9 +466,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
463
466
|
type: "custom-emails";
|
|
464
467
|
emails: string[];
|
|
465
468
|
};
|
|
466
|
-
updated_at_millis: number;
|
|
467
|
-
tsx_source: string;
|
|
468
|
-
theme_id: string | null;
|
|
469
469
|
variables: Record<string, {} | null>;
|
|
470
470
|
skip_deliverability_check: boolean;
|
|
471
471
|
scheduled_at_millis: number;
|
|
@@ -494,12 +494,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
494
494
|
started_sending_at_millis: number;
|
|
495
495
|
delivery_delayed_at_millis: number;
|
|
496
496
|
} | {
|
|
497
|
-
id: string;
|
|
498
497
|
status: "sent";
|
|
499
|
-
|
|
498
|
+
id: string;
|
|
500
499
|
created_at_millis: number;
|
|
500
|
+
subject: string;
|
|
501
501
|
html: string | null;
|
|
502
502
|
text: string | null;
|
|
503
|
+
updated_at_millis: number;
|
|
504
|
+
tsx_source: string;
|
|
505
|
+
theme_id: string | null;
|
|
503
506
|
to: {
|
|
504
507
|
type: "user-primary-email";
|
|
505
508
|
user_id: string;
|
|
@@ -511,9 +514,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
511
514
|
type: "custom-emails";
|
|
512
515
|
emails: string[];
|
|
513
516
|
};
|
|
514
|
-
updated_at_millis: number;
|
|
515
|
-
tsx_source: string;
|
|
516
|
-
theme_id: string | null;
|
|
517
517
|
variables: Record<string, {} | null>;
|
|
518
518
|
skip_deliverability_check: boolean;
|
|
519
519
|
scheduled_at_millis: number;
|
|
@@ -543,12 +543,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
543
543
|
delivered_at_millis: number;
|
|
544
544
|
can_have_delivery_info: boolean;
|
|
545
545
|
} | {
|
|
546
|
-
id: string;
|
|
547
546
|
status: "opened";
|
|
548
|
-
|
|
547
|
+
id: string;
|
|
549
548
|
created_at_millis: number;
|
|
549
|
+
subject: string;
|
|
550
550
|
html: string | null;
|
|
551
551
|
text: string | null;
|
|
552
|
+
updated_at_millis: number;
|
|
553
|
+
tsx_source: string;
|
|
554
|
+
theme_id: string | null;
|
|
552
555
|
to: {
|
|
553
556
|
type: "user-primary-email";
|
|
554
557
|
user_id: string;
|
|
@@ -560,9 +563,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
560
563
|
type: "custom-emails";
|
|
561
564
|
emails: string[];
|
|
562
565
|
};
|
|
563
|
-
updated_at_millis: number;
|
|
564
|
-
tsx_source: string;
|
|
565
|
-
theme_id: string | null;
|
|
566
566
|
variables: Record<string, {} | null>;
|
|
567
567
|
skip_deliverability_check: boolean;
|
|
568
568
|
scheduled_at_millis: number;
|
|
@@ -593,12 +593,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
593
593
|
can_have_delivery_info: boolean;
|
|
594
594
|
opened_at_millis: number;
|
|
595
595
|
} | {
|
|
596
|
-
id: string;
|
|
597
596
|
status: "clicked";
|
|
598
|
-
|
|
597
|
+
id: string;
|
|
599
598
|
created_at_millis: number;
|
|
599
|
+
subject: string;
|
|
600
600
|
html: string | null;
|
|
601
601
|
text: string | null;
|
|
602
|
+
updated_at_millis: number;
|
|
603
|
+
tsx_source: string;
|
|
604
|
+
theme_id: string | null;
|
|
602
605
|
to: {
|
|
603
606
|
type: "user-primary-email";
|
|
604
607
|
user_id: string;
|
|
@@ -610,9 +613,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
610
613
|
type: "custom-emails";
|
|
611
614
|
emails: string[];
|
|
612
615
|
};
|
|
613
|
-
updated_at_millis: number;
|
|
614
|
-
tsx_source: string;
|
|
615
|
-
theme_id: string | null;
|
|
616
616
|
variables: Record<string, {} | null>;
|
|
617
617
|
skip_deliverability_check: boolean;
|
|
618
618
|
scheduled_at_millis: number;
|
|
@@ -643,12 +643,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
643
643
|
can_have_delivery_info: boolean;
|
|
644
644
|
clicked_at_millis: number;
|
|
645
645
|
} | {
|
|
646
|
-
id: string;
|
|
647
646
|
status: "marked-as-spam";
|
|
648
|
-
|
|
647
|
+
id: string;
|
|
649
648
|
created_at_millis: number;
|
|
649
|
+
subject: string;
|
|
650
650
|
html: string | null;
|
|
651
651
|
text: string | null;
|
|
652
|
+
updated_at_millis: number;
|
|
653
|
+
tsx_source: string;
|
|
654
|
+
theme_id: string | null;
|
|
652
655
|
to: {
|
|
653
656
|
type: "user-primary-email";
|
|
654
657
|
user_id: string;
|
|
@@ -660,9 +663,6 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
660
663
|
type: "custom-emails";
|
|
661
664
|
emails: string[];
|
|
662
665
|
};
|
|
663
|
-
updated_at_millis: number;
|
|
664
|
-
tsx_source: string;
|
|
665
|
-
theme_id: string | null;
|
|
666
666
|
variables: Record<string, {} | null>;
|
|
667
667
|
skip_deliverability_check: boolean;
|
|
668
668
|
scheduled_at_millis: number;
|
|
@@ -724,9 +724,12 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
|
|
|
724
724
|
}, "">;
|
|
725
725
|
declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
726
726
|
serverReadSchema: yup$1.MixedSchema<{
|
|
727
|
-
id: string;
|
|
728
727
|
status: "paused";
|
|
728
|
+
id: string;
|
|
729
729
|
created_at_millis: number;
|
|
730
|
+
updated_at_millis: number;
|
|
731
|
+
tsx_source: string;
|
|
732
|
+
theme_id: string | null;
|
|
730
733
|
to: {
|
|
731
734
|
type: "user-primary-email";
|
|
732
735
|
user_id: string;
|
|
@@ -738,9 +741,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
738
741
|
type: "custom-emails";
|
|
739
742
|
emails: string[];
|
|
740
743
|
};
|
|
741
|
-
updated_at_millis: number;
|
|
742
|
-
tsx_source: string;
|
|
743
|
-
theme_id: string | null;
|
|
744
744
|
variables: Record<string, {} | null>;
|
|
745
745
|
skip_deliverability_check: boolean;
|
|
746
746
|
scheduled_at_millis: number;
|
|
@@ -762,9 +762,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
762
762
|
has_rendered: boolean;
|
|
763
763
|
has_delivered: boolean;
|
|
764
764
|
} | {
|
|
765
|
-
id: string;
|
|
766
765
|
status: "preparing";
|
|
766
|
+
id: string;
|
|
767
767
|
created_at_millis: number;
|
|
768
|
+
updated_at_millis: number;
|
|
769
|
+
tsx_source: string;
|
|
770
|
+
theme_id: string | null;
|
|
768
771
|
to: {
|
|
769
772
|
type: "user-primary-email";
|
|
770
773
|
user_id: string;
|
|
@@ -776,9 +779,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
776
779
|
type: "custom-emails";
|
|
777
780
|
emails: string[];
|
|
778
781
|
};
|
|
779
|
-
updated_at_millis: number;
|
|
780
|
-
tsx_source: string;
|
|
781
|
-
theme_id: string | null;
|
|
782
782
|
variables: Record<string, {} | null>;
|
|
783
783
|
skip_deliverability_check: boolean;
|
|
784
784
|
scheduled_at_millis: number;
|
|
@@ -800,9 +800,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
800
800
|
has_rendered: boolean;
|
|
801
801
|
has_delivered: boolean;
|
|
802
802
|
} | {
|
|
803
|
-
id: string;
|
|
804
803
|
status: "rendering";
|
|
804
|
+
id: string;
|
|
805
805
|
created_at_millis: number;
|
|
806
|
+
updated_at_millis: number;
|
|
807
|
+
tsx_source: string;
|
|
808
|
+
theme_id: string | null;
|
|
806
809
|
to: {
|
|
807
810
|
type: "user-primary-email";
|
|
808
811
|
user_id: string;
|
|
@@ -814,9 +817,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
814
817
|
type: "custom-emails";
|
|
815
818
|
emails: string[];
|
|
816
819
|
};
|
|
817
|
-
updated_at_millis: number;
|
|
818
|
-
tsx_source: string;
|
|
819
|
-
theme_id: string | null;
|
|
820
820
|
variables: Record<string, {} | null>;
|
|
821
821
|
skip_deliverability_check: boolean;
|
|
822
822
|
scheduled_at_millis: number;
|
|
@@ -839,9 +839,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
839
839
|
has_delivered: boolean;
|
|
840
840
|
started_rendering_at_millis: number;
|
|
841
841
|
} | {
|
|
842
|
-
id: string;
|
|
843
842
|
status: "render-error";
|
|
843
|
+
id: string;
|
|
844
844
|
created_at_millis: number;
|
|
845
|
+
updated_at_millis: number;
|
|
846
|
+
tsx_source: string;
|
|
847
|
+
theme_id: string | null;
|
|
845
848
|
to: {
|
|
846
849
|
type: "user-primary-email";
|
|
847
850
|
user_id: string;
|
|
@@ -853,9 +856,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
853
856
|
type: "custom-emails";
|
|
854
857
|
emails: string[];
|
|
855
858
|
};
|
|
856
|
-
updated_at_millis: number;
|
|
857
|
-
tsx_source: string;
|
|
858
|
-
theme_id: string | null;
|
|
859
859
|
variables: Record<string, {} | null>;
|
|
860
860
|
skip_deliverability_check: boolean;
|
|
861
861
|
scheduled_at_millis: number;
|
|
@@ -880,12 +880,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
880
880
|
rendered_at_millis: number;
|
|
881
881
|
render_error: string;
|
|
882
882
|
} | {
|
|
883
|
-
id: string;
|
|
884
883
|
status: "scheduled";
|
|
885
|
-
|
|
884
|
+
id: string;
|
|
886
885
|
created_at_millis: number;
|
|
886
|
+
subject: string;
|
|
887
887
|
html: string | null;
|
|
888
888
|
text: string | null;
|
|
889
|
+
updated_at_millis: number;
|
|
890
|
+
tsx_source: string;
|
|
891
|
+
theme_id: string | null;
|
|
889
892
|
to: {
|
|
890
893
|
type: "user-primary-email";
|
|
891
894
|
user_id: string;
|
|
@@ -897,9 +900,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
897
900
|
type: "custom-emails";
|
|
898
901
|
emails: string[];
|
|
899
902
|
};
|
|
900
|
-
updated_at_millis: number;
|
|
901
|
-
tsx_source: string;
|
|
902
|
-
theme_id: string | null;
|
|
903
903
|
variables: Record<string, {} | null>;
|
|
904
904
|
skip_deliverability_check: boolean;
|
|
905
905
|
scheduled_at_millis: number;
|
|
@@ -926,12 +926,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
926
926
|
is_high_priority: boolean;
|
|
927
927
|
notification_category_id: string | null;
|
|
928
928
|
} | {
|
|
929
|
-
id: string;
|
|
930
929
|
status: "queued";
|
|
931
|
-
|
|
930
|
+
id: string;
|
|
932
931
|
created_at_millis: number;
|
|
932
|
+
subject: string;
|
|
933
933
|
html: string | null;
|
|
934
934
|
text: string | null;
|
|
935
|
+
updated_at_millis: number;
|
|
936
|
+
tsx_source: string;
|
|
937
|
+
theme_id: string | null;
|
|
935
938
|
to: {
|
|
936
939
|
type: "user-primary-email";
|
|
937
940
|
user_id: string;
|
|
@@ -943,9 +946,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
943
946
|
type: "custom-emails";
|
|
944
947
|
emails: string[];
|
|
945
948
|
};
|
|
946
|
-
updated_at_millis: number;
|
|
947
|
-
tsx_source: string;
|
|
948
|
-
theme_id: string | null;
|
|
949
949
|
variables: Record<string, {} | null>;
|
|
950
950
|
skip_deliverability_check: boolean;
|
|
951
951
|
scheduled_at_millis: number;
|
|
@@ -972,12 +972,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
972
972
|
is_high_priority: boolean;
|
|
973
973
|
notification_category_id: string | null;
|
|
974
974
|
} | {
|
|
975
|
-
id: string;
|
|
976
975
|
status: "sending";
|
|
977
|
-
|
|
976
|
+
id: string;
|
|
978
977
|
created_at_millis: number;
|
|
978
|
+
subject: string;
|
|
979
979
|
html: string | null;
|
|
980
980
|
text: string | null;
|
|
981
|
+
updated_at_millis: number;
|
|
982
|
+
tsx_source: string;
|
|
983
|
+
theme_id: string | null;
|
|
981
984
|
to: {
|
|
982
985
|
type: "user-primary-email";
|
|
983
986
|
user_id: string;
|
|
@@ -989,9 +992,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
989
992
|
type: "custom-emails";
|
|
990
993
|
emails: string[];
|
|
991
994
|
};
|
|
992
|
-
updated_at_millis: number;
|
|
993
|
-
tsx_source: string;
|
|
994
|
-
theme_id: string | null;
|
|
995
995
|
variables: Record<string, {} | null>;
|
|
996
996
|
skip_deliverability_check: boolean;
|
|
997
997
|
scheduled_at_millis: number;
|
|
@@ -1019,12 +1019,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1019
1019
|
notification_category_id: string | null;
|
|
1020
1020
|
started_sending_at_millis: number;
|
|
1021
1021
|
} | {
|
|
1022
|
-
id: string;
|
|
1023
1022
|
status: "server-error";
|
|
1024
|
-
|
|
1023
|
+
id: string;
|
|
1025
1024
|
created_at_millis: number;
|
|
1025
|
+
subject: string;
|
|
1026
1026
|
html: string | null;
|
|
1027
1027
|
text: string | null;
|
|
1028
|
+
updated_at_millis: number;
|
|
1029
|
+
tsx_source: string;
|
|
1030
|
+
theme_id: string | null;
|
|
1028
1031
|
to: {
|
|
1029
1032
|
type: "user-primary-email";
|
|
1030
1033
|
user_id: string;
|
|
@@ -1036,9 +1039,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1036
1039
|
type: "custom-emails";
|
|
1037
1040
|
emails: string[];
|
|
1038
1041
|
};
|
|
1039
|
-
updated_at_millis: number;
|
|
1040
|
-
tsx_source: string;
|
|
1041
|
-
theme_id: string | null;
|
|
1042
1042
|
variables: Record<string, {} | null>;
|
|
1043
1043
|
skip_deliverability_check: boolean;
|
|
1044
1044
|
scheduled_at_millis: number;
|
|
@@ -1077,9 +1077,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1077
1077
|
is_high_priority?: boolean | undefined;
|
|
1078
1078
|
notification_category_id?: string | null | undefined;
|
|
1079
1079
|
started_sending_at_millis?: number | undefined;
|
|
1080
|
-
id: string;
|
|
1081
1080
|
status: "skipped";
|
|
1081
|
+
id: string;
|
|
1082
1082
|
created_at_millis: number;
|
|
1083
|
+
updated_at_millis: number;
|
|
1084
|
+
tsx_source: string;
|
|
1085
|
+
theme_id: string | null;
|
|
1083
1086
|
to: {
|
|
1084
1087
|
type: "user-primary-email";
|
|
1085
1088
|
user_id: string;
|
|
@@ -1091,9 +1094,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1091
1094
|
type: "custom-emails";
|
|
1092
1095
|
emails: string[];
|
|
1093
1096
|
};
|
|
1094
|
-
updated_at_millis: number;
|
|
1095
|
-
tsx_source: string;
|
|
1096
|
-
theme_id: string | null;
|
|
1097
1097
|
variables: Record<string, {} | null>;
|
|
1098
1098
|
skip_deliverability_check: boolean;
|
|
1099
1099
|
scheduled_at_millis: number;
|
|
@@ -1118,12 +1118,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1118
1118
|
skipped_reason: string;
|
|
1119
1119
|
skipped_details: Record<string, {} | null>;
|
|
1120
1120
|
} | {
|
|
1121
|
-
id: string;
|
|
1122
1121
|
status: "bounced";
|
|
1123
|
-
|
|
1122
|
+
id: string;
|
|
1124
1123
|
created_at_millis: number;
|
|
1124
|
+
subject: string;
|
|
1125
1125
|
html: string | null;
|
|
1126
1126
|
text: string | null;
|
|
1127
|
+
updated_at_millis: number;
|
|
1128
|
+
tsx_source: string;
|
|
1129
|
+
theme_id: string | null;
|
|
1127
1130
|
to: {
|
|
1128
1131
|
type: "user-primary-email";
|
|
1129
1132
|
user_id: string;
|
|
@@ -1135,9 +1138,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1135
1138
|
type: "custom-emails";
|
|
1136
1139
|
emails: string[];
|
|
1137
1140
|
};
|
|
1138
|
-
updated_at_millis: number;
|
|
1139
|
-
tsx_source: string;
|
|
1140
|
-
theme_id: string | null;
|
|
1141
1141
|
variables: Record<string, {} | null>;
|
|
1142
1142
|
skip_deliverability_check: boolean;
|
|
1143
1143
|
scheduled_at_millis: number;
|
|
@@ -1166,12 +1166,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1166
1166
|
started_sending_at_millis: number;
|
|
1167
1167
|
bounced_at_millis: number;
|
|
1168
1168
|
} | {
|
|
1169
|
-
id: string;
|
|
1170
1169
|
status: "delivery-delayed";
|
|
1171
|
-
|
|
1170
|
+
id: string;
|
|
1172
1171
|
created_at_millis: number;
|
|
1172
|
+
subject: string;
|
|
1173
1173
|
html: string | null;
|
|
1174
1174
|
text: string | null;
|
|
1175
|
+
updated_at_millis: number;
|
|
1176
|
+
tsx_source: string;
|
|
1177
|
+
theme_id: string | null;
|
|
1175
1178
|
to: {
|
|
1176
1179
|
type: "user-primary-email";
|
|
1177
1180
|
user_id: string;
|
|
@@ -1183,9 +1186,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1183
1186
|
type: "custom-emails";
|
|
1184
1187
|
emails: string[];
|
|
1185
1188
|
};
|
|
1186
|
-
updated_at_millis: number;
|
|
1187
|
-
tsx_source: string;
|
|
1188
|
-
theme_id: string | null;
|
|
1189
1189
|
variables: Record<string, {} | null>;
|
|
1190
1190
|
skip_deliverability_check: boolean;
|
|
1191
1191
|
scheduled_at_millis: number;
|
|
@@ -1214,12 +1214,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1214
1214
|
started_sending_at_millis: number;
|
|
1215
1215
|
delivery_delayed_at_millis: number;
|
|
1216
1216
|
} | {
|
|
1217
|
-
id: string;
|
|
1218
1217
|
status: "sent";
|
|
1219
|
-
|
|
1218
|
+
id: string;
|
|
1220
1219
|
created_at_millis: number;
|
|
1220
|
+
subject: string;
|
|
1221
1221
|
html: string | null;
|
|
1222
1222
|
text: string | null;
|
|
1223
|
+
updated_at_millis: number;
|
|
1224
|
+
tsx_source: string;
|
|
1225
|
+
theme_id: string | null;
|
|
1223
1226
|
to: {
|
|
1224
1227
|
type: "user-primary-email";
|
|
1225
1228
|
user_id: string;
|
|
@@ -1231,9 +1234,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1231
1234
|
type: "custom-emails";
|
|
1232
1235
|
emails: string[];
|
|
1233
1236
|
};
|
|
1234
|
-
updated_at_millis: number;
|
|
1235
|
-
tsx_source: string;
|
|
1236
|
-
theme_id: string | null;
|
|
1237
1237
|
variables: Record<string, {} | null>;
|
|
1238
1238
|
skip_deliverability_check: boolean;
|
|
1239
1239
|
scheduled_at_millis: number;
|
|
@@ -1263,12 +1263,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1263
1263
|
delivered_at_millis: number;
|
|
1264
1264
|
can_have_delivery_info: boolean;
|
|
1265
1265
|
} | {
|
|
1266
|
-
id: string;
|
|
1267
1266
|
status: "opened";
|
|
1268
|
-
|
|
1267
|
+
id: string;
|
|
1269
1268
|
created_at_millis: number;
|
|
1269
|
+
subject: string;
|
|
1270
1270
|
html: string | null;
|
|
1271
1271
|
text: string | null;
|
|
1272
|
+
updated_at_millis: number;
|
|
1273
|
+
tsx_source: string;
|
|
1274
|
+
theme_id: string | null;
|
|
1272
1275
|
to: {
|
|
1273
1276
|
type: "user-primary-email";
|
|
1274
1277
|
user_id: string;
|
|
@@ -1280,9 +1283,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1280
1283
|
type: "custom-emails";
|
|
1281
1284
|
emails: string[];
|
|
1282
1285
|
};
|
|
1283
|
-
updated_at_millis: number;
|
|
1284
|
-
tsx_source: string;
|
|
1285
|
-
theme_id: string | null;
|
|
1286
1286
|
variables: Record<string, {} | null>;
|
|
1287
1287
|
skip_deliverability_check: boolean;
|
|
1288
1288
|
scheduled_at_millis: number;
|
|
@@ -1313,12 +1313,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1313
1313
|
can_have_delivery_info: boolean;
|
|
1314
1314
|
opened_at_millis: number;
|
|
1315
1315
|
} | {
|
|
1316
|
-
id: string;
|
|
1317
1316
|
status: "clicked";
|
|
1318
|
-
|
|
1317
|
+
id: string;
|
|
1319
1318
|
created_at_millis: number;
|
|
1319
|
+
subject: string;
|
|
1320
1320
|
html: string | null;
|
|
1321
1321
|
text: string | null;
|
|
1322
|
+
updated_at_millis: number;
|
|
1323
|
+
tsx_source: string;
|
|
1324
|
+
theme_id: string | null;
|
|
1322
1325
|
to: {
|
|
1323
1326
|
type: "user-primary-email";
|
|
1324
1327
|
user_id: string;
|
|
@@ -1330,9 +1333,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1330
1333
|
type: "custom-emails";
|
|
1331
1334
|
emails: string[];
|
|
1332
1335
|
};
|
|
1333
|
-
updated_at_millis: number;
|
|
1334
|
-
tsx_source: string;
|
|
1335
|
-
theme_id: string | null;
|
|
1336
1336
|
variables: Record<string, {} | null>;
|
|
1337
1337
|
skip_deliverability_check: boolean;
|
|
1338
1338
|
scheduled_at_millis: number;
|
|
@@ -1363,12 +1363,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1363
1363
|
can_have_delivery_info: boolean;
|
|
1364
1364
|
clicked_at_millis: number;
|
|
1365
1365
|
} | {
|
|
1366
|
-
id: string;
|
|
1367
1366
|
status: "marked-as-spam";
|
|
1368
|
-
|
|
1367
|
+
id: string;
|
|
1369
1368
|
created_at_millis: number;
|
|
1369
|
+
subject: string;
|
|
1370
1370
|
html: string | null;
|
|
1371
1371
|
text: string | null;
|
|
1372
|
+
updated_at_millis: number;
|
|
1373
|
+
tsx_source: string;
|
|
1374
|
+
theme_id: string | null;
|
|
1372
1375
|
to: {
|
|
1373
1376
|
type: "user-primary-email";
|
|
1374
1377
|
user_id: string;
|
|
@@ -1380,9 +1383,6 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1380
1383
|
type: "custom-emails";
|
|
1381
1384
|
emails: string[];
|
|
1382
1385
|
};
|
|
1383
|
-
updated_at_millis: number;
|
|
1384
|
-
tsx_source: string;
|
|
1385
|
-
theme_id: string | null;
|
|
1386
1386
|
variables: Record<string, {} | null>;
|
|
1387
1387
|
skip_deliverability_check: boolean;
|
|
1388
1388
|
scheduled_at_millis: number;
|