@authhero/adapter-interfaces 0.121.0 → 0.123.0

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.
@@ -1038,10 +1038,34 @@ export interface Totals {
1038
1038
  length: number;
1039
1039
  total?: number;
1040
1040
  }
1041
+ export declare const addressSchema: z.ZodOptional<z.ZodObject<{
1042
+ formatted: z.ZodOptional<z.ZodString>;
1043
+ street_address: z.ZodOptional<z.ZodString>;
1044
+ locality: z.ZodOptional<z.ZodString>;
1045
+ region: z.ZodOptional<z.ZodString>;
1046
+ postal_code: z.ZodOptional<z.ZodString>;
1047
+ country: z.ZodOptional<z.ZodString>;
1048
+ }, "strip", z.ZodTypeAny, {
1049
+ formatted?: string | undefined;
1050
+ street_address?: string | undefined;
1051
+ locality?: string | undefined;
1052
+ region?: string | undefined;
1053
+ postal_code?: string | undefined;
1054
+ country?: string | undefined;
1055
+ }, {
1056
+ formatted?: string | undefined;
1057
+ street_address?: string | undefined;
1058
+ locality?: string | undefined;
1059
+ region?: string | undefined;
1060
+ postal_code?: string | undefined;
1061
+ country?: string | undefined;
1062
+ }>>;
1063
+ export type Address = z.infer<typeof addressSchema>;
1041
1064
  export declare const baseUserSchema: z.ZodObject<{
1042
1065
  email: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
1043
1066
  username: z.ZodOptional<z.ZodString>;
1044
1067
  phone_number: z.ZodOptional<z.ZodString>;
1068
+ phone_verified: z.ZodOptional<z.ZodBoolean>;
1045
1069
  given_name: z.ZodOptional<z.ZodString>;
1046
1070
  family_name: z.ZodOptional<z.ZodString>;
1047
1071
  nickname: z.ZodOptional<z.ZodString>;
@@ -1053,6 +1077,35 @@ export declare const baseUserSchema: z.ZodObject<{
1053
1077
  user_id: z.ZodOptional<z.ZodString>;
1054
1078
  app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
1055
1079
  user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
1080
+ middle_name: z.ZodOptional<z.ZodString>;
1081
+ preferred_username: z.ZodOptional<z.ZodString>;
1082
+ profile: z.ZodOptional<z.ZodString>;
1083
+ website: z.ZodOptional<z.ZodString>;
1084
+ gender: z.ZodOptional<z.ZodString>;
1085
+ birthdate: z.ZodOptional<z.ZodString>;
1086
+ zoneinfo: z.ZodOptional<z.ZodString>;
1087
+ address: z.ZodOptional<z.ZodObject<{
1088
+ formatted: z.ZodOptional<z.ZodString>;
1089
+ street_address: z.ZodOptional<z.ZodString>;
1090
+ locality: z.ZodOptional<z.ZodString>;
1091
+ region: z.ZodOptional<z.ZodString>;
1092
+ postal_code: z.ZodOptional<z.ZodString>;
1093
+ country: z.ZodOptional<z.ZodString>;
1094
+ }, "strip", z.ZodTypeAny, {
1095
+ formatted?: string | undefined;
1096
+ street_address?: string | undefined;
1097
+ locality?: string | undefined;
1098
+ region?: string | undefined;
1099
+ postal_code?: string | undefined;
1100
+ country?: string | undefined;
1101
+ }, {
1102
+ formatted?: string | undefined;
1103
+ street_address?: string | undefined;
1104
+ locality?: string | undefined;
1105
+ region?: string | undefined;
1106
+ postal_code?: string | undefined;
1107
+ country?: string | undefined;
1108
+ }>>;
1056
1109
  }, "strip", z.ZodTypeAny, {
1057
1110
  name?: string | undefined;
1058
1111
  user_id?: string | undefined;
@@ -1060,6 +1113,7 @@ export declare const baseUserSchema: z.ZodObject<{
1060
1113
  username?: string | undefined;
1061
1114
  given_name?: string | undefined;
1062
1115
  phone_number?: string | undefined;
1116
+ phone_verified?: boolean | undefined;
1063
1117
  family_name?: string | undefined;
1064
1118
  profileData?: string | undefined;
1065
1119
  nickname?: string | undefined;
@@ -1068,6 +1122,21 @@ export declare const baseUserSchema: z.ZodObject<{
1068
1122
  linked_to?: string | undefined;
1069
1123
  app_metadata?: any;
1070
1124
  user_metadata?: any;
1125
+ middle_name?: string | undefined;
1126
+ preferred_username?: string | undefined;
1127
+ profile?: string | undefined;
1128
+ website?: string | undefined;
1129
+ gender?: string | undefined;
1130
+ birthdate?: string | undefined;
1131
+ zoneinfo?: string | undefined;
1132
+ address?: {
1133
+ formatted?: string | undefined;
1134
+ street_address?: string | undefined;
1135
+ locality?: string | undefined;
1136
+ region?: string | undefined;
1137
+ postal_code?: string | undefined;
1138
+ country?: string | undefined;
1139
+ } | undefined;
1071
1140
  }, {
1072
1141
  name?: string | undefined;
1073
1142
  user_id?: string | undefined;
@@ -1075,6 +1144,7 @@ export declare const baseUserSchema: z.ZodObject<{
1075
1144
  username?: string | undefined;
1076
1145
  given_name?: string | undefined;
1077
1146
  phone_number?: string | undefined;
1147
+ phone_verified?: boolean | undefined;
1078
1148
  family_name?: string | undefined;
1079
1149
  profileData?: string | undefined;
1080
1150
  nickname?: string | undefined;
@@ -1083,12 +1153,28 @@ export declare const baseUserSchema: z.ZodObject<{
1083
1153
  linked_to?: string | undefined;
1084
1154
  app_metadata?: any;
1085
1155
  user_metadata?: any;
1156
+ middle_name?: string | undefined;
1157
+ preferred_username?: string | undefined;
1158
+ profile?: string | undefined;
1159
+ website?: string | undefined;
1160
+ gender?: string | undefined;
1161
+ birthdate?: string | undefined;
1162
+ zoneinfo?: string | undefined;
1163
+ address?: {
1164
+ formatted?: string | undefined;
1165
+ street_address?: string | undefined;
1166
+ locality?: string | undefined;
1167
+ region?: string | undefined;
1168
+ postal_code?: string | undefined;
1169
+ country?: string | undefined;
1170
+ } | undefined;
1086
1171
  }>;
1087
1172
  export type BaseUser = z.infer<typeof baseUserSchema>;
1088
1173
  export declare const userInsertSchema: z.ZodObject<{
1089
1174
  email: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
1090
1175
  username: z.ZodOptional<z.ZodString>;
1091
1176
  phone_number: z.ZodOptional<z.ZodString>;
1177
+ phone_verified: z.ZodOptional<z.ZodBoolean>;
1092
1178
  given_name: z.ZodOptional<z.ZodString>;
1093
1179
  family_name: z.ZodOptional<z.ZodString>;
1094
1180
  nickname: z.ZodOptional<z.ZodString>;
@@ -1099,6 +1185,35 @@ export declare const userInsertSchema: z.ZodObject<{
1099
1185
  profileData: z.ZodOptional<z.ZodString>;
1100
1186
  app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
1101
1187
  user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
1188
+ middle_name: z.ZodOptional<z.ZodString>;
1189
+ preferred_username: z.ZodOptional<z.ZodString>;
1190
+ profile: z.ZodOptional<z.ZodString>;
1191
+ website: z.ZodOptional<z.ZodString>;
1192
+ gender: z.ZodOptional<z.ZodString>;
1193
+ birthdate: z.ZodOptional<z.ZodString>;
1194
+ zoneinfo: z.ZodOptional<z.ZodString>;
1195
+ address: z.ZodOptional<z.ZodObject<{
1196
+ formatted: z.ZodOptional<z.ZodString>;
1197
+ street_address: z.ZodOptional<z.ZodString>;
1198
+ locality: z.ZodOptional<z.ZodString>;
1199
+ region: z.ZodOptional<z.ZodString>;
1200
+ postal_code: z.ZodOptional<z.ZodString>;
1201
+ country: z.ZodOptional<z.ZodString>;
1202
+ }, "strip", z.ZodTypeAny, {
1203
+ formatted?: string | undefined;
1204
+ street_address?: string | undefined;
1205
+ locality?: string | undefined;
1206
+ region?: string | undefined;
1207
+ postal_code?: string | undefined;
1208
+ country?: string | undefined;
1209
+ }, {
1210
+ formatted?: string | undefined;
1211
+ street_address?: string | undefined;
1212
+ locality?: string | undefined;
1213
+ region?: string | undefined;
1214
+ postal_code?: string | undefined;
1215
+ country?: string | undefined;
1216
+ }>>;
1102
1217
  } & {
1103
1218
  email_verified: z.ZodDefault<z.ZodBoolean>;
1104
1219
  verify_email: z.ZodOptional<z.ZodBoolean>;
@@ -1117,6 +1232,7 @@ export declare const userInsertSchema: z.ZodObject<{
1117
1232
  username?: string | undefined;
1118
1233
  given_name?: string | undefined;
1119
1234
  phone_number?: string | undefined;
1235
+ phone_verified?: boolean | undefined;
1120
1236
  family_name?: string | undefined;
1121
1237
  provider?: string | undefined;
1122
1238
  profileData?: string | undefined;
@@ -1126,6 +1242,21 @@ export declare const userInsertSchema: z.ZodObject<{
1126
1242
  linked_to?: string | undefined;
1127
1243
  app_metadata?: any;
1128
1244
  user_metadata?: any;
1245
+ middle_name?: string | undefined;
1246
+ preferred_username?: string | undefined;
1247
+ profile?: string | undefined;
1248
+ website?: string | undefined;
1249
+ gender?: string | undefined;
1250
+ birthdate?: string | undefined;
1251
+ zoneinfo?: string | undefined;
1252
+ address?: {
1253
+ formatted?: string | undefined;
1254
+ street_address?: string | undefined;
1255
+ locality?: string | undefined;
1256
+ region?: string | undefined;
1257
+ postal_code?: string | undefined;
1258
+ country?: string | undefined;
1259
+ } | undefined;
1129
1260
  verify_email?: boolean | undefined;
1130
1261
  last_ip?: string | undefined;
1131
1262
  last_login?: string | undefined;
@@ -1139,6 +1270,7 @@ export declare const userInsertSchema: z.ZodObject<{
1139
1270
  username?: string | undefined;
1140
1271
  given_name?: string | undefined;
1141
1272
  phone_number?: string | undefined;
1273
+ phone_verified?: boolean | undefined;
1142
1274
  family_name?: string | undefined;
1143
1275
  provider?: string | undefined;
1144
1276
  profileData?: string | undefined;
@@ -1148,6 +1280,21 @@ export declare const userInsertSchema: z.ZodObject<{
1148
1280
  linked_to?: string | undefined;
1149
1281
  app_metadata?: any;
1150
1282
  user_metadata?: any;
1283
+ middle_name?: string | undefined;
1284
+ preferred_username?: string | undefined;
1285
+ profile?: string | undefined;
1286
+ website?: string | undefined;
1287
+ gender?: string | undefined;
1288
+ birthdate?: string | undefined;
1289
+ zoneinfo?: string | undefined;
1290
+ address?: {
1291
+ formatted?: string | undefined;
1292
+ street_address?: string | undefined;
1293
+ locality?: string | undefined;
1294
+ region?: string | undefined;
1295
+ postal_code?: string | undefined;
1296
+ country?: string | undefined;
1297
+ } | undefined;
1151
1298
  verify_email?: boolean | undefined;
1152
1299
  last_ip?: string | undefined;
1153
1300
  last_login?: string | undefined;
@@ -1237,6 +1384,7 @@ export declare const userSchema: z.ZodObject<{
1237
1384
  updated_at: z.ZodString;
1238
1385
  username: z.ZodOptional<z.ZodString>;
1239
1386
  phone_number: z.ZodOptional<z.ZodString>;
1387
+ phone_verified: z.ZodOptional<z.ZodBoolean>;
1240
1388
  given_name: z.ZodOptional<z.ZodString>;
1241
1389
  family_name: z.ZodOptional<z.ZodString>;
1242
1390
  nickname: z.ZodOptional<z.ZodString>;
@@ -1247,6 +1395,35 @@ export declare const userSchema: z.ZodObject<{
1247
1395
  profileData: z.ZodOptional<z.ZodString>;
1248
1396
  app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
1249
1397
  user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
1398
+ middle_name: z.ZodOptional<z.ZodString>;
1399
+ preferred_username: z.ZodOptional<z.ZodString>;
1400
+ profile: z.ZodOptional<z.ZodString>;
1401
+ website: z.ZodOptional<z.ZodString>;
1402
+ gender: z.ZodOptional<z.ZodString>;
1403
+ birthdate: z.ZodOptional<z.ZodString>;
1404
+ zoneinfo: z.ZodOptional<z.ZodString>;
1405
+ address: z.ZodOptional<z.ZodObject<{
1406
+ formatted: z.ZodOptional<z.ZodString>;
1407
+ street_address: z.ZodOptional<z.ZodString>;
1408
+ locality: z.ZodOptional<z.ZodString>;
1409
+ region: z.ZodOptional<z.ZodString>;
1410
+ postal_code: z.ZodOptional<z.ZodString>;
1411
+ country: z.ZodOptional<z.ZodString>;
1412
+ }, "strip", z.ZodTypeAny, {
1413
+ formatted?: string | undefined;
1414
+ street_address?: string | undefined;
1415
+ locality?: string | undefined;
1416
+ region?: string | undefined;
1417
+ postal_code?: string | undefined;
1418
+ country?: string | undefined;
1419
+ }, {
1420
+ formatted?: string | undefined;
1421
+ street_address?: string | undefined;
1422
+ locality?: string | undefined;
1423
+ region?: string | undefined;
1424
+ postal_code?: string | undefined;
1425
+ country?: string | undefined;
1426
+ }>>;
1250
1427
  email_verified: z.ZodDefault<z.ZodBoolean>;
1251
1428
  verify_email: z.ZodOptional<z.ZodBoolean>;
1252
1429
  last_ip: z.ZodOptional<z.ZodString>;
@@ -1266,6 +1443,7 @@ export declare const userSchema: z.ZodObject<{
1266
1443
  username?: string | undefined;
1267
1444
  given_name?: string | undefined;
1268
1445
  phone_number?: string | undefined;
1446
+ phone_verified?: boolean | undefined;
1269
1447
  family_name?: string | undefined;
1270
1448
  profileData?: string | undefined;
1271
1449
  nickname?: string | undefined;
@@ -1274,6 +1452,21 @@ export declare const userSchema: z.ZodObject<{
1274
1452
  linked_to?: string | undefined;
1275
1453
  app_metadata?: any;
1276
1454
  user_metadata?: any;
1455
+ middle_name?: string | undefined;
1456
+ preferred_username?: string | undefined;
1457
+ profile?: string | undefined;
1458
+ website?: string | undefined;
1459
+ gender?: string | undefined;
1460
+ birthdate?: string | undefined;
1461
+ zoneinfo?: string | undefined;
1462
+ address?: {
1463
+ formatted?: string | undefined;
1464
+ street_address?: string | undefined;
1465
+ locality?: string | undefined;
1466
+ region?: string | undefined;
1467
+ postal_code?: string | undefined;
1468
+ country?: string | undefined;
1469
+ } | undefined;
1277
1470
  verify_email?: boolean | undefined;
1278
1471
  last_ip?: string | undefined;
1279
1472
  last_login?: string | undefined;
@@ -1309,6 +1502,7 @@ export declare const userSchema: z.ZodObject<{
1309
1502
  username?: string | undefined;
1310
1503
  given_name?: string | undefined;
1311
1504
  phone_number?: string | undefined;
1505
+ phone_verified?: boolean | undefined;
1312
1506
  family_name?: string | undefined;
1313
1507
  profileData?: string | undefined;
1314
1508
  nickname?: string | undefined;
@@ -1317,6 +1511,21 @@ export declare const userSchema: z.ZodObject<{
1317
1511
  linked_to?: string | undefined;
1318
1512
  app_metadata?: any;
1319
1513
  user_metadata?: any;
1514
+ middle_name?: string | undefined;
1515
+ preferred_username?: string | undefined;
1516
+ profile?: string | undefined;
1517
+ website?: string | undefined;
1518
+ gender?: string | undefined;
1519
+ birthdate?: string | undefined;
1520
+ zoneinfo?: string | undefined;
1521
+ address?: {
1522
+ formatted?: string | undefined;
1523
+ street_address?: string | undefined;
1524
+ locality?: string | undefined;
1525
+ region?: string | undefined;
1526
+ postal_code?: string | undefined;
1527
+ country?: string | undefined;
1528
+ } | undefined;
1320
1529
  verify_email?: boolean | undefined;
1321
1530
  last_ip?: string | undefined;
1322
1531
  last_login?: string | undefined;
@@ -1425,6 +1634,7 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1425
1634
  updated_at: z.ZodString;
1426
1635
  username: z.ZodOptional<z.ZodString>;
1427
1636
  phone_number: z.ZodOptional<z.ZodString>;
1637
+ phone_verified: z.ZodOptional<z.ZodBoolean>;
1428
1638
  given_name: z.ZodOptional<z.ZodString>;
1429
1639
  family_name: z.ZodOptional<z.ZodString>;
1430
1640
  nickname: z.ZodOptional<z.ZodString>;
@@ -1435,6 +1645,35 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1435
1645
  profileData: z.ZodOptional<z.ZodString>;
1436
1646
  app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
1437
1647
  user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
1648
+ middle_name: z.ZodOptional<z.ZodString>;
1649
+ preferred_username: z.ZodOptional<z.ZodString>;
1650
+ profile: z.ZodOptional<z.ZodString>;
1651
+ website: z.ZodOptional<z.ZodString>;
1652
+ gender: z.ZodOptional<z.ZodString>;
1653
+ birthdate: z.ZodOptional<z.ZodString>;
1654
+ zoneinfo: z.ZodOptional<z.ZodString>;
1655
+ address: z.ZodOptional<z.ZodObject<{
1656
+ formatted: z.ZodOptional<z.ZodString>;
1657
+ street_address: z.ZodOptional<z.ZodString>;
1658
+ locality: z.ZodOptional<z.ZodString>;
1659
+ region: z.ZodOptional<z.ZodString>;
1660
+ postal_code: z.ZodOptional<z.ZodString>;
1661
+ country: z.ZodOptional<z.ZodString>;
1662
+ }, "strip", z.ZodTypeAny, {
1663
+ formatted?: string | undefined;
1664
+ street_address?: string | undefined;
1665
+ locality?: string | undefined;
1666
+ region?: string | undefined;
1667
+ postal_code?: string | undefined;
1668
+ country?: string | undefined;
1669
+ }, {
1670
+ formatted?: string | undefined;
1671
+ street_address?: string | undefined;
1672
+ locality?: string | undefined;
1673
+ region?: string | undefined;
1674
+ postal_code?: string | undefined;
1675
+ country?: string | undefined;
1676
+ }>>;
1438
1677
  email_verified: z.ZodDefault<z.ZodBoolean>;
1439
1678
  verify_email: z.ZodOptional<z.ZodBoolean>;
1440
1679
  last_ip: z.ZodOptional<z.ZodString>;
@@ -1454,6 +1693,7 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1454
1693
  username?: string | undefined;
1455
1694
  given_name?: string | undefined;
1456
1695
  phone_number?: string | undefined;
1696
+ phone_verified?: boolean | undefined;
1457
1697
  family_name?: string | undefined;
1458
1698
  profileData?: string | undefined;
1459
1699
  nickname?: string | undefined;
@@ -1462,6 +1702,21 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1462
1702
  linked_to?: string | undefined;
1463
1703
  app_metadata?: any;
1464
1704
  user_metadata?: any;
1705
+ middle_name?: string | undefined;
1706
+ preferred_username?: string | undefined;
1707
+ profile?: string | undefined;
1708
+ website?: string | undefined;
1709
+ gender?: string | undefined;
1710
+ birthdate?: string | undefined;
1711
+ zoneinfo?: string | undefined;
1712
+ address?: {
1713
+ formatted?: string | undefined;
1714
+ street_address?: string | undefined;
1715
+ locality?: string | undefined;
1716
+ region?: string | undefined;
1717
+ postal_code?: string | undefined;
1718
+ country?: string | undefined;
1719
+ } | undefined;
1465
1720
  verify_email?: boolean | undefined;
1466
1721
  last_ip?: string | undefined;
1467
1722
  last_login?: string | undefined;
@@ -1497,6 +1752,7 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1497
1752
  username?: string | undefined;
1498
1753
  given_name?: string | undefined;
1499
1754
  phone_number?: string | undefined;
1755
+ phone_verified?: boolean | undefined;
1500
1756
  family_name?: string | undefined;
1501
1757
  profileData?: string | undefined;
1502
1758
  nickname?: string | undefined;
@@ -1505,6 +1761,21 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1505
1761
  linked_to?: string | undefined;
1506
1762
  app_metadata?: any;
1507
1763
  user_metadata?: any;
1764
+ middle_name?: string | undefined;
1765
+ preferred_username?: string | undefined;
1766
+ profile?: string | undefined;
1767
+ website?: string | undefined;
1768
+ gender?: string | undefined;
1769
+ birthdate?: string | undefined;
1770
+ zoneinfo?: string | undefined;
1771
+ address?: {
1772
+ formatted?: string | undefined;
1773
+ street_address?: string | undefined;
1774
+ locality?: string | undefined;
1775
+ region?: string | undefined;
1776
+ postal_code?: string | undefined;
1777
+ country?: string | undefined;
1778
+ } | undefined;
1508
1779
  verify_email?: boolean | undefined;
1509
1780
  last_ip?: string | undefined;
1510
1781
  last_login?: string | undefined;
@@ -1540,6 +1811,7 @@ export declare const userResponseSchema: z.ZodObject<{
1540
1811
  email: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
1541
1812
  username: z.ZodOptional<z.ZodString>;
1542
1813
  phone_number: z.ZodOptional<z.ZodString>;
1814
+ phone_verified: z.ZodOptional<z.ZodBoolean>;
1543
1815
  given_name: z.ZodOptional<z.ZodString>;
1544
1816
  family_name: z.ZodOptional<z.ZodString>;
1545
1817
  nickname: z.ZodOptional<z.ZodString>;
@@ -1550,6 +1822,35 @@ export declare const userResponseSchema: z.ZodObject<{
1550
1822
  profileData: z.ZodOptional<z.ZodString>;
1551
1823
  app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
1552
1824
  user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
1825
+ middle_name: z.ZodOptional<z.ZodString>;
1826
+ preferred_username: z.ZodOptional<z.ZodString>;
1827
+ profile: z.ZodOptional<z.ZodString>;
1828
+ website: z.ZodOptional<z.ZodString>;
1829
+ gender: z.ZodOptional<z.ZodString>;
1830
+ birthdate: z.ZodOptional<z.ZodString>;
1831
+ zoneinfo: z.ZodOptional<z.ZodString>;
1832
+ address: z.ZodOptional<z.ZodObject<{
1833
+ formatted: z.ZodOptional<z.ZodString>;
1834
+ street_address: z.ZodOptional<z.ZodString>;
1835
+ locality: z.ZodOptional<z.ZodString>;
1836
+ region: z.ZodOptional<z.ZodString>;
1837
+ postal_code: z.ZodOptional<z.ZodString>;
1838
+ country: z.ZodOptional<z.ZodString>;
1839
+ }, "strip", z.ZodTypeAny, {
1840
+ formatted?: string | undefined;
1841
+ street_address?: string | undefined;
1842
+ locality?: string | undefined;
1843
+ region?: string | undefined;
1844
+ postal_code?: string | undefined;
1845
+ country?: string | undefined;
1846
+ }, {
1847
+ formatted?: string | undefined;
1848
+ street_address?: string | undefined;
1849
+ locality?: string | undefined;
1850
+ region?: string | undefined;
1851
+ postal_code?: string | undefined;
1852
+ country?: string | undefined;
1853
+ }>>;
1553
1854
  } & {
1554
1855
  login_count: z.ZodNumber;
1555
1856
  multifactor: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1560,6 +1861,7 @@ export declare const userResponseSchema: z.ZodObject<{
1560
1861
  email: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
1561
1862
  username: z.ZodOptional<z.ZodString>;
1562
1863
  phone_number: z.ZodOptional<z.ZodString>;
1864
+ phone_verified: z.ZodOptional<z.ZodBoolean>;
1563
1865
  given_name: z.ZodOptional<z.ZodString>;
1564
1866
  family_name: z.ZodOptional<z.ZodString>;
1565
1867
  nickname: z.ZodOptional<z.ZodString>;
@@ -1570,6 +1872,35 @@ export declare const userResponseSchema: z.ZodObject<{
1570
1872
  profileData: z.ZodOptional<z.ZodString>;
1571
1873
  app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
1572
1874
  user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
1875
+ middle_name: z.ZodOptional<z.ZodString>;
1876
+ preferred_username: z.ZodOptional<z.ZodString>;
1877
+ profile: z.ZodOptional<z.ZodString>;
1878
+ website: z.ZodOptional<z.ZodString>;
1879
+ gender: z.ZodOptional<z.ZodString>;
1880
+ birthdate: z.ZodOptional<z.ZodString>;
1881
+ zoneinfo: z.ZodOptional<z.ZodString>;
1882
+ address: z.ZodOptional<z.ZodObject<{
1883
+ formatted: z.ZodOptional<z.ZodString>;
1884
+ street_address: z.ZodOptional<z.ZodString>;
1885
+ locality: z.ZodOptional<z.ZodString>;
1886
+ region: z.ZodOptional<z.ZodString>;
1887
+ postal_code: z.ZodOptional<z.ZodString>;
1888
+ country: z.ZodOptional<z.ZodString>;
1889
+ }, "strip", z.ZodTypeAny, {
1890
+ formatted?: string | undefined;
1891
+ street_address?: string | undefined;
1892
+ locality?: string | undefined;
1893
+ region?: string | undefined;
1894
+ postal_code?: string | undefined;
1895
+ country?: string | undefined;
1896
+ }, {
1897
+ formatted?: string | undefined;
1898
+ street_address?: string | undefined;
1899
+ locality?: string | undefined;
1900
+ region?: string | undefined;
1901
+ postal_code?: string | undefined;
1902
+ country?: string | undefined;
1903
+ }>>;
1573
1904
  } & {
1574
1905
  login_count: z.ZodNumber;
1575
1906
  multifactor: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1580,6 +1911,7 @@ export declare const userResponseSchema: z.ZodObject<{
1580
1911
  email: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
1581
1912
  username: z.ZodOptional<z.ZodString>;
1582
1913
  phone_number: z.ZodOptional<z.ZodString>;
1914
+ phone_verified: z.ZodOptional<z.ZodBoolean>;
1583
1915
  given_name: z.ZodOptional<z.ZodString>;
1584
1916
  family_name: z.ZodOptional<z.ZodString>;
1585
1917
  nickname: z.ZodOptional<z.ZodString>;
@@ -1590,6 +1922,35 @@ export declare const userResponseSchema: z.ZodObject<{
1590
1922
  profileData: z.ZodOptional<z.ZodString>;
1591
1923
  app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
1592
1924
  user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
1925
+ middle_name: z.ZodOptional<z.ZodString>;
1926
+ preferred_username: z.ZodOptional<z.ZodString>;
1927
+ profile: z.ZodOptional<z.ZodString>;
1928
+ website: z.ZodOptional<z.ZodString>;
1929
+ gender: z.ZodOptional<z.ZodString>;
1930
+ birthdate: z.ZodOptional<z.ZodString>;
1931
+ zoneinfo: z.ZodOptional<z.ZodString>;
1932
+ address: z.ZodOptional<z.ZodObject<{
1933
+ formatted: z.ZodOptional<z.ZodString>;
1934
+ street_address: z.ZodOptional<z.ZodString>;
1935
+ locality: z.ZodOptional<z.ZodString>;
1936
+ region: z.ZodOptional<z.ZodString>;
1937
+ postal_code: z.ZodOptional<z.ZodString>;
1938
+ country: z.ZodOptional<z.ZodString>;
1939
+ }, "strip", z.ZodTypeAny, {
1940
+ formatted?: string | undefined;
1941
+ street_address?: string | undefined;
1942
+ locality?: string | undefined;
1943
+ region?: string | undefined;
1944
+ postal_code?: string | undefined;
1945
+ country?: string | undefined;
1946
+ }, {
1947
+ formatted?: string | undefined;
1948
+ street_address?: string | undefined;
1949
+ locality?: string | undefined;
1950
+ region?: string | undefined;
1951
+ postal_code?: string | undefined;
1952
+ country?: string | undefined;
1953
+ }>>;
1593
1954
  } & {
1594
1955
  login_count: z.ZodNumber;
1595
1956
  multifactor: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1634,6 +1995,7 @@ export declare const clientInsertSchema: z.ZodObject<{
1634
1995
  logo_uri: z.ZodOptional<z.ZodString>;
1635
1996
  is_first_party: z.ZodDefault<z.ZodBoolean>;
1636
1997
  oidc_conformant: z.ZodDefault<z.ZodBoolean>;
1998
+ auth0_conformant: z.ZodDefault<z.ZodBoolean>;
1637
1999
  callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1638
2000
  allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1639
2001
  web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
@@ -1696,6 +2058,7 @@ export declare const clientInsertSchema: z.ZodObject<{
1696
2058
  global: boolean;
1697
2059
  is_first_party: boolean;
1698
2060
  oidc_conformant: boolean;
2061
+ auth0_conformant: boolean;
1699
2062
  sso: boolean;
1700
2063
  sso_disabled: boolean;
1701
2064
  cross_origin_authentication: boolean;
@@ -1749,6 +2112,7 @@ export declare const clientInsertSchema: z.ZodObject<{
1749
2112
  logo_uri?: string | undefined;
1750
2113
  is_first_party?: boolean | undefined;
1751
2114
  oidc_conformant?: boolean | undefined;
2115
+ auth0_conformant?: boolean | undefined;
1752
2116
  callbacks?: string[] | undefined;
1753
2117
  allowed_origins?: string[] | undefined;
1754
2118
  web_origins?: string[] | undefined;
@@ -1824,6 +2188,7 @@ export declare const clientSchema: z.ZodObject<{
1824
2188
  logo_uri: z.ZodOptional<z.ZodString>;
1825
2189
  is_first_party: z.ZodDefault<z.ZodBoolean>;
1826
2190
  oidc_conformant: z.ZodDefault<z.ZodBoolean>;
2191
+ auth0_conformant: z.ZodDefault<z.ZodBoolean>;
1827
2192
  callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1828
2193
  allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1829
2194
  web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
@@ -1890,6 +2255,7 @@ export declare const clientSchema: z.ZodObject<{
1890
2255
  global: boolean;
1891
2256
  is_first_party: boolean;
1892
2257
  oidc_conformant: boolean;
2258
+ auth0_conformant: boolean;
1893
2259
  sso: boolean;
1894
2260
  sso_disabled: boolean;
1895
2261
  cross_origin_authentication: boolean;
@@ -1945,6 +2311,7 @@ export declare const clientSchema: z.ZodObject<{
1945
2311
  logo_uri?: string | undefined;
1946
2312
  is_first_party?: boolean | undefined;
1947
2313
  oidc_conformant?: boolean | undefined;
2314
+ auth0_conformant?: boolean | undefined;
1948
2315
  callbacks?: string[] | undefined;
1949
2316
  allowed_origins?: string[] | undefined;
1950
2317
  web_origins?: string[] | undefined;
@@ -9775,6 +10142,7 @@ export interface Auth0FlowInsert {
9775
10142
  }
9776
10143
  export declare enum AuthorizationResponseType {
9777
10144
  TOKEN = "token",
10145
+ ID_TOKEN = "id_token",
9778
10146
  TOKEN_ID_TOKEN = "token id_token",
9779
10147
  CODE = "code"
9780
10148
  }
@@ -9805,6 +10173,8 @@ export declare const authParamsSchema: z.ZodObject<{
9805
10173
  code_challenge: z.ZodOptional<z.ZodString>;
9806
10174
  username: z.ZodOptional<z.ZodString>;
9807
10175
  ui_locales: z.ZodOptional<z.ZodString>;
10176
+ max_age: z.ZodOptional<z.ZodNumber>;
10177
+ acr_values: z.ZodOptional<z.ZodString>;
9808
10178
  vendor_id: z.ZodOptional<z.ZodString>;
9809
10179
  }, "strip", z.ZodTypeAny, {
9810
10180
  client_id: string;
@@ -9822,6 +10192,8 @@ export declare const authParamsSchema: z.ZodObject<{
9822
10192
  code_challenge_method?: CodeChallengeMethod | undefined;
9823
10193
  code_challenge?: string | undefined;
9824
10194
  ui_locales?: string | undefined;
10195
+ max_age?: number | undefined;
10196
+ acr_values?: string | undefined;
9825
10197
  vendor_id?: string | undefined;
9826
10198
  }, {
9827
10199
  client_id: string;
@@ -9839,6 +10211,8 @@ export declare const authParamsSchema: z.ZodObject<{
9839
10211
  code_challenge_method?: CodeChallengeMethod | undefined;
9840
10212
  code_challenge?: string | undefined;
9841
10213
  ui_locales?: string | undefined;
10214
+ max_age?: number | undefined;
10215
+ acr_values?: string | undefined;
9842
10216
  vendor_id?: string | undefined;
9843
10217
  }>;
9844
10218
  export type AuthParams = z.infer<typeof authParamsSchema>;
@@ -10547,6 +10921,7 @@ export declare const legacyClientSchema: z.ZodObject<{
10547
10921
  logo_uri: z.ZodOptional<z.ZodString>;
10548
10922
  is_first_party: z.ZodDefault<z.ZodBoolean>;
10549
10923
  oidc_conformant: z.ZodDefault<z.ZodBoolean>;
10924
+ auth0_conformant: z.ZodDefault<z.ZodBoolean>;
10550
10925
  callbacks: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
10551
10926
  allowed_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
10552
10927
  web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
@@ -10612,6 +10987,7 @@ export declare const legacyClientSchema: z.ZodObject<{
10612
10987
  global: boolean;
10613
10988
  is_first_party: boolean;
10614
10989
  oidc_conformant: boolean;
10990
+ auth0_conformant: boolean;
10615
10991
  connections: {
10616
10992
  created_at: string;
10617
10993
  updated_at: string;
@@ -10942,6 +11318,7 @@ export declare const legacyClientSchema: z.ZodObject<{
10942
11318
  logo_uri?: string | undefined;
10943
11319
  is_first_party?: boolean | undefined;
10944
11320
  oidc_conformant?: boolean | undefined;
11321
+ auth0_conformant?: boolean | undefined;
10945
11322
  callbacks?: string[] | undefined;
10946
11323
  allowed_origins?: string[] | undefined;
10947
11324
  web_origins?: string[] | undefined;
@@ -32360,6 +32737,8 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
32360
32737
  code_challenge: z.ZodOptional<z.ZodString>;
32361
32738
  username: z.ZodOptional<z.ZodString>;
32362
32739
  ui_locales: z.ZodOptional<z.ZodString>;
32740
+ max_age: z.ZodOptional<z.ZodNumber>;
32741
+ acr_values: z.ZodOptional<z.ZodString>;
32363
32742
  vendor_id: z.ZodOptional<z.ZodString>;
32364
32743
  }, "strip", z.ZodTypeAny, {
32365
32744
  client_id: string;
@@ -32377,6 +32756,8 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
32377
32756
  code_challenge_method?: CodeChallengeMethod | undefined;
32378
32757
  code_challenge?: string | undefined;
32379
32758
  ui_locales?: string | undefined;
32759
+ max_age?: number | undefined;
32760
+ acr_values?: string | undefined;
32380
32761
  vendor_id?: string | undefined;
32381
32762
  }, {
32382
32763
  client_id: string;
@@ -32394,6 +32775,8 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
32394
32775
  code_challenge_method?: CodeChallengeMethod | undefined;
32395
32776
  code_challenge?: string | undefined;
32396
32777
  ui_locales?: string | undefined;
32778
+ max_age?: number | undefined;
32779
+ acr_values?: string | undefined;
32397
32780
  vendor_id?: string | undefined;
32398
32781
  }>;
32399
32782
  expires_at: z.ZodString;
@@ -32426,6 +32809,8 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
32426
32809
  code_challenge_method?: CodeChallengeMethod | undefined;
32427
32810
  code_challenge?: string | undefined;
32428
32811
  ui_locales?: string | undefined;
32812
+ max_age?: number | undefined;
32813
+ acr_values?: string | undefined;
32429
32814
  vendor_id?: string | undefined;
32430
32815
  };
32431
32816
  user_id?: string | undefined;
@@ -32456,6 +32841,8 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
32456
32841
  code_challenge_method?: CodeChallengeMethod | undefined;
32457
32842
  code_challenge?: string | undefined;
32458
32843
  ui_locales?: string | undefined;
32844
+ max_age?: number | undefined;
32845
+ acr_values?: string | undefined;
32459
32846
  vendor_id?: string | undefined;
32460
32847
  };
32461
32848
  user_id?: string | undefined;
@@ -32492,6 +32879,8 @@ export declare const loginSessionSchema: z.ZodObject<{
32492
32879
  code_challenge: z.ZodOptional<z.ZodString>;
32493
32880
  username: z.ZodOptional<z.ZodString>;
32494
32881
  ui_locales: z.ZodOptional<z.ZodString>;
32882
+ max_age: z.ZodOptional<z.ZodNumber>;
32883
+ acr_values: z.ZodOptional<z.ZodString>;
32495
32884
  vendor_id: z.ZodOptional<z.ZodString>;
32496
32885
  }, "strip", z.ZodTypeAny, {
32497
32886
  client_id: string;
@@ -32509,6 +32898,8 @@ export declare const loginSessionSchema: z.ZodObject<{
32509
32898
  code_challenge_method?: CodeChallengeMethod | undefined;
32510
32899
  code_challenge?: string | undefined;
32511
32900
  ui_locales?: string | undefined;
32901
+ max_age?: number | undefined;
32902
+ acr_values?: string | undefined;
32512
32903
  vendor_id?: string | undefined;
32513
32904
  }, {
32514
32905
  client_id: string;
@@ -32526,6 +32917,8 @@ export declare const loginSessionSchema: z.ZodObject<{
32526
32917
  code_challenge_method?: CodeChallengeMethod | undefined;
32527
32918
  code_challenge?: string | undefined;
32528
32919
  ui_locales?: string | undefined;
32920
+ max_age?: number | undefined;
32921
+ acr_values?: string | undefined;
32529
32922
  vendor_id?: string | undefined;
32530
32923
  }>;
32531
32924
  expires_at: z.ZodString;
@@ -32561,6 +32954,8 @@ export declare const loginSessionSchema: z.ZodObject<{
32561
32954
  code_challenge_method?: CodeChallengeMethod | undefined;
32562
32955
  code_challenge?: string | undefined;
32563
32956
  ui_locales?: string | undefined;
32957
+ max_age?: number | undefined;
32958
+ acr_values?: string | undefined;
32564
32959
  vendor_id?: string | undefined;
32565
32960
  };
32566
32961
  user_id?: string | undefined;
@@ -32594,6 +32989,8 @@ export declare const loginSessionSchema: z.ZodObject<{
32594
32989
  code_challenge_method?: CodeChallengeMethod | undefined;
32595
32990
  code_challenge?: string | undefined;
32596
32991
  ui_locales?: string | undefined;
32992
+ max_age?: number | undefined;
32993
+ acr_values?: string | undefined;
32597
32994
  vendor_id?: string | undefined;
32598
32995
  };
32599
32996
  user_id?: string | undefined;
@@ -34232,16 +34629,16 @@ export declare const tokenResponseSchema: z.ZodObject<{
34232
34629
  expires_in: number;
34233
34630
  refresh_token?: string | undefined;
34234
34631
  scope?: string | undefined;
34235
- state?: string | undefined;
34236
34632
  id_token?: string | undefined;
34633
+ state?: string | undefined;
34237
34634
  }, {
34238
34635
  access_token: string;
34239
34636
  token_type: string;
34240
34637
  expires_in: number;
34241
34638
  refresh_token?: string | undefined;
34242
34639
  scope?: string | undefined;
34243
- state?: string | undefined;
34244
34640
  id_token?: string | undefined;
34641
+ state?: string | undefined;
34245
34642
  }>;
34246
34643
  export type TokenResponse = z.infer<typeof tokenResponseSchema>;
34247
34644
  declare const codeResponseSchema: z.ZodObject<{
@@ -35435,13 +35832,13 @@ export declare const emailProviderSchema: z.ZodObject<{
35435
35832
  secretAccessKey: z.ZodString;
35436
35833
  region: z.ZodString;
35437
35834
  }, "strip", z.ZodTypeAny, {
35835
+ region: string;
35438
35836
  accessKeyId: string;
35439
35837
  secretAccessKey: string;
35440
- region: string;
35441
35838
  }, {
35839
+ region: string;
35442
35840
  accessKeyId: string;
35443
35841
  secretAccessKey: string;
35444
- region: string;
35445
35842
  }>,
35446
35843
  z.ZodObject<{
35447
35844
  smtp_host: z.ZodArray<z.ZodString, "many">;
@@ -35495,9 +35892,9 @@ export declare const emailProviderSchema: z.ZodObject<{
35495
35892
  name: string;
35496
35893
  enabled: boolean;
35497
35894
  credentials: {
35895
+ region: string;
35498
35896
  accessKeyId: string;
35499
35897
  secretAccessKey: string;
35500
- region: string;
35501
35898
  } | {
35502
35899
  smtp_host: string[];
35503
35900
  smtp_port: number;
@@ -35518,9 +35915,9 @@ export declare const emailProviderSchema: z.ZodObject<{
35518
35915
  }, {
35519
35916
  name: string;
35520
35917
  credentials: {
35918
+ region: string;
35521
35919
  accessKeyId: string;
35522
35920
  secretAccessKey: string;
35523
- region: string;
35524
35921
  } | {
35525
35922
  smtp_host: string[];
35526
35923
  smtp_port: number;
@@ -37567,6 +37964,14 @@ export interface DataAdapters {
37567
37964
  userRoles: UserRolesAdapter;
37568
37965
  organizations: OrganizationsAdapter;
37569
37966
  userOrganizations: UserOrganizationsAdapter;
37967
+ /**
37968
+ * Multi-tenancy configuration set by withRuntimeFallback.
37969
+ * Used by the tenants route for access control.
37970
+ */
37971
+ multiTenancyConfig?: {
37972
+ controlPlaneTenantId?: string;
37973
+ controlPlaneClientId?: string;
37974
+ };
37570
37975
  }
37571
37976
 
37572
37977
  export {