@hexclave/shared 1.0.37 → 1.0.38
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 +2 -1
- package/dist/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/config/schema.d.ts +150 -150
- package/dist/esm/ai/unified-prompts/reminders.js +2 -1
- package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/esm/config/schema.d.ts +150 -150
- package/dist/esm/hooks/use-async-callback.js +1 -1
- package/dist/esm/hooks/use-async-external-store.js +1 -1
- package/dist/esm/hooks/use-strict-memo.js +1 -1
- package/dist/esm/interface/admin-interface.js +1 -1
- package/dist/esm/interface/client-interface.js +1 -1
- package/dist/esm/interface/conversations.d.ts +28 -28
- package/dist/esm/interface/crud/current-user.d.ts +5 -5
- package/dist/esm/interface/crud/email-outbox.d.ts +64 -64
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- package/dist/esm/interface/crud/projects.d.ts +28 -28
- package/dist/esm/interface/crud/team-member-profiles.d.ts +8 -8
- package/dist/esm/interface/crud/users.d.ts +4 -4
- package/dist/esm/interface/server-interface.js +1 -1
- package/dist/esm/utils/promises.js +1 -1
- package/dist/hooks/use-async-callback.js +1 -1
- package/dist/hooks/use-async-external-store.js +1 -1
- package/dist/hooks/use-strict-memo.js +1 -1
- package/dist/interface/admin-interface.js +1 -1
- package/dist/interface/client-interface.js +1 -1
- package/dist/interface/conversations.d.ts +28 -28
- package/dist/interface/crud/current-user.d.ts +5 -5
- package/dist/interface/crud/email-outbox.d.ts +64 -64
- package/dist/interface/crud/invoices.d.ts +2 -2
- package/dist/interface/crud/projects.d.ts +28 -28
- package/dist/interface/crud/team-member-profiles.d.ts +8 -8
- package/dist/interface/crud/users.d.ts +4 -4
- package/dist/interface/server-interface.js +1 -1
- package/dist/utils/promises.js +1 -1
- package/package.json +1 -1
- package/src/ai/unified-prompts/reminders.ts +2 -1
|
@@ -49,7 +49,7 @@ declare const conversationSummarySchema: yup$1.ObjectSchema<{
|
|
|
49
49
|
userPrimaryEmail: string | null;
|
|
50
50
|
userProfileImageUrl: string | null;
|
|
51
51
|
subject: string;
|
|
52
|
-
status: "
|
|
52
|
+
status: "pending" | "open" | "closed";
|
|
53
53
|
priority: "low" | "normal" | "high" | "urgent";
|
|
54
54
|
source: "email" | "manual" | "chat" | "api";
|
|
55
55
|
lastMessageType: "message" | "internal-note" | "status-change";
|
|
@@ -129,7 +129,7 @@ declare const conversationMessageSchema: yup$1.ObjectSchema<{
|
|
|
129
129
|
userId: string | null;
|
|
130
130
|
teamId: string | null;
|
|
131
131
|
subject: string;
|
|
132
|
-
status: "
|
|
132
|
+
status: "pending" | "open" | "closed";
|
|
133
133
|
priority: "low" | "normal" | "high" | "urgent";
|
|
134
134
|
source: "email" | "manual" | "chat" | "api";
|
|
135
135
|
messageType: "message" | "internal-note" | "status-change";
|
|
@@ -173,19 +173,9 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
|
|
|
173
173
|
lastOutboundAt?: string | null | undefined;
|
|
174
174
|
closedAt?: string | null | undefined;
|
|
175
175
|
recordMetadata?: {} | null | undefined;
|
|
176
|
-
status: "
|
|
176
|
+
status: "pending" | "open" | "closed";
|
|
177
177
|
priority: "low" | "normal" | "high" | "urgent";
|
|
178
|
-
subject: string;
|
|
179
|
-
conversationId: string;
|
|
180
|
-
userId: string | null;
|
|
181
|
-
teamId: string | null;
|
|
182
|
-
userDisplayName: string | null;
|
|
183
|
-
userPrimaryEmail: string | null;
|
|
184
|
-
userProfileImageUrl: string | null;
|
|
185
178
|
source: "email" | "manual" | "chat" | "api";
|
|
186
|
-
lastMessageType: "message" | "internal-note" | "status-change";
|
|
187
|
-
preview: string | null;
|
|
188
|
-
lastActivityAt: string;
|
|
189
179
|
metadata: {
|
|
190
180
|
tags: string[];
|
|
191
181
|
assignedToUserId: string | null;
|
|
@@ -196,6 +186,16 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
|
|
|
196
186
|
lastCustomerReplyAt: string | null;
|
|
197
187
|
lastAgentReplyAt: string | null;
|
|
198
188
|
};
|
|
189
|
+
subject: string;
|
|
190
|
+
conversationId: string;
|
|
191
|
+
userId: string | null;
|
|
192
|
+
teamId: string | null;
|
|
193
|
+
userDisplayName: string | null;
|
|
194
|
+
userPrimaryEmail: string | null;
|
|
195
|
+
userProfileImageUrl: string | null;
|
|
196
|
+
lastMessageType: "message" | "internal-note" | "status-change";
|
|
197
|
+
preview: string | null;
|
|
198
|
+
lastActivityAt: string;
|
|
199
199
|
}[];
|
|
200
200
|
hasMore: boolean;
|
|
201
201
|
}, yup$1.AnyObject, {
|
|
@@ -211,19 +211,9 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
211
211
|
lastOutboundAt?: string | null | undefined;
|
|
212
212
|
closedAt?: string | null | undefined;
|
|
213
213
|
recordMetadata?: {} | null | undefined;
|
|
214
|
-
status: "
|
|
214
|
+
status: "pending" | "open" | "closed";
|
|
215
215
|
priority: "low" | "normal" | "high" | "urgent";
|
|
216
|
-
subject: string;
|
|
217
|
-
conversationId: string;
|
|
218
|
-
userId: string | null;
|
|
219
|
-
teamId: string | null;
|
|
220
|
-
userDisplayName: string | null;
|
|
221
|
-
userPrimaryEmail: string | null;
|
|
222
|
-
userProfileImageUrl: string | null;
|
|
223
216
|
source: "email" | "manual" | "chat" | "api";
|
|
224
|
-
lastMessageType: "message" | "internal-note" | "status-change";
|
|
225
|
-
preview: string | null;
|
|
226
|
-
lastActivityAt: string;
|
|
227
217
|
metadata: {
|
|
228
218
|
tags: string[];
|
|
229
219
|
assignedToUserId: string | null;
|
|
@@ -234,20 +224,30 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
234
224
|
lastCustomerReplyAt: string | null;
|
|
235
225
|
lastAgentReplyAt: string | null;
|
|
236
226
|
};
|
|
227
|
+
subject: string;
|
|
228
|
+
conversationId: string;
|
|
229
|
+
userId: string | null;
|
|
230
|
+
teamId: string | null;
|
|
231
|
+
userDisplayName: string | null;
|
|
232
|
+
userPrimaryEmail: string | null;
|
|
233
|
+
userProfileImageUrl: string | null;
|
|
234
|
+
lastMessageType: "message" | "internal-note" | "status-change";
|
|
235
|
+
preview: string | null;
|
|
236
|
+
lastActivityAt: string;
|
|
237
237
|
};
|
|
238
238
|
messages: {
|
|
239
|
-
status: "
|
|
239
|
+
status: "pending" | "open" | "closed";
|
|
240
240
|
id: string;
|
|
241
241
|
priority: "low" | "normal" | "high" | "urgent";
|
|
242
|
+
body: string | null;
|
|
243
|
+
source: "email" | "manual" | "chat" | "api";
|
|
244
|
+
metadata: {} | null;
|
|
242
245
|
subject: string;
|
|
243
246
|
conversationId: string;
|
|
244
247
|
userId: string | null;
|
|
245
248
|
teamId: string | null;
|
|
246
|
-
source: "email" | "manual" | "chat" | "api";
|
|
247
|
-
metadata: {} | null;
|
|
248
249
|
createdAt: string;
|
|
249
250
|
messageType: "message" | "internal-note" | "status-change";
|
|
250
|
-
body: string | null;
|
|
251
251
|
attachments: {}[];
|
|
252
252
|
sender: {
|
|
253
253
|
type: "user" | "agent" | "system";
|
|
@@ -9,14 +9,14 @@ declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
9
9
|
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
10
10
|
} | null;
|
|
11
11
|
primary_email: string | null;
|
|
12
|
-
selected_team_id: string | null;
|
|
13
|
-
is_anonymous: boolean;
|
|
14
|
-
is_restricted: boolean;
|
|
15
|
-
requires_totp_mfa: boolean;
|
|
16
12
|
display_name: string | null;
|
|
17
13
|
client_metadata: {} | null;
|
|
18
14
|
client_read_only_metadata: {} | null;
|
|
19
15
|
id: string;
|
|
16
|
+
selected_team_id: string | null;
|
|
17
|
+
is_anonymous: boolean;
|
|
18
|
+
is_restricted: boolean;
|
|
19
|
+
requires_totp_mfa: boolean;
|
|
20
20
|
primary_email_verified: boolean;
|
|
21
21
|
profile_image_url: string | null;
|
|
22
22
|
signed_up_at_millis: number;
|
|
@@ -174,9 +174,9 @@ declare const currentUserCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
174
174
|
}, "">;
|
|
175
175
|
clientUpdateSchema: yup$1.ObjectSchema<{
|
|
176
176
|
primary_email: string | null | undefined;
|
|
177
|
-
selected_team_id: string | null | undefined;
|
|
178
177
|
display_name: string | null | undefined;
|
|
179
178
|
client_metadata: {} | null | undefined;
|
|
179
|
+
selected_team_id: string | null | undefined;
|
|
180
180
|
profile_image_url: string | null | undefined;
|
|
181
181
|
otp_auth_enabled: boolean | undefined;
|
|
182
182
|
passkey_auth_enabled: boolean | undefined;
|
|
@@ -162,11 +162,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
162
162
|
} | {
|
|
163
163
|
status: "scheduled";
|
|
164
164
|
id: string;
|
|
165
|
-
created_at_millis: number;
|
|
166
|
-
subject: string;
|
|
167
|
-
notification_category_id: string | null;
|
|
168
165
|
html: string | null;
|
|
169
166
|
text: string | null;
|
|
167
|
+
created_at_millis: number;
|
|
168
|
+
subject: string;
|
|
170
169
|
updated_at_millis: number;
|
|
171
170
|
tsx_source: string;
|
|
172
171
|
theme_id: string | null;
|
|
@@ -205,14 +204,14 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
205
204
|
rendered_at_millis: number;
|
|
206
205
|
is_transactional: boolean;
|
|
207
206
|
is_high_priority: boolean;
|
|
207
|
+
notification_category_id: string | null;
|
|
208
208
|
} | {
|
|
209
209
|
status: "queued";
|
|
210
210
|
id: string;
|
|
211
|
-
created_at_millis: number;
|
|
212
|
-
subject: string;
|
|
213
|
-
notification_category_id: string | null;
|
|
214
211
|
html: string | null;
|
|
215
212
|
text: string | null;
|
|
213
|
+
created_at_millis: number;
|
|
214
|
+
subject: string;
|
|
216
215
|
updated_at_millis: number;
|
|
217
216
|
tsx_source: string;
|
|
218
217
|
theme_id: string | null;
|
|
@@ -251,14 +250,14 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
251
250
|
rendered_at_millis: number;
|
|
252
251
|
is_transactional: boolean;
|
|
253
252
|
is_high_priority: boolean;
|
|
253
|
+
notification_category_id: string | null;
|
|
254
254
|
} | {
|
|
255
255
|
status: "sending";
|
|
256
256
|
id: string;
|
|
257
|
-
created_at_millis: number;
|
|
258
|
-
subject: string;
|
|
259
|
-
notification_category_id: string | null;
|
|
260
257
|
html: string | null;
|
|
261
258
|
text: string | null;
|
|
259
|
+
created_at_millis: number;
|
|
260
|
+
subject: string;
|
|
262
261
|
updated_at_millis: number;
|
|
263
262
|
tsx_source: string;
|
|
264
263
|
theme_id: string | null;
|
|
@@ -297,15 +296,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
297
296
|
rendered_at_millis: number;
|
|
298
297
|
is_transactional: boolean;
|
|
299
298
|
is_high_priority: boolean;
|
|
299
|
+
notification_category_id: string | null;
|
|
300
300
|
started_sending_at_millis: number;
|
|
301
301
|
} | {
|
|
302
302
|
status: "server-error";
|
|
303
303
|
id: string;
|
|
304
|
-
created_at_millis: number;
|
|
305
|
-
subject: string;
|
|
306
|
-
notification_category_id: string | null;
|
|
307
304
|
html: string | null;
|
|
308
305
|
text: string | null;
|
|
306
|
+
created_at_millis: number;
|
|
307
|
+
subject: string;
|
|
309
308
|
updated_at_millis: number;
|
|
310
309
|
tsx_source: string;
|
|
311
310
|
theme_id: string | null;
|
|
@@ -344,18 +343,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
344
343
|
rendered_at_millis: number;
|
|
345
344
|
is_transactional: boolean;
|
|
346
345
|
is_high_priority: boolean;
|
|
346
|
+
notification_category_id: string | null;
|
|
347
347
|
started_sending_at_millis: number;
|
|
348
348
|
error_at_millis: number;
|
|
349
349
|
server_error: string;
|
|
350
350
|
} | {
|
|
351
|
-
subject?: string | undefined;
|
|
352
|
-
notification_category_id?: string | null | undefined;
|
|
353
351
|
html?: string | null | undefined;
|
|
354
352
|
text?: string | null | undefined;
|
|
353
|
+
subject?: string | undefined;
|
|
355
354
|
started_rendering_at_millis?: number | undefined;
|
|
356
355
|
rendered_at_millis?: number | undefined;
|
|
357
356
|
is_transactional?: boolean | undefined;
|
|
358
357
|
is_high_priority?: boolean | undefined;
|
|
358
|
+
notification_category_id?: string | null | undefined;
|
|
359
359
|
started_sending_at_millis?: number | undefined;
|
|
360
360
|
status: "skipped";
|
|
361
361
|
id: string;
|
|
@@ -400,11 +400,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
400
400
|
} | {
|
|
401
401
|
status: "bounced";
|
|
402
402
|
id: string;
|
|
403
|
-
created_at_millis: number;
|
|
404
|
-
subject: string;
|
|
405
|
-
notification_category_id: string | null;
|
|
406
403
|
html: string | null;
|
|
407
404
|
text: string | null;
|
|
405
|
+
created_at_millis: number;
|
|
406
|
+
subject: string;
|
|
408
407
|
updated_at_millis: number;
|
|
409
408
|
tsx_source: string;
|
|
410
409
|
theme_id: string | null;
|
|
@@ -443,16 +442,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
443
442
|
rendered_at_millis: number;
|
|
444
443
|
is_transactional: boolean;
|
|
445
444
|
is_high_priority: boolean;
|
|
445
|
+
notification_category_id: string | null;
|
|
446
446
|
started_sending_at_millis: number;
|
|
447
447
|
bounced_at_millis: number;
|
|
448
448
|
} | {
|
|
449
449
|
status: "delivery-delayed";
|
|
450
450
|
id: string;
|
|
451
|
-
created_at_millis: number;
|
|
452
|
-
subject: string;
|
|
453
|
-
notification_category_id: string | null;
|
|
454
451
|
html: string | null;
|
|
455
452
|
text: string | null;
|
|
453
|
+
created_at_millis: number;
|
|
454
|
+
subject: string;
|
|
456
455
|
updated_at_millis: number;
|
|
457
456
|
tsx_source: string;
|
|
458
457
|
theme_id: string | null;
|
|
@@ -491,16 +490,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
491
490
|
rendered_at_millis: number;
|
|
492
491
|
is_transactional: boolean;
|
|
493
492
|
is_high_priority: boolean;
|
|
493
|
+
notification_category_id: string | null;
|
|
494
494
|
started_sending_at_millis: number;
|
|
495
495
|
delivery_delayed_at_millis: number;
|
|
496
496
|
} | {
|
|
497
497
|
status: "sent";
|
|
498
498
|
id: string;
|
|
499
|
-
created_at_millis: number;
|
|
500
|
-
subject: string;
|
|
501
|
-
notification_category_id: string | null;
|
|
502
499
|
html: string | null;
|
|
503
500
|
text: string | null;
|
|
501
|
+
created_at_millis: number;
|
|
502
|
+
subject: string;
|
|
504
503
|
updated_at_millis: number;
|
|
505
504
|
tsx_source: string;
|
|
506
505
|
theme_id: string | null;
|
|
@@ -539,17 +538,17 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
539
538
|
rendered_at_millis: number;
|
|
540
539
|
is_transactional: boolean;
|
|
541
540
|
is_high_priority: boolean;
|
|
541
|
+
notification_category_id: string | null;
|
|
542
542
|
started_sending_at_millis: number;
|
|
543
543
|
delivered_at_millis: number;
|
|
544
544
|
can_have_delivery_info: boolean;
|
|
545
545
|
} | {
|
|
546
546
|
status: "opened";
|
|
547
547
|
id: string;
|
|
548
|
-
created_at_millis: number;
|
|
549
|
-
subject: string;
|
|
550
|
-
notification_category_id: string | null;
|
|
551
548
|
html: string | null;
|
|
552
549
|
text: string | null;
|
|
550
|
+
created_at_millis: number;
|
|
551
|
+
subject: string;
|
|
553
552
|
updated_at_millis: number;
|
|
554
553
|
tsx_source: string;
|
|
555
554
|
theme_id: string | null;
|
|
@@ -588,6 +587,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
588
587
|
rendered_at_millis: number;
|
|
589
588
|
is_transactional: boolean;
|
|
590
589
|
is_high_priority: boolean;
|
|
590
|
+
notification_category_id: string | null;
|
|
591
591
|
started_sending_at_millis: number;
|
|
592
592
|
delivered_at_millis: number;
|
|
593
593
|
can_have_delivery_info: boolean;
|
|
@@ -595,11 +595,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
595
595
|
} | {
|
|
596
596
|
status: "clicked";
|
|
597
597
|
id: string;
|
|
598
|
-
created_at_millis: number;
|
|
599
|
-
subject: string;
|
|
600
|
-
notification_category_id: string | null;
|
|
601
598
|
html: string | null;
|
|
602
599
|
text: string | null;
|
|
600
|
+
created_at_millis: number;
|
|
601
|
+
subject: string;
|
|
603
602
|
updated_at_millis: number;
|
|
604
603
|
tsx_source: string;
|
|
605
604
|
theme_id: string | null;
|
|
@@ -638,6 +637,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
638
637
|
rendered_at_millis: number;
|
|
639
638
|
is_transactional: boolean;
|
|
640
639
|
is_high_priority: boolean;
|
|
640
|
+
notification_category_id: string | null;
|
|
641
641
|
started_sending_at_millis: number;
|
|
642
642
|
delivered_at_millis: number;
|
|
643
643
|
can_have_delivery_info: boolean;
|
|
@@ -645,11 +645,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
645
645
|
} | {
|
|
646
646
|
status: "marked-as-spam";
|
|
647
647
|
id: string;
|
|
648
|
-
created_at_millis: number;
|
|
649
|
-
subject: string;
|
|
650
|
-
notification_category_id: string | null;
|
|
651
648
|
html: string | null;
|
|
652
649
|
text: string | null;
|
|
650
|
+
created_at_millis: number;
|
|
651
|
+
subject: string;
|
|
653
652
|
updated_at_millis: number;
|
|
654
653
|
tsx_source: string;
|
|
655
654
|
theme_id: string | null;
|
|
@@ -688,6 +687,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
688
687
|
rendered_at_millis: number;
|
|
689
688
|
is_transactional: boolean;
|
|
690
689
|
is_high_priority: boolean;
|
|
690
|
+
notification_category_id: string | null;
|
|
691
691
|
started_sending_at_millis: number;
|
|
692
692
|
delivered_at_millis: number;
|
|
693
693
|
can_have_delivery_info: boolean;
|
|
@@ -882,11 +882,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
882
882
|
} | {
|
|
883
883
|
status: "scheduled";
|
|
884
884
|
id: string;
|
|
885
|
-
created_at_millis: number;
|
|
886
|
-
subject: string;
|
|
887
|
-
notification_category_id: string | null;
|
|
888
885
|
html: string | null;
|
|
889
886
|
text: string | null;
|
|
887
|
+
created_at_millis: number;
|
|
888
|
+
subject: string;
|
|
890
889
|
updated_at_millis: number;
|
|
891
890
|
tsx_source: string;
|
|
892
891
|
theme_id: string | null;
|
|
@@ -925,14 +924,14 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
925
924
|
rendered_at_millis: number;
|
|
926
925
|
is_transactional: boolean;
|
|
927
926
|
is_high_priority: boolean;
|
|
927
|
+
notification_category_id: string | null;
|
|
928
928
|
} | {
|
|
929
929
|
status: "queued";
|
|
930
930
|
id: string;
|
|
931
|
-
created_at_millis: number;
|
|
932
|
-
subject: string;
|
|
933
|
-
notification_category_id: string | null;
|
|
934
931
|
html: string | null;
|
|
935
932
|
text: string | null;
|
|
933
|
+
created_at_millis: number;
|
|
934
|
+
subject: string;
|
|
936
935
|
updated_at_millis: number;
|
|
937
936
|
tsx_source: string;
|
|
938
937
|
theme_id: string | null;
|
|
@@ -971,14 +970,14 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
971
970
|
rendered_at_millis: number;
|
|
972
971
|
is_transactional: boolean;
|
|
973
972
|
is_high_priority: boolean;
|
|
973
|
+
notification_category_id: string | null;
|
|
974
974
|
} | {
|
|
975
975
|
status: "sending";
|
|
976
976
|
id: string;
|
|
977
|
-
created_at_millis: number;
|
|
978
|
-
subject: string;
|
|
979
|
-
notification_category_id: string | null;
|
|
980
977
|
html: string | null;
|
|
981
978
|
text: string | null;
|
|
979
|
+
created_at_millis: number;
|
|
980
|
+
subject: string;
|
|
982
981
|
updated_at_millis: number;
|
|
983
982
|
tsx_source: string;
|
|
984
983
|
theme_id: string | null;
|
|
@@ -1017,15 +1016,15 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1017
1016
|
rendered_at_millis: number;
|
|
1018
1017
|
is_transactional: boolean;
|
|
1019
1018
|
is_high_priority: boolean;
|
|
1019
|
+
notification_category_id: string | null;
|
|
1020
1020
|
started_sending_at_millis: number;
|
|
1021
1021
|
} | {
|
|
1022
1022
|
status: "server-error";
|
|
1023
1023
|
id: string;
|
|
1024
|
-
created_at_millis: number;
|
|
1025
|
-
subject: string;
|
|
1026
|
-
notification_category_id: string | null;
|
|
1027
1024
|
html: string | null;
|
|
1028
1025
|
text: string | null;
|
|
1026
|
+
created_at_millis: number;
|
|
1027
|
+
subject: string;
|
|
1029
1028
|
updated_at_millis: number;
|
|
1030
1029
|
tsx_source: string;
|
|
1031
1030
|
theme_id: string | null;
|
|
@@ -1064,18 +1063,19 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1064
1063
|
rendered_at_millis: number;
|
|
1065
1064
|
is_transactional: boolean;
|
|
1066
1065
|
is_high_priority: boolean;
|
|
1066
|
+
notification_category_id: string | null;
|
|
1067
1067
|
started_sending_at_millis: number;
|
|
1068
1068
|
error_at_millis: number;
|
|
1069
1069
|
server_error: string;
|
|
1070
1070
|
} | {
|
|
1071
|
-
subject?: string | undefined;
|
|
1072
|
-
notification_category_id?: string | null | undefined;
|
|
1073
1071
|
html?: string | null | undefined;
|
|
1074
1072
|
text?: string | null | undefined;
|
|
1073
|
+
subject?: string | undefined;
|
|
1075
1074
|
started_rendering_at_millis?: number | undefined;
|
|
1076
1075
|
rendered_at_millis?: number | undefined;
|
|
1077
1076
|
is_transactional?: boolean | undefined;
|
|
1078
1077
|
is_high_priority?: boolean | undefined;
|
|
1078
|
+
notification_category_id?: string | null | undefined;
|
|
1079
1079
|
started_sending_at_millis?: number | undefined;
|
|
1080
1080
|
status: "skipped";
|
|
1081
1081
|
id: string;
|
|
@@ -1120,11 +1120,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1120
1120
|
} | {
|
|
1121
1121
|
status: "bounced";
|
|
1122
1122
|
id: string;
|
|
1123
|
-
created_at_millis: number;
|
|
1124
|
-
subject: string;
|
|
1125
|
-
notification_category_id: string | null;
|
|
1126
1123
|
html: string | null;
|
|
1127
1124
|
text: string | null;
|
|
1125
|
+
created_at_millis: number;
|
|
1126
|
+
subject: string;
|
|
1128
1127
|
updated_at_millis: number;
|
|
1129
1128
|
tsx_source: string;
|
|
1130
1129
|
theme_id: string | null;
|
|
@@ -1163,16 +1162,16 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1163
1162
|
rendered_at_millis: number;
|
|
1164
1163
|
is_transactional: boolean;
|
|
1165
1164
|
is_high_priority: boolean;
|
|
1165
|
+
notification_category_id: string | null;
|
|
1166
1166
|
started_sending_at_millis: number;
|
|
1167
1167
|
bounced_at_millis: number;
|
|
1168
1168
|
} | {
|
|
1169
1169
|
status: "delivery-delayed";
|
|
1170
1170
|
id: string;
|
|
1171
|
-
created_at_millis: number;
|
|
1172
|
-
subject: string;
|
|
1173
|
-
notification_category_id: string | null;
|
|
1174
1171
|
html: string | null;
|
|
1175
1172
|
text: string | null;
|
|
1173
|
+
created_at_millis: number;
|
|
1174
|
+
subject: string;
|
|
1176
1175
|
updated_at_millis: number;
|
|
1177
1176
|
tsx_source: string;
|
|
1178
1177
|
theme_id: string | null;
|
|
@@ -1211,16 +1210,16 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1211
1210
|
rendered_at_millis: number;
|
|
1212
1211
|
is_transactional: boolean;
|
|
1213
1212
|
is_high_priority: boolean;
|
|
1213
|
+
notification_category_id: string | null;
|
|
1214
1214
|
started_sending_at_millis: number;
|
|
1215
1215
|
delivery_delayed_at_millis: number;
|
|
1216
1216
|
} | {
|
|
1217
1217
|
status: "sent";
|
|
1218
1218
|
id: string;
|
|
1219
|
-
created_at_millis: number;
|
|
1220
|
-
subject: string;
|
|
1221
|
-
notification_category_id: string | null;
|
|
1222
1219
|
html: string | null;
|
|
1223
1220
|
text: string | null;
|
|
1221
|
+
created_at_millis: number;
|
|
1222
|
+
subject: string;
|
|
1224
1223
|
updated_at_millis: number;
|
|
1225
1224
|
tsx_source: string;
|
|
1226
1225
|
theme_id: string | null;
|
|
@@ -1259,17 +1258,17 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1259
1258
|
rendered_at_millis: number;
|
|
1260
1259
|
is_transactional: boolean;
|
|
1261
1260
|
is_high_priority: boolean;
|
|
1261
|
+
notification_category_id: string | null;
|
|
1262
1262
|
started_sending_at_millis: number;
|
|
1263
1263
|
delivered_at_millis: number;
|
|
1264
1264
|
can_have_delivery_info: boolean;
|
|
1265
1265
|
} | {
|
|
1266
1266
|
status: "opened";
|
|
1267
1267
|
id: string;
|
|
1268
|
-
created_at_millis: number;
|
|
1269
|
-
subject: string;
|
|
1270
|
-
notification_category_id: string | null;
|
|
1271
1268
|
html: string | null;
|
|
1272
1269
|
text: string | null;
|
|
1270
|
+
created_at_millis: number;
|
|
1271
|
+
subject: string;
|
|
1273
1272
|
updated_at_millis: number;
|
|
1274
1273
|
tsx_source: string;
|
|
1275
1274
|
theme_id: string | null;
|
|
@@ -1308,6 +1307,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1308
1307
|
rendered_at_millis: number;
|
|
1309
1308
|
is_transactional: boolean;
|
|
1310
1309
|
is_high_priority: boolean;
|
|
1310
|
+
notification_category_id: string | null;
|
|
1311
1311
|
started_sending_at_millis: number;
|
|
1312
1312
|
delivered_at_millis: number;
|
|
1313
1313
|
can_have_delivery_info: boolean;
|
|
@@ -1315,11 +1315,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1315
1315
|
} | {
|
|
1316
1316
|
status: "clicked";
|
|
1317
1317
|
id: string;
|
|
1318
|
-
created_at_millis: number;
|
|
1319
|
-
subject: string;
|
|
1320
|
-
notification_category_id: string | null;
|
|
1321
1318
|
html: string | null;
|
|
1322
1319
|
text: string | null;
|
|
1320
|
+
created_at_millis: number;
|
|
1321
|
+
subject: string;
|
|
1323
1322
|
updated_at_millis: number;
|
|
1324
1323
|
tsx_source: string;
|
|
1325
1324
|
theme_id: string | null;
|
|
@@ -1358,6 +1357,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1358
1357
|
rendered_at_millis: number;
|
|
1359
1358
|
is_transactional: boolean;
|
|
1360
1359
|
is_high_priority: boolean;
|
|
1360
|
+
notification_category_id: string | null;
|
|
1361
1361
|
started_sending_at_millis: number;
|
|
1362
1362
|
delivered_at_millis: number;
|
|
1363
1363
|
can_have_delivery_info: boolean;
|
|
@@ -1365,11 +1365,10 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1365
1365
|
} | {
|
|
1366
1366
|
status: "marked-as-spam";
|
|
1367
1367
|
id: string;
|
|
1368
|
-
created_at_millis: number;
|
|
1369
|
-
subject: string;
|
|
1370
|
-
notification_category_id: string | null;
|
|
1371
1368
|
html: string | null;
|
|
1372
1369
|
text: string | null;
|
|
1370
|
+
created_at_millis: number;
|
|
1371
|
+
subject: string;
|
|
1373
1372
|
updated_at_millis: number;
|
|
1374
1373
|
tsx_source: string;
|
|
1375
1374
|
theme_id: string | null;
|
|
@@ -1408,6 +1407,7 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1408
1407
|
rendered_at_millis: number;
|
|
1409
1408
|
is_transactional: boolean;
|
|
1410
1409
|
is_high_priority: boolean;
|
|
1410
|
+
notification_category_id: string | null;
|
|
1411
1411
|
started_sending_at_millis: number;
|
|
1412
1412
|
delivered_at_millis: number;
|
|
1413
1413
|
can_have_delivery_info: boolean;
|
|
@@ -3,7 +3,7 @@ import * as yup$1 from "yup";
|
|
|
3
3
|
//#region src/interface/crud/invoices.d.ts
|
|
4
4
|
declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
|
|
5
5
|
created_at_millis: number;
|
|
6
|
-
status: "
|
|
6
|
+
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
7
7
|
amount_total: number;
|
|
8
8
|
hosted_invoice_url: string | null;
|
|
9
9
|
}, yup$1.AnyObject, {
|
|
@@ -15,7 +15,7 @@ declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
|
|
|
15
15
|
type CustomerInvoiceRead = yup$1.InferType<typeof customerInvoiceReadSchema>;
|
|
16
16
|
declare const customerInvoicesListResponseSchema: yup$1.ObjectSchema<{
|
|
17
17
|
items: {
|
|
18
|
-
status: "
|
|
18
|
+
status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
|
|
19
19
|
created_at_millis: number;
|
|
20
20
|
amount_total: number;
|
|
21
21
|
hosted_invoice_url: string | null;
|