@hexclave/shared 1.0.53 → 1.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{admin-interface-D9wMduWc.d.ts → admin-interface-DuboQXpC.d.ts} +11 -11
- package/dist/{admin-interface-D9wMduWc.d.ts.map → admin-interface-DuboQXpC.d.ts.map} +1 -1
- package/dist/{admin-metrics-bsOkw4YQ.d.ts → admin-metrics-IxLyJ-cP.d.ts} +18 -18
- package/dist/{admin-metrics-bsOkw4YQ.d.ts.map → admin-metrics-IxLyJ-cP.d.ts.map} +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +4 -4
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/{client-interface-BQz4jNAC.d.ts → client-interface-Ca6UZywk.d.ts} +9 -9
- package/dist/{client-interface-BQz4jNAC.d.ts.map → client-interface-Ca6UZywk.d.ts.map} +1 -1
- package/dist/config/schema.d.ts +1 -1
- package/dist/config-authoring.d.ts +1 -1
- package/dist/config-rendering.d.ts +9 -1
- package/dist/config-rendering.d.ts.map +1 -1
- package/dist/config-rendering.js +2 -2
- package/dist/config-rendering.js.map +1 -1
- package/dist/{current-user-BBoN3hsn.d.ts → current-user-DNxac4sS.d.ts} +15 -15
- package/dist/{current-user-BBoN3hsn.d.ts.map → current-user-DNxac4sS.d.ts.map} +1 -1
- package/dist/dates-BRAvSk6L.d.ts.map +1 -1
- package/dist/{email-outbox-B1wmVPRG.d.ts → email-outbox-ILs0LlGd.d.ts} +185 -185
- package/dist/{email-outbox-B1wmVPRG.d.ts.map → email-outbox-ILs0LlGd.d.ts.map} +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +4 -4
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/esm/config/schema.d.ts +99 -99
- package/dist/esm/config-rendering.d.ts +9 -1
- package/dist/esm/config-rendering.d.ts.map +1 -1
- package/dist/esm/config-rendering.js +2 -3
- package/dist/esm/config-rendering.js.map +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +17 -17
- package/dist/esm/interface/conversations.d.ts +10 -10
- package/dist/esm/interface/crud/current-user.d.ts +14 -14
- package/dist/esm/interface/crud/email-outbox.d.ts +184 -184
- package/dist/esm/interface/crud/products.d.ts +17 -17
- package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
- package/dist/esm/interface/crud/projects.d.ts +28 -28
- package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
- package/dist/esm/interface/crud/transactions.d.ts +15 -15
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +16 -16
- package/dist/esm/interface/plan-usage.d.ts +1 -1
- package/dist/esm/interface/webhooks.d.ts +2 -2
- package/dist/esm/known-errors.d.ts +3 -3
- package/dist/esm/package.json +18 -0
- package/dist/esm/schema-fields.d.ts +5 -5
- package/dist/esm/sessions.d.ts +8 -8
- package/dist/esm/utils/dates.d.ts.map +1 -1
- package/dist/esm/utils/dates.js +2 -1
- package/dist/esm/utils/dates.js.map +1 -1
- package/dist/helpers/password.d.ts +1 -1
- package/dist/helpers/production-mode.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/interface/admin-interface.d.ts +2 -2
- package/dist/interface/admin-metrics.d.ts +1 -1
- package/dist/interface/client-interface.d.ts +1 -1
- package/dist/interface/conversations.d.ts +10 -10
- package/dist/interface/crud/current-user.d.ts +1 -1
- package/dist/interface/crud/email-outbox.d.ts +1 -1
- package/dist/interface/crud/products.d.ts +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +1 -1
- package/dist/interface/crud/projects.d.ts +1 -1
- package/dist/interface/crud/team-member-profiles.d.ts +1 -1
- package/dist/interface/crud/transactions.d.ts +1 -1
- package/dist/interface/crud/users.d.ts +1 -1
- package/dist/interface/plan-usage.d.ts +1 -1
- package/dist/interface/server-interface.d.ts +1 -1
- package/dist/interface/webhooks.d.ts +1 -1
- package/dist/{known-errors-Bm4a61wL.d.ts → known-errors-g7JC8z58.d.ts} +4 -4
- package/dist/{known-errors-Bm4a61wL.d.ts.map → known-errors-g7JC8z58.d.ts.map} +1 -1
- package/dist/known-errors.d.ts +1 -1
- package/dist/{plan-usage-BaDxcLZ1.d.ts → plan-usage-D0kWw4HR.d.ts} +2 -2
- package/dist/{plan-usage-BaDxcLZ1.d.ts.map → plan-usage-D0kWw4HR.d.ts.map} +1 -1
- package/dist/{products-D4o8A2W0.d.ts → products-C98fCS-1.d.ts} +18 -18
- package/dist/{products-D4o8A2W0.d.ts.map → products-C98fCS-1.d.ts.map} +1 -1
- package/dist/{project-api-keys--7V5X_UW.d.ts → project-api-keys-P97ElZZe.d.ts} +5 -5
- package/dist/{project-api-keys--7V5X_UW.d.ts.map → project-api-keys-P97ElZZe.d.ts.map} +1 -1
- package/dist/{projects-CFTNXRfG.d.ts → projects-BM2a4sfO.d.ts} +29 -29
- package/dist/{projects-CFTNXRfG.d.ts.map → projects-BM2a4sfO.d.ts.map} +1 -1
- package/dist/{schema-DV0SQUbY.d.ts → schema-Bq1TSMFV.d.ts} +100 -100
- package/dist/{schema-DV0SQUbY.d.ts.map → schema-Bq1TSMFV.d.ts.map} +1 -1
- package/dist/{schema-fields-DZtDQEEO.d.ts → schema-fields-Cch3V5nd.d.ts} +6 -6
- package/dist/{schema-fields-DZtDQEEO.d.ts.map → schema-fields-Cch3V5nd.d.ts.map} +1 -1
- package/dist/schema-fields.d.ts +1 -1
- package/dist/{server-interface-BjY-eS4Q.d.ts → server-interface-yKuDPrQI.d.ts} +8 -8
- package/dist/{server-interface-BjY-eS4Q.d.ts.map → server-interface-yKuDPrQI.d.ts.map} +1 -1
- package/dist/{sessions-CI-0TBQb.d.ts → sessions-DCTyJhi3.d.ts} +10 -10
- package/dist/{sessions-CI-0TBQb.d.ts.map → sessions-DCTyJhi3.d.ts.map} +1 -1
- package/dist/sessions.d.ts +1 -1
- package/dist/{team-member-profiles-BoDEqx-0.d.ts → team-member-profiles-CaD1OJqt.d.ts} +25 -25
- package/dist/{team-member-profiles-BoDEqx-0.d.ts.map → team-member-profiles-CaD1OJqt.d.ts.map} +1 -1
- package/dist/{transactions-CHNUJ42J.d.ts → transactions-CrAZLdGo.d.ts} +16 -16
- package/dist/transactions-CrAZLdGo.d.ts.map +1 -0
- package/dist/{users-DHNRwoSz.d.ts → users-DSpJgn9Z.d.ts} +18 -18
- package/dist/{users-DHNRwoSz.d.ts.map → users-DSpJgn9Z.d.ts.map} +1 -1
- package/dist/utils/dates.js +2 -1
- package/dist/utils/dates.js.map +1 -1
- package/dist/{webhooks-8Ts1Clcb.d.ts → webhooks-_aXIgZBW.d.ts} +3 -3
- package/dist/{webhooks-8Ts1Clcb.d.ts.map → webhooks-_aXIgZBW.d.ts.map} +1 -1
- package/package.json +1 -1
- package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +4 -4
- package/src/config-rendering.ts +5 -6
- package/src/utils/dates.tsx +22 -1
- package/dist/transactions-CHNUJ42J.d.ts.map +0 -1
|
@@ -2,23 +2,23 @@ import { c as CrudTypeOf, s as CrudSchemaFromOptions } from "./crud-CqmEW9s6.js"
|
|
|
2
2
|
|
|
3
3
|
//#region src/interface/crud/email-outbox.d.ts
|
|
4
4
|
declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
5
|
-
status: "paused";
|
|
6
5
|
id: string;
|
|
6
|
+
status: "paused";
|
|
7
7
|
created_at_millis: number;
|
|
8
|
-
updated_at_millis: number;
|
|
9
|
-
tsx_source: string;
|
|
10
|
-
theme_id: string | null;
|
|
11
8
|
to: {
|
|
12
|
-
user_id: string;
|
|
13
9
|
type: "user-primary-email";
|
|
14
|
-
} | {
|
|
15
10
|
user_id: string;
|
|
11
|
+
} | {
|
|
16
12
|
type: "user-custom-emails";
|
|
13
|
+
user_id: string;
|
|
17
14
|
emails: string[];
|
|
18
15
|
} | {
|
|
19
16
|
type: "custom-emails";
|
|
20
17
|
emails: string[];
|
|
21
18
|
};
|
|
19
|
+
updated_at_millis: number;
|
|
20
|
+
tsx_source: string;
|
|
21
|
+
theme_id: string | null;
|
|
22
22
|
variables: Record<string, {} | null>;
|
|
23
23
|
skip_deliverability_check: boolean;
|
|
24
24
|
scheduled_at_millis: number;
|
|
@@ -40,23 +40,23 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
40
40
|
has_rendered: boolean;
|
|
41
41
|
has_delivered: boolean;
|
|
42
42
|
} | {
|
|
43
|
-
status: "preparing";
|
|
44
43
|
id: string;
|
|
44
|
+
status: "preparing";
|
|
45
45
|
created_at_millis: number;
|
|
46
|
-
updated_at_millis: number;
|
|
47
|
-
tsx_source: string;
|
|
48
|
-
theme_id: string | null;
|
|
49
46
|
to: {
|
|
50
|
-
user_id: string;
|
|
51
47
|
type: "user-primary-email";
|
|
52
|
-
} | {
|
|
53
48
|
user_id: string;
|
|
49
|
+
} | {
|
|
54
50
|
type: "user-custom-emails";
|
|
51
|
+
user_id: string;
|
|
55
52
|
emails: string[];
|
|
56
53
|
} | {
|
|
57
54
|
type: "custom-emails";
|
|
58
55
|
emails: string[];
|
|
59
56
|
};
|
|
57
|
+
updated_at_millis: number;
|
|
58
|
+
tsx_source: string;
|
|
59
|
+
theme_id: string | null;
|
|
60
60
|
variables: Record<string, {} | null>;
|
|
61
61
|
skip_deliverability_check: boolean;
|
|
62
62
|
scheduled_at_millis: number;
|
|
@@ -78,23 +78,23 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
78
78
|
has_rendered: boolean;
|
|
79
79
|
has_delivered: boolean;
|
|
80
80
|
} | {
|
|
81
|
-
status: "rendering";
|
|
82
81
|
id: string;
|
|
82
|
+
status: "rendering";
|
|
83
83
|
created_at_millis: number;
|
|
84
|
-
updated_at_millis: number;
|
|
85
|
-
tsx_source: string;
|
|
86
|
-
theme_id: string | null;
|
|
87
84
|
to: {
|
|
88
|
-
user_id: string;
|
|
89
85
|
type: "user-primary-email";
|
|
90
|
-
} | {
|
|
91
86
|
user_id: string;
|
|
87
|
+
} | {
|
|
92
88
|
type: "user-custom-emails";
|
|
89
|
+
user_id: string;
|
|
93
90
|
emails: string[];
|
|
94
91
|
} | {
|
|
95
92
|
type: "custom-emails";
|
|
96
93
|
emails: string[];
|
|
97
94
|
};
|
|
95
|
+
updated_at_millis: number;
|
|
96
|
+
tsx_source: string;
|
|
97
|
+
theme_id: string | null;
|
|
98
98
|
variables: Record<string, {} | null>;
|
|
99
99
|
skip_deliverability_check: boolean;
|
|
100
100
|
scheduled_at_millis: number;
|
|
@@ -117,23 +117,23 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
117
117
|
has_delivered: boolean;
|
|
118
118
|
started_rendering_at_millis: number;
|
|
119
119
|
} | {
|
|
120
|
-
status: "render-error";
|
|
121
120
|
id: string;
|
|
121
|
+
status: "render-error";
|
|
122
122
|
created_at_millis: number;
|
|
123
|
-
updated_at_millis: number;
|
|
124
|
-
tsx_source: string;
|
|
125
|
-
theme_id: string | null;
|
|
126
123
|
to: {
|
|
127
|
-
user_id: string;
|
|
128
124
|
type: "user-primary-email";
|
|
129
|
-
} | {
|
|
130
125
|
user_id: string;
|
|
126
|
+
} | {
|
|
131
127
|
type: "user-custom-emails";
|
|
128
|
+
user_id: string;
|
|
132
129
|
emails: string[];
|
|
133
130
|
} | {
|
|
134
131
|
type: "custom-emails";
|
|
135
132
|
emails: string[];
|
|
136
133
|
};
|
|
134
|
+
updated_at_millis: number;
|
|
135
|
+
tsx_source: string;
|
|
136
|
+
theme_id: string | null;
|
|
137
137
|
variables: Record<string, {} | null>;
|
|
138
138
|
skip_deliverability_check: boolean;
|
|
139
139
|
scheduled_at_millis: number;
|
|
@@ -158,26 +158,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
158
158
|
rendered_at_millis: number;
|
|
159
159
|
render_error: string;
|
|
160
160
|
} | {
|
|
161
|
-
status: "scheduled";
|
|
162
161
|
id: string;
|
|
162
|
+
status: "scheduled";
|
|
163
163
|
subject: string;
|
|
164
164
|
created_at_millis: number;
|
|
165
165
|
html: string | null;
|
|
166
166
|
text: string | null;
|
|
167
|
-
updated_at_millis: number;
|
|
168
|
-
tsx_source: string;
|
|
169
|
-
theme_id: string | null;
|
|
170
167
|
to: {
|
|
171
|
-
user_id: string;
|
|
172
168
|
type: "user-primary-email";
|
|
173
|
-
} | {
|
|
174
169
|
user_id: string;
|
|
170
|
+
} | {
|
|
175
171
|
type: "user-custom-emails";
|
|
172
|
+
user_id: string;
|
|
176
173
|
emails: string[];
|
|
177
174
|
} | {
|
|
178
175
|
type: "custom-emails";
|
|
179
176
|
emails: string[];
|
|
180
177
|
};
|
|
178
|
+
updated_at_millis: number;
|
|
179
|
+
tsx_source: string;
|
|
180
|
+
theme_id: string | null;
|
|
181
181
|
variables: Record<string, {} | null>;
|
|
182
182
|
skip_deliverability_check: boolean;
|
|
183
183
|
scheduled_at_millis: number;
|
|
@@ -204,26 +204,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
204
204
|
is_high_priority: boolean;
|
|
205
205
|
notification_category_id: string | null;
|
|
206
206
|
} | {
|
|
207
|
-
status: "queued";
|
|
208
207
|
id: string;
|
|
208
|
+
status: "queued";
|
|
209
209
|
subject: string;
|
|
210
210
|
created_at_millis: number;
|
|
211
211
|
html: string | null;
|
|
212
212
|
text: string | null;
|
|
213
|
-
updated_at_millis: number;
|
|
214
|
-
tsx_source: string;
|
|
215
|
-
theme_id: string | null;
|
|
216
213
|
to: {
|
|
217
|
-
user_id: string;
|
|
218
214
|
type: "user-primary-email";
|
|
219
|
-
} | {
|
|
220
215
|
user_id: string;
|
|
216
|
+
} | {
|
|
221
217
|
type: "user-custom-emails";
|
|
218
|
+
user_id: string;
|
|
222
219
|
emails: string[];
|
|
223
220
|
} | {
|
|
224
221
|
type: "custom-emails";
|
|
225
222
|
emails: string[];
|
|
226
223
|
};
|
|
224
|
+
updated_at_millis: number;
|
|
225
|
+
tsx_source: string;
|
|
226
|
+
theme_id: string | null;
|
|
227
227
|
variables: Record<string, {} | null>;
|
|
228
228
|
skip_deliverability_check: boolean;
|
|
229
229
|
scheduled_at_millis: number;
|
|
@@ -250,26 +250,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
250
250
|
is_high_priority: boolean;
|
|
251
251
|
notification_category_id: string | null;
|
|
252
252
|
} | {
|
|
253
|
-
status: "sending";
|
|
254
253
|
id: string;
|
|
254
|
+
status: "sending";
|
|
255
255
|
subject: string;
|
|
256
256
|
created_at_millis: number;
|
|
257
257
|
html: string | null;
|
|
258
258
|
text: string | null;
|
|
259
|
-
updated_at_millis: number;
|
|
260
|
-
tsx_source: string;
|
|
261
|
-
theme_id: string | null;
|
|
262
259
|
to: {
|
|
263
|
-
user_id: string;
|
|
264
260
|
type: "user-primary-email";
|
|
265
|
-
} | {
|
|
266
261
|
user_id: string;
|
|
262
|
+
} | {
|
|
267
263
|
type: "user-custom-emails";
|
|
264
|
+
user_id: string;
|
|
268
265
|
emails: string[];
|
|
269
266
|
} | {
|
|
270
267
|
type: "custom-emails";
|
|
271
268
|
emails: string[];
|
|
272
269
|
};
|
|
270
|
+
updated_at_millis: number;
|
|
271
|
+
tsx_source: string;
|
|
272
|
+
theme_id: string | null;
|
|
273
273
|
variables: Record<string, {} | null>;
|
|
274
274
|
skip_deliverability_check: boolean;
|
|
275
275
|
scheduled_at_millis: number;
|
|
@@ -297,26 +297,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
297
297
|
notification_category_id: string | null;
|
|
298
298
|
started_sending_at_millis: number;
|
|
299
299
|
} | {
|
|
300
|
-
status: "server-error";
|
|
301
300
|
id: string;
|
|
301
|
+
status: "server-error";
|
|
302
302
|
subject: string;
|
|
303
303
|
created_at_millis: number;
|
|
304
304
|
html: string | null;
|
|
305
305
|
text: string | null;
|
|
306
|
-
updated_at_millis: number;
|
|
307
|
-
tsx_source: string;
|
|
308
|
-
theme_id: string | null;
|
|
309
306
|
to: {
|
|
310
|
-
user_id: string;
|
|
311
307
|
type: "user-primary-email";
|
|
312
|
-
} | {
|
|
313
308
|
user_id: string;
|
|
309
|
+
} | {
|
|
314
310
|
type: "user-custom-emails";
|
|
311
|
+
user_id: string;
|
|
315
312
|
emails: string[];
|
|
316
313
|
} | {
|
|
317
314
|
type: "custom-emails";
|
|
318
315
|
emails: string[];
|
|
319
316
|
};
|
|
317
|
+
updated_at_millis: number;
|
|
318
|
+
tsx_source: string;
|
|
319
|
+
theme_id: string | null;
|
|
320
320
|
variables: Record<string, {} | null>;
|
|
321
321
|
skip_deliverability_check: boolean;
|
|
322
322
|
scheduled_at_millis: number;
|
|
@@ -355,23 +355,23 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
355
355
|
is_high_priority?: boolean | undefined;
|
|
356
356
|
notification_category_id?: string | null | undefined;
|
|
357
357
|
started_sending_at_millis?: number | undefined;
|
|
358
|
-
status: "skipped";
|
|
359
358
|
id: string;
|
|
359
|
+
status: "skipped";
|
|
360
360
|
created_at_millis: number;
|
|
361
|
-
updated_at_millis: number;
|
|
362
|
-
tsx_source: string;
|
|
363
|
-
theme_id: string | null;
|
|
364
361
|
to: {
|
|
365
|
-
user_id: string;
|
|
366
362
|
type: "user-primary-email";
|
|
367
|
-
} | {
|
|
368
363
|
user_id: string;
|
|
364
|
+
} | {
|
|
369
365
|
type: "user-custom-emails";
|
|
366
|
+
user_id: string;
|
|
370
367
|
emails: string[];
|
|
371
368
|
} | {
|
|
372
369
|
type: "custom-emails";
|
|
373
370
|
emails: string[];
|
|
374
371
|
};
|
|
372
|
+
updated_at_millis: number;
|
|
373
|
+
tsx_source: string;
|
|
374
|
+
theme_id: string | null;
|
|
375
375
|
variables: Record<string, {} | null>;
|
|
376
376
|
skip_deliverability_check: boolean;
|
|
377
377
|
scheduled_at_millis: number;
|
|
@@ -396,26 +396,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
396
396
|
skipped_reason: string;
|
|
397
397
|
skipped_details: Record<string, {} | null>;
|
|
398
398
|
} | {
|
|
399
|
-
status: "bounced";
|
|
400
399
|
id: string;
|
|
400
|
+
status: "bounced";
|
|
401
401
|
subject: string;
|
|
402
402
|
created_at_millis: number;
|
|
403
403
|
html: string | null;
|
|
404
404
|
text: string | null;
|
|
405
|
-
updated_at_millis: number;
|
|
406
|
-
tsx_source: string;
|
|
407
|
-
theme_id: string | null;
|
|
408
405
|
to: {
|
|
409
|
-
user_id: string;
|
|
410
406
|
type: "user-primary-email";
|
|
411
|
-
} | {
|
|
412
407
|
user_id: string;
|
|
408
|
+
} | {
|
|
413
409
|
type: "user-custom-emails";
|
|
410
|
+
user_id: string;
|
|
414
411
|
emails: string[];
|
|
415
412
|
} | {
|
|
416
413
|
type: "custom-emails";
|
|
417
414
|
emails: string[];
|
|
418
415
|
};
|
|
416
|
+
updated_at_millis: number;
|
|
417
|
+
tsx_source: string;
|
|
418
|
+
theme_id: string | null;
|
|
419
419
|
variables: Record<string, {} | null>;
|
|
420
420
|
skip_deliverability_check: boolean;
|
|
421
421
|
scheduled_at_millis: number;
|
|
@@ -444,26 +444,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
444
444
|
started_sending_at_millis: number;
|
|
445
445
|
bounced_at_millis: number;
|
|
446
446
|
} | {
|
|
447
|
-
status: "delivery-delayed";
|
|
448
447
|
id: string;
|
|
448
|
+
status: "delivery-delayed";
|
|
449
449
|
subject: string;
|
|
450
450
|
created_at_millis: number;
|
|
451
451
|
html: string | null;
|
|
452
452
|
text: string | null;
|
|
453
|
-
updated_at_millis: number;
|
|
454
|
-
tsx_source: string;
|
|
455
|
-
theme_id: string | null;
|
|
456
453
|
to: {
|
|
457
|
-
user_id: string;
|
|
458
454
|
type: "user-primary-email";
|
|
459
|
-
} | {
|
|
460
455
|
user_id: string;
|
|
456
|
+
} | {
|
|
461
457
|
type: "user-custom-emails";
|
|
458
|
+
user_id: string;
|
|
462
459
|
emails: string[];
|
|
463
460
|
} | {
|
|
464
461
|
type: "custom-emails";
|
|
465
462
|
emails: string[];
|
|
466
463
|
};
|
|
464
|
+
updated_at_millis: number;
|
|
465
|
+
tsx_source: string;
|
|
466
|
+
theme_id: string | null;
|
|
467
467
|
variables: Record<string, {} | null>;
|
|
468
468
|
skip_deliverability_check: boolean;
|
|
469
469
|
scheduled_at_millis: number;
|
|
@@ -492,26 +492,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
492
492
|
started_sending_at_millis: number;
|
|
493
493
|
delivery_delayed_at_millis: number;
|
|
494
494
|
} | {
|
|
495
|
-
status: "sent";
|
|
496
495
|
id: string;
|
|
496
|
+
status: "sent";
|
|
497
497
|
subject: string;
|
|
498
498
|
created_at_millis: number;
|
|
499
499
|
html: string | null;
|
|
500
500
|
text: string | null;
|
|
501
|
-
updated_at_millis: number;
|
|
502
|
-
tsx_source: string;
|
|
503
|
-
theme_id: string | null;
|
|
504
501
|
to: {
|
|
505
|
-
user_id: string;
|
|
506
502
|
type: "user-primary-email";
|
|
507
|
-
} | {
|
|
508
503
|
user_id: string;
|
|
504
|
+
} | {
|
|
509
505
|
type: "user-custom-emails";
|
|
506
|
+
user_id: string;
|
|
510
507
|
emails: string[];
|
|
511
508
|
} | {
|
|
512
509
|
type: "custom-emails";
|
|
513
510
|
emails: string[];
|
|
514
511
|
};
|
|
512
|
+
updated_at_millis: number;
|
|
513
|
+
tsx_source: string;
|
|
514
|
+
theme_id: string | null;
|
|
515
515
|
variables: Record<string, {} | null>;
|
|
516
516
|
skip_deliverability_check: boolean;
|
|
517
517
|
scheduled_at_millis: number;
|
|
@@ -541,26 +541,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
541
541
|
delivered_at_millis: number;
|
|
542
542
|
can_have_delivery_info: boolean;
|
|
543
543
|
} | {
|
|
544
|
-
status: "opened";
|
|
545
544
|
id: string;
|
|
545
|
+
status: "opened";
|
|
546
546
|
subject: string;
|
|
547
547
|
created_at_millis: number;
|
|
548
548
|
html: string | null;
|
|
549
549
|
text: string | null;
|
|
550
|
-
updated_at_millis: number;
|
|
551
|
-
tsx_source: string;
|
|
552
|
-
theme_id: string | null;
|
|
553
550
|
to: {
|
|
554
|
-
user_id: string;
|
|
555
551
|
type: "user-primary-email";
|
|
556
|
-
} | {
|
|
557
552
|
user_id: string;
|
|
553
|
+
} | {
|
|
558
554
|
type: "user-custom-emails";
|
|
555
|
+
user_id: string;
|
|
559
556
|
emails: string[];
|
|
560
557
|
} | {
|
|
561
558
|
type: "custom-emails";
|
|
562
559
|
emails: string[];
|
|
563
560
|
};
|
|
561
|
+
updated_at_millis: number;
|
|
562
|
+
tsx_source: string;
|
|
563
|
+
theme_id: string | null;
|
|
564
564
|
variables: Record<string, {} | null>;
|
|
565
565
|
skip_deliverability_check: boolean;
|
|
566
566
|
scheduled_at_millis: number;
|
|
@@ -591,26 +591,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
591
591
|
can_have_delivery_info: boolean;
|
|
592
592
|
opened_at_millis: number;
|
|
593
593
|
} | {
|
|
594
|
-
status: "clicked";
|
|
595
594
|
id: string;
|
|
595
|
+
status: "clicked";
|
|
596
596
|
subject: string;
|
|
597
597
|
created_at_millis: number;
|
|
598
598
|
html: string | null;
|
|
599
599
|
text: string | null;
|
|
600
|
-
updated_at_millis: number;
|
|
601
|
-
tsx_source: string;
|
|
602
|
-
theme_id: string | null;
|
|
603
600
|
to: {
|
|
604
|
-
user_id: string;
|
|
605
601
|
type: "user-primary-email";
|
|
606
|
-
} | {
|
|
607
602
|
user_id: string;
|
|
603
|
+
} | {
|
|
608
604
|
type: "user-custom-emails";
|
|
605
|
+
user_id: string;
|
|
609
606
|
emails: string[];
|
|
610
607
|
} | {
|
|
611
608
|
type: "custom-emails";
|
|
612
609
|
emails: string[];
|
|
613
610
|
};
|
|
611
|
+
updated_at_millis: number;
|
|
612
|
+
tsx_source: string;
|
|
613
|
+
theme_id: string | null;
|
|
614
614
|
variables: Record<string, {} | null>;
|
|
615
615
|
skip_deliverability_check: boolean;
|
|
616
616
|
scheduled_at_millis: number;
|
|
@@ -641,26 +641,26 @@ declare const emailOutboxReadSchema: import("yup").MixedSchema<{
|
|
|
641
641
|
can_have_delivery_info: boolean;
|
|
642
642
|
clicked_at_millis: number;
|
|
643
643
|
} | {
|
|
644
|
-
status: "marked-as-spam";
|
|
645
644
|
id: string;
|
|
645
|
+
status: "marked-as-spam";
|
|
646
646
|
subject: string;
|
|
647
647
|
created_at_millis: number;
|
|
648
648
|
html: string | null;
|
|
649
649
|
text: string | null;
|
|
650
|
-
updated_at_millis: number;
|
|
651
|
-
tsx_source: string;
|
|
652
|
-
theme_id: string | null;
|
|
653
650
|
to: {
|
|
654
|
-
user_id: string;
|
|
655
651
|
type: "user-primary-email";
|
|
656
|
-
} | {
|
|
657
652
|
user_id: string;
|
|
653
|
+
} | {
|
|
658
654
|
type: "user-custom-emails";
|
|
655
|
+
user_id: string;
|
|
659
656
|
emails: string[];
|
|
660
657
|
} | {
|
|
661
658
|
type: "custom-emails";
|
|
662
659
|
emails: string[];
|
|
663
660
|
};
|
|
661
|
+
updated_at_millis: number;
|
|
662
|
+
tsx_source: string;
|
|
663
|
+
theme_id: string | null;
|
|
664
664
|
variables: Record<string, {} | null>;
|
|
665
665
|
skip_deliverability_check: boolean;
|
|
666
666
|
scheduled_at_millis: number;
|
|
@@ -695,11 +695,11 @@ declare const emailOutboxUpdateSchema: import("yup").ObjectSchema<{
|
|
|
695
695
|
tsx_source: string | undefined;
|
|
696
696
|
theme_id: string | null | undefined;
|
|
697
697
|
to: {
|
|
698
|
-
user_id: string;
|
|
699
698
|
type: "user-primary-email";
|
|
700
|
-
} | {
|
|
701
699
|
user_id: string;
|
|
700
|
+
} | {
|
|
702
701
|
type: "user-custom-emails";
|
|
702
|
+
user_id: string;
|
|
703
703
|
emails: string[];
|
|
704
704
|
} | {
|
|
705
705
|
type: "custom-emails";
|
|
@@ -722,23 +722,23 @@ declare const emailOutboxUpdateSchema: import("yup").ObjectSchema<{
|
|
|
722
722
|
}, "">;
|
|
723
723
|
declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
724
724
|
serverReadSchema: import("yup").MixedSchema<{
|
|
725
|
-
status: "paused";
|
|
726
725
|
id: string;
|
|
726
|
+
status: "paused";
|
|
727
727
|
created_at_millis: number;
|
|
728
|
-
updated_at_millis: number;
|
|
729
|
-
tsx_source: string;
|
|
730
|
-
theme_id: string | null;
|
|
731
728
|
to: {
|
|
732
|
-
user_id: string;
|
|
733
729
|
type: "user-primary-email";
|
|
734
|
-
} | {
|
|
735
730
|
user_id: string;
|
|
731
|
+
} | {
|
|
736
732
|
type: "user-custom-emails";
|
|
733
|
+
user_id: string;
|
|
737
734
|
emails: string[];
|
|
738
735
|
} | {
|
|
739
736
|
type: "custom-emails";
|
|
740
737
|
emails: string[];
|
|
741
738
|
};
|
|
739
|
+
updated_at_millis: number;
|
|
740
|
+
tsx_source: string;
|
|
741
|
+
theme_id: string | null;
|
|
742
742
|
variables: Record<string, {} | null>;
|
|
743
743
|
skip_deliverability_check: boolean;
|
|
744
744
|
scheduled_at_millis: number;
|
|
@@ -760,23 +760,23 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
760
760
|
has_rendered: boolean;
|
|
761
761
|
has_delivered: boolean;
|
|
762
762
|
} | {
|
|
763
|
-
status: "preparing";
|
|
764
763
|
id: string;
|
|
764
|
+
status: "preparing";
|
|
765
765
|
created_at_millis: number;
|
|
766
|
-
updated_at_millis: number;
|
|
767
|
-
tsx_source: string;
|
|
768
|
-
theme_id: string | null;
|
|
769
766
|
to: {
|
|
770
|
-
user_id: string;
|
|
771
767
|
type: "user-primary-email";
|
|
772
|
-
} | {
|
|
773
768
|
user_id: string;
|
|
769
|
+
} | {
|
|
774
770
|
type: "user-custom-emails";
|
|
771
|
+
user_id: string;
|
|
775
772
|
emails: string[];
|
|
776
773
|
} | {
|
|
777
774
|
type: "custom-emails";
|
|
778
775
|
emails: string[];
|
|
779
776
|
};
|
|
777
|
+
updated_at_millis: number;
|
|
778
|
+
tsx_source: string;
|
|
779
|
+
theme_id: string | null;
|
|
780
780
|
variables: Record<string, {} | null>;
|
|
781
781
|
skip_deliverability_check: boolean;
|
|
782
782
|
scheduled_at_millis: number;
|
|
@@ -798,23 +798,23 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
798
798
|
has_rendered: boolean;
|
|
799
799
|
has_delivered: boolean;
|
|
800
800
|
} | {
|
|
801
|
-
status: "rendering";
|
|
802
801
|
id: string;
|
|
802
|
+
status: "rendering";
|
|
803
803
|
created_at_millis: number;
|
|
804
|
-
updated_at_millis: number;
|
|
805
|
-
tsx_source: string;
|
|
806
|
-
theme_id: string | null;
|
|
807
804
|
to: {
|
|
808
|
-
user_id: string;
|
|
809
805
|
type: "user-primary-email";
|
|
810
|
-
} | {
|
|
811
806
|
user_id: string;
|
|
807
|
+
} | {
|
|
812
808
|
type: "user-custom-emails";
|
|
809
|
+
user_id: string;
|
|
813
810
|
emails: string[];
|
|
814
811
|
} | {
|
|
815
812
|
type: "custom-emails";
|
|
816
813
|
emails: string[];
|
|
817
814
|
};
|
|
815
|
+
updated_at_millis: number;
|
|
816
|
+
tsx_source: string;
|
|
817
|
+
theme_id: string | null;
|
|
818
818
|
variables: Record<string, {} | null>;
|
|
819
819
|
skip_deliverability_check: boolean;
|
|
820
820
|
scheduled_at_millis: number;
|
|
@@ -837,23 +837,23 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
837
837
|
has_delivered: boolean;
|
|
838
838
|
started_rendering_at_millis: number;
|
|
839
839
|
} | {
|
|
840
|
-
status: "render-error";
|
|
841
840
|
id: string;
|
|
841
|
+
status: "render-error";
|
|
842
842
|
created_at_millis: number;
|
|
843
|
-
updated_at_millis: number;
|
|
844
|
-
tsx_source: string;
|
|
845
|
-
theme_id: string | null;
|
|
846
843
|
to: {
|
|
847
|
-
user_id: string;
|
|
848
844
|
type: "user-primary-email";
|
|
849
|
-
} | {
|
|
850
845
|
user_id: string;
|
|
846
|
+
} | {
|
|
851
847
|
type: "user-custom-emails";
|
|
848
|
+
user_id: string;
|
|
852
849
|
emails: string[];
|
|
853
850
|
} | {
|
|
854
851
|
type: "custom-emails";
|
|
855
852
|
emails: string[];
|
|
856
853
|
};
|
|
854
|
+
updated_at_millis: number;
|
|
855
|
+
tsx_source: string;
|
|
856
|
+
theme_id: string | null;
|
|
857
857
|
variables: Record<string, {} | null>;
|
|
858
858
|
skip_deliverability_check: boolean;
|
|
859
859
|
scheduled_at_millis: number;
|
|
@@ -878,26 +878,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
878
878
|
rendered_at_millis: number;
|
|
879
879
|
render_error: string;
|
|
880
880
|
} | {
|
|
881
|
-
status: "scheduled";
|
|
882
881
|
id: string;
|
|
882
|
+
status: "scheduled";
|
|
883
883
|
subject: string;
|
|
884
884
|
created_at_millis: number;
|
|
885
885
|
html: string | null;
|
|
886
886
|
text: string | null;
|
|
887
|
-
updated_at_millis: number;
|
|
888
|
-
tsx_source: string;
|
|
889
|
-
theme_id: string | null;
|
|
890
887
|
to: {
|
|
891
|
-
user_id: string;
|
|
892
888
|
type: "user-primary-email";
|
|
893
|
-
} | {
|
|
894
889
|
user_id: string;
|
|
890
|
+
} | {
|
|
895
891
|
type: "user-custom-emails";
|
|
892
|
+
user_id: string;
|
|
896
893
|
emails: string[];
|
|
897
894
|
} | {
|
|
898
895
|
type: "custom-emails";
|
|
899
896
|
emails: string[];
|
|
900
897
|
};
|
|
898
|
+
updated_at_millis: number;
|
|
899
|
+
tsx_source: string;
|
|
900
|
+
theme_id: string | null;
|
|
901
901
|
variables: Record<string, {} | null>;
|
|
902
902
|
skip_deliverability_check: boolean;
|
|
903
903
|
scheduled_at_millis: number;
|
|
@@ -924,26 +924,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
924
924
|
is_high_priority: boolean;
|
|
925
925
|
notification_category_id: string | null;
|
|
926
926
|
} | {
|
|
927
|
-
status: "queued";
|
|
928
927
|
id: string;
|
|
928
|
+
status: "queued";
|
|
929
929
|
subject: string;
|
|
930
930
|
created_at_millis: number;
|
|
931
931
|
html: string | null;
|
|
932
932
|
text: string | null;
|
|
933
|
-
updated_at_millis: number;
|
|
934
|
-
tsx_source: string;
|
|
935
|
-
theme_id: string | null;
|
|
936
933
|
to: {
|
|
937
|
-
user_id: string;
|
|
938
934
|
type: "user-primary-email";
|
|
939
|
-
} | {
|
|
940
935
|
user_id: string;
|
|
936
|
+
} | {
|
|
941
937
|
type: "user-custom-emails";
|
|
938
|
+
user_id: string;
|
|
942
939
|
emails: string[];
|
|
943
940
|
} | {
|
|
944
941
|
type: "custom-emails";
|
|
945
942
|
emails: string[];
|
|
946
943
|
};
|
|
944
|
+
updated_at_millis: number;
|
|
945
|
+
tsx_source: string;
|
|
946
|
+
theme_id: string | null;
|
|
947
947
|
variables: Record<string, {} | null>;
|
|
948
948
|
skip_deliverability_check: boolean;
|
|
949
949
|
scheduled_at_millis: number;
|
|
@@ -970,26 +970,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
970
970
|
is_high_priority: boolean;
|
|
971
971
|
notification_category_id: string | null;
|
|
972
972
|
} | {
|
|
973
|
-
status: "sending";
|
|
974
973
|
id: string;
|
|
974
|
+
status: "sending";
|
|
975
975
|
subject: string;
|
|
976
976
|
created_at_millis: number;
|
|
977
977
|
html: string | null;
|
|
978
978
|
text: string | null;
|
|
979
|
-
updated_at_millis: number;
|
|
980
|
-
tsx_source: string;
|
|
981
|
-
theme_id: string | null;
|
|
982
979
|
to: {
|
|
983
|
-
user_id: string;
|
|
984
980
|
type: "user-primary-email";
|
|
985
|
-
} | {
|
|
986
981
|
user_id: string;
|
|
982
|
+
} | {
|
|
987
983
|
type: "user-custom-emails";
|
|
984
|
+
user_id: string;
|
|
988
985
|
emails: string[];
|
|
989
986
|
} | {
|
|
990
987
|
type: "custom-emails";
|
|
991
988
|
emails: string[];
|
|
992
989
|
};
|
|
990
|
+
updated_at_millis: number;
|
|
991
|
+
tsx_source: string;
|
|
992
|
+
theme_id: string | null;
|
|
993
993
|
variables: Record<string, {} | null>;
|
|
994
994
|
skip_deliverability_check: boolean;
|
|
995
995
|
scheduled_at_millis: number;
|
|
@@ -1017,26 +1017,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1017
1017
|
notification_category_id: string | null;
|
|
1018
1018
|
started_sending_at_millis: number;
|
|
1019
1019
|
} | {
|
|
1020
|
-
status: "server-error";
|
|
1021
1020
|
id: string;
|
|
1021
|
+
status: "server-error";
|
|
1022
1022
|
subject: string;
|
|
1023
1023
|
created_at_millis: number;
|
|
1024
1024
|
html: string | null;
|
|
1025
1025
|
text: string | null;
|
|
1026
|
-
updated_at_millis: number;
|
|
1027
|
-
tsx_source: string;
|
|
1028
|
-
theme_id: string | null;
|
|
1029
1026
|
to: {
|
|
1030
|
-
user_id: string;
|
|
1031
1027
|
type: "user-primary-email";
|
|
1032
|
-
} | {
|
|
1033
1028
|
user_id: string;
|
|
1029
|
+
} | {
|
|
1034
1030
|
type: "user-custom-emails";
|
|
1031
|
+
user_id: string;
|
|
1035
1032
|
emails: string[];
|
|
1036
1033
|
} | {
|
|
1037
1034
|
type: "custom-emails";
|
|
1038
1035
|
emails: string[];
|
|
1039
1036
|
};
|
|
1037
|
+
updated_at_millis: number;
|
|
1038
|
+
tsx_source: string;
|
|
1039
|
+
theme_id: string | null;
|
|
1040
1040
|
variables: Record<string, {} | null>;
|
|
1041
1041
|
skip_deliverability_check: boolean;
|
|
1042
1042
|
scheduled_at_millis: number;
|
|
@@ -1075,23 +1075,23 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1075
1075
|
is_high_priority?: boolean | undefined;
|
|
1076
1076
|
notification_category_id?: string | null | undefined;
|
|
1077
1077
|
started_sending_at_millis?: number | undefined;
|
|
1078
|
-
status: "skipped";
|
|
1079
1078
|
id: string;
|
|
1079
|
+
status: "skipped";
|
|
1080
1080
|
created_at_millis: number;
|
|
1081
|
-
updated_at_millis: number;
|
|
1082
|
-
tsx_source: string;
|
|
1083
|
-
theme_id: string | null;
|
|
1084
1081
|
to: {
|
|
1085
|
-
user_id: string;
|
|
1086
1082
|
type: "user-primary-email";
|
|
1087
|
-
} | {
|
|
1088
1083
|
user_id: string;
|
|
1084
|
+
} | {
|
|
1089
1085
|
type: "user-custom-emails";
|
|
1086
|
+
user_id: string;
|
|
1090
1087
|
emails: string[];
|
|
1091
1088
|
} | {
|
|
1092
1089
|
type: "custom-emails";
|
|
1093
1090
|
emails: string[];
|
|
1094
1091
|
};
|
|
1092
|
+
updated_at_millis: number;
|
|
1093
|
+
tsx_source: string;
|
|
1094
|
+
theme_id: string | null;
|
|
1095
1095
|
variables: Record<string, {} | null>;
|
|
1096
1096
|
skip_deliverability_check: boolean;
|
|
1097
1097
|
scheduled_at_millis: number;
|
|
@@ -1116,26 +1116,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1116
1116
|
skipped_reason: string;
|
|
1117
1117
|
skipped_details: Record<string, {} | null>;
|
|
1118
1118
|
} | {
|
|
1119
|
-
status: "bounced";
|
|
1120
1119
|
id: string;
|
|
1120
|
+
status: "bounced";
|
|
1121
1121
|
subject: string;
|
|
1122
1122
|
created_at_millis: number;
|
|
1123
1123
|
html: string | null;
|
|
1124
1124
|
text: string | null;
|
|
1125
|
-
updated_at_millis: number;
|
|
1126
|
-
tsx_source: string;
|
|
1127
|
-
theme_id: string | null;
|
|
1128
1125
|
to: {
|
|
1129
|
-
user_id: string;
|
|
1130
1126
|
type: "user-primary-email";
|
|
1131
|
-
} | {
|
|
1132
1127
|
user_id: string;
|
|
1128
|
+
} | {
|
|
1133
1129
|
type: "user-custom-emails";
|
|
1130
|
+
user_id: string;
|
|
1134
1131
|
emails: string[];
|
|
1135
1132
|
} | {
|
|
1136
1133
|
type: "custom-emails";
|
|
1137
1134
|
emails: string[];
|
|
1138
1135
|
};
|
|
1136
|
+
updated_at_millis: number;
|
|
1137
|
+
tsx_source: string;
|
|
1138
|
+
theme_id: string | null;
|
|
1139
1139
|
variables: Record<string, {} | null>;
|
|
1140
1140
|
skip_deliverability_check: boolean;
|
|
1141
1141
|
scheduled_at_millis: number;
|
|
@@ -1164,26 +1164,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1164
1164
|
started_sending_at_millis: number;
|
|
1165
1165
|
bounced_at_millis: number;
|
|
1166
1166
|
} | {
|
|
1167
|
-
status: "delivery-delayed";
|
|
1168
1167
|
id: string;
|
|
1168
|
+
status: "delivery-delayed";
|
|
1169
1169
|
subject: string;
|
|
1170
1170
|
created_at_millis: number;
|
|
1171
1171
|
html: string | null;
|
|
1172
1172
|
text: string | null;
|
|
1173
|
-
updated_at_millis: number;
|
|
1174
|
-
tsx_source: string;
|
|
1175
|
-
theme_id: string | null;
|
|
1176
1173
|
to: {
|
|
1177
|
-
user_id: string;
|
|
1178
1174
|
type: "user-primary-email";
|
|
1179
|
-
} | {
|
|
1180
1175
|
user_id: string;
|
|
1176
|
+
} | {
|
|
1181
1177
|
type: "user-custom-emails";
|
|
1178
|
+
user_id: string;
|
|
1182
1179
|
emails: string[];
|
|
1183
1180
|
} | {
|
|
1184
1181
|
type: "custom-emails";
|
|
1185
1182
|
emails: string[];
|
|
1186
1183
|
};
|
|
1184
|
+
updated_at_millis: number;
|
|
1185
|
+
tsx_source: string;
|
|
1186
|
+
theme_id: string | null;
|
|
1187
1187
|
variables: Record<string, {} | null>;
|
|
1188
1188
|
skip_deliverability_check: boolean;
|
|
1189
1189
|
scheduled_at_millis: number;
|
|
@@ -1212,26 +1212,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1212
1212
|
started_sending_at_millis: number;
|
|
1213
1213
|
delivery_delayed_at_millis: number;
|
|
1214
1214
|
} | {
|
|
1215
|
-
status: "sent";
|
|
1216
1215
|
id: string;
|
|
1216
|
+
status: "sent";
|
|
1217
1217
|
subject: string;
|
|
1218
1218
|
created_at_millis: number;
|
|
1219
1219
|
html: string | null;
|
|
1220
1220
|
text: string | null;
|
|
1221
|
-
updated_at_millis: number;
|
|
1222
|
-
tsx_source: string;
|
|
1223
|
-
theme_id: string | null;
|
|
1224
1221
|
to: {
|
|
1225
|
-
user_id: string;
|
|
1226
1222
|
type: "user-primary-email";
|
|
1227
|
-
} | {
|
|
1228
1223
|
user_id: string;
|
|
1224
|
+
} | {
|
|
1229
1225
|
type: "user-custom-emails";
|
|
1226
|
+
user_id: string;
|
|
1230
1227
|
emails: string[];
|
|
1231
1228
|
} | {
|
|
1232
1229
|
type: "custom-emails";
|
|
1233
1230
|
emails: string[];
|
|
1234
1231
|
};
|
|
1232
|
+
updated_at_millis: number;
|
|
1233
|
+
tsx_source: string;
|
|
1234
|
+
theme_id: string | null;
|
|
1235
1235
|
variables: Record<string, {} | null>;
|
|
1236
1236
|
skip_deliverability_check: boolean;
|
|
1237
1237
|
scheduled_at_millis: number;
|
|
@@ -1261,26 +1261,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1261
1261
|
delivered_at_millis: number;
|
|
1262
1262
|
can_have_delivery_info: boolean;
|
|
1263
1263
|
} | {
|
|
1264
|
-
status: "opened";
|
|
1265
1264
|
id: string;
|
|
1265
|
+
status: "opened";
|
|
1266
1266
|
subject: string;
|
|
1267
1267
|
created_at_millis: number;
|
|
1268
1268
|
html: string | null;
|
|
1269
1269
|
text: string | null;
|
|
1270
|
-
updated_at_millis: number;
|
|
1271
|
-
tsx_source: string;
|
|
1272
|
-
theme_id: string | null;
|
|
1273
1270
|
to: {
|
|
1274
|
-
user_id: string;
|
|
1275
1271
|
type: "user-primary-email";
|
|
1276
|
-
} | {
|
|
1277
1272
|
user_id: string;
|
|
1273
|
+
} | {
|
|
1278
1274
|
type: "user-custom-emails";
|
|
1275
|
+
user_id: string;
|
|
1279
1276
|
emails: string[];
|
|
1280
1277
|
} | {
|
|
1281
1278
|
type: "custom-emails";
|
|
1282
1279
|
emails: string[];
|
|
1283
1280
|
};
|
|
1281
|
+
updated_at_millis: number;
|
|
1282
|
+
tsx_source: string;
|
|
1283
|
+
theme_id: string | null;
|
|
1284
1284
|
variables: Record<string, {} | null>;
|
|
1285
1285
|
skip_deliverability_check: boolean;
|
|
1286
1286
|
scheduled_at_millis: number;
|
|
@@ -1311,26 +1311,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1311
1311
|
can_have_delivery_info: boolean;
|
|
1312
1312
|
opened_at_millis: number;
|
|
1313
1313
|
} | {
|
|
1314
|
-
status: "clicked";
|
|
1315
1314
|
id: string;
|
|
1315
|
+
status: "clicked";
|
|
1316
1316
|
subject: string;
|
|
1317
1317
|
created_at_millis: number;
|
|
1318
1318
|
html: string | null;
|
|
1319
1319
|
text: string | null;
|
|
1320
|
-
updated_at_millis: number;
|
|
1321
|
-
tsx_source: string;
|
|
1322
|
-
theme_id: string | null;
|
|
1323
1320
|
to: {
|
|
1324
|
-
user_id: string;
|
|
1325
1321
|
type: "user-primary-email";
|
|
1326
|
-
} | {
|
|
1327
1322
|
user_id: string;
|
|
1323
|
+
} | {
|
|
1328
1324
|
type: "user-custom-emails";
|
|
1325
|
+
user_id: string;
|
|
1329
1326
|
emails: string[];
|
|
1330
1327
|
} | {
|
|
1331
1328
|
type: "custom-emails";
|
|
1332
1329
|
emails: string[];
|
|
1333
1330
|
};
|
|
1331
|
+
updated_at_millis: number;
|
|
1332
|
+
tsx_source: string;
|
|
1333
|
+
theme_id: string | null;
|
|
1334
1334
|
variables: Record<string, {} | null>;
|
|
1335
1335
|
skip_deliverability_check: boolean;
|
|
1336
1336
|
scheduled_at_millis: number;
|
|
@@ -1361,26 +1361,26 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1361
1361
|
can_have_delivery_info: boolean;
|
|
1362
1362
|
clicked_at_millis: number;
|
|
1363
1363
|
} | {
|
|
1364
|
-
status: "marked-as-spam";
|
|
1365
1364
|
id: string;
|
|
1365
|
+
status: "marked-as-spam";
|
|
1366
1366
|
subject: string;
|
|
1367
1367
|
created_at_millis: number;
|
|
1368
1368
|
html: string | null;
|
|
1369
1369
|
text: string | null;
|
|
1370
|
-
updated_at_millis: number;
|
|
1371
|
-
tsx_source: string;
|
|
1372
|
-
theme_id: string | null;
|
|
1373
1370
|
to: {
|
|
1374
|
-
user_id: string;
|
|
1375
1371
|
type: "user-primary-email";
|
|
1376
|
-
} | {
|
|
1377
1372
|
user_id: string;
|
|
1373
|
+
} | {
|
|
1378
1374
|
type: "user-custom-emails";
|
|
1375
|
+
user_id: string;
|
|
1379
1376
|
emails: string[];
|
|
1380
1377
|
} | {
|
|
1381
1378
|
type: "custom-emails";
|
|
1382
1379
|
emails: string[];
|
|
1383
1380
|
};
|
|
1381
|
+
updated_at_millis: number;
|
|
1382
|
+
tsx_source: string;
|
|
1383
|
+
theme_id: string | null;
|
|
1384
1384
|
variables: Record<string, {} | null>;
|
|
1385
1385
|
skip_deliverability_check: boolean;
|
|
1386
1386
|
scheduled_at_millis: number;
|
|
@@ -1415,11 +1415,11 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1415
1415
|
tsx_source: string | undefined;
|
|
1416
1416
|
theme_id: string | null | undefined;
|
|
1417
1417
|
to: {
|
|
1418
|
-
user_id: string;
|
|
1419
1418
|
type: "user-primary-email";
|
|
1420
|
-
} | {
|
|
1421
1419
|
user_id: string;
|
|
1420
|
+
} | {
|
|
1422
1421
|
type: "user-custom-emails";
|
|
1422
|
+
user_id: string;
|
|
1423
1423
|
emails: string[];
|
|
1424
1424
|
} | {
|
|
1425
1425
|
type: "custom-emails";
|
|
@@ -1461,4 +1461,4 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1461
1461
|
type EmailOutboxCrud = CrudTypeOf<typeof emailOutboxCrud>;
|
|
1462
1462
|
//#endregion
|
|
1463
1463
|
export { emailOutboxUpdateSchema as i, emailOutboxCrud as n, emailOutboxReadSchema as r, EmailOutboxCrud as t };
|
|
1464
|
-
//# sourceMappingURL=email-outbox-
|
|
1464
|
+
//# sourceMappingURL=email-outbox-ILs0LlGd.d.ts.map
|