@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.
Files changed (36) hide show
  1. package/dist/ai/unified-prompts/reminders.js +2 -1
  2. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  3. package/dist/config/schema.d.ts +150 -150
  4. package/dist/esm/ai/unified-prompts/reminders.js +2 -1
  5. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  6. package/dist/esm/config/schema.d.ts +150 -150
  7. package/dist/esm/hooks/use-async-callback.js +1 -1
  8. package/dist/esm/hooks/use-async-external-store.js +1 -1
  9. package/dist/esm/hooks/use-strict-memo.js +1 -1
  10. package/dist/esm/interface/admin-interface.js +1 -1
  11. package/dist/esm/interface/client-interface.js +1 -1
  12. package/dist/esm/interface/conversations.d.ts +28 -28
  13. package/dist/esm/interface/crud/current-user.d.ts +5 -5
  14. package/dist/esm/interface/crud/email-outbox.d.ts +64 -64
  15. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  16. package/dist/esm/interface/crud/projects.d.ts +28 -28
  17. package/dist/esm/interface/crud/team-member-profiles.d.ts +8 -8
  18. package/dist/esm/interface/crud/users.d.ts +4 -4
  19. package/dist/esm/interface/server-interface.js +1 -1
  20. package/dist/esm/utils/promises.js +1 -1
  21. package/dist/hooks/use-async-callback.js +1 -1
  22. package/dist/hooks/use-async-external-store.js +1 -1
  23. package/dist/hooks/use-strict-memo.js +1 -1
  24. package/dist/interface/admin-interface.js +1 -1
  25. package/dist/interface/client-interface.js +1 -1
  26. package/dist/interface/conversations.d.ts +28 -28
  27. package/dist/interface/crud/current-user.d.ts +5 -5
  28. package/dist/interface/crud/email-outbox.d.ts +64 -64
  29. package/dist/interface/crud/invoices.d.ts +2 -2
  30. package/dist/interface/crud/projects.d.ts +28 -28
  31. package/dist/interface/crud/team-member-profiles.d.ts +8 -8
  32. package/dist/interface/crud/users.d.ts +4 -4
  33. package/dist/interface/server-interface.js +1 -1
  34. package/dist/utils/promises.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai/unified-prompts/reminders.ts +2 -1
@@ -161,11 +161,10 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
161
161
  } | {
162
162
  status: "scheduled";
163
163
  id: string;
164
- created_at_millis: number;
165
- subject: string;
166
- notification_category_id: string | null;
167
164
  html: string | null;
168
165
  text: 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
- created_at_millis: number;
211
- subject: string;
212
- notification_category_id: string | null;
213
210
  html: string | null;
214
211
  text: 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
- created_at_millis: number;
257
- subject: string;
258
- notification_category_id: string | null;
259
256
  html: string | null;
260
257
  text: 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
- created_at_millis: number;
304
- subject: string;
305
- notification_category_id: string | null;
306
303
  html: string | null;
307
304
  text: 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
- notification_category_id?: string | null | undefined;
352
350
  html?: string | null | undefined;
353
351
  text?: 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
- created_at_millis: number;
403
- subject: string;
404
- notification_category_id: string | null;
405
402
  html: string | null;
406
403
  text: 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
- created_at_millis: number;
451
- subject: string;
452
- notification_category_id: string | null;
453
450
  html: string | null;
454
451
  text: 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
- created_at_millis: number;
499
- subject: string;
500
- notification_category_id: string | null;
501
498
  html: string | null;
502
499
  text: 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
- created_at_millis: number;
548
- subject: string;
549
- notification_category_id: string | null;
550
547
  html: string | null;
551
548
  text: 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
- created_at_millis: number;
598
- subject: string;
599
- notification_category_id: string | null;
600
597
  html: string | null;
601
598
  text: 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
- created_at_millis: number;
648
- subject: string;
649
- notification_category_id: string | null;
650
647
  html: string | null;
651
648
  text: 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
- created_at_millis: number;
885
- subject: string;
886
- notification_category_id: string | null;
887
884
  html: string | null;
888
885
  text: 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
- created_at_millis: number;
931
- subject: string;
932
- notification_category_id: string | null;
933
930
  html: string | null;
934
931
  text: 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
- created_at_millis: number;
977
- subject: string;
978
- notification_category_id: string | null;
979
976
  html: string | null;
980
977
  text: 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
- created_at_millis: number;
1024
- subject: string;
1025
- notification_category_id: string | null;
1026
1023
  html: string | null;
1027
1024
  text: 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
- notification_category_id?: string | null | undefined;
1072
1070
  html?: string | null | undefined;
1073
1071
  text?: 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
- created_at_millis: number;
1123
- subject: string;
1124
- notification_category_id: string | null;
1125
1122
  html: string | null;
1126
1123
  text: 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
- created_at_millis: number;
1171
- subject: string;
1172
- notification_category_id: string | null;
1173
1170
  html: string | null;
1174
1171
  text: 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
- created_at_millis: number;
1219
- subject: string;
1220
- notification_category_id: string | null;
1221
1218
  html: string | null;
1222
1219
  text: 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
- created_at_millis: number;
1268
- subject: string;
1269
- notification_category_id: string | null;
1270
1267
  html: string | null;
1271
1268
  text: 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
- created_at_millis: number;
1318
- subject: string;
1319
- notification_category_id: string | null;
1320
1317
  html: string | null;
1321
1318
  text: 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
- created_at_millis: number;
1368
- subject: string;
1369
- notification_category_id: string | null;
1370
1367
  html: string | null;
1371
1368
  text: 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;
@@ -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: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
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: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
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;
@@ -62,6 +62,10 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
62
62
  message: string;
63
63
  }[];
64
64
  config: {
65
+ domains: {
66
+ domain: string;
67
+ handler_path: string;
68
+ }[];
65
69
  oauth_providers: {
66
70
  client_id?: string | undefined;
67
71
  client_secret?: string | undefined;
@@ -72,10 +76,6 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
72
76
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
73
77
  provider_config_id: string;
74
78
  }[];
75
- domains: {
76
- domain: string;
77
- handler_path: string;
78
- }[];
79
79
  allow_localhost: boolean;
80
80
  sign_up_enabled: boolean;
81
81
  credential_enabled: boolean;
@@ -229,6 +229,10 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
229
229
  selected_payments_country: "US" | "OTHER";
230
230
  } | null | undefined;
231
231
  config: {
232
+ domains?: {
233
+ domain: string;
234
+ handler_path: string;
235
+ }[] | undefined;
232
236
  oauth_providers?: {
233
237
  client_id?: string | undefined;
234
238
  client_secret?: string | undefined;
@@ -238,10 +242,6 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
238
242
  type: "shared" | "standard";
239
243
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
240
244
  }[] | undefined;
241
- domains?: {
242
- domain: string;
243
- handler_path: string;
244
- }[] | undefined;
245
245
  allow_localhost?: boolean | undefined;
246
246
  sign_up_enabled?: boolean | undefined;
247
247
  credential_enabled?: boolean | undefined;
@@ -309,6 +309,10 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
309
309
  selected_payments_country: "US" | "OTHER";
310
310
  } | null | undefined;
311
311
  config: {
312
+ domains?: {
313
+ domain: string;
314
+ handler_path: string;
315
+ }[] | undefined;
312
316
  oauth_providers?: {
313
317
  client_id?: string | undefined;
314
318
  client_secret?: string | undefined;
@@ -318,10 +322,6 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
318
322
  type: "shared" | "standard";
319
323
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
320
324
  }[] | undefined;
321
- domains?: {
322
- domain: string;
323
- handler_path: string;
324
- }[] | undefined;
325
325
  allow_localhost?: boolean | undefined;
326
326
  sign_up_enabled?: boolean | undefined;
327
327
  credential_enabled?: boolean | undefined;
@@ -465,6 +465,10 @@ declare const projectsCrud: CrudSchemaFromOptions<{
465
465
  message: string;
466
466
  }[];
467
467
  config: {
468
+ domains: {
469
+ domain: string;
470
+ handler_path: string;
471
+ }[];
468
472
  oauth_providers: {
469
473
  client_id?: string | undefined;
470
474
  client_secret?: string | undefined;
@@ -475,10 +479,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
475
479
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
476
480
  provider_config_id: string;
477
481
  }[];
478
- domains: {
479
- domain: string;
480
- handler_path: string;
481
- }[];
482
482
  allow_localhost: boolean;
483
483
  sign_up_enabled: boolean;
484
484
  credential_enabled: boolean;
@@ -584,6 +584,10 @@ declare const projectsCrud: CrudSchemaFromOptions<{
584
584
  selected_payments_country: "US" | "OTHER";
585
585
  } | null | undefined;
586
586
  config: {
587
+ domains?: {
588
+ domain: string;
589
+ handler_path: string;
590
+ }[] | undefined;
587
591
  oauth_providers?: {
588
592
  client_id?: string | undefined;
589
593
  client_secret?: string | undefined;
@@ -593,10 +597,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
593
597
  type: "shared" | "standard";
594
598
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
595
599
  }[] | undefined;
596
- domains?: {
597
- domain: string;
598
- handler_path: string;
599
- }[] | undefined;
600
600
  allow_localhost?: boolean | undefined;
601
601
  sign_up_enabled?: boolean | undefined;
602
602
  credential_enabled?: boolean | undefined;
@@ -698,6 +698,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
698
698
  message: string;
699
699
  }[];
700
700
  config: {
701
+ domains: {
702
+ domain: string;
703
+ handler_path: string;
704
+ }[];
701
705
  oauth_providers: {
702
706
  client_id?: string | undefined;
703
707
  client_secret?: string | undefined;
@@ -708,10 +712,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
708
712
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
709
713
  provider_config_id: string;
710
714
  }[];
711
- domains: {
712
- domain: string;
713
- handler_path: string;
714
- }[];
715
715
  allow_localhost: boolean;
716
716
  sign_up_enabled: boolean;
717
717
  credential_enabled: boolean;
@@ -817,6 +817,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
817
817
  selected_payments_country: "US" | "OTHER";
818
818
  } | null | undefined;
819
819
  config: {
820
+ domains?: {
821
+ domain: string;
822
+ handler_path: string;
823
+ }[] | undefined;
820
824
  oauth_providers?: {
821
825
  client_id?: string | undefined;
822
826
  client_secret?: string | undefined;
@@ -826,10 +830,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
826
830
  type: "shared" | "standard";
827
831
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
828
832
  }[] | undefined;
829
- domains?: {
830
- domain: string;
831
- handler_path: string;
832
- }[] | undefined;
833
833
  allow_localhost?: boolean | undefined;
834
834
  sign_up_enabled?: boolean | undefined;
835
835
  credential_enabled?: boolean | undefined;
@@ -24,15 +24,15 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
24
24
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
25
25
  } | null;
26
26
  primary_email: string | null;
27
- selected_team_id: string | null;
28
- is_anonymous: boolean;
29
- is_restricted: boolean;
30
- requires_totp_mfa: boolean;
31
27
  display_name: string | null;
32
28
  client_metadata: {} | null;
33
29
  client_read_only_metadata: {} | null;
34
30
  server_metadata: {} | null;
35
31
  id: string;
32
+ selected_team_id: string | null;
33
+ is_anonymous: boolean;
34
+ is_restricted: boolean;
35
+ requires_totp_mfa: boolean;
36
36
  primary_email_verified: boolean;
37
37
  primary_email_auth_enabled: boolean;
38
38
  profile_image_url: string | null;
@@ -147,15 +147,15 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
147
147
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
148
148
  } | null;
149
149
  primary_email: string | null;
150
- selected_team_id: string | null;
151
- is_anonymous: boolean;
152
- is_restricted: boolean;
153
- requires_totp_mfa: boolean;
154
150
  display_name: string | null;
155
151
  client_metadata: {} | null;
156
152
  client_read_only_metadata: {} | null;
157
153
  server_metadata: {} | null;
158
154
  id: string;
155
+ selected_team_id: string | null;
156
+ is_anonymous: boolean;
157
+ is_restricted: boolean;
158
+ requires_totp_mfa: boolean;
159
159
  primary_email_verified: boolean;
160
160
  primary_email_auth_enabled: boolean;
161
161
  profile_image_url: string | null;
@@ -163,11 +163,12 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
163
163
  }, "">;
164
164
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
165
165
  primary_email: string | null | undefined;
166
- is_anonymous: boolean | undefined;
167
166
  display_name: string | null | undefined;
168
167
  client_metadata: {} | null | undefined;
169
168
  client_read_only_metadata: {} | null | undefined;
170
169
  server_metadata: {} | null | undefined;
170
+ is_anonymous: boolean | undefined;
171
+ password: string | null | undefined;
171
172
  primary_email_verified: boolean | undefined;
172
173
  primary_email_auth_enabled: boolean | undefined;
173
174
  profile_image_url: string | null | undefined;
@@ -183,7 +184,6 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
183
184
  free_trial_abuse: number;
184
185
  };
185
186
  } | undefined;
186
- password: string | null | undefined;
187
187
  password_hash: string | undefined;
188
188
  totp_secret_base64: string | null | undefined;
189
189
  } & {
@@ -369,11 +369,12 @@ declare const usersCrud: CrudSchemaFromOptions<{
369
369
  }, "">;
370
370
  serverCreateSchema: yup$1.ObjectSchema<{
371
371
  primary_email: string | null | undefined;
372
- is_anonymous: boolean | undefined;
373
372
  display_name: string | null | undefined;
374
373
  client_metadata: {} | null | undefined;
375
374
  client_read_only_metadata: {} | null | undefined;
376
375
  server_metadata: {} | null | undefined;
376
+ is_anonymous: boolean | undefined;
377
+ password: string | null | undefined;
377
378
  primary_email_verified: boolean | undefined;
378
379
  primary_email_auth_enabled: boolean | undefined;
379
380
  profile_image_url: string | null | undefined;
@@ -389,7 +390,6 @@ declare const usersCrud: CrudSchemaFromOptions<{
389
390
  free_trial_abuse: number;
390
391
  };
391
392
  } | undefined;
392
- password: string | null | undefined;
393
393
  password_hash: string | undefined;
394
394
  totp_secret_base64: string | null | undefined;
395
395
  } & {
@@ -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");