@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.
@@ -56,9 +56,9 @@ declare const conversationSummarySchema: yup$1.ObjectSchema<{
56
56
  preview: string | null;
57
57
  lastActivityAt: string;
58
58
  metadata: {
59
+ tags: string[];
59
60
  assignedToUserId: string | null;
60
61
  assignedToDisplayName: string | null;
61
- tags: string[];
62
62
  firstResponseDueAt: string | null;
63
63
  firstResponseAt: string | null;
64
64
  nextResponseDueAt: string | null;
@@ -174,28 +174,28 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
174
174
  closedAt?: string | null | undefined;
175
175
  recordMetadata?: {} | null | undefined;
176
176
  status: "open" | "pending" | "closed";
177
- conversationId: string;
178
- userId: string | null;
179
- teamId: string | null;
180
- userDisplayName: string | null;
181
- userPrimaryEmail: string | null;
182
- userProfileImageUrl: string | null;
183
- subject: string;
184
177
  priority: "low" | "normal" | "high" | "urgent";
185
178
  source: "email" | "manual" | "chat" | "api";
186
- lastMessageType: "message" | "internal-note" | "status-change";
187
- preview: string | null;
188
- lastActivityAt: string;
189
179
  metadata: {
180
+ tags: string[];
190
181
  assignedToUserId: string | null;
191
182
  assignedToDisplayName: string | null;
192
- tags: string[];
193
183
  firstResponseDueAt: string | null;
194
184
  firstResponseAt: string | null;
195
185
  nextResponseDueAt: string | null;
196
186
  lastCustomerReplyAt: string | null;
197
187
  lastAgentReplyAt: string | null;
198
188
  };
189
+ conversationId: string;
190
+ userId: string | null;
191
+ teamId: string | null;
192
+ userDisplayName: string | null;
193
+ userPrimaryEmail: string | null;
194
+ userProfileImageUrl: string | null;
195
+ subject: string;
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, {
@@ -212,42 +212,42 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
212
212
  closedAt?: string | null | undefined;
213
213
  recordMetadata?: {} | null | undefined;
214
214
  status: "open" | "pending" | "closed";
215
- conversationId: string;
216
- userId: string | null;
217
- teamId: string | null;
218
- userDisplayName: string | null;
219
- userPrimaryEmail: string | null;
220
- userProfileImageUrl: string | null;
221
- subject: string;
222
215
  priority: "low" | "normal" | "high" | "urgent";
223
216
  source: "email" | "manual" | "chat" | "api";
224
- lastMessageType: "message" | "internal-note" | "status-change";
225
- preview: string | null;
226
- lastActivityAt: string;
227
217
  metadata: {
218
+ tags: string[];
228
219
  assignedToUserId: string | null;
229
220
  assignedToDisplayName: string | null;
230
- tags: string[];
231
221
  firstResponseDueAt: string | null;
232
222
  firstResponseAt: string | null;
233
223
  nextResponseDueAt: string | null;
234
224
  lastCustomerReplyAt: string | null;
235
225
  lastAgentReplyAt: string | null;
236
226
  };
227
+ conversationId: string;
228
+ userId: string | null;
229
+ teamId: string | null;
230
+ userDisplayName: string | null;
231
+ userPrimaryEmail: string | null;
232
+ userProfileImageUrl: string | null;
233
+ subject: string;
234
+ lastMessageType: "message" | "internal-note" | "status-change";
235
+ preview: string | null;
236
+ lastActivityAt: string;
237
237
  };
238
238
  messages: {
239
239
  status: "open" | "pending" | "closed";
240
240
  id: string;
241
+ priority: "low" | "normal" | "high" | "urgent";
242
+ body: string | null;
243
+ source: "email" | "manual" | "chat" | "api";
244
+ metadata: {} | null;
241
245
  conversationId: string;
242
246
  userId: string | null;
243
247
  teamId: string | null;
244
248
  subject: string;
245
- priority: "low" | "normal" | "high" | "urgent";
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";
@@ -16,9 +16,9 @@ declare const currentUserCrud: CrudSchemaFromOptions<{
16
16
  is_anonymous: boolean;
17
17
  is_restricted: boolean;
18
18
  requires_totp_mfa: boolean;
19
+ primary_email_verified: boolean;
19
20
  profile_image_url: string | null;
20
21
  signed_up_at_millis: number;
21
- primary_email_verified: boolean;
22
22
  has_password: boolean;
23
23
  otp_auth_enabled: boolean;
24
24
  passkey_auth_enabled: boolean;
@@ -161,11 +161,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
161
161
  } | {
162
162
  status: "scheduled";
163
163
  id: string;
164
- subject: string;
165
- created_at_millis: number;
166
164
  html: string | null;
167
165
  text: string | null;
168
- notification_category_id: string | null;
166
+ created_at_millis: number;
167
+ subject: string;
169
168
  updated_at_millis: number;
170
169
  tsx_source: string;
171
170
  theme_id: string | null;
@@ -204,14 +203,14 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
204
203
  rendered_at_millis: number;
205
204
  is_transactional: boolean;
206
205
  is_high_priority: boolean;
206
+ notification_category_id: string | null;
207
207
  } | {
208
208
  status: "queued";
209
209
  id: string;
210
- subject: string;
211
- created_at_millis: number;
212
210
  html: string | null;
213
211
  text: string | null;
214
- notification_category_id: string | null;
212
+ created_at_millis: number;
213
+ subject: string;
215
214
  updated_at_millis: number;
216
215
  tsx_source: string;
217
216
  theme_id: string | null;
@@ -250,14 +249,14 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
250
249
  rendered_at_millis: number;
251
250
  is_transactional: boolean;
252
251
  is_high_priority: boolean;
252
+ notification_category_id: string | null;
253
253
  } | {
254
254
  status: "sending";
255
255
  id: string;
256
- subject: string;
257
- created_at_millis: number;
258
256
  html: string | null;
259
257
  text: string | null;
260
- notification_category_id: string | null;
258
+ created_at_millis: number;
259
+ subject: string;
261
260
  updated_at_millis: number;
262
261
  tsx_source: string;
263
262
  theme_id: string | null;
@@ -296,15 +295,15 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
296
295
  rendered_at_millis: number;
297
296
  is_transactional: boolean;
298
297
  is_high_priority: boolean;
298
+ notification_category_id: string | null;
299
299
  started_sending_at_millis: number;
300
300
  } | {
301
301
  status: "server-error";
302
302
  id: string;
303
- subject: string;
304
- created_at_millis: number;
305
303
  html: string | null;
306
304
  text: string | null;
307
- notification_category_id: string | null;
305
+ created_at_millis: number;
306
+ subject: string;
308
307
  updated_at_millis: number;
309
308
  tsx_source: string;
310
309
  theme_id: string | null;
@@ -343,18 +342,19 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
343
342
  rendered_at_millis: number;
344
343
  is_transactional: boolean;
345
344
  is_high_priority: boolean;
345
+ notification_category_id: string | null;
346
346
  started_sending_at_millis: number;
347
347
  error_at_millis: number;
348
348
  server_error: string;
349
349
  } | {
350
- subject?: string | undefined;
351
350
  html?: string | null | undefined;
352
351
  text?: string | null | undefined;
353
- notification_category_id?: string | null | undefined;
352
+ subject?: string | undefined;
354
353
  started_rendering_at_millis?: number | undefined;
355
354
  rendered_at_millis?: number | undefined;
356
355
  is_transactional?: boolean | undefined;
357
356
  is_high_priority?: boolean | undefined;
357
+ notification_category_id?: string | null | undefined;
358
358
  started_sending_at_millis?: number | undefined;
359
359
  status: "skipped";
360
360
  id: string;
@@ -399,11 +399,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
399
399
  } | {
400
400
  status: "bounced";
401
401
  id: string;
402
- subject: string;
403
- created_at_millis: number;
404
402
  html: string | null;
405
403
  text: string | null;
406
- notification_category_id: string | null;
404
+ created_at_millis: number;
405
+ subject: string;
407
406
  updated_at_millis: number;
408
407
  tsx_source: string;
409
408
  theme_id: string | null;
@@ -442,16 +441,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
442
441
  rendered_at_millis: number;
443
442
  is_transactional: boolean;
444
443
  is_high_priority: boolean;
444
+ notification_category_id: string | null;
445
445
  started_sending_at_millis: number;
446
446
  bounced_at_millis: number;
447
447
  } | {
448
448
  status: "delivery-delayed";
449
449
  id: string;
450
- subject: string;
451
- created_at_millis: number;
452
450
  html: string | null;
453
451
  text: string | null;
454
- notification_category_id: string | null;
452
+ created_at_millis: number;
453
+ subject: string;
455
454
  updated_at_millis: number;
456
455
  tsx_source: string;
457
456
  theme_id: string | null;
@@ -490,16 +489,16 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
490
489
  rendered_at_millis: number;
491
490
  is_transactional: boolean;
492
491
  is_high_priority: boolean;
492
+ notification_category_id: string | null;
493
493
  started_sending_at_millis: number;
494
494
  delivery_delayed_at_millis: number;
495
495
  } | {
496
496
  status: "sent";
497
497
  id: string;
498
- subject: string;
499
- created_at_millis: number;
500
498
  html: string | null;
501
499
  text: string | null;
502
- notification_category_id: string | null;
500
+ created_at_millis: number;
501
+ subject: string;
503
502
  updated_at_millis: number;
504
503
  tsx_source: string;
505
504
  theme_id: string | null;
@@ -538,17 +537,17 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
538
537
  rendered_at_millis: number;
539
538
  is_transactional: boolean;
540
539
  is_high_priority: boolean;
540
+ notification_category_id: string | null;
541
541
  started_sending_at_millis: number;
542
542
  delivered_at_millis: number;
543
543
  can_have_delivery_info: boolean;
544
544
  } | {
545
545
  status: "opened";
546
546
  id: string;
547
- subject: string;
548
- created_at_millis: number;
549
547
  html: string | null;
550
548
  text: string | null;
551
- notification_category_id: string | null;
549
+ created_at_millis: number;
550
+ subject: string;
552
551
  updated_at_millis: number;
553
552
  tsx_source: string;
554
553
  theme_id: string | null;
@@ -587,6 +586,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
587
586
  rendered_at_millis: number;
588
587
  is_transactional: boolean;
589
588
  is_high_priority: boolean;
589
+ notification_category_id: string | null;
590
590
  started_sending_at_millis: number;
591
591
  delivered_at_millis: number;
592
592
  can_have_delivery_info: boolean;
@@ -594,11 +594,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
594
594
  } | {
595
595
  status: "clicked";
596
596
  id: string;
597
- subject: string;
598
- created_at_millis: number;
599
597
  html: string | null;
600
598
  text: string | null;
601
- notification_category_id: string | null;
599
+ created_at_millis: number;
600
+ subject: string;
602
601
  updated_at_millis: number;
603
602
  tsx_source: string;
604
603
  theme_id: string | null;
@@ -637,6 +636,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
637
636
  rendered_at_millis: number;
638
637
  is_transactional: boolean;
639
638
  is_high_priority: boolean;
639
+ notification_category_id: string | null;
640
640
  started_sending_at_millis: number;
641
641
  delivered_at_millis: number;
642
642
  can_have_delivery_info: boolean;
@@ -644,11 +644,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
644
644
  } | {
645
645
  status: "marked-as-spam";
646
646
  id: string;
647
- subject: string;
648
- created_at_millis: number;
649
647
  html: string | null;
650
648
  text: string | null;
651
- notification_category_id: string | null;
649
+ created_at_millis: number;
650
+ subject: string;
652
651
  updated_at_millis: number;
653
652
  tsx_source: string;
654
653
  theme_id: string | null;
@@ -687,6 +686,7 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
687
686
  rendered_at_millis: number;
688
687
  is_transactional: boolean;
689
688
  is_high_priority: boolean;
689
+ notification_category_id: string | null;
690
690
  started_sending_at_millis: number;
691
691
  delivered_at_millis: number;
692
692
  can_have_delivery_info: boolean;
@@ -881,11 +881,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
881
881
  } | {
882
882
  status: "scheduled";
883
883
  id: string;
884
- subject: string;
885
- created_at_millis: number;
886
884
  html: string | null;
887
885
  text: string | null;
888
- notification_category_id: string | null;
886
+ created_at_millis: number;
887
+ subject: string;
889
888
  updated_at_millis: number;
890
889
  tsx_source: string;
891
890
  theme_id: string | null;
@@ -924,14 +923,14 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
924
923
  rendered_at_millis: number;
925
924
  is_transactional: boolean;
926
925
  is_high_priority: boolean;
926
+ notification_category_id: string | null;
927
927
  } | {
928
928
  status: "queued";
929
929
  id: string;
930
- subject: string;
931
- created_at_millis: number;
932
930
  html: string | null;
933
931
  text: string | null;
934
- notification_category_id: string | null;
932
+ created_at_millis: number;
933
+ subject: string;
935
934
  updated_at_millis: number;
936
935
  tsx_source: string;
937
936
  theme_id: string | null;
@@ -970,14 +969,14 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
970
969
  rendered_at_millis: number;
971
970
  is_transactional: boolean;
972
971
  is_high_priority: boolean;
972
+ notification_category_id: string | null;
973
973
  } | {
974
974
  status: "sending";
975
975
  id: string;
976
- subject: string;
977
- created_at_millis: number;
978
976
  html: string | null;
979
977
  text: string | null;
980
- notification_category_id: string | null;
978
+ created_at_millis: number;
979
+ subject: string;
981
980
  updated_at_millis: number;
982
981
  tsx_source: string;
983
982
  theme_id: string | null;
@@ -1016,15 +1015,15 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1016
1015
  rendered_at_millis: number;
1017
1016
  is_transactional: boolean;
1018
1017
  is_high_priority: boolean;
1018
+ notification_category_id: string | null;
1019
1019
  started_sending_at_millis: number;
1020
1020
  } | {
1021
1021
  status: "server-error";
1022
1022
  id: string;
1023
- subject: string;
1024
- created_at_millis: number;
1025
1023
  html: string | null;
1026
1024
  text: string | null;
1027
- notification_category_id: string | null;
1025
+ created_at_millis: number;
1026
+ subject: string;
1028
1027
  updated_at_millis: number;
1029
1028
  tsx_source: string;
1030
1029
  theme_id: string | null;
@@ -1063,18 +1062,19 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1063
1062
  rendered_at_millis: number;
1064
1063
  is_transactional: boolean;
1065
1064
  is_high_priority: boolean;
1065
+ notification_category_id: string | null;
1066
1066
  started_sending_at_millis: number;
1067
1067
  error_at_millis: number;
1068
1068
  server_error: string;
1069
1069
  } | {
1070
- subject?: string | undefined;
1071
1070
  html?: string | null | undefined;
1072
1071
  text?: string | null | undefined;
1073
- notification_category_id?: string | null | undefined;
1072
+ subject?: string | undefined;
1074
1073
  started_rendering_at_millis?: number | undefined;
1075
1074
  rendered_at_millis?: number | undefined;
1076
1075
  is_transactional?: boolean | undefined;
1077
1076
  is_high_priority?: boolean | undefined;
1077
+ notification_category_id?: string | null | undefined;
1078
1078
  started_sending_at_millis?: number | undefined;
1079
1079
  status: "skipped";
1080
1080
  id: string;
@@ -1119,11 +1119,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1119
1119
  } | {
1120
1120
  status: "bounced";
1121
1121
  id: string;
1122
- subject: string;
1123
- created_at_millis: number;
1124
1122
  html: string | null;
1125
1123
  text: string | null;
1126
- notification_category_id: string | null;
1124
+ created_at_millis: number;
1125
+ subject: string;
1127
1126
  updated_at_millis: number;
1128
1127
  tsx_source: string;
1129
1128
  theme_id: string | null;
@@ -1162,16 +1161,16 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1162
1161
  rendered_at_millis: number;
1163
1162
  is_transactional: boolean;
1164
1163
  is_high_priority: boolean;
1164
+ notification_category_id: string | null;
1165
1165
  started_sending_at_millis: number;
1166
1166
  bounced_at_millis: number;
1167
1167
  } | {
1168
1168
  status: "delivery-delayed";
1169
1169
  id: string;
1170
- subject: string;
1171
- created_at_millis: number;
1172
1170
  html: string | null;
1173
1171
  text: string | null;
1174
- notification_category_id: string | null;
1172
+ created_at_millis: number;
1173
+ subject: string;
1175
1174
  updated_at_millis: number;
1176
1175
  tsx_source: string;
1177
1176
  theme_id: string | null;
@@ -1210,16 +1209,16 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1210
1209
  rendered_at_millis: number;
1211
1210
  is_transactional: boolean;
1212
1211
  is_high_priority: boolean;
1212
+ notification_category_id: string | null;
1213
1213
  started_sending_at_millis: number;
1214
1214
  delivery_delayed_at_millis: number;
1215
1215
  } | {
1216
1216
  status: "sent";
1217
1217
  id: string;
1218
- subject: string;
1219
- created_at_millis: number;
1220
1218
  html: string | null;
1221
1219
  text: string | null;
1222
- notification_category_id: string | null;
1220
+ created_at_millis: number;
1221
+ subject: string;
1223
1222
  updated_at_millis: number;
1224
1223
  tsx_source: string;
1225
1224
  theme_id: string | null;
@@ -1258,17 +1257,17 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1258
1257
  rendered_at_millis: number;
1259
1258
  is_transactional: boolean;
1260
1259
  is_high_priority: boolean;
1260
+ notification_category_id: string | null;
1261
1261
  started_sending_at_millis: number;
1262
1262
  delivered_at_millis: number;
1263
1263
  can_have_delivery_info: boolean;
1264
1264
  } | {
1265
1265
  status: "opened";
1266
1266
  id: string;
1267
- subject: string;
1268
- created_at_millis: number;
1269
1267
  html: string | null;
1270
1268
  text: string | null;
1271
- notification_category_id: string | null;
1269
+ created_at_millis: number;
1270
+ subject: string;
1272
1271
  updated_at_millis: number;
1273
1272
  tsx_source: string;
1274
1273
  theme_id: string | null;
@@ -1307,6 +1306,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1307
1306
  rendered_at_millis: number;
1308
1307
  is_transactional: boolean;
1309
1308
  is_high_priority: boolean;
1309
+ notification_category_id: string | null;
1310
1310
  started_sending_at_millis: number;
1311
1311
  delivered_at_millis: number;
1312
1312
  can_have_delivery_info: boolean;
@@ -1314,11 +1314,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1314
1314
  } | {
1315
1315
  status: "clicked";
1316
1316
  id: string;
1317
- subject: string;
1318
- created_at_millis: number;
1319
1317
  html: string | null;
1320
1318
  text: string | null;
1321
- notification_category_id: string | null;
1319
+ created_at_millis: number;
1320
+ subject: string;
1322
1321
  updated_at_millis: number;
1323
1322
  tsx_source: string;
1324
1323
  theme_id: string | null;
@@ -1357,6 +1356,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1357
1356
  rendered_at_millis: number;
1358
1357
  is_transactional: boolean;
1359
1358
  is_high_priority: boolean;
1359
+ notification_category_id: string | null;
1360
1360
  started_sending_at_millis: number;
1361
1361
  delivered_at_millis: number;
1362
1362
  can_have_delivery_info: boolean;
@@ -1364,11 +1364,10 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1364
1364
  } | {
1365
1365
  status: "marked-as-spam";
1366
1366
  id: string;
1367
- subject: string;
1368
- created_at_millis: number;
1369
1367
  html: string | null;
1370
1368
  text: string | null;
1371
- notification_category_id: string | null;
1369
+ created_at_millis: number;
1370
+ subject: string;
1372
1371
  updated_at_millis: number;
1373
1372
  tsx_source: string;
1374
1373
  theme_id: string | null;
@@ -1407,6 +1406,7 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
1407
1406
  rendered_at_millis: number;
1408
1407
  is_transactional: boolean;
1409
1408
  is_high_priority: boolean;
1409
+ notification_category_id: string | null;
1410
1410
  started_sending_at_millis: number;
1411
1411
  delivered_at_millis: number;
1412
1412
  can_have_delivery_info: boolean;
@@ -82,9 +82,9 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
82
82
  type: "user";
83
83
  description: string;
84
84
  id: string;
85
- created_at_millis: number;
86
85
  expires_at_millis: number | undefined;
87
86
  manually_revoked_at_millis: number | undefined;
87
+ created_at_millis: number;
88
88
  is_public: boolean;
89
89
  } & {
90
90
  value: string;
@@ -180,9 +180,9 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
180
180
  team_id: string;
181
181
  description: string;
182
182
  id: string;
183
- created_at_millis: number;
184
183
  expires_at_millis: number | undefined;
185
184
  manually_revoked_at_millis: number | undefined;
185
+ created_at_millis: number;
186
186
  is_public: boolean;
187
187
  } & {
188
188
  value: string;
@@ -33,12 +33,9 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
33
33
  is_anonymous: boolean;
34
34
  is_restricted: boolean;
35
35
  requires_totp_mfa: boolean;
36
- country_code: string | null;
37
- profile_image_url: string | null;
38
- signed_up_at_millis: number;
39
- last_active_at_millis: number;
40
36
  primary_email_verified: boolean;
41
37
  primary_email_auth_enabled: boolean;
38
+ profile_image_url: string | null;
42
39
  selected_team: {
43
40
  client_metadata?: {} | null | undefined;
44
41
  client_read_only_metadata?: {} | null | undefined;
@@ -48,12 +45,15 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
48
45
  created_at_millis: number;
49
46
  profile_image_url: string | null;
50
47
  } | null;
48
+ signed_up_at_millis: number;
51
49
  has_password: boolean;
52
50
  otp_auth_enabled: boolean;
53
51
  passkey_auth_enabled: boolean;
52
+ last_active_at_millis: number;
54
53
  restricted_by_admin: boolean;
55
54
  restricted_by_admin_reason: string | null;
56
55
  restricted_by_admin_private_details: string | null;
56
+ country_code: string | null;
57
57
  risk_scores: {
58
58
  sign_up: {
59
59
  bot: number;
@@ -156,12 +156,9 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
156
156
  is_anonymous: boolean;
157
157
  is_restricted: boolean;
158
158
  requires_totp_mfa: boolean;
159
- country_code: string | null;
160
- profile_image_url: string | null;
161
- signed_up_at_millis: number;
162
- last_active_at_millis: number;
163
159
  primary_email_verified: boolean;
164
160
  primary_email_auth_enabled: boolean;
161
+ profile_image_url: string | null;
165
162
  selected_team: {
166
163
  client_metadata?: {} | null | undefined;
167
164
  client_read_only_metadata?: {} | null | undefined;
@@ -171,12 +168,15 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
171
168
  created_at_millis: number;
172
169
  profile_image_url: string | null;
173
170
  } | null;
171
+ signed_up_at_millis: number;
174
172
  has_password: boolean;
175
173
  otp_auth_enabled: boolean;
176
174
  passkey_auth_enabled: boolean;
175
+ last_active_at_millis: number;
177
176
  restricted_by_admin: boolean;
178
177
  restricted_by_admin_reason: string | null;
179
178
  restricted_by_admin_private_details: string | null;
179
+ country_code: string | null;
180
180
  risk_scores: {
181
181
  sign_up: {
182
182
  bot: number;
@@ -169,15 +169,15 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
169
169
  server_metadata: {} | null | undefined;
170
170
  is_anonymous: boolean | undefined;
171
171
  password: string | null | undefined;
172
- country_code: string | null | undefined;
173
- profile_image_url: string | null | undefined;
174
172
  primary_email_verified: boolean | undefined;
175
173
  primary_email_auth_enabled: boolean | undefined;
174
+ profile_image_url: string | null | undefined;
176
175
  otp_auth_enabled: boolean | undefined;
177
176
  passkey_auth_enabled: boolean | undefined;
178
177
  restricted_by_admin: boolean | undefined;
179
178
  restricted_by_admin_reason: string | null | undefined;
180
179
  restricted_by_admin_private_details: string | null | undefined;
180
+ country_code: string | null | undefined;
181
181
  risk_scores: {
182
182
  sign_up: {
183
183
  bot: number;
@@ -375,15 +375,15 @@ declare const usersCrud: CrudSchemaFromOptions<{
375
375
  server_metadata: {} | null | undefined;
376
376
  is_anonymous: boolean | undefined;
377
377
  password: string | null | undefined;
378
- country_code: string | null | undefined;
379
- profile_image_url: string | null | undefined;
380
378
  primary_email_verified: boolean | undefined;
381
379
  primary_email_auth_enabled: boolean | undefined;
380
+ profile_image_url: string | null | undefined;
382
381
  otp_auth_enabled: boolean | undefined;
383
382
  passkey_auth_enabled: boolean | undefined;
384
383
  restricted_by_admin: boolean | undefined;
385
384
  restricted_by_admin_reason: string | null | undefined;
386
385
  restricted_by_admin_private_details: string | null | undefined;
386
+ country_code: string | null | undefined;
387
387
  risk_scores: {
388
388
  sign_up: {
389
389
  bot: number;
@@ -3,8 +3,8 @@ const require_chunk = require('../chunk-BE-pF4vm.js');
3
3
  let ___utils_errors_js = require("../utils/errors.js");
4
4
  let ___utils_objects_js = require("../utils/objects.js");
5
5
  let ___utils_results_js = require("../utils/results.js");
6
- let ___known_errors_js = require("../known-errors.js");
7
6
  let ___utils_urls_js = require("../utils/urls.js");
7
+ let ___known_errors_js = require("../known-errors.js");
8
8
  let ___sessions_js = require("../sessions.js");
9
9
  let __client_interface_js = require("./client-interface.js");
10
10
  let ___helpers_vault_client_side_js = require("../helpers/vault/client-side.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexclave/shared",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "repository": "https://github.com/hexclave/hexclave",
5
5
  "files": [
6
6
  "README.md",