@hexclave/shared 1.0.17 → 1.0.19
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/ai/unified-prompts/reminders.js +10 -7
- package/dist/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +2 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +238 -10
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt.js +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/apps/apps-config.d.ts +7 -3
- package/dist/apps/apps-config.d.ts.map +1 -1
- package/dist/apps/apps-config.js +12 -4
- package/dist/apps/apps-config.js.map +1 -1
- package/dist/config/schema.d.ts +192 -192
- package/dist/esm/ai/unified-prompts/reminders.js +10 -7
- package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +2 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +238 -11
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/esm/apps/apps-config.d.ts +7 -3
- package/dist/esm/apps/apps-config.d.ts.map +1 -1
- package/dist/esm/apps/apps-config.js +12 -5
- package/dist/esm/apps/apps-config.js.map +1 -1
- package/dist/esm/config/schema.d.ts +192 -192
- package/dist/esm/interface/admin-metrics.d.ts +10 -10
- package/dist/esm/interface/conversations.d.ts +9 -9
- package/dist/esm/interface/crud/current-user.d.ts +5 -5
- package/dist/esm/interface/crud/email-outbox.d.ts +138 -138
- package/dist/esm/interface/crud/products.d.ts +15 -15
- 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/team-member-profiles.d.ts +8 -8
- package/dist/esm/interface/crud/transactions.d.ts +21 -21
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +4 -4
- package/dist/esm/known-errors.d.ts +5 -5
- package/dist/esm/schema-fields.d.ts +5 -5
- package/dist/esm/sessions.d.ts +7 -7
- package/dist/interface/admin-metrics.d.ts +10 -10
- package/dist/interface/conversations.d.ts +9 -9
- package/dist/interface/crud/current-user.d.ts +5 -5
- package/dist/interface/crud/email-outbox.d.ts +138 -138
- package/dist/interface/crud/products.d.ts +15 -15
- 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/team-member-profiles.d.ts +8 -8
- package/dist/interface/crud/transactions.d.ts +21 -21
- package/dist/interface/crud/transactions.d.ts.map +1 -1
- package/dist/interface/crud/users.d.ts +4 -4
- package/dist/known-errors.d.ts +5 -5
- package/dist/schema-fields.d.ts +5 -5
- package/dist/sessions.d.ts +7 -7
- package/package.json +1 -1
- package/src/ai/unified-prompts/reminders.ts +10 -7
- package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +244 -10
- package/src/ai/unified-prompts/skill-site-prompt.ts +1 -1
- package/src/apps/apps-config.ts +13 -2
|
@@ -4,15 +4,15 @@ 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
|
-
status: "paused";
|
|
8
7
|
id: string;
|
|
8
|
+
status: "paused";
|
|
9
9
|
created_at_millis: number;
|
|
10
10
|
to: {
|
|
11
|
-
user_id: string;
|
|
12
11
|
type: "user-primary-email";
|
|
13
|
-
} | {
|
|
14
12
|
user_id: string;
|
|
13
|
+
} | {
|
|
15
14
|
type: "user-custom-emails";
|
|
15
|
+
user_id: string;
|
|
16
16
|
emails: string[];
|
|
17
17
|
} | {
|
|
18
18
|
type: "custom-emails";
|
|
@@ -42,15 +42,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
42
42
|
has_rendered: boolean;
|
|
43
43
|
has_delivered: boolean;
|
|
44
44
|
} | {
|
|
45
|
-
status: "preparing";
|
|
46
45
|
id: string;
|
|
46
|
+
status: "preparing";
|
|
47
47
|
created_at_millis: number;
|
|
48
48
|
to: {
|
|
49
|
-
user_id: string;
|
|
50
49
|
type: "user-primary-email";
|
|
51
|
-
} | {
|
|
52
50
|
user_id: string;
|
|
51
|
+
} | {
|
|
53
52
|
type: "user-custom-emails";
|
|
53
|
+
user_id: string;
|
|
54
54
|
emails: string[];
|
|
55
55
|
} | {
|
|
56
56
|
type: "custom-emails";
|
|
@@ -80,15 +80,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
80
80
|
has_rendered: boolean;
|
|
81
81
|
has_delivered: boolean;
|
|
82
82
|
} | {
|
|
83
|
-
status: "rendering";
|
|
84
83
|
id: string;
|
|
84
|
+
status: "rendering";
|
|
85
85
|
created_at_millis: number;
|
|
86
86
|
to: {
|
|
87
|
-
user_id: string;
|
|
88
87
|
type: "user-primary-email";
|
|
89
|
-
} | {
|
|
90
88
|
user_id: string;
|
|
89
|
+
} | {
|
|
91
90
|
type: "user-custom-emails";
|
|
91
|
+
user_id: string;
|
|
92
92
|
emails: string[];
|
|
93
93
|
} | {
|
|
94
94
|
type: "custom-emails";
|
|
@@ -119,15 +119,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
119
119
|
has_delivered: boolean;
|
|
120
120
|
started_rendering_at_millis: number;
|
|
121
121
|
} | {
|
|
122
|
-
status: "render-error";
|
|
123
122
|
id: string;
|
|
123
|
+
status: "render-error";
|
|
124
124
|
created_at_millis: number;
|
|
125
125
|
to: {
|
|
126
|
-
user_id: string;
|
|
127
126
|
type: "user-primary-email";
|
|
128
|
-
} | {
|
|
129
127
|
user_id: string;
|
|
128
|
+
} | {
|
|
130
129
|
type: "user-custom-emails";
|
|
130
|
+
user_id: string;
|
|
131
131
|
emails: string[];
|
|
132
132
|
} | {
|
|
133
133
|
type: "custom-emails";
|
|
@@ -160,19 +160,17 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
160
160
|
rendered_at_millis: number;
|
|
161
161
|
render_error: string;
|
|
162
162
|
} | {
|
|
163
|
-
status: "scheduled";
|
|
164
163
|
id: string;
|
|
164
|
+
status: "scheduled";
|
|
165
165
|
subject: string;
|
|
166
166
|
created_at_millis: number;
|
|
167
|
-
html: string | null;
|
|
168
|
-
text: string | null;
|
|
169
167
|
notification_category_id: string | null;
|
|
170
168
|
to: {
|
|
171
|
-
user_id: string;
|
|
172
169
|
type: "user-primary-email";
|
|
173
|
-
} | {
|
|
174
170
|
user_id: string;
|
|
171
|
+
} | {
|
|
175
172
|
type: "user-custom-emails";
|
|
173
|
+
user_id: string;
|
|
176
174
|
emails: string[];
|
|
177
175
|
} | {
|
|
178
176
|
type: "custom-emails";
|
|
@@ -203,22 +201,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
203
201
|
has_delivered: boolean;
|
|
204
202
|
started_rendering_at_millis: number;
|
|
205
203
|
rendered_at_millis: number;
|
|
204
|
+
html: string | null;
|
|
205
|
+
text: string | null;
|
|
206
206
|
is_transactional: boolean;
|
|
207
207
|
is_high_priority: boolean;
|
|
208
208
|
} | {
|
|
209
|
-
status: "queued";
|
|
210
209
|
id: string;
|
|
210
|
+
status: "queued";
|
|
211
211
|
subject: string;
|
|
212
212
|
created_at_millis: number;
|
|
213
|
-
html: string | null;
|
|
214
|
-
text: string | null;
|
|
215
213
|
notification_category_id: string | null;
|
|
216
214
|
to: {
|
|
217
|
-
user_id: string;
|
|
218
215
|
type: "user-primary-email";
|
|
219
|
-
} | {
|
|
220
216
|
user_id: string;
|
|
217
|
+
} | {
|
|
221
218
|
type: "user-custom-emails";
|
|
219
|
+
user_id: string;
|
|
222
220
|
emails: string[];
|
|
223
221
|
} | {
|
|
224
222
|
type: "custom-emails";
|
|
@@ -249,22 +247,22 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
249
247
|
has_delivered: boolean;
|
|
250
248
|
started_rendering_at_millis: number;
|
|
251
249
|
rendered_at_millis: number;
|
|
250
|
+
html: string | null;
|
|
251
|
+
text: string | null;
|
|
252
252
|
is_transactional: boolean;
|
|
253
253
|
is_high_priority: boolean;
|
|
254
254
|
} | {
|
|
255
|
-
status: "sending";
|
|
256
255
|
id: string;
|
|
256
|
+
status: "sending";
|
|
257
257
|
subject: string;
|
|
258
258
|
created_at_millis: number;
|
|
259
|
-
html: string | null;
|
|
260
|
-
text: string | null;
|
|
261
259
|
notification_category_id: string | null;
|
|
262
260
|
to: {
|
|
263
|
-
user_id: string;
|
|
264
261
|
type: "user-primary-email";
|
|
265
|
-
} | {
|
|
266
262
|
user_id: string;
|
|
263
|
+
} | {
|
|
267
264
|
type: "user-custom-emails";
|
|
265
|
+
user_id: string;
|
|
268
266
|
emails: string[];
|
|
269
267
|
} | {
|
|
270
268
|
type: "custom-emails";
|
|
@@ -295,23 +293,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
295
293
|
has_delivered: boolean;
|
|
296
294
|
started_rendering_at_millis: number;
|
|
297
295
|
rendered_at_millis: number;
|
|
296
|
+
html: string | null;
|
|
297
|
+
text: string | null;
|
|
298
298
|
is_transactional: boolean;
|
|
299
299
|
is_high_priority: boolean;
|
|
300
300
|
started_sending_at_millis: number;
|
|
301
301
|
} | {
|
|
302
|
-
status: "server-error";
|
|
303
302
|
id: string;
|
|
303
|
+
status: "server-error";
|
|
304
304
|
subject: string;
|
|
305
305
|
created_at_millis: number;
|
|
306
|
-
html: string | null;
|
|
307
|
-
text: string | null;
|
|
308
306
|
notification_category_id: string | null;
|
|
309
307
|
to: {
|
|
310
|
-
user_id: string;
|
|
311
308
|
type: "user-primary-email";
|
|
312
|
-
} | {
|
|
313
309
|
user_id: string;
|
|
310
|
+
} | {
|
|
314
311
|
type: "user-custom-emails";
|
|
312
|
+
user_id: string;
|
|
315
313
|
emails: string[];
|
|
316
314
|
} | {
|
|
317
315
|
type: "custom-emails";
|
|
@@ -342,6 +340,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
342
340
|
has_delivered: boolean;
|
|
343
341
|
started_rendering_at_millis: number;
|
|
344
342
|
rendered_at_millis: number;
|
|
343
|
+
html: string | null;
|
|
344
|
+
text: string | null;
|
|
345
345
|
is_transactional: boolean;
|
|
346
346
|
is_high_priority: boolean;
|
|
347
347
|
started_sending_at_millis: number;
|
|
@@ -349,23 +349,23 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
349
349
|
server_error: string;
|
|
350
350
|
} | {
|
|
351
351
|
subject?: string | undefined;
|
|
352
|
-
html?: string | null | undefined;
|
|
353
|
-
text?: string | null | undefined;
|
|
354
352
|
notification_category_id?: string | null | undefined;
|
|
355
353
|
started_rendering_at_millis?: number | undefined;
|
|
356
354
|
rendered_at_millis?: number | undefined;
|
|
355
|
+
html?: string | null | undefined;
|
|
356
|
+
text?: string | null | undefined;
|
|
357
357
|
is_transactional?: boolean | undefined;
|
|
358
358
|
is_high_priority?: boolean | undefined;
|
|
359
359
|
started_sending_at_millis?: number | undefined;
|
|
360
|
-
status: "skipped";
|
|
361
360
|
id: string;
|
|
361
|
+
status: "skipped";
|
|
362
362
|
created_at_millis: number;
|
|
363
363
|
to: {
|
|
364
|
-
user_id: string;
|
|
365
364
|
type: "user-primary-email";
|
|
366
|
-
} | {
|
|
367
365
|
user_id: string;
|
|
366
|
+
} | {
|
|
368
367
|
type: "user-custom-emails";
|
|
368
|
+
user_id: string;
|
|
369
369
|
emails: string[];
|
|
370
370
|
} | {
|
|
371
371
|
type: "custom-emails";
|
|
@@ -398,19 +398,17 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
398
398
|
skipped_reason: string;
|
|
399
399
|
skipped_details: Record<string, {} | null>;
|
|
400
400
|
} | {
|
|
401
|
-
status: "bounced";
|
|
402
401
|
id: string;
|
|
402
|
+
status: "bounced";
|
|
403
403
|
subject: string;
|
|
404
404
|
created_at_millis: number;
|
|
405
|
-
html: string | null;
|
|
406
|
-
text: string | null;
|
|
407
405
|
notification_category_id: string | null;
|
|
408
406
|
to: {
|
|
409
|
-
user_id: string;
|
|
410
407
|
type: "user-primary-email";
|
|
411
|
-
} | {
|
|
412
408
|
user_id: string;
|
|
409
|
+
} | {
|
|
413
410
|
type: "user-custom-emails";
|
|
411
|
+
user_id: string;
|
|
414
412
|
emails: string[];
|
|
415
413
|
} | {
|
|
416
414
|
type: "custom-emails";
|
|
@@ -441,24 +439,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
441
439
|
has_delivered: boolean;
|
|
442
440
|
started_rendering_at_millis: number;
|
|
443
441
|
rendered_at_millis: number;
|
|
442
|
+
html: string | null;
|
|
443
|
+
text: string | null;
|
|
444
444
|
is_transactional: boolean;
|
|
445
445
|
is_high_priority: boolean;
|
|
446
446
|
started_sending_at_millis: number;
|
|
447
447
|
bounced_at_millis: number;
|
|
448
448
|
} | {
|
|
449
|
-
status: "delivery-delayed";
|
|
450
449
|
id: string;
|
|
450
|
+
status: "delivery-delayed";
|
|
451
451
|
subject: string;
|
|
452
452
|
created_at_millis: number;
|
|
453
|
-
html: string | null;
|
|
454
|
-
text: string | null;
|
|
455
453
|
notification_category_id: string | null;
|
|
456
454
|
to: {
|
|
457
|
-
user_id: string;
|
|
458
455
|
type: "user-primary-email";
|
|
459
|
-
} | {
|
|
460
456
|
user_id: string;
|
|
457
|
+
} | {
|
|
461
458
|
type: "user-custom-emails";
|
|
459
|
+
user_id: string;
|
|
462
460
|
emails: string[];
|
|
463
461
|
} | {
|
|
464
462
|
type: "custom-emails";
|
|
@@ -489,24 +487,24 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
489
487
|
has_delivered: boolean;
|
|
490
488
|
started_rendering_at_millis: number;
|
|
491
489
|
rendered_at_millis: number;
|
|
490
|
+
html: string | null;
|
|
491
|
+
text: string | null;
|
|
492
492
|
is_transactional: boolean;
|
|
493
493
|
is_high_priority: boolean;
|
|
494
494
|
started_sending_at_millis: number;
|
|
495
495
|
delivery_delayed_at_millis: number;
|
|
496
496
|
} | {
|
|
497
|
-
status: "sent";
|
|
498
497
|
id: string;
|
|
498
|
+
status: "sent";
|
|
499
499
|
subject: string;
|
|
500
500
|
created_at_millis: number;
|
|
501
|
-
html: string | null;
|
|
502
|
-
text: string | null;
|
|
503
501
|
notification_category_id: string | null;
|
|
504
502
|
to: {
|
|
505
|
-
user_id: string;
|
|
506
503
|
type: "user-primary-email";
|
|
507
|
-
} | {
|
|
508
504
|
user_id: string;
|
|
505
|
+
} | {
|
|
509
506
|
type: "user-custom-emails";
|
|
507
|
+
user_id: string;
|
|
510
508
|
emails: string[];
|
|
511
509
|
} | {
|
|
512
510
|
type: "custom-emails";
|
|
@@ -537,25 +535,25 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
537
535
|
has_delivered: boolean;
|
|
538
536
|
started_rendering_at_millis: number;
|
|
539
537
|
rendered_at_millis: number;
|
|
538
|
+
html: string | null;
|
|
539
|
+
text: string | null;
|
|
540
540
|
is_transactional: boolean;
|
|
541
541
|
is_high_priority: boolean;
|
|
542
542
|
started_sending_at_millis: number;
|
|
543
543
|
delivered_at_millis: number;
|
|
544
544
|
can_have_delivery_info: boolean;
|
|
545
545
|
} | {
|
|
546
|
-
status: "opened";
|
|
547
546
|
id: string;
|
|
547
|
+
status: "opened";
|
|
548
548
|
subject: string;
|
|
549
549
|
created_at_millis: number;
|
|
550
|
-
html: string | null;
|
|
551
|
-
text: string | null;
|
|
552
550
|
notification_category_id: string | null;
|
|
553
551
|
to: {
|
|
554
|
-
user_id: string;
|
|
555
552
|
type: "user-primary-email";
|
|
556
|
-
} | {
|
|
557
553
|
user_id: string;
|
|
554
|
+
} | {
|
|
558
555
|
type: "user-custom-emails";
|
|
556
|
+
user_id: string;
|
|
559
557
|
emails: string[];
|
|
560
558
|
} | {
|
|
561
559
|
type: "custom-emails";
|
|
@@ -586,6 +584,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
586
584
|
has_delivered: boolean;
|
|
587
585
|
started_rendering_at_millis: number;
|
|
588
586
|
rendered_at_millis: number;
|
|
587
|
+
html: string | null;
|
|
588
|
+
text: string | null;
|
|
589
589
|
is_transactional: boolean;
|
|
590
590
|
is_high_priority: boolean;
|
|
591
591
|
started_sending_at_millis: number;
|
|
@@ -593,19 +593,17 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
593
593
|
can_have_delivery_info: boolean;
|
|
594
594
|
opened_at_millis: number;
|
|
595
595
|
} | {
|
|
596
|
-
status: "clicked";
|
|
597
596
|
id: string;
|
|
597
|
+
status: "clicked";
|
|
598
598
|
subject: string;
|
|
599
599
|
created_at_millis: number;
|
|
600
|
-
html: string | null;
|
|
601
|
-
text: string | null;
|
|
602
600
|
notification_category_id: string | null;
|
|
603
601
|
to: {
|
|
604
|
-
user_id: string;
|
|
605
602
|
type: "user-primary-email";
|
|
606
|
-
} | {
|
|
607
603
|
user_id: string;
|
|
604
|
+
} | {
|
|
608
605
|
type: "user-custom-emails";
|
|
606
|
+
user_id: string;
|
|
609
607
|
emails: string[];
|
|
610
608
|
} | {
|
|
611
609
|
type: "custom-emails";
|
|
@@ -636,6 +634,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
636
634
|
has_delivered: boolean;
|
|
637
635
|
started_rendering_at_millis: number;
|
|
638
636
|
rendered_at_millis: number;
|
|
637
|
+
html: string | null;
|
|
638
|
+
text: string | null;
|
|
639
639
|
is_transactional: boolean;
|
|
640
640
|
is_high_priority: boolean;
|
|
641
641
|
started_sending_at_millis: number;
|
|
@@ -643,19 +643,17 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
643
643
|
can_have_delivery_info: boolean;
|
|
644
644
|
clicked_at_millis: number;
|
|
645
645
|
} | {
|
|
646
|
-
status: "marked-as-spam";
|
|
647
646
|
id: string;
|
|
647
|
+
status: "marked-as-spam";
|
|
648
648
|
subject: string;
|
|
649
649
|
created_at_millis: number;
|
|
650
|
-
html: string | null;
|
|
651
|
-
text: string | null;
|
|
652
650
|
notification_category_id: string | null;
|
|
653
651
|
to: {
|
|
654
|
-
user_id: string;
|
|
655
652
|
type: "user-primary-email";
|
|
656
|
-
} | {
|
|
657
653
|
user_id: string;
|
|
654
|
+
} | {
|
|
658
655
|
type: "user-custom-emails";
|
|
656
|
+
user_id: string;
|
|
659
657
|
emails: string[];
|
|
660
658
|
} | {
|
|
661
659
|
type: "custom-emails";
|
|
@@ -686,6 +684,8 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
686
684
|
has_delivered: boolean;
|
|
687
685
|
started_rendering_at_millis: number;
|
|
688
686
|
rendered_at_millis: number;
|
|
687
|
+
html: string | null;
|
|
688
|
+
text: string | null;
|
|
689
689
|
is_transactional: boolean;
|
|
690
690
|
is_high_priority: boolean;
|
|
691
691
|
started_sending_at_millis: number;
|
|
@@ -697,11 +697,11 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
|
|
|
697
697
|
tsx_source: string | undefined;
|
|
698
698
|
theme_id: string | null | undefined;
|
|
699
699
|
to: {
|
|
700
|
-
user_id: string;
|
|
701
700
|
type: "user-primary-email";
|
|
702
|
-
} | {
|
|
703
701
|
user_id: string;
|
|
702
|
+
} | {
|
|
704
703
|
type: "user-custom-emails";
|
|
704
|
+
user_id: string;
|
|
705
705
|
emails: string[];
|
|
706
706
|
} | {
|
|
707
707
|
type: "custom-emails";
|
|
@@ -724,15 +724,15 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
|
|
|
724
724
|
}, "">;
|
|
725
725
|
declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
726
726
|
serverReadSchema: yup$1.MixedSchema<{
|
|
727
|
-
status: "paused";
|
|
728
727
|
id: string;
|
|
728
|
+
status: "paused";
|
|
729
729
|
created_at_millis: number;
|
|
730
730
|
to: {
|
|
731
|
-
user_id: string;
|
|
732
731
|
type: "user-primary-email";
|
|
733
|
-
} | {
|
|
734
732
|
user_id: string;
|
|
733
|
+
} | {
|
|
735
734
|
type: "user-custom-emails";
|
|
735
|
+
user_id: string;
|
|
736
736
|
emails: string[];
|
|
737
737
|
} | {
|
|
738
738
|
type: "custom-emails";
|
|
@@ -762,15 +762,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
762
762
|
has_rendered: boolean;
|
|
763
763
|
has_delivered: boolean;
|
|
764
764
|
} | {
|
|
765
|
-
status: "preparing";
|
|
766
765
|
id: string;
|
|
766
|
+
status: "preparing";
|
|
767
767
|
created_at_millis: number;
|
|
768
768
|
to: {
|
|
769
|
-
user_id: string;
|
|
770
769
|
type: "user-primary-email";
|
|
771
|
-
} | {
|
|
772
770
|
user_id: string;
|
|
771
|
+
} | {
|
|
773
772
|
type: "user-custom-emails";
|
|
773
|
+
user_id: string;
|
|
774
774
|
emails: string[];
|
|
775
775
|
} | {
|
|
776
776
|
type: "custom-emails";
|
|
@@ -800,15 +800,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
800
800
|
has_rendered: boolean;
|
|
801
801
|
has_delivered: boolean;
|
|
802
802
|
} | {
|
|
803
|
-
status: "rendering";
|
|
804
803
|
id: string;
|
|
804
|
+
status: "rendering";
|
|
805
805
|
created_at_millis: number;
|
|
806
806
|
to: {
|
|
807
|
-
user_id: string;
|
|
808
807
|
type: "user-primary-email";
|
|
809
|
-
} | {
|
|
810
808
|
user_id: string;
|
|
809
|
+
} | {
|
|
811
810
|
type: "user-custom-emails";
|
|
811
|
+
user_id: string;
|
|
812
812
|
emails: string[];
|
|
813
813
|
} | {
|
|
814
814
|
type: "custom-emails";
|
|
@@ -839,15 +839,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
839
839
|
has_delivered: boolean;
|
|
840
840
|
started_rendering_at_millis: number;
|
|
841
841
|
} | {
|
|
842
|
-
status: "render-error";
|
|
843
842
|
id: string;
|
|
843
|
+
status: "render-error";
|
|
844
844
|
created_at_millis: number;
|
|
845
845
|
to: {
|
|
846
|
-
user_id: string;
|
|
847
846
|
type: "user-primary-email";
|
|
848
|
-
} | {
|
|
849
847
|
user_id: string;
|
|
848
|
+
} | {
|
|
850
849
|
type: "user-custom-emails";
|
|
850
|
+
user_id: string;
|
|
851
851
|
emails: string[];
|
|
852
852
|
} | {
|
|
853
853
|
type: "custom-emails";
|
|
@@ -880,19 +880,17 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
880
880
|
rendered_at_millis: number;
|
|
881
881
|
render_error: string;
|
|
882
882
|
} | {
|
|
883
|
-
status: "scheduled";
|
|
884
883
|
id: string;
|
|
884
|
+
status: "scheduled";
|
|
885
885
|
subject: string;
|
|
886
886
|
created_at_millis: number;
|
|
887
|
-
html: string | null;
|
|
888
|
-
text: string | null;
|
|
889
887
|
notification_category_id: string | null;
|
|
890
888
|
to: {
|
|
891
|
-
user_id: string;
|
|
892
889
|
type: "user-primary-email";
|
|
893
|
-
} | {
|
|
894
890
|
user_id: string;
|
|
891
|
+
} | {
|
|
895
892
|
type: "user-custom-emails";
|
|
893
|
+
user_id: string;
|
|
896
894
|
emails: string[];
|
|
897
895
|
} | {
|
|
898
896
|
type: "custom-emails";
|
|
@@ -923,22 +921,22 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
923
921
|
has_delivered: boolean;
|
|
924
922
|
started_rendering_at_millis: number;
|
|
925
923
|
rendered_at_millis: number;
|
|
924
|
+
html: string | null;
|
|
925
|
+
text: string | null;
|
|
926
926
|
is_transactional: boolean;
|
|
927
927
|
is_high_priority: boolean;
|
|
928
928
|
} | {
|
|
929
|
-
status: "queued";
|
|
930
929
|
id: string;
|
|
930
|
+
status: "queued";
|
|
931
931
|
subject: string;
|
|
932
932
|
created_at_millis: number;
|
|
933
|
-
html: string | null;
|
|
934
|
-
text: string | null;
|
|
935
933
|
notification_category_id: string | null;
|
|
936
934
|
to: {
|
|
937
|
-
user_id: string;
|
|
938
935
|
type: "user-primary-email";
|
|
939
|
-
} | {
|
|
940
936
|
user_id: string;
|
|
937
|
+
} | {
|
|
941
938
|
type: "user-custom-emails";
|
|
939
|
+
user_id: string;
|
|
942
940
|
emails: string[];
|
|
943
941
|
} | {
|
|
944
942
|
type: "custom-emails";
|
|
@@ -969,22 +967,22 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
969
967
|
has_delivered: boolean;
|
|
970
968
|
started_rendering_at_millis: number;
|
|
971
969
|
rendered_at_millis: number;
|
|
970
|
+
html: string | null;
|
|
971
|
+
text: string | null;
|
|
972
972
|
is_transactional: boolean;
|
|
973
973
|
is_high_priority: boolean;
|
|
974
974
|
} | {
|
|
975
|
-
status: "sending";
|
|
976
975
|
id: string;
|
|
976
|
+
status: "sending";
|
|
977
977
|
subject: string;
|
|
978
978
|
created_at_millis: number;
|
|
979
|
-
html: string | null;
|
|
980
|
-
text: string | null;
|
|
981
979
|
notification_category_id: string | null;
|
|
982
980
|
to: {
|
|
983
|
-
user_id: string;
|
|
984
981
|
type: "user-primary-email";
|
|
985
|
-
} | {
|
|
986
982
|
user_id: string;
|
|
983
|
+
} | {
|
|
987
984
|
type: "user-custom-emails";
|
|
985
|
+
user_id: string;
|
|
988
986
|
emails: string[];
|
|
989
987
|
} | {
|
|
990
988
|
type: "custom-emails";
|
|
@@ -1015,23 +1013,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1015
1013
|
has_delivered: boolean;
|
|
1016
1014
|
started_rendering_at_millis: number;
|
|
1017
1015
|
rendered_at_millis: number;
|
|
1016
|
+
html: string | null;
|
|
1017
|
+
text: string | null;
|
|
1018
1018
|
is_transactional: boolean;
|
|
1019
1019
|
is_high_priority: boolean;
|
|
1020
1020
|
started_sending_at_millis: number;
|
|
1021
1021
|
} | {
|
|
1022
|
-
status: "server-error";
|
|
1023
1022
|
id: string;
|
|
1023
|
+
status: "server-error";
|
|
1024
1024
|
subject: string;
|
|
1025
1025
|
created_at_millis: number;
|
|
1026
|
-
html: string | null;
|
|
1027
|
-
text: string | null;
|
|
1028
1026
|
notification_category_id: string | null;
|
|
1029
1027
|
to: {
|
|
1030
|
-
user_id: string;
|
|
1031
1028
|
type: "user-primary-email";
|
|
1032
|
-
} | {
|
|
1033
1029
|
user_id: string;
|
|
1030
|
+
} | {
|
|
1034
1031
|
type: "user-custom-emails";
|
|
1032
|
+
user_id: string;
|
|
1035
1033
|
emails: string[];
|
|
1036
1034
|
} | {
|
|
1037
1035
|
type: "custom-emails";
|
|
@@ -1062,6 +1060,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1062
1060
|
has_delivered: boolean;
|
|
1063
1061
|
started_rendering_at_millis: number;
|
|
1064
1062
|
rendered_at_millis: number;
|
|
1063
|
+
html: string | null;
|
|
1064
|
+
text: string | null;
|
|
1065
1065
|
is_transactional: boolean;
|
|
1066
1066
|
is_high_priority: boolean;
|
|
1067
1067
|
started_sending_at_millis: number;
|
|
@@ -1069,23 +1069,23 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1069
1069
|
server_error: string;
|
|
1070
1070
|
} | {
|
|
1071
1071
|
subject?: string | undefined;
|
|
1072
|
-
html?: string | null | undefined;
|
|
1073
|
-
text?: string | null | undefined;
|
|
1074
1072
|
notification_category_id?: string | null | undefined;
|
|
1075
1073
|
started_rendering_at_millis?: number | undefined;
|
|
1076
1074
|
rendered_at_millis?: number | undefined;
|
|
1075
|
+
html?: string | null | undefined;
|
|
1076
|
+
text?: string | null | undefined;
|
|
1077
1077
|
is_transactional?: boolean | undefined;
|
|
1078
1078
|
is_high_priority?: boolean | undefined;
|
|
1079
1079
|
started_sending_at_millis?: number | undefined;
|
|
1080
|
-
status: "skipped";
|
|
1081
1080
|
id: string;
|
|
1081
|
+
status: "skipped";
|
|
1082
1082
|
created_at_millis: number;
|
|
1083
1083
|
to: {
|
|
1084
|
-
user_id: string;
|
|
1085
1084
|
type: "user-primary-email";
|
|
1086
|
-
} | {
|
|
1087
1085
|
user_id: string;
|
|
1086
|
+
} | {
|
|
1088
1087
|
type: "user-custom-emails";
|
|
1088
|
+
user_id: string;
|
|
1089
1089
|
emails: string[];
|
|
1090
1090
|
} | {
|
|
1091
1091
|
type: "custom-emails";
|
|
@@ -1118,19 +1118,17 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1118
1118
|
skipped_reason: string;
|
|
1119
1119
|
skipped_details: Record<string, {} | null>;
|
|
1120
1120
|
} | {
|
|
1121
|
-
status: "bounced";
|
|
1122
1121
|
id: string;
|
|
1122
|
+
status: "bounced";
|
|
1123
1123
|
subject: string;
|
|
1124
1124
|
created_at_millis: number;
|
|
1125
|
-
html: string | null;
|
|
1126
|
-
text: string | null;
|
|
1127
1125
|
notification_category_id: string | null;
|
|
1128
1126
|
to: {
|
|
1129
|
-
user_id: string;
|
|
1130
1127
|
type: "user-primary-email";
|
|
1131
|
-
} | {
|
|
1132
1128
|
user_id: string;
|
|
1129
|
+
} | {
|
|
1133
1130
|
type: "user-custom-emails";
|
|
1131
|
+
user_id: string;
|
|
1134
1132
|
emails: string[];
|
|
1135
1133
|
} | {
|
|
1136
1134
|
type: "custom-emails";
|
|
@@ -1161,24 +1159,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1161
1159
|
has_delivered: boolean;
|
|
1162
1160
|
started_rendering_at_millis: number;
|
|
1163
1161
|
rendered_at_millis: number;
|
|
1162
|
+
html: string | null;
|
|
1163
|
+
text: string | null;
|
|
1164
1164
|
is_transactional: boolean;
|
|
1165
1165
|
is_high_priority: boolean;
|
|
1166
1166
|
started_sending_at_millis: number;
|
|
1167
1167
|
bounced_at_millis: number;
|
|
1168
1168
|
} | {
|
|
1169
|
-
status: "delivery-delayed";
|
|
1170
1169
|
id: string;
|
|
1170
|
+
status: "delivery-delayed";
|
|
1171
1171
|
subject: string;
|
|
1172
1172
|
created_at_millis: number;
|
|
1173
|
-
html: string | null;
|
|
1174
|
-
text: string | null;
|
|
1175
1173
|
notification_category_id: string | null;
|
|
1176
1174
|
to: {
|
|
1177
|
-
user_id: string;
|
|
1178
1175
|
type: "user-primary-email";
|
|
1179
|
-
} | {
|
|
1180
1176
|
user_id: string;
|
|
1177
|
+
} | {
|
|
1181
1178
|
type: "user-custom-emails";
|
|
1179
|
+
user_id: string;
|
|
1182
1180
|
emails: string[];
|
|
1183
1181
|
} | {
|
|
1184
1182
|
type: "custom-emails";
|
|
@@ -1209,24 +1207,24 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1209
1207
|
has_delivered: boolean;
|
|
1210
1208
|
started_rendering_at_millis: number;
|
|
1211
1209
|
rendered_at_millis: number;
|
|
1210
|
+
html: string | null;
|
|
1211
|
+
text: string | null;
|
|
1212
1212
|
is_transactional: boolean;
|
|
1213
1213
|
is_high_priority: boolean;
|
|
1214
1214
|
started_sending_at_millis: number;
|
|
1215
1215
|
delivery_delayed_at_millis: number;
|
|
1216
1216
|
} | {
|
|
1217
|
-
status: "sent";
|
|
1218
1217
|
id: string;
|
|
1218
|
+
status: "sent";
|
|
1219
1219
|
subject: string;
|
|
1220
1220
|
created_at_millis: number;
|
|
1221
|
-
html: string | null;
|
|
1222
|
-
text: string | null;
|
|
1223
1221
|
notification_category_id: string | null;
|
|
1224
1222
|
to: {
|
|
1225
|
-
user_id: string;
|
|
1226
1223
|
type: "user-primary-email";
|
|
1227
|
-
} | {
|
|
1228
1224
|
user_id: string;
|
|
1225
|
+
} | {
|
|
1229
1226
|
type: "user-custom-emails";
|
|
1227
|
+
user_id: string;
|
|
1230
1228
|
emails: string[];
|
|
1231
1229
|
} | {
|
|
1232
1230
|
type: "custom-emails";
|
|
@@ -1257,25 +1255,25 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1257
1255
|
has_delivered: boolean;
|
|
1258
1256
|
started_rendering_at_millis: number;
|
|
1259
1257
|
rendered_at_millis: number;
|
|
1258
|
+
html: string | null;
|
|
1259
|
+
text: string | null;
|
|
1260
1260
|
is_transactional: boolean;
|
|
1261
1261
|
is_high_priority: boolean;
|
|
1262
1262
|
started_sending_at_millis: number;
|
|
1263
1263
|
delivered_at_millis: number;
|
|
1264
1264
|
can_have_delivery_info: boolean;
|
|
1265
1265
|
} | {
|
|
1266
|
-
status: "opened";
|
|
1267
1266
|
id: string;
|
|
1267
|
+
status: "opened";
|
|
1268
1268
|
subject: string;
|
|
1269
1269
|
created_at_millis: number;
|
|
1270
|
-
html: string | null;
|
|
1271
|
-
text: string | null;
|
|
1272
1270
|
notification_category_id: string | null;
|
|
1273
1271
|
to: {
|
|
1274
|
-
user_id: string;
|
|
1275
1272
|
type: "user-primary-email";
|
|
1276
|
-
} | {
|
|
1277
1273
|
user_id: string;
|
|
1274
|
+
} | {
|
|
1278
1275
|
type: "user-custom-emails";
|
|
1276
|
+
user_id: string;
|
|
1279
1277
|
emails: string[];
|
|
1280
1278
|
} | {
|
|
1281
1279
|
type: "custom-emails";
|
|
@@ -1306,6 +1304,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1306
1304
|
has_delivered: boolean;
|
|
1307
1305
|
started_rendering_at_millis: number;
|
|
1308
1306
|
rendered_at_millis: number;
|
|
1307
|
+
html: string | null;
|
|
1308
|
+
text: string | null;
|
|
1309
1309
|
is_transactional: boolean;
|
|
1310
1310
|
is_high_priority: boolean;
|
|
1311
1311
|
started_sending_at_millis: number;
|
|
@@ -1313,19 +1313,17 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1313
1313
|
can_have_delivery_info: boolean;
|
|
1314
1314
|
opened_at_millis: number;
|
|
1315
1315
|
} | {
|
|
1316
|
-
status: "clicked";
|
|
1317
1316
|
id: string;
|
|
1317
|
+
status: "clicked";
|
|
1318
1318
|
subject: string;
|
|
1319
1319
|
created_at_millis: number;
|
|
1320
|
-
html: string | null;
|
|
1321
|
-
text: string | null;
|
|
1322
1320
|
notification_category_id: string | null;
|
|
1323
1321
|
to: {
|
|
1324
|
-
user_id: string;
|
|
1325
1322
|
type: "user-primary-email";
|
|
1326
|
-
} | {
|
|
1327
1323
|
user_id: string;
|
|
1324
|
+
} | {
|
|
1328
1325
|
type: "user-custom-emails";
|
|
1326
|
+
user_id: string;
|
|
1329
1327
|
emails: string[];
|
|
1330
1328
|
} | {
|
|
1331
1329
|
type: "custom-emails";
|
|
@@ -1356,6 +1354,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1356
1354
|
has_delivered: boolean;
|
|
1357
1355
|
started_rendering_at_millis: number;
|
|
1358
1356
|
rendered_at_millis: number;
|
|
1357
|
+
html: string | null;
|
|
1358
|
+
text: string | null;
|
|
1359
1359
|
is_transactional: boolean;
|
|
1360
1360
|
is_high_priority: boolean;
|
|
1361
1361
|
started_sending_at_millis: number;
|
|
@@ -1363,19 +1363,17 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1363
1363
|
can_have_delivery_info: boolean;
|
|
1364
1364
|
clicked_at_millis: number;
|
|
1365
1365
|
} | {
|
|
1366
|
-
status: "marked-as-spam";
|
|
1367
1366
|
id: string;
|
|
1367
|
+
status: "marked-as-spam";
|
|
1368
1368
|
subject: string;
|
|
1369
1369
|
created_at_millis: number;
|
|
1370
|
-
html: string | null;
|
|
1371
|
-
text: string | null;
|
|
1372
1370
|
notification_category_id: string | null;
|
|
1373
1371
|
to: {
|
|
1374
|
-
user_id: string;
|
|
1375
1372
|
type: "user-primary-email";
|
|
1376
|
-
} | {
|
|
1377
1373
|
user_id: string;
|
|
1374
|
+
} | {
|
|
1378
1375
|
type: "user-custom-emails";
|
|
1376
|
+
user_id: string;
|
|
1379
1377
|
emails: string[];
|
|
1380
1378
|
} | {
|
|
1381
1379
|
type: "custom-emails";
|
|
@@ -1406,6 +1404,8 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1406
1404
|
has_delivered: boolean;
|
|
1407
1405
|
started_rendering_at_millis: number;
|
|
1408
1406
|
rendered_at_millis: number;
|
|
1407
|
+
html: string | null;
|
|
1408
|
+
text: string | null;
|
|
1409
1409
|
is_transactional: boolean;
|
|
1410
1410
|
is_high_priority: boolean;
|
|
1411
1411
|
started_sending_at_millis: number;
|
|
@@ -1417,11 +1417,11 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1417
1417
|
tsx_source: string | undefined;
|
|
1418
1418
|
theme_id: string | null | undefined;
|
|
1419
1419
|
to: {
|
|
1420
|
-
user_id: string;
|
|
1421
1420
|
type: "user-primary-email";
|
|
1422
|
-
} | {
|
|
1423
1421
|
user_id: string;
|
|
1422
|
+
} | {
|
|
1424
1423
|
type: "user-custom-emails";
|
|
1424
|
+
user_id: string;
|
|
1425
1425
|
emails: string[];
|
|
1426
1426
|
} | {
|
|
1427
1427
|
type: "custom-emails";
|