@hexclave/shared 1.0.22 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/schema.d.ts +6 -6
- package/dist/esm/config/schema.d.ts +6 -6
- package/dist/esm/interface/admin-interface.js +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +5 -5
- package/dist/esm/interface/client-interface.js +1 -1
- package/dist/esm/interface/conversations.d.ts +27 -27
- package/dist/esm/interface/crud/current-user.d.ts +1 -1
- package/dist/esm/interface/crud/email-outbox.d.ts +64 -64
- 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/users.d.ts +4 -4
- package/dist/esm/interface/server-interface.js +1 -1
- package/dist/interface/admin-interface.js +1 -1
- package/dist/interface/admin-metrics.d.ts +5 -5
- package/dist/interface/client-interface.js +1 -1
- package/dist/interface/conversations.d.ts +27 -27
- package/dist/interface/crud/current-user.d.ts +1 -1
- package/dist/interface/crud/email-outbox.d.ts +64 -64
- 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/users.d.ts +4 -4
- package/dist/interface/server-interface.js +1 -1
- package/package.json +1 -1
|
@@ -162,11 +162,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
162
162
|
} | {
|
|
163
163
|
status: "scheduled";
|
|
164
164
|
id: string;
|
|
165
|
-
subject: string;
|
|
166
|
-
created_at_millis: number;
|
|
167
165
|
html: string | null;
|
|
168
166
|
text: string | null;
|
|
169
|
-
|
|
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
|
-
subject: string;
|
|
212
|
-
created_at_millis: number;
|
|
213
211
|
html: string | null;
|
|
214
212
|
text: string | null;
|
|
215
|
-
|
|
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
|
-
subject: string;
|
|
258
|
-
created_at_millis: number;
|
|
259
257
|
html: string | null;
|
|
260
258
|
text: string | null;
|
|
261
|
-
|
|
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
|
-
subject: string;
|
|
305
|
-
created_at_millis: number;
|
|
306
304
|
html: string | null;
|
|
307
305
|
text: string | null;
|
|
308
|
-
|
|
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
351
|
html?: string | null | undefined;
|
|
353
352
|
text?: string | null | undefined;
|
|
354
|
-
|
|
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
|
-
subject: string;
|
|
404
|
-
created_at_millis: number;
|
|
405
403
|
html: string | null;
|
|
406
404
|
text: string | null;
|
|
407
|
-
|
|
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
|
-
subject: string;
|
|
452
|
-
created_at_millis: number;
|
|
453
451
|
html: string | null;
|
|
454
452
|
text: string | null;
|
|
455
|
-
|
|
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
|
-
subject: string;
|
|
500
|
-
created_at_millis: number;
|
|
501
499
|
html: string | null;
|
|
502
500
|
text: string | null;
|
|
503
|
-
|
|
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
|
-
subject: string;
|
|
549
|
-
created_at_millis: number;
|
|
550
548
|
html: string | null;
|
|
551
549
|
text: string | null;
|
|
552
|
-
|
|
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
|
-
subject: string;
|
|
599
|
-
created_at_millis: number;
|
|
600
598
|
html: string | null;
|
|
601
599
|
text: string | null;
|
|
602
|
-
|
|
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
|
-
subject: string;
|
|
649
|
-
created_at_millis: number;
|
|
650
648
|
html: string | null;
|
|
651
649
|
text: string | null;
|
|
652
|
-
|
|
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
|
-
subject: string;
|
|
886
|
-
created_at_millis: number;
|
|
887
885
|
html: string | null;
|
|
888
886
|
text: string | null;
|
|
889
|
-
|
|
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
|
-
subject: string;
|
|
932
|
-
created_at_millis: number;
|
|
933
931
|
html: string | null;
|
|
934
932
|
text: string | null;
|
|
935
|
-
|
|
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
|
-
subject: string;
|
|
978
|
-
created_at_millis: number;
|
|
979
977
|
html: string | null;
|
|
980
978
|
text: string | null;
|
|
981
|
-
|
|
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
|
-
subject: string;
|
|
1025
|
-
created_at_millis: number;
|
|
1026
1024
|
html: string | null;
|
|
1027
1025
|
text: string | null;
|
|
1028
|
-
|
|
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
1071
|
html?: string | null | undefined;
|
|
1073
1072
|
text?: string | null | undefined;
|
|
1074
|
-
|
|
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
|
-
subject: string;
|
|
1124
|
-
created_at_millis: number;
|
|
1125
1123
|
html: string | null;
|
|
1126
1124
|
text: string | null;
|
|
1127
|
-
|
|
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
|
-
subject: string;
|
|
1172
|
-
created_at_millis: number;
|
|
1173
1171
|
html: string | null;
|
|
1174
1172
|
text: string | null;
|
|
1175
|
-
|
|
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
|
-
subject: string;
|
|
1220
|
-
created_at_millis: number;
|
|
1221
1219
|
html: string | null;
|
|
1222
1220
|
text: string | null;
|
|
1223
|
-
|
|
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
|
-
subject: string;
|
|
1269
|
-
created_at_millis: number;
|
|
1270
1268
|
html: string | null;
|
|
1271
1269
|
text: string | null;
|
|
1272
|
-
|
|
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
|
-
subject: string;
|
|
1319
|
-
created_at_millis: number;
|
|
1320
1318
|
html: string | null;
|
|
1321
1319
|
text: string | null;
|
|
1322
|
-
|
|
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
|
-
subject: string;
|
|
1369
|
-
created_at_millis: number;
|
|
1370
1368
|
html: string | null;
|
|
1371
1369
|
text: string | null;
|
|
1372
|
-
|
|
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;
|
|
@@ -83,9 +83,9 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
83
83
|
type: "user";
|
|
84
84
|
description: string;
|
|
85
85
|
id: string;
|
|
86
|
-
created_at_millis: number;
|
|
87
86
|
expires_at_millis: number | undefined;
|
|
88
87
|
manually_revoked_at_millis: number | undefined;
|
|
88
|
+
created_at_millis: number;
|
|
89
89
|
is_public: boolean;
|
|
90
90
|
} & {
|
|
91
91
|
value: string;
|
|
@@ -181,9 +181,9 @@ declare const teamApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
181
181
|
team_id: string;
|
|
182
182
|
description: string;
|
|
183
183
|
id: string;
|
|
184
|
-
created_at_millis: number;
|
|
185
184
|
expires_at_millis: number | undefined;
|
|
186
185
|
manually_revoked_at_millis: number | undefined;
|
|
186
|
+
created_at_millis: number;
|
|
187
187
|
is_public: boolean;
|
|
188
188
|
} & {
|
|
189
189
|
value: string;
|
|
@@ -34,12 +34,9 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
34
34
|
is_anonymous: boolean;
|
|
35
35
|
is_restricted: boolean;
|
|
36
36
|
requires_totp_mfa: boolean;
|
|
37
|
-
country_code: string | null;
|
|
38
|
-
profile_image_url: string | null;
|
|
39
|
-
signed_up_at_millis: number;
|
|
40
|
-
last_active_at_millis: number;
|
|
41
37
|
primary_email_verified: boolean;
|
|
42
38
|
primary_email_auth_enabled: boolean;
|
|
39
|
+
profile_image_url: string | null;
|
|
43
40
|
selected_team: {
|
|
44
41
|
client_metadata?: {} | null | undefined;
|
|
45
42
|
client_read_only_metadata?: {} | null | undefined;
|
|
@@ -49,12 +46,15 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
49
46
|
created_at_millis: number;
|
|
50
47
|
profile_image_url: string | null;
|
|
51
48
|
} | null;
|
|
49
|
+
signed_up_at_millis: number;
|
|
52
50
|
has_password: boolean;
|
|
53
51
|
otp_auth_enabled: boolean;
|
|
54
52
|
passkey_auth_enabled: boolean;
|
|
53
|
+
last_active_at_millis: number;
|
|
55
54
|
restricted_by_admin: boolean;
|
|
56
55
|
restricted_by_admin_reason: string | null;
|
|
57
56
|
restricted_by_admin_private_details: string | null;
|
|
57
|
+
country_code: string | null;
|
|
58
58
|
risk_scores: {
|
|
59
59
|
sign_up: {
|
|
60
60
|
bot: number;
|
|
@@ -157,12 +157,9 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
157
157
|
is_anonymous: boolean;
|
|
158
158
|
is_restricted: boolean;
|
|
159
159
|
requires_totp_mfa: boolean;
|
|
160
|
-
country_code: string | null;
|
|
161
|
-
profile_image_url: string | null;
|
|
162
|
-
signed_up_at_millis: number;
|
|
163
|
-
last_active_at_millis: number;
|
|
164
160
|
primary_email_verified: boolean;
|
|
165
161
|
primary_email_auth_enabled: boolean;
|
|
162
|
+
profile_image_url: string | null;
|
|
166
163
|
selected_team: {
|
|
167
164
|
client_metadata?: {} | null | undefined;
|
|
168
165
|
client_read_only_metadata?: {} | null | undefined;
|
|
@@ -172,12 +169,15 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
172
169
|
created_at_millis: number;
|
|
173
170
|
profile_image_url: string | null;
|
|
174
171
|
} | null;
|
|
172
|
+
signed_up_at_millis: number;
|
|
175
173
|
has_password: boolean;
|
|
176
174
|
otp_auth_enabled: boolean;
|
|
177
175
|
passkey_auth_enabled: boolean;
|
|
176
|
+
last_active_at_millis: number;
|
|
178
177
|
restricted_by_admin: boolean;
|
|
179
178
|
restricted_by_admin_reason: string | null;
|
|
180
179
|
restricted_by_admin_private_details: string | null;
|
|
180
|
+
country_code: string | null;
|
|
181
181
|
risk_scores: {
|
|
182
182
|
sign_up: {
|
|
183
183
|
bot: number;
|
|
@@ -170,15 +170,15 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
|
|
|
170
170
|
server_metadata: {} | null | undefined;
|
|
171
171
|
is_anonymous: boolean | undefined;
|
|
172
172
|
password: string | null | undefined;
|
|
173
|
-
country_code: string | null | undefined;
|
|
174
|
-
profile_image_url: string | null | undefined;
|
|
175
173
|
primary_email_verified: boolean | undefined;
|
|
176
174
|
primary_email_auth_enabled: boolean | undefined;
|
|
175
|
+
profile_image_url: string | null | undefined;
|
|
177
176
|
otp_auth_enabled: boolean | undefined;
|
|
178
177
|
passkey_auth_enabled: boolean | undefined;
|
|
179
178
|
restricted_by_admin: boolean | undefined;
|
|
180
179
|
restricted_by_admin_reason: string | null | undefined;
|
|
181
180
|
restricted_by_admin_private_details: string | null | undefined;
|
|
181
|
+
country_code: string | null | undefined;
|
|
182
182
|
risk_scores: {
|
|
183
183
|
sign_up: {
|
|
184
184
|
bot: number;
|
|
@@ -376,15 +376,15 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
376
376
|
server_metadata: {} | null | undefined;
|
|
377
377
|
is_anonymous: boolean | undefined;
|
|
378
378
|
password: string | null | undefined;
|
|
379
|
-
country_code: string | null | undefined;
|
|
380
|
-
profile_image_url: string | null | undefined;
|
|
381
379
|
primary_email_verified: boolean | undefined;
|
|
382
380
|
primary_email_auth_enabled: boolean | undefined;
|
|
381
|
+
profile_image_url: string | null | undefined;
|
|
383
382
|
otp_auth_enabled: boolean | undefined;
|
|
384
383
|
passkey_auth_enabled: boolean | undefined;
|
|
385
384
|
restricted_by_admin: boolean | undefined;
|
|
386
385
|
restricted_by_admin_reason: string | null | undefined;
|
|
387
386
|
restricted_by_admin_private_details: string | null | undefined;
|
|
387
|
+
country_code: string | null | undefined;
|
|
388
388
|
risk_scores: {
|
|
389
389
|
sign_up: {
|
|
390
390
|
bot: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { HexclaveAssertionError } from "../utils/errors.js";
|
|
2
2
|
import { filterUndefined } from "../utils/objects.js";
|
|
3
3
|
import { Result } from "../utils/results.js";
|
|
4
|
-
import { KnownErrors } from "../known-errors.js";
|
|
5
4
|
import { urlString } from "../utils/urls.js";
|
|
5
|
+
import { KnownErrors } from "../known-errors.js";
|
|
6
6
|
import { InternalSession } from "../sessions.js";
|
|
7
7
|
import { HexclaveClientInterface } from "./client-interface.js";
|
|
8
8
|
import { decryptValue, encryptValue, hashKey } from "../helpers/vault/client-side.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_chunk = require('../chunk-BE-pF4vm.js');
|
|
3
3
|
let ___utils_results_js = require("../utils/results.js");
|
|
4
|
-
let ___known_errors_js = require("../known-errors.js");
|
|
5
4
|
let ___utils_urls_js = require("../utils/urls.js");
|
|
5
|
+
let ___known_errors_js = require("../known-errors.js");
|
|
6
6
|
let __server_interface_js = require("./server-interface.js");
|
|
7
7
|
|
|
8
8
|
//#region src/interface/admin-interface.ts
|
|
@@ -159,14 +159,14 @@ declare const MetricsEmailOverviewSchema: yup.ObjectSchema<{
|
|
|
159
159
|
recent_emails: {
|
|
160
160
|
status: string;
|
|
161
161
|
id: string;
|
|
162
|
-
subject: string;
|
|
163
162
|
created_at_millis: number;
|
|
163
|
+
subject: string;
|
|
164
164
|
}[];
|
|
165
165
|
deliverability_status: {
|
|
166
166
|
error: number;
|
|
167
|
+
bounced: number;
|
|
167
168
|
in_progress: number;
|
|
168
169
|
delivered: number;
|
|
169
|
-
bounced: number;
|
|
170
170
|
};
|
|
171
171
|
deliverability_rate: number;
|
|
172
172
|
bounce_rate: number;
|
|
@@ -369,7 +369,7 @@ declare const UserActivityResponseBodySchema: yup.ObjectSchema<{
|
|
|
369
369
|
data_points: undefined;
|
|
370
370
|
}, "">;
|
|
371
371
|
declare const AnalyticsClickmapKindSchema: yup.StringSchema<"team_user_hour_of_week" | "session_replay_clicks", yup.AnyObject, undefined, "">;
|
|
372
|
-
declare const AnalyticsClickmapDeviceSchema: yup.StringSchema<"tv" | "widescreen" | "desktop" | "laptop" | "tablet"
|
|
372
|
+
declare const AnalyticsClickmapDeviceSchema: yup.StringSchema<"mobile" | "tv" | "widescreen" | "desktop" | "laptop" | "tablet", yup.AnyObject, undefined, "">;
|
|
373
373
|
declare const AnalyticsClickmapTokenResponseBodySchema: yup.ObjectSchema<{
|
|
374
374
|
token: string;
|
|
375
375
|
origin: string;
|
|
@@ -572,14 +572,14 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
|
|
|
572
572
|
recent_emails: {
|
|
573
573
|
status: string;
|
|
574
574
|
id: string;
|
|
575
|
-
subject: string;
|
|
576
575
|
created_at_millis: number;
|
|
576
|
+
subject: string;
|
|
577
577
|
}[];
|
|
578
578
|
deliverability_status: {
|
|
579
579
|
error: number;
|
|
580
|
+
bounced: number;
|
|
580
581
|
in_progress: number;
|
|
581
582
|
delivered: number;
|
|
582
|
-
bounced: number;
|
|
583
583
|
};
|
|
584
584
|
deliverability_rate: number;
|
|
585
585
|
bounce_rate: number;
|
|
@@ -5,8 +5,8 @@ let ___utils_objects_js = require("../utils/objects.js");
|
|
|
5
5
|
let ___utils_strings_js = require("../utils/strings.js");
|
|
6
6
|
let ___utils_oauth_js = require("../utils/oauth.js");
|
|
7
7
|
let ___utils_results_js = require("../utils/results.js");
|
|
8
|
-
let ___known_errors_js = require("../known-errors.js");
|
|
9
8
|
let ___utils_urls_js = require("../utils/urls.js");
|
|
9
|
+
let ___known_errors_js = require("../known-errors.js");
|
|
10
10
|
let ___sessions_js = require("../sessions.js");
|
|
11
11
|
let ___utils_crypto_js = require("../utils/crypto.js");
|
|
12
12
|
let ___utils_globals_js = require("../utils/globals.js");
|