authhero 4.42.0 → 4.44.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.
@@ -1333,6 +1333,11 @@ export declare const userSchema: z.ZodObject<{
1333
1333
  user_id: z.ZodString;
1334
1334
  provider: z.ZodString;
1335
1335
  isSocial: z.ZodBoolean;
1336
+ email: z.ZodOptional<z.ZodString>;
1337
+ email_verified: z.ZodOptional<z.ZodBoolean>;
1338
+ phone_number: z.ZodOptional<z.ZodString>;
1339
+ phone_verified: z.ZodOptional<z.ZodBoolean>;
1340
+ username: z.ZodOptional<z.ZodString>;
1336
1341
  access_token: z.ZodOptional<z.ZodString>;
1337
1342
  access_token_secret: z.ZodOptional<z.ZodString>;
1338
1343
  refresh_token: z.ZodOptional<z.ZodString>;
@@ -1369,6 +1374,11 @@ export declare const userSchema: z.ZodObject<{
1369
1374
  connection: string;
1370
1375
  provider: string;
1371
1376
  isSocial: boolean;
1377
+ email?: string | undefined;
1378
+ email_verified?: boolean | undefined;
1379
+ username?: string | undefined;
1380
+ phone_number?: string | undefined;
1381
+ phone_verified?: boolean | undefined;
1372
1382
  access_token?: string | undefined;
1373
1383
  access_token_secret?: string | undefined;
1374
1384
  refresh_token?: string | undefined;
@@ -1387,6 +1397,11 @@ export declare const userSchema: z.ZodObject<{
1387
1397
  connection: string;
1388
1398
  provider: string;
1389
1399
  isSocial: boolean;
1400
+ email?: string | undefined;
1401
+ email_verified?: boolean | undefined;
1402
+ username?: string | undefined;
1403
+ phone_number?: string | undefined;
1404
+ phone_verified?: boolean | undefined;
1390
1405
  access_token?: string | undefined;
1391
1406
  access_token_secret?: string | undefined;
1392
1407
  refresh_token?: string | undefined;
@@ -1496,6 +1511,11 @@ export declare const userSchema: z.ZodObject<{
1496
1511
  connection: string;
1497
1512
  provider: string;
1498
1513
  isSocial: boolean;
1514
+ email?: string | undefined;
1515
+ email_verified?: boolean | undefined;
1516
+ username?: string | undefined;
1517
+ phone_number?: string | undefined;
1518
+ phone_verified?: boolean | undefined;
1499
1519
  access_token?: string | undefined;
1500
1520
  access_token_secret?: string | undefined;
1501
1521
  refresh_token?: string | undefined;
@@ -1556,6 +1576,11 @@ export declare const userSchema: z.ZodObject<{
1556
1576
  connection: string;
1557
1577
  provider: string;
1558
1578
  isSocial: boolean;
1579
+ email?: string | undefined;
1580
+ email_verified?: boolean | undefined;
1581
+ username?: string | undefined;
1582
+ phone_number?: string | undefined;
1583
+ phone_verified?: boolean | undefined;
1559
1584
  access_token?: string | undefined;
1560
1585
  access_token_secret?: string | undefined;
1561
1586
  refresh_token?: string | undefined;
@@ -1583,6 +1608,11 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1583
1608
  user_id: z.ZodString;
1584
1609
  provider: z.ZodString;
1585
1610
  isSocial: z.ZodBoolean;
1611
+ email: z.ZodOptional<z.ZodString>;
1612
+ email_verified: z.ZodOptional<z.ZodBoolean>;
1613
+ phone_number: z.ZodOptional<z.ZodString>;
1614
+ phone_verified: z.ZodOptional<z.ZodBoolean>;
1615
+ username: z.ZodOptional<z.ZodString>;
1586
1616
  access_token: z.ZodOptional<z.ZodString>;
1587
1617
  access_token_secret: z.ZodOptional<z.ZodString>;
1588
1618
  refresh_token: z.ZodOptional<z.ZodString>;
@@ -1619,6 +1649,11 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1619
1649
  connection: string;
1620
1650
  provider: string;
1621
1651
  isSocial: boolean;
1652
+ email?: string | undefined;
1653
+ email_verified?: boolean | undefined;
1654
+ username?: string | undefined;
1655
+ phone_number?: string | undefined;
1656
+ phone_verified?: boolean | undefined;
1622
1657
  access_token?: string | undefined;
1623
1658
  access_token_secret?: string | undefined;
1624
1659
  refresh_token?: string | undefined;
@@ -1637,6 +1672,11 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1637
1672
  connection: string;
1638
1673
  provider: string;
1639
1674
  isSocial: boolean;
1675
+ email?: string | undefined;
1676
+ email_verified?: boolean | undefined;
1677
+ username?: string | undefined;
1678
+ phone_number?: string | undefined;
1679
+ phone_verified?: boolean | undefined;
1640
1680
  access_token?: string | undefined;
1641
1681
  access_token_secret?: string | undefined;
1642
1682
  refresh_token?: string | undefined;
@@ -1746,6 +1786,11 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1746
1786
  connection: string;
1747
1787
  provider: string;
1748
1788
  isSocial: boolean;
1789
+ email?: string | undefined;
1790
+ email_verified?: boolean | undefined;
1791
+ username?: string | undefined;
1792
+ phone_number?: string | undefined;
1793
+ phone_verified?: boolean | undefined;
1749
1794
  access_token?: string | undefined;
1750
1795
  access_token_secret?: string | undefined;
1751
1796
  refresh_token?: string | undefined;
@@ -1806,6 +1851,11 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
1806
1851
  connection: string;
1807
1852
  provider: string;
1808
1853
  isSocial: boolean;
1854
+ email?: string | undefined;
1855
+ email_verified?: boolean | undefined;
1856
+ username?: string | undefined;
1857
+ phone_number?: string | undefined;
1858
+ phone_verified?: boolean | undefined;
1809
1859
  access_token?: string | undefined;
1810
1860
  access_token_secret?: string | undefined;
1811
1861
  refresh_token?: string | undefined;
@@ -10541,6 +10591,12 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10541
10591
  }, {
10542
10592
  allowed?: boolean | undefined;
10543
10593
  }>>;
10594
+ unique: z.ZodOptional<z.ZodBoolean>;
10595
+ profile_required: z.ZodOptional<z.ZodBoolean>;
10596
+ verification_method: z.ZodOptional<z.ZodEnum<[
10597
+ "link",
10598
+ "code"
10599
+ ]>>;
10544
10600
  }, "strip", z.ZodTypeAny, {
10545
10601
  validation?: {
10546
10602
  allowed?: boolean | undefined;
@@ -10554,6 +10610,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10554
10610
  active?: boolean | undefined;
10555
10611
  } | undefined;
10556
10612
  } | undefined;
10613
+ unique?: boolean | undefined;
10614
+ profile_required?: boolean | undefined;
10615
+ verification_method?: "code" | "link" | undefined;
10557
10616
  }, {
10558
10617
  validation?: {
10559
10618
  allowed?: boolean | undefined;
@@ -10567,6 +10626,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10567
10626
  active?: boolean | undefined;
10568
10627
  } | undefined;
10569
10628
  } | undefined;
10629
+ unique?: boolean | undefined;
10630
+ profile_required?: boolean | undefined;
10631
+ verification_method?: "code" | "link" | undefined;
10570
10632
  }>>;
10571
10633
  username: z.ZodOptional<z.ZodObject<{
10572
10634
  identifier: z.ZodOptional<z.ZodObject<{
@@ -10615,6 +10677,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10615
10677
  phone_number?: boolean | undefined;
10616
10678
  } | undefined;
10617
10679
  }>>;
10680
+ profile_required: z.ZodOptional<z.ZodBoolean>;
10618
10681
  }, "strip", z.ZodTypeAny, {
10619
10682
  validation?: {
10620
10683
  min_length?: number | undefined;
@@ -10630,6 +10693,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10630
10693
  signup?: {
10631
10694
  status?: "required" | "optional" | "disabled" | undefined;
10632
10695
  } | undefined;
10696
+ profile_required?: boolean | undefined;
10633
10697
  }, {
10634
10698
  validation?: {
10635
10699
  min_length?: number | undefined;
@@ -10645,6 +10709,41 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10645
10709
  signup?: {
10646
10710
  status?: "required" | "optional" | "disabled" | undefined;
10647
10711
  } | undefined;
10712
+ profile_required?: boolean | undefined;
10713
+ }>>;
10714
+ phone_number: z.ZodOptional<z.ZodObject<{
10715
+ identifier: z.ZodOptional<z.ZodObject<{
10716
+ active: z.ZodOptional<z.ZodBoolean>;
10717
+ }, "strip", z.ZodTypeAny, {
10718
+ active?: boolean | undefined;
10719
+ }, {
10720
+ active?: boolean | undefined;
10721
+ }>>;
10722
+ signup: z.ZodOptional<z.ZodObject<{
10723
+ status: z.ZodOptional<z.ZodEnum<[
10724
+ "required",
10725
+ "optional",
10726
+ "disabled"
10727
+ ]>>;
10728
+ }, "strip", z.ZodTypeAny, {
10729
+ status?: "required" | "optional" | "disabled" | undefined;
10730
+ }, {
10731
+ status?: "required" | "optional" | "disabled" | undefined;
10732
+ }>>;
10733
+ }, "strip", z.ZodTypeAny, {
10734
+ identifier?: {
10735
+ active?: boolean | undefined;
10736
+ } | undefined;
10737
+ signup?: {
10738
+ status?: "required" | "optional" | "disabled" | undefined;
10739
+ } | undefined;
10740
+ }, {
10741
+ identifier?: {
10742
+ active?: boolean | undefined;
10743
+ } | undefined;
10744
+ signup?: {
10745
+ status?: "required" | "optional" | "disabled" | undefined;
10746
+ } | undefined;
10648
10747
  }>>;
10649
10748
  }, "strip", z.ZodTypeAny, {
10650
10749
  email?: {
@@ -10660,6 +10759,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10660
10759
  active?: boolean | undefined;
10661
10760
  } | undefined;
10662
10761
  } | undefined;
10762
+ unique?: boolean | undefined;
10763
+ profile_required?: boolean | undefined;
10764
+ verification_method?: "code" | "link" | undefined;
10663
10765
  } | undefined;
10664
10766
  username?: {
10665
10767
  validation?: {
@@ -10676,6 +10778,15 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10676
10778
  signup?: {
10677
10779
  status?: "required" | "optional" | "disabled" | undefined;
10678
10780
  } | undefined;
10781
+ profile_required?: boolean | undefined;
10782
+ } | undefined;
10783
+ phone_number?: {
10784
+ identifier?: {
10785
+ active?: boolean | undefined;
10786
+ } | undefined;
10787
+ signup?: {
10788
+ status?: "required" | "optional" | "disabled" | undefined;
10789
+ } | undefined;
10679
10790
  } | undefined;
10680
10791
  }, {
10681
10792
  email?: {
@@ -10691,6 +10802,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10691
10802
  active?: boolean | undefined;
10692
10803
  } | undefined;
10693
10804
  } | undefined;
10805
+ unique?: boolean | undefined;
10806
+ profile_required?: boolean | undefined;
10807
+ verification_method?: "code" | "link" | undefined;
10694
10808
  } | undefined;
10695
10809
  username?: {
10696
10810
  validation?: {
@@ -10707,8 +10821,64 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10707
10821
  signup?: {
10708
10822
  status?: "required" | "optional" | "disabled" | undefined;
10709
10823
  } | undefined;
10824
+ profile_required?: boolean | undefined;
10825
+ } | undefined;
10826
+ phone_number?: {
10827
+ identifier?: {
10828
+ active?: boolean | undefined;
10829
+ } | undefined;
10830
+ signup?: {
10831
+ status?: "required" | "optional" | "disabled" | undefined;
10832
+ } | undefined;
10710
10833
  } | undefined;
10711
10834
  }>>;
10835
+ authentication_methods: z.ZodOptional<z.ZodObject<{
10836
+ password: z.ZodOptional<z.ZodObject<{
10837
+ enabled: z.ZodOptional<z.ZodBoolean>;
10838
+ }, "strip", z.ZodTypeAny, {
10839
+ enabled?: boolean | undefined;
10840
+ }, {
10841
+ enabled?: boolean | undefined;
10842
+ }>>;
10843
+ passkey: z.ZodOptional<z.ZodObject<{
10844
+ enabled: z.ZodOptional<z.ZodBoolean>;
10845
+ }, "strip", z.ZodTypeAny, {
10846
+ enabled?: boolean | undefined;
10847
+ }, {
10848
+ enabled?: boolean | undefined;
10849
+ }>>;
10850
+ }, "strip", z.ZodTypeAny, {
10851
+ password?: {
10852
+ enabled?: boolean | undefined;
10853
+ } | undefined;
10854
+ passkey?: {
10855
+ enabled?: boolean | undefined;
10856
+ } | undefined;
10857
+ }, {
10858
+ password?: {
10859
+ enabled?: boolean | undefined;
10860
+ } | undefined;
10861
+ passkey?: {
10862
+ enabled?: boolean | undefined;
10863
+ } | undefined;
10864
+ }>>;
10865
+ passkey_options: z.ZodOptional<z.ZodObject<{
10866
+ challenge_ui: z.ZodOptional<z.ZodEnum<[
10867
+ "both",
10868
+ "autofill",
10869
+ "button"
10870
+ ]>>;
10871
+ local_enrollment_enabled: z.ZodOptional<z.ZodBoolean>;
10872
+ progressive_enrollment_enabled: z.ZodOptional<z.ZodBoolean>;
10873
+ }, "strip", z.ZodTypeAny, {
10874
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
10875
+ local_enrollment_enabled?: boolean | undefined;
10876
+ progressive_enrollment_enabled?: boolean | undefined;
10877
+ }, {
10878
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
10879
+ local_enrollment_enabled?: boolean | undefined;
10880
+ progressive_enrollment_enabled?: boolean | undefined;
10881
+ }>>;
10712
10882
  requires_username: z.ZodOptional<z.ZodBoolean>;
10713
10883
  validation: z.ZodOptional<z.ZodObject<{
10714
10884
  username: z.ZodOptional<z.ZodObject<{
@@ -10790,6 +10960,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10790
10960
  active?: boolean | undefined;
10791
10961
  } | undefined;
10792
10962
  } | undefined;
10963
+ unique?: boolean | undefined;
10964
+ profile_required?: boolean | undefined;
10965
+ verification_method?: "code" | "link" | undefined;
10793
10966
  } | undefined;
10794
10967
  username?: {
10795
10968
  validation?: {
@@ -10806,8 +10979,30 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10806
10979
  signup?: {
10807
10980
  status?: "required" | "optional" | "disabled" | undefined;
10808
10981
  } | undefined;
10982
+ profile_required?: boolean | undefined;
10983
+ } | undefined;
10984
+ phone_number?: {
10985
+ identifier?: {
10986
+ active?: boolean | undefined;
10987
+ } | undefined;
10988
+ signup?: {
10989
+ status?: "required" | "optional" | "disabled" | undefined;
10990
+ } | undefined;
10991
+ } | undefined;
10992
+ } | undefined;
10993
+ authentication_methods?: {
10994
+ password?: {
10995
+ enabled?: boolean | undefined;
10996
+ } | undefined;
10997
+ passkey?: {
10998
+ enabled?: boolean | undefined;
10809
10999
  } | undefined;
10810
11000
  } | undefined;
11001
+ passkey_options?: {
11002
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
11003
+ local_enrollment_enabled?: boolean | undefined;
11004
+ progressive_enrollment_enabled?: boolean | undefined;
11005
+ } | undefined;
10811
11006
  requires_username?: boolean | undefined;
10812
11007
  }, {
10813
11008
  validation?: {
@@ -10867,6 +11062,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10867
11062
  active?: boolean | undefined;
10868
11063
  } | undefined;
10869
11064
  } | undefined;
11065
+ unique?: boolean | undefined;
11066
+ profile_required?: boolean | undefined;
11067
+ verification_method?: "code" | "link" | undefined;
10870
11068
  } | undefined;
10871
11069
  username?: {
10872
11070
  validation?: {
@@ -10883,8 +11081,30 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10883
11081
  signup?: {
10884
11082
  status?: "required" | "optional" | "disabled" | undefined;
10885
11083
  } | undefined;
11084
+ profile_required?: boolean | undefined;
11085
+ } | undefined;
11086
+ phone_number?: {
11087
+ identifier?: {
11088
+ active?: boolean | undefined;
11089
+ } | undefined;
11090
+ signup?: {
11091
+ status?: "required" | "optional" | "disabled" | undefined;
11092
+ } | undefined;
11093
+ } | undefined;
11094
+ } | undefined;
11095
+ authentication_methods?: {
11096
+ password?: {
11097
+ enabled?: boolean | undefined;
11098
+ } | undefined;
11099
+ passkey?: {
11100
+ enabled?: boolean | undefined;
10886
11101
  } | undefined;
10887
11102
  } | undefined;
11103
+ passkey_options?: {
11104
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
11105
+ local_enrollment_enabled?: boolean | undefined;
11106
+ progressive_enrollment_enabled?: boolean | undefined;
11107
+ } | undefined;
10888
11108
  requires_username?: boolean | undefined;
10889
11109
  }>;
10890
11110
  export declare const connectionInsertSchema: z.ZodObject<{
@@ -10996,6 +11216,12 @@ export declare const connectionInsertSchema: z.ZodObject<{
10996
11216
  }, {
10997
11217
  allowed?: boolean | undefined;
10998
11218
  }>>;
11219
+ unique: z.ZodOptional<z.ZodBoolean>;
11220
+ profile_required: z.ZodOptional<z.ZodBoolean>;
11221
+ verification_method: z.ZodOptional<z.ZodEnum<[
11222
+ "link",
11223
+ "code"
11224
+ ]>>;
10999
11225
  }, "strip", z.ZodTypeAny, {
11000
11226
  validation?: {
11001
11227
  allowed?: boolean | undefined;
@@ -11009,6 +11235,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
11009
11235
  active?: boolean | undefined;
11010
11236
  } | undefined;
11011
11237
  } | undefined;
11238
+ unique?: boolean | undefined;
11239
+ profile_required?: boolean | undefined;
11240
+ verification_method?: "code" | "link" | undefined;
11012
11241
  }, {
11013
11242
  validation?: {
11014
11243
  allowed?: boolean | undefined;
@@ -11022,6 +11251,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
11022
11251
  active?: boolean | undefined;
11023
11252
  } | undefined;
11024
11253
  } | undefined;
11254
+ unique?: boolean | undefined;
11255
+ profile_required?: boolean | undefined;
11256
+ verification_method?: "code" | "link" | undefined;
11025
11257
  }>>;
11026
11258
  username: z.ZodOptional<z.ZodObject<{
11027
11259
  identifier: z.ZodOptional<z.ZodObject<{
@@ -11070,6 +11302,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
11070
11302
  phone_number?: boolean | undefined;
11071
11303
  } | undefined;
11072
11304
  }>>;
11305
+ profile_required: z.ZodOptional<z.ZodBoolean>;
11073
11306
  }, "strip", z.ZodTypeAny, {
11074
11307
  validation?: {
11075
11308
  min_length?: number | undefined;
@@ -11085,6 +11318,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
11085
11318
  signup?: {
11086
11319
  status?: "required" | "optional" | "disabled" | undefined;
11087
11320
  } | undefined;
11321
+ profile_required?: boolean | undefined;
11088
11322
  }, {
11089
11323
  validation?: {
11090
11324
  min_length?: number | undefined;
@@ -11100,138 +11334,43 @@ export declare const connectionInsertSchema: z.ZodObject<{
11100
11334
  signup?: {
11101
11335
  status?: "required" | "optional" | "disabled" | undefined;
11102
11336
  } | undefined;
11337
+ profile_required?: boolean | undefined;
11103
11338
  }>>;
11104
- }, "strip", z.ZodTypeAny, {
11105
- email?: {
11106
- validation?: {
11107
- allowed?: boolean | undefined;
11108
- } | undefined;
11109
- identifier?: {
11339
+ phone_number: z.ZodOptional<z.ZodObject<{
11340
+ identifier: z.ZodOptional<z.ZodObject<{
11341
+ active: z.ZodOptional<z.ZodBoolean>;
11342
+ }, "strip", z.ZodTypeAny, {
11110
11343
  active?: boolean | undefined;
11111
- } | undefined;
11112
- signup?: {
11113
- status?: "required" | "optional" | "disabled" | undefined;
11114
- verification?: {
11115
- active?: boolean | undefined;
11116
- } | undefined;
11117
- } | undefined;
11118
- } | undefined;
11119
- username?: {
11120
- validation?: {
11121
- min_length?: number | undefined;
11122
- max_length?: number | undefined;
11123
- allowed_types?: {
11124
- email?: boolean | undefined;
11125
- phone_number?: boolean | undefined;
11126
- } | undefined;
11127
- } | undefined;
11128
- identifier?: {
11344
+ }, {
11129
11345
  active?: boolean | undefined;
11130
- } | undefined;
11131
- signup?: {
11346
+ }>>;
11347
+ signup: z.ZodOptional<z.ZodObject<{
11348
+ status: z.ZodOptional<z.ZodEnum<[
11349
+ "required",
11350
+ "optional",
11351
+ "disabled"
11352
+ ]>>;
11353
+ }, "strip", z.ZodTypeAny, {
11132
11354
  status?: "required" | "optional" | "disabled" | undefined;
11133
- } | undefined;
11134
- } | undefined;
11135
- }, {
11136
- email?: {
11137
- validation?: {
11138
- allowed?: boolean | undefined;
11139
- } | undefined;
11355
+ }, {
11356
+ status?: "required" | "optional" | "disabled" | undefined;
11357
+ }>>;
11358
+ }, "strip", z.ZodTypeAny, {
11140
11359
  identifier?: {
11141
11360
  active?: boolean | undefined;
11142
11361
  } | undefined;
11143
11362
  signup?: {
11144
11363
  status?: "required" | "optional" | "disabled" | undefined;
11145
- verification?: {
11146
- active?: boolean | undefined;
11147
- } | undefined;
11148
- } | undefined;
11149
- } | undefined;
11150
- username?: {
11151
- validation?: {
11152
- min_length?: number | undefined;
11153
- max_length?: number | undefined;
11154
- allowed_types?: {
11155
- email?: boolean | undefined;
11156
- phone_number?: boolean | undefined;
11157
- } | undefined;
11158
11364
  } | undefined;
11365
+ }, {
11159
11366
  identifier?: {
11160
11367
  active?: boolean | undefined;
11161
11368
  } | undefined;
11162
11369
  signup?: {
11163
11370
  status?: "required" | "optional" | "disabled" | undefined;
11164
11371
  } | undefined;
11165
- } | undefined;
11166
- }>>;
11167
- requires_username: z.ZodOptional<z.ZodBoolean>;
11168
- validation: z.ZodOptional<z.ZodObject<{
11169
- username: z.ZodOptional<z.ZodObject<{
11170
- min: z.ZodOptional<z.ZodNumber>;
11171
- max: z.ZodOptional<z.ZodNumber>;
11172
- }, "strip", z.ZodTypeAny, {
11173
- min?: number | undefined;
11174
- max?: number | undefined;
11175
- }, {
11176
- min?: number | undefined;
11177
- max?: number | undefined;
11178
11372
  }>>;
11179
11373
  }, "strip", z.ZodTypeAny, {
11180
- username?: {
11181
- min?: number | undefined;
11182
- max?: number | undefined;
11183
- } | undefined;
11184
- }, {
11185
- username?: {
11186
- min?: number | undefined;
11187
- max?: number | undefined;
11188
- } | undefined;
11189
- }>>;
11190
- }, "strip", z.ZodTypeAny, {
11191
- validation?: {
11192
- username?: {
11193
- min?: number | undefined;
11194
- max?: number | undefined;
11195
- } | undefined;
11196
- } | undefined;
11197
- provider?: string | undefined;
11198
- client_id?: string | undefined;
11199
- client_secret?: string | undefined;
11200
- scope?: string | undefined;
11201
- kid?: string | undefined;
11202
- team_id?: string | undefined;
11203
- realms?: string | undefined;
11204
- authentication_method?: string | undefined;
11205
- app_secret?: string | undefined;
11206
- authorization_endpoint?: string | undefined;
11207
- token_endpoint?: string | undefined;
11208
- userinfo_endpoint?: string | undefined;
11209
- jwks_uri?: string | undefined;
11210
- discovery_url?: string | undefined;
11211
- issuer?: string | undefined;
11212
- from?: string | undefined;
11213
- twilio_sid?: string | undefined;
11214
- twilio_token?: string | undefined;
11215
- icon_url?: string | undefined;
11216
- passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
11217
- password_complexity_options?: {
11218
- min_length?: number | undefined;
11219
- } | undefined;
11220
- password_history?: {
11221
- enable?: boolean | undefined;
11222
- size?: number | undefined;
11223
- } | undefined;
11224
- password_no_personal_info?: {
11225
- enable?: boolean | undefined;
11226
- } | undefined;
11227
- password_dictionary?: {
11228
- enable?: boolean | undefined;
11229
- dictionary?: string[] | undefined;
11230
- } | undefined;
11231
- disable_signup?: boolean | undefined;
11232
- brute_force_protection?: boolean | undefined;
11233
- import_mode?: boolean | undefined;
11234
- attributes?: {
11235
11374
  email?: {
11236
11375
  validation?: {
11237
11376
  allowed?: boolean | undefined;
@@ -11245,6 +11384,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
11245
11384
  active?: boolean | undefined;
11246
11385
  } | undefined;
11247
11386
  } | undefined;
11387
+ unique?: boolean | undefined;
11388
+ profile_required?: boolean | undefined;
11389
+ verification_method?: "code" | "link" | undefined;
11248
11390
  } | undefined;
11249
11391
  username?: {
11250
11392
  validation?: {
@@ -11261,7 +11403,230 @@ export declare const connectionInsertSchema: z.ZodObject<{
11261
11403
  signup?: {
11262
11404
  status?: "required" | "optional" | "disabled" | undefined;
11263
11405
  } | undefined;
11406
+ profile_required?: boolean | undefined;
11264
11407
  } | undefined;
11408
+ phone_number?: {
11409
+ identifier?: {
11410
+ active?: boolean | undefined;
11411
+ } | undefined;
11412
+ signup?: {
11413
+ status?: "required" | "optional" | "disabled" | undefined;
11414
+ } | undefined;
11415
+ } | undefined;
11416
+ }, {
11417
+ email?: {
11418
+ validation?: {
11419
+ allowed?: boolean | undefined;
11420
+ } | undefined;
11421
+ identifier?: {
11422
+ active?: boolean | undefined;
11423
+ } | undefined;
11424
+ signup?: {
11425
+ status?: "required" | "optional" | "disabled" | undefined;
11426
+ verification?: {
11427
+ active?: boolean | undefined;
11428
+ } | undefined;
11429
+ } | undefined;
11430
+ unique?: boolean | undefined;
11431
+ profile_required?: boolean | undefined;
11432
+ verification_method?: "code" | "link" | undefined;
11433
+ } | undefined;
11434
+ username?: {
11435
+ validation?: {
11436
+ min_length?: number | undefined;
11437
+ max_length?: number | undefined;
11438
+ allowed_types?: {
11439
+ email?: boolean | undefined;
11440
+ phone_number?: boolean | undefined;
11441
+ } | undefined;
11442
+ } | undefined;
11443
+ identifier?: {
11444
+ active?: boolean | undefined;
11445
+ } | undefined;
11446
+ signup?: {
11447
+ status?: "required" | "optional" | "disabled" | undefined;
11448
+ } | undefined;
11449
+ profile_required?: boolean | undefined;
11450
+ } | undefined;
11451
+ phone_number?: {
11452
+ identifier?: {
11453
+ active?: boolean | undefined;
11454
+ } | undefined;
11455
+ signup?: {
11456
+ status?: "required" | "optional" | "disabled" | undefined;
11457
+ } | undefined;
11458
+ } | undefined;
11459
+ }>>;
11460
+ authentication_methods: z.ZodOptional<z.ZodObject<{
11461
+ password: z.ZodOptional<z.ZodObject<{
11462
+ enabled: z.ZodOptional<z.ZodBoolean>;
11463
+ }, "strip", z.ZodTypeAny, {
11464
+ enabled?: boolean | undefined;
11465
+ }, {
11466
+ enabled?: boolean | undefined;
11467
+ }>>;
11468
+ passkey: z.ZodOptional<z.ZodObject<{
11469
+ enabled: z.ZodOptional<z.ZodBoolean>;
11470
+ }, "strip", z.ZodTypeAny, {
11471
+ enabled?: boolean | undefined;
11472
+ }, {
11473
+ enabled?: boolean | undefined;
11474
+ }>>;
11475
+ }, "strip", z.ZodTypeAny, {
11476
+ password?: {
11477
+ enabled?: boolean | undefined;
11478
+ } | undefined;
11479
+ passkey?: {
11480
+ enabled?: boolean | undefined;
11481
+ } | undefined;
11482
+ }, {
11483
+ password?: {
11484
+ enabled?: boolean | undefined;
11485
+ } | undefined;
11486
+ passkey?: {
11487
+ enabled?: boolean | undefined;
11488
+ } | undefined;
11489
+ }>>;
11490
+ passkey_options: z.ZodOptional<z.ZodObject<{
11491
+ challenge_ui: z.ZodOptional<z.ZodEnum<[
11492
+ "both",
11493
+ "autofill",
11494
+ "button"
11495
+ ]>>;
11496
+ local_enrollment_enabled: z.ZodOptional<z.ZodBoolean>;
11497
+ progressive_enrollment_enabled: z.ZodOptional<z.ZodBoolean>;
11498
+ }, "strip", z.ZodTypeAny, {
11499
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
11500
+ local_enrollment_enabled?: boolean | undefined;
11501
+ progressive_enrollment_enabled?: boolean | undefined;
11502
+ }, {
11503
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
11504
+ local_enrollment_enabled?: boolean | undefined;
11505
+ progressive_enrollment_enabled?: boolean | undefined;
11506
+ }>>;
11507
+ requires_username: z.ZodOptional<z.ZodBoolean>;
11508
+ validation: z.ZodOptional<z.ZodObject<{
11509
+ username: z.ZodOptional<z.ZodObject<{
11510
+ min: z.ZodOptional<z.ZodNumber>;
11511
+ max: z.ZodOptional<z.ZodNumber>;
11512
+ }, "strip", z.ZodTypeAny, {
11513
+ min?: number | undefined;
11514
+ max?: number | undefined;
11515
+ }, {
11516
+ min?: number | undefined;
11517
+ max?: number | undefined;
11518
+ }>>;
11519
+ }, "strip", z.ZodTypeAny, {
11520
+ username?: {
11521
+ min?: number | undefined;
11522
+ max?: number | undefined;
11523
+ } | undefined;
11524
+ }, {
11525
+ username?: {
11526
+ min?: number | undefined;
11527
+ max?: number | undefined;
11528
+ } | undefined;
11529
+ }>>;
11530
+ }, "strip", z.ZodTypeAny, {
11531
+ validation?: {
11532
+ username?: {
11533
+ min?: number | undefined;
11534
+ max?: number | undefined;
11535
+ } | undefined;
11536
+ } | undefined;
11537
+ provider?: string | undefined;
11538
+ client_id?: string | undefined;
11539
+ client_secret?: string | undefined;
11540
+ scope?: string | undefined;
11541
+ kid?: string | undefined;
11542
+ team_id?: string | undefined;
11543
+ realms?: string | undefined;
11544
+ authentication_method?: string | undefined;
11545
+ app_secret?: string | undefined;
11546
+ authorization_endpoint?: string | undefined;
11547
+ token_endpoint?: string | undefined;
11548
+ userinfo_endpoint?: string | undefined;
11549
+ jwks_uri?: string | undefined;
11550
+ discovery_url?: string | undefined;
11551
+ issuer?: string | undefined;
11552
+ from?: string | undefined;
11553
+ twilio_sid?: string | undefined;
11554
+ twilio_token?: string | undefined;
11555
+ icon_url?: string | undefined;
11556
+ passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
11557
+ password_complexity_options?: {
11558
+ min_length?: number | undefined;
11559
+ } | undefined;
11560
+ password_history?: {
11561
+ enable?: boolean | undefined;
11562
+ size?: number | undefined;
11563
+ } | undefined;
11564
+ password_no_personal_info?: {
11565
+ enable?: boolean | undefined;
11566
+ } | undefined;
11567
+ password_dictionary?: {
11568
+ enable?: boolean | undefined;
11569
+ dictionary?: string[] | undefined;
11570
+ } | undefined;
11571
+ disable_signup?: boolean | undefined;
11572
+ brute_force_protection?: boolean | undefined;
11573
+ import_mode?: boolean | undefined;
11574
+ attributes?: {
11575
+ email?: {
11576
+ validation?: {
11577
+ allowed?: boolean | undefined;
11578
+ } | undefined;
11579
+ identifier?: {
11580
+ active?: boolean | undefined;
11581
+ } | undefined;
11582
+ signup?: {
11583
+ status?: "required" | "optional" | "disabled" | undefined;
11584
+ verification?: {
11585
+ active?: boolean | undefined;
11586
+ } | undefined;
11587
+ } | undefined;
11588
+ unique?: boolean | undefined;
11589
+ profile_required?: boolean | undefined;
11590
+ verification_method?: "code" | "link" | undefined;
11591
+ } | undefined;
11592
+ username?: {
11593
+ validation?: {
11594
+ min_length?: number | undefined;
11595
+ max_length?: number | undefined;
11596
+ allowed_types?: {
11597
+ email?: boolean | undefined;
11598
+ phone_number?: boolean | undefined;
11599
+ } | undefined;
11600
+ } | undefined;
11601
+ identifier?: {
11602
+ active?: boolean | undefined;
11603
+ } | undefined;
11604
+ signup?: {
11605
+ status?: "required" | "optional" | "disabled" | undefined;
11606
+ } | undefined;
11607
+ profile_required?: boolean | undefined;
11608
+ } | undefined;
11609
+ phone_number?: {
11610
+ identifier?: {
11611
+ active?: boolean | undefined;
11612
+ } | undefined;
11613
+ signup?: {
11614
+ status?: "required" | "optional" | "disabled" | undefined;
11615
+ } | undefined;
11616
+ } | undefined;
11617
+ } | undefined;
11618
+ authentication_methods?: {
11619
+ password?: {
11620
+ enabled?: boolean | undefined;
11621
+ } | undefined;
11622
+ passkey?: {
11623
+ enabled?: boolean | undefined;
11624
+ } | undefined;
11625
+ } | undefined;
11626
+ passkey_options?: {
11627
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
11628
+ local_enrollment_enabled?: boolean | undefined;
11629
+ progressive_enrollment_enabled?: boolean | undefined;
11265
11630
  } | undefined;
11266
11631
  requires_username?: boolean | undefined;
11267
11632
  }, {
@@ -11322,6 +11687,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
11322
11687
  active?: boolean | undefined;
11323
11688
  } | undefined;
11324
11689
  } | undefined;
11690
+ unique?: boolean | undefined;
11691
+ profile_required?: boolean | undefined;
11692
+ verification_method?: "code" | "link" | undefined;
11325
11693
  } | undefined;
11326
11694
  username?: {
11327
11695
  validation?: {
@@ -11338,8 +11706,30 @@ export declare const connectionInsertSchema: z.ZodObject<{
11338
11706
  signup?: {
11339
11707
  status?: "required" | "optional" | "disabled" | undefined;
11340
11708
  } | undefined;
11709
+ profile_required?: boolean | undefined;
11710
+ } | undefined;
11711
+ phone_number?: {
11712
+ identifier?: {
11713
+ active?: boolean | undefined;
11714
+ } | undefined;
11715
+ signup?: {
11716
+ status?: "required" | "optional" | "disabled" | undefined;
11717
+ } | undefined;
11341
11718
  } | undefined;
11342
11719
  } | undefined;
11720
+ authentication_methods?: {
11721
+ password?: {
11722
+ enabled?: boolean | undefined;
11723
+ } | undefined;
11724
+ passkey?: {
11725
+ enabled?: boolean | undefined;
11726
+ } | undefined;
11727
+ } | undefined;
11728
+ passkey_options?: {
11729
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
11730
+ local_enrollment_enabled?: boolean | undefined;
11731
+ progressive_enrollment_enabled?: boolean | undefined;
11732
+ } | undefined;
11343
11733
  requires_username?: boolean | undefined;
11344
11734
  }>>;
11345
11735
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
@@ -11408,6 +11798,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
11408
11798
  active?: boolean | undefined;
11409
11799
  } | undefined;
11410
11800
  } | undefined;
11801
+ unique?: boolean | undefined;
11802
+ profile_required?: boolean | undefined;
11803
+ verification_method?: "code" | "link" | undefined;
11411
11804
  } | undefined;
11412
11805
  username?: {
11413
11806
  validation?: {
@@ -11424,8 +11817,30 @@ export declare const connectionInsertSchema: z.ZodObject<{
11424
11817
  signup?: {
11425
11818
  status?: "required" | "optional" | "disabled" | undefined;
11426
11819
  } | undefined;
11820
+ profile_required?: boolean | undefined;
11821
+ } | undefined;
11822
+ phone_number?: {
11823
+ identifier?: {
11824
+ active?: boolean | undefined;
11825
+ } | undefined;
11826
+ signup?: {
11827
+ status?: "required" | "optional" | "disabled" | undefined;
11828
+ } | undefined;
11427
11829
  } | undefined;
11428
11830
  } | undefined;
11831
+ authentication_methods?: {
11832
+ password?: {
11833
+ enabled?: boolean | undefined;
11834
+ } | undefined;
11835
+ passkey?: {
11836
+ enabled?: boolean | undefined;
11837
+ } | undefined;
11838
+ } | undefined;
11839
+ passkey_options?: {
11840
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
11841
+ local_enrollment_enabled?: boolean | undefined;
11842
+ progressive_enrollment_enabled?: boolean | undefined;
11843
+ } | undefined;
11429
11844
  requires_username?: boolean | undefined;
11430
11845
  };
11431
11846
  name: string;
@@ -11500,6 +11915,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
11500
11915
  active?: boolean | undefined;
11501
11916
  } | undefined;
11502
11917
  } | undefined;
11918
+ unique?: boolean | undefined;
11919
+ profile_required?: boolean | undefined;
11920
+ verification_method?: "code" | "link" | undefined;
11503
11921
  } | undefined;
11504
11922
  username?: {
11505
11923
  validation?: {
@@ -11516,7 +11934,29 @@ export declare const connectionInsertSchema: z.ZodObject<{
11516
11934
  signup?: {
11517
11935
  status?: "required" | "optional" | "disabled" | undefined;
11518
11936
  } | undefined;
11937
+ profile_required?: boolean | undefined;
11519
11938
  } | undefined;
11939
+ phone_number?: {
11940
+ identifier?: {
11941
+ active?: boolean | undefined;
11942
+ } | undefined;
11943
+ signup?: {
11944
+ status?: "required" | "optional" | "disabled" | undefined;
11945
+ } | undefined;
11946
+ } | undefined;
11947
+ } | undefined;
11948
+ authentication_methods?: {
11949
+ password?: {
11950
+ enabled?: boolean | undefined;
11951
+ } | undefined;
11952
+ passkey?: {
11953
+ enabled?: boolean | undefined;
11954
+ } | undefined;
11955
+ } | undefined;
11956
+ passkey_options?: {
11957
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
11958
+ local_enrollment_enabled?: boolean | undefined;
11959
+ progressive_enrollment_enabled?: boolean | undefined;
11520
11960
  } | undefined;
11521
11961
  requires_username?: boolean | undefined;
11522
11962
  } | undefined;
@@ -11643,6 +12083,12 @@ export declare const connectionSchema: z.ZodObject<{
11643
12083
  }, {
11644
12084
  allowed?: boolean | undefined;
11645
12085
  }>>;
12086
+ unique: z.ZodOptional<z.ZodBoolean>;
12087
+ profile_required: z.ZodOptional<z.ZodBoolean>;
12088
+ verification_method: z.ZodOptional<z.ZodEnum<[
12089
+ "link",
12090
+ "code"
12091
+ ]>>;
11646
12092
  }, "strip", z.ZodTypeAny, {
11647
12093
  validation?: {
11648
12094
  allowed?: boolean | undefined;
@@ -11656,6 +12102,9 @@ export declare const connectionSchema: z.ZodObject<{
11656
12102
  active?: boolean | undefined;
11657
12103
  } | undefined;
11658
12104
  } | undefined;
12105
+ unique?: boolean | undefined;
12106
+ profile_required?: boolean | undefined;
12107
+ verification_method?: "code" | "link" | undefined;
11659
12108
  }, {
11660
12109
  validation?: {
11661
12110
  allowed?: boolean | undefined;
@@ -11669,6 +12118,9 @@ export declare const connectionSchema: z.ZodObject<{
11669
12118
  active?: boolean | undefined;
11670
12119
  } | undefined;
11671
12120
  } | undefined;
12121
+ unique?: boolean | undefined;
12122
+ profile_required?: boolean | undefined;
12123
+ verification_method?: "code" | "link" | undefined;
11672
12124
  }>>;
11673
12125
  username: z.ZodOptional<z.ZodObject<{
11674
12126
  identifier: z.ZodOptional<z.ZodObject<{
@@ -11717,6 +12169,7 @@ export declare const connectionSchema: z.ZodObject<{
11717
12169
  phone_number?: boolean | undefined;
11718
12170
  } | undefined;
11719
12171
  }>>;
12172
+ profile_required: z.ZodOptional<z.ZodBoolean>;
11720
12173
  }, "strip", z.ZodTypeAny, {
11721
12174
  validation?: {
11722
12175
  min_length?: number | undefined;
@@ -11732,6 +12185,7 @@ export declare const connectionSchema: z.ZodObject<{
11732
12185
  signup?: {
11733
12186
  status?: "required" | "optional" | "disabled" | undefined;
11734
12187
  } | undefined;
12188
+ profile_required?: boolean | undefined;
11735
12189
  }, {
11736
12190
  validation?: {
11737
12191
  min_length?: number | undefined;
@@ -11747,6 +12201,41 @@ export declare const connectionSchema: z.ZodObject<{
11747
12201
  signup?: {
11748
12202
  status?: "required" | "optional" | "disabled" | undefined;
11749
12203
  } | undefined;
12204
+ profile_required?: boolean | undefined;
12205
+ }>>;
12206
+ phone_number: z.ZodOptional<z.ZodObject<{
12207
+ identifier: z.ZodOptional<z.ZodObject<{
12208
+ active: z.ZodOptional<z.ZodBoolean>;
12209
+ }, "strip", z.ZodTypeAny, {
12210
+ active?: boolean | undefined;
12211
+ }, {
12212
+ active?: boolean | undefined;
12213
+ }>>;
12214
+ signup: z.ZodOptional<z.ZodObject<{
12215
+ status: z.ZodOptional<z.ZodEnum<[
12216
+ "required",
12217
+ "optional",
12218
+ "disabled"
12219
+ ]>>;
12220
+ }, "strip", z.ZodTypeAny, {
12221
+ status?: "required" | "optional" | "disabled" | undefined;
12222
+ }, {
12223
+ status?: "required" | "optional" | "disabled" | undefined;
12224
+ }>>;
12225
+ }, "strip", z.ZodTypeAny, {
12226
+ identifier?: {
12227
+ active?: boolean | undefined;
12228
+ } | undefined;
12229
+ signup?: {
12230
+ status?: "required" | "optional" | "disabled" | undefined;
12231
+ } | undefined;
12232
+ }, {
12233
+ identifier?: {
12234
+ active?: boolean | undefined;
12235
+ } | undefined;
12236
+ signup?: {
12237
+ status?: "required" | "optional" | "disabled" | undefined;
12238
+ } | undefined;
11750
12239
  }>>;
11751
12240
  }, "strip", z.ZodTypeAny, {
11752
12241
  email?: {
@@ -11762,6 +12251,9 @@ export declare const connectionSchema: z.ZodObject<{
11762
12251
  active?: boolean | undefined;
11763
12252
  } | undefined;
11764
12253
  } | undefined;
12254
+ unique?: boolean | undefined;
12255
+ profile_required?: boolean | undefined;
12256
+ verification_method?: "code" | "link" | undefined;
11765
12257
  } | undefined;
11766
12258
  username?: {
11767
12259
  validation?: {
@@ -11778,6 +12270,15 @@ export declare const connectionSchema: z.ZodObject<{
11778
12270
  signup?: {
11779
12271
  status?: "required" | "optional" | "disabled" | undefined;
11780
12272
  } | undefined;
12273
+ profile_required?: boolean | undefined;
12274
+ } | undefined;
12275
+ phone_number?: {
12276
+ identifier?: {
12277
+ active?: boolean | undefined;
12278
+ } | undefined;
12279
+ signup?: {
12280
+ status?: "required" | "optional" | "disabled" | undefined;
12281
+ } | undefined;
11781
12282
  } | undefined;
11782
12283
  }, {
11783
12284
  email?: {
@@ -11793,6 +12294,9 @@ export declare const connectionSchema: z.ZodObject<{
11793
12294
  active?: boolean | undefined;
11794
12295
  } | undefined;
11795
12296
  } | undefined;
12297
+ unique?: boolean | undefined;
12298
+ profile_required?: boolean | undefined;
12299
+ verification_method?: "code" | "link" | undefined;
11796
12300
  } | undefined;
11797
12301
  username?: {
11798
12302
  validation?: {
@@ -11809,8 +12313,64 @@ export declare const connectionSchema: z.ZodObject<{
11809
12313
  signup?: {
11810
12314
  status?: "required" | "optional" | "disabled" | undefined;
11811
12315
  } | undefined;
12316
+ profile_required?: boolean | undefined;
12317
+ } | undefined;
12318
+ phone_number?: {
12319
+ identifier?: {
12320
+ active?: boolean | undefined;
12321
+ } | undefined;
12322
+ signup?: {
12323
+ status?: "required" | "optional" | "disabled" | undefined;
12324
+ } | undefined;
12325
+ } | undefined;
12326
+ }>>;
12327
+ authentication_methods: z.ZodOptional<z.ZodObject<{
12328
+ password: z.ZodOptional<z.ZodObject<{
12329
+ enabled: z.ZodOptional<z.ZodBoolean>;
12330
+ }, "strip", z.ZodTypeAny, {
12331
+ enabled?: boolean | undefined;
12332
+ }, {
12333
+ enabled?: boolean | undefined;
12334
+ }>>;
12335
+ passkey: z.ZodOptional<z.ZodObject<{
12336
+ enabled: z.ZodOptional<z.ZodBoolean>;
12337
+ }, "strip", z.ZodTypeAny, {
12338
+ enabled?: boolean | undefined;
12339
+ }, {
12340
+ enabled?: boolean | undefined;
12341
+ }>>;
12342
+ }, "strip", z.ZodTypeAny, {
12343
+ password?: {
12344
+ enabled?: boolean | undefined;
12345
+ } | undefined;
12346
+ passkey?: {
12347
+ enabled?: boolean | undefined;
12348
+ } | undefined;
12349
+ }, {
12350
+ password?: {
12351
+ enabled?: boolean | undefined;
12352
+ } | undefined;
12353
+ passkey?: {
12354
+ enabled?: boolean | undefined;
11812
12355
  } | undefined;
11813
12356
  }>>;
12357
+ passkey_options: z.ZodOptional<z.ZodObject<{
12358
+ challenge_ui: z.ZodOptional<z.ZodEnum<[
12359
+ "both",
12360
+ "autofill",
12361
+ "button"
12362
+ ]>>;
12363
+ local_enrollment_enabled: z.ZodOptional<z.ZodBoolean>;
12364
+ progressive_enrollment_enabled: z.ZodOptional<z.ZodBoolean>;
12365
+ }, "strip", z.ZodTypeAny, {
12366
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
12367
+ local_enrollment_enabled?: boolean | undefined;
12368
+ progressive_enrollment_enabled?: boolean | undefined;
12369
+ }, {
12370
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
12371
+ local_enrollment_enabled?: boolean | undefined;
12372
+ progressive_enrollment_enabled?: boolean | undefined;
12373
+ }>>;
11814
12374
  requires_username: z.ZodOptional<z.ZodBoolean>;
11815
12375
  validation: z.ZodOptional<z.ZodObject<{
11816
12376
  username: z.ZodOptional<z.ZodObject<{
@@ -11892,6 +12452,9 @@ export declare const connectionSchema: z.ZodObject<{
11892
12452
  active?: boolean | undefined;
11893
12453
  } | undefined;
11894
12454
  } | undefined;
12455
+ unique?: boolean | undefined;
12456
+ profile_required?: boolean | undefined;
12457
+ verification_method?: "code" | "link" | undefined;
11895
12458
  } | undefined;
11896
12459
  username?: {
11897
12460
  validation?: {
@@ -11908,7 +12471,29 @@ export declare const connectionSchema: z.ZodObject<{
11908
12471
  signup?: {
11909
12472
  status?: "required" | "optional" | "disabled" | undefined;
11910
12473
  } | undefined;
12474
+ profile_required?: boolean | undefined;
11911
12475
  } | undefined;
12476
+ phone_number?: {
12477
+ identifier?: {
12478
+ active?: boolean | undefined;
12479
+ } | undefined;
12480
+ signup?: {
12481
+ status?: "required" | "optional" | "disabled" | undefined;
12482
+ } | undefined;
12483
+ } | undefined;
12484
+ } | undefined;
12485
+ authentication_methods?: {
12486
+ password?: {
12487
+ enabled?: boolean | undefined;
12488
+ } | undefined;
12489
+ passkey?: {
12490
+ enabled?: boolean | undefined;
12491
+ } | undefined;
12492
+ } | undefined;
12493
+ passkey_options?: {
12494
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
12495
+ local_enrollment_enabled?: boolean | undefined;
12496
+ progressive_enrollment_enabled?: boolean | undefined;
11912
12497
  } | undefined;
11913
12498
  requires_username?: boolean | undefined;
11914
12499
  }, {
@@ -11969,6 +12554,9 @@ export declare const connectionSchema: z.ZodObject<{
11969
12554
  active?: boolean | undefined;
11970
12555
  } | undefined;
11971
12556
  } | undefined;
12557
+ unique?: boolean | undefined;
12558
+ profile_required?: boolean | undefined;
12559
+ verification_method?: "code" | "link" | undefined;
11972
12560
  } | undefined;
11973
12561
  username?: {
11974
12562
  validation?: {
@@ -11985,8 +12573,30 @@ export declare const connectionSchema: z.ZodObject<{
11985
12573
  signup?: {
11986
12574
  status?: "required" | "optional" | "disabled" | undefined;
11987
12575
  } | undefined;
12576
+ profile_required?: boolean | undefined;
12577
+ } | undefined;
12578
+ phone_number?: {
12579
+ identifier?: {
12580
+ active?: boolean | undefined;
12581
+ } | undefined;
12582
+ signup?: {
12583
+ status?: "required" | "optional" | "disabled" | undefined;
12584
+ } | undefined;
11988
12585
  } | undefined;
11989
12586
  } | undefined;
12587
+ authentication_methods?: {
12588
+ password?: {
12589
+ enabled?: boolean | undefined;
12590
+ } | undefined;
12591
+ passkey?: {
12592
+ enabled?: boolean | undefined;
12593
+ } | undefined;
12594
+ } | undefined;
12595
+ passkey_options?: {
12596
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
12597
+ local_enrollment_enabled?: boolean | undefined;
12598
+ progressive_enrollment_enabled?: boolean | undefined;
12599
+ } | undefined;
11990
12600
  requires_username?: boolean | undefined;
11991
12601
  }>>;
11992
12602
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
@@ -12057,6 +12667,9 @@ export declare const connectionSchema: z.ZodObject<{
12057
12667
  active?: boolean | undefined;
12058
12668
  } | undefined;
12059
12669
  } | undefined;
12670
+ unique?: boolean | undefined;
12671
+ profile_required?: boolean | undefined;
12672
+ verification_method?: "code" | "link" | undefined;
12060
12673
  } | undefined;
12061
12674
  username?: {
12062
12675
  validation?: {
@@ -12073,8 +12686,30 @@ export declare const connectionSchema: z.ZodObject<{
12073
12686
  signup?: {
12074
12687
  status?: "required" | "optional" | "disabled" | undefined;
12075
12688
  } | undefined;
12689
+ profile_required?: boolean | undefined;
12690
+ } | undefined;
12691
+ phone_number?: {
12692
+ identifier?: {
12693
+ active?: boolean | undefined;
12694
+ } | undefined;
12695
+ signup?: {
12696
+ status?: "required" | "optional" | "disabled" | undefined;
12697
+ } | undefined;
12076
12698
  } | undefined;
12077
12699
  } | undefined;
12700
+ authentication_methods?: {
12701
+ password?: {
12702
+ enabled?: boolean | undefined;
12703
+ } | undefined;
12704
+ passkey?: {
12705
+ enabled?: boolean | undefined;
12706
+ } | undefined;
12707
+ } | undefined;
12708
+ passkey_options?: {
12709
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
12710
+ local_enrollment_enabled?: boolean | undefined;
12711
+ progressive_enrollment_enabled?: boolean | undefined;
12712
+ } | undefined;
12078
12713
  requires_username?: boolean | undefined;
12079
12714
  };
12080
12715
  name: string;
@@ -12151,6 +12786,9 @@ export declare const connectionSchema: z.ZodObject<{
12151
12786
  active?: boolean | undefined;
12152
12787
  } | undefined;
12153
12788
  } | undefined;
12789
+ unique?: boolean | undefined;
12790
+ profile_required?: boolean | undefined;
12791
+ verification_method?: "code" | "link" | undefined;
12154
12792
  } | undefined;
12155
12793
  username?: {
12156
12794
  validation?: {
@@ -12167,8 +12805,30 @@ export declare const connectionSchema: z.ZodObject<{
12167
12805
  signup?: {
12168
12806
  status?: "required" | "optional" | "disabled" | undefined;
12169
12807
  } | undefined;
12808
+ profile_required?: boolean | undefined;
12809
+ } | undefined;
12810
+ phone_number?: {
12811
+ identifier?: {
12812
+ active?: boolean | undefined;
12813
+ } | undefined;
12814
+ signup?: {
12815
+ status?: "required" | "optional" | "disabled" | undefined;
12816
+ } | undefined;
12170
12817
  } | undefined;
12171
12818
  } | undefined;
12819
+ authentication_methods?: {
12820
+ password?: {
12821
+ enabled?: boolean | undefined;
12822
+ } | undefined;
12823
+ passkey?: {
12824
+ enabled?: boolean | undefined;
12825
+ } | undefined;
12826
+ } | undefined;
12827
+ passkey_options?: {
12828
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
12829
+ local_enrollment_enabled?: boolean | undefined;
12830
+ progressive_enrollment_enabled?: boolean | undefined;
12831
+ } | undefined;
12172
12832
  requires_username?: boolean | undefined;
12173
12833
  } | undefined;
12174
12834
  id?: string | undefined;
@@ -12206,16 +12866,16 @@ export declare const customDomainInsertSchema: z.ZodObject<{
12206
12866
  }, "strip", z.ZodTypeAny, {
12207
12867
  type: "auth0_managed_certs" | "self_managed_certs";
12208
12868
  domain: string;
12209
- custom_domain_id?: string | undefined;
12210
12869
  verification_method?: "txt" | undefined;
12870
+ custom_domain_id?: string | undefined;
12211
12871
  tls_policy?: "recommended" | undefined;
12212
12872
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12213
12873
  domain_metadata?: Record<string, string> | undefined;
12214
12874
  }, {
12215
12875
  type: "auth0_managed_certs" | "self_managed_certs";
12216
12876
  domain: string;
12217
- custom_domain_id?: string | undefined;
12218
12877
  verification_method?: "txt" | undefined;
12878
+ custom_domain_id?: string | undefined;
12219
12879
  tls_policy?: "recommended" | undefined;
12220
12880
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12221
12881
  domain_metadata?: Record<string, string> | undefined;
@@ -33837,6 +34497,20 @@ export type UiScreen = z.infer<typeof uiScreenSchema>;
33837
34497
  export declare function isBlockComponent(component: FormNodeComponent): component is BlockComponent;
33838
34498
  export declare function isWidgetComponent(component: FormNodeComponent): component is WidgetComponent;
33839
34499
  export declare function isFieldComponent(component: FormNodeComponent): component is FieldComponent$1;
34500
+ export declare const hookTemplateId: z.ZodEnum<[
34501
+ "ensure-username",
34502
+ "set-preferred-username"
34503
+ ]>;
34504
+ export type HookTemplateId = z.infer<typeof hookTemplateId>;
34505
+ /**
34506
+ * Registry of available hook templates.
34507
+ * Maps template IDs to their metadata and allowed triggers.
34508
+ */
34509
+ export declare const hookTemplates: Record<HookTemplateId, {
34510
+ name: string;
34511
+ description: string;
34512
+ trigger_id: string;
34513
+ }>;
33840
34514
  export declare const hookInsertSchema: z.ZodUnion<[
33841
34515
  z.ZodObject<{
33842
34516
  trigger_id: z.ZodEnum<[
@@ -33854,8 +34528,8 @@ export declare const hookInsertSchema: z.ZodUnion<[
33854
34528
  hook_id: z.ZodOptional<z.ZodString>;
33855
34529
  }, "strip", z.ZodTypeAny, {
33856
34530
  url: string;
33857
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33858
34531
  enabled: boolean;
34532
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33859
34533
  synchronous: boolean;
33860
34534
  priority?: number | undefined;
33861
34535
  hook_id?: string | undefined;
@@ -33882,8 +34556,8 @@ export declare const hookInsertSchema: z.ZodUnion<[
33882
34556
  priority: z.ZodOptional<z.ZodNumber>;
33883
34557
  hook_id: z.ZodOptional<z.ZodString>;
33884
34558
  }, "strip", z.ZodTypeAny, {
33885
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33886
34559
  enabled: boolean;
34560
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33887
34561
  synchronous: boolean;
33888
34562
  form_id: string;
33889
34563
  priority?: number | undefined;
@@ -33895,6 +34569,34 @@ export declare const hookInsertSchema: z.ZodUnion<[
33895
34569
  synchronous?: boolean | undefined;
33896
34570
  priority?: number | undefined;
33897
34571
  hook_id?: string | undefined;
34572
+ }>,
34573
+ z.ZodObject<{
34574
+ trigger_id: z.ZodEnum<[
34575
+ "post-user-login",
34576
+ "credentials-exchange"
34577
+ ]>;
34578
+ template_id: z.ZodEnum<[
34579
+ "ensure-username",
34580
+ "set-preferred-username"
34581
+ ]>;
34582
+ enabled: z.ZodDefault<z.ZodBoolean>;
34583
+ synchronous: z.ZodDefault<z.ZodBoolean>;
34584
+ priority: z.ZodOptional<z.ZodNumber>;
34585
+ hook_id: z.ZodOptional<z.ZodString>;
34586
+ }, "strip", z.ZodTypeAny, {
34587
+ enabled: boolean;
34588
+ trigger_id: "post-user-login" | "credentials-exchange";
34589
+ synchronous: boolean;
34590
+ template_id: "ensure-username" | "set-preferred-username";
34591
+ priority?: number | undefined;
34592
+ hook_id?: string | undefined;
34593
+ }, {
34594
+ trigger_id: "post-user-login" | "credentials-exchange";
34595
+ template_id: "ensure-username" | "set-preferred-username";
34596
+ enabled?: boolean | undefined;
34597
+ synchronous?: boolean | undefined;
34598
+ priority?: number | undefined;
34599
+ hook_id?: string | undefined;
33898
34600
  }>
33899
34601
  ]>;
33900
34602
  export type HookInsert = z.infer<typeof hookInsertSchema>;
@@ -33919,8 +34621,8 @@ export declare const hookSchema: z.ZodUnion<[
33919
34621
  created_at: string;
33920
34622
  updated_at: string;
33921
34623
  url: string;
33922
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33923
34624
  enabled: boolean;
34625
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33924
34626
  synchronous: boolean;
33925
34627
  hook_id: string;
33926
34628
  priority?: number | undefined;
@@ -33953,8 +34655,8 @@ export declare const hookSchema: z.ZodUnion<[
33953
34655
  }, "strip", z.ZodTypeAny, {
33954
34656
  created_at: string;
33955
34657
  updated_at: string;
33956
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33957
34658
  enabled: boolean;
34659
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33958
34660
  synchronous: boolean;
33959
34661
  hook_id: string;
33960
34662
  form_id: string;
@@ -33968,6 +34670,40 @@ export declare const hookSchema: z.ZodUnion<[
33968
34670
  enabled?: boolean | undefined;
33969
34671
  synchronous?: boolean | undefined;
33970
34672
  priority?: number | undefined;
34673
+ }>,
34674
+ z.ZodObject<{
34675
+ hook_id: z.ZodString;
34676
+ template_id: z.ZodEnum<[
34677
+ "ensure-username",
34678
+ "set-preferred-username"
34679
+ ]>;
34680
+ created_at: z.ZodString;
34681
+ updated_at: z.ZodString;
34682
+ trigger_id: z.ZodEnum<[
34683
+ "post-user-login",
34684
+ "credentials-exchange"
34685
+ ]>;
34686
+ enabled: z.ZodDefault<z.ZodBoolean>;
34687
+ synchronous: z.ZodDefault<z.ZodBoolean>;
34688
+ priority: z.ZodOptional<z.ZodNumber>;
34689
+ }, "strip", z.ZodTypeAny, {
34690
+ created_at: string;
34691
+ updated_at: string;
34692
+ enabled: boolean;
34693
+ trigger_id: "post-user-login" | "credentials-exchange";
34694
+ synchronous: boolean;
34695
+ hook_id: string;
34696
+ template_id: "ensure-username" | "set-preferred-username";
34697
+ priority?: number | undefined;
34698
+ }, {
34699
+ created_at: string;
34700
+ updated_at: string;
34701
+ trigger_id: "post-user-login" | "credentials-exchange";
34702
+ hook_id: string;
34703
+ template_id: "ensure-username" | "set-preferred-username";
34704
+ enabled?: boolean | undefined;
34705
+ synchronous?: boolean | undefined;
34706
+ priority?: number | undefined;
33971
34707
  }>
33972
34708
  ]>;
33973
34709
  export type Hook = z.infer<typeof hookSchema>;
@@ -34004,6 +34740,11 @@ export declare const identitySchema: z.ZodObject<{
34004
34740
  user_id: z.ZodString;
34005
34741
  provider: z.ZodString;
34006
34742
  isSocial: z.ZodBoolean;
34743
+ email: z.ZodOptional<z.ZodString>;
34744
+ email_verified: z.ZodOptional<z.ZodBoolean>;
34745
+ phone_number: z.ZodOptional<z.ZodString>;
34746
+ phone_verified: z.ZodOptional<z.ZodBoolean>;
34747
+ username: z.ZodOptional<z.ZodString>;
34007
34748
  access_token: z.ZodOptional<z.ZodString>;
34008
34749
  access_token_secret: z.ZodOptional<z.ZodString>;
34009
34750
  refresh_token: z.ZodOptional<z.ZodString>;
@@ -34040,6 +34781,11 @@ export declare const identitySchema: z.ZodObject<{
34040
34781
  connection: string;
34041
34782
  provider: string;
34042
34783
  isSocial: boolean;
34784
+ email?: string | undefined;
34785
+ email_verified?: boolean | undefined;
34786
+ username?: string | undefined;
34787
+ phone_number?: string | undefined;
34788
+ phone_verified?: boolean | undefined;
34043
34789
  access_token?: string | undefined;
34044
34790
  access_token_secret?: string | undefined;
34045
34791
  refresh_token?: string | undefined;
@@ -34058,6 +34804,11 @@ export declare const identitySchema: z.ZodObject<{
34058
34804
  connection: string;
34059
34805
  provider: string;
34060
34806
  isSocial: boolean;
34807
+ email?: string | undefined;
34808
+ email_verified?: boolean | undefined;
34809
+ username?: string | undefined;
34810
+ phone_number?: string | undefined;
34811
+ phone_verified?: boolean | undefined;
34061
34812
  access_token?: string | undefined;
34062
34813
  access_token_secret?: string | undefined;
34063
34814
  refresh_token?: string | undefined;
@@ -35589,21 +36340,21 @@ export declare const tenantInsertSchema: z.ZodObject<{
35589
36340
  enabled: z.ZodOptional<z.ZodBoolean>;
35590
36341
  html: z.ZodOptional<z.ZodString>;
35591
36342
  }, "strip", z.ZodTypeAny, {
35592
- html?: string | undefined;
35593
36343
  enabled?: boolean | undefined;
35594
- }, {
35595
36344
  html?: string | undefined;
36345
+ }, {
35596
36346
  enabled?: boolean | undefined;
36347
+ html?: string | undefined;
35597
36348
  }>>;
35598
36349
  guardian_mfa_page: z.ZodOptional<z.ZodObject<{
35599
36350
  enabled: z.ZodOptional<z.ZodBoolean>;
35600
36351
  html: z.ZodOptional<z.ZodString>;
35601
36352
  }, "strip", z.ZodTypeAny, {
35602
- html?: string | undefined;
35603
36353
  enabled?: boolean | undefined;
35604
- }, {
35605
36354
  html?: string | undefined;
36355
+ }, {
35606
36356
  enabled?: boolean | undefined;
36357
+ html?: string | undefined;
35607
36358
  }>>;
35608
36359
  device_flow: z.ZodOptional<z.ZodObject<{
35609
36360
  charset: z.ZodOptional<z.ZodEnum<[
@@ -35855,12 +36606,12 @@ export declare const tenantInsertSchema: z.ZodObject<{
35855
36606
  legacy_sandbox_version?: string | undefined;
35856
36607
  sandbox_versions_available?: string[] | undefined;
35857
36608
  change_password?: {
35858
- html?: string | undefined;
35859
36609
  enabled?: boolean | undefined;
36610
+ html?: string | undefined;
35860
36611
  } | undefined;
35861
36612
  guardian_mfa_page?: {
35862
- html?: string | undefined;
35863
36613
  enabled?: boolean | undefined;
36614
+ html?: string | undefined;
35864
36615
  } | undefined;
35865
36616
  device_flow?: {
35866
36617
  charset?: "base20" | "digits" | undefined;
@@ -35978,12 +36729,12 @@ export declare const tenantInsertSchema: z.ZodObject<{
35978
36729
  legacy_sandbox_version?: string | undefined;
35979
36730
  sandbox_versions_available?: string[] | undefined;
35980
36731
  change_password?: {
35981
- html?: string | undefined;
35982
36732
  enabled?: boolean | undefined;
36733
+ html?: string | undefined;
35983
36734
  } | undefined;
35984
36735
  guardian_mfa_page?: {
35985
- html?: string | undefined;
35986
36736
  enabled?: boolean | undefined;
36737
+ html?: string | undefined;
35987
36738
  } | undefined;
35988
36739
  device_flow?: {
35989
36740
  charset?: "base20" | "digits" | undefined;
@@ -36184,21 +36935,21 @@ export declare const tenantSchema: z.ZodObject<{
36184
36935
  enabled: z.ZodOptional<z.ZodBoolean>;
36185
36936
  html: z.ZodOptional<z.ZodString>;
36186
36937
  }, "strip", z.ZodTypeAny, {
36187
- html?: string | undefined;
36188
36938
  enabled?: boolean | undefined;
36189
- }, {
36190
36939
  html?: string | undefined;
36940
+ }, {
36191
36941
  enabled?: boolean | undefined;
36942
+ html?: string | undefined;
36192
36943
  }>>;
36193
36944
  guardian_mfa_page: z.ZodOptional<z.ZodObject<{
36194
36945
  enabled: z.ZodOptional<z.ZodBoolean>;
36195
36946
  html: z.ZodOptional<z.ZodString>;
36196
36947
  }, "strip", z.ZodTypeAny, {
36197
- html?: string | undefined;
36198
36948
  enabled?: boolean | undefined;
36199
- }, {
36200
36949
  html?: string | undefined;
36950
+ }, {
36201
36951
  enabled?: boolean | undefined;
36952
+ html?: string | undefined;
36202
36953
  }>>;
36203
36954
  device_flow: z.ZodOptional<z.ZodObject<{
36204
36955
  charset: z.ZodOptional<z.ZodEnum<[
@@ -36454,12 +37205,12 @@ export declare const tenantSchema: z.ZodObject<{
36454
37205
  legacy_sandbox_version?: string | undefined;
36455
37206
  sandbox_versions_available?: string[] | undefined;
36456
37207
  change_password?: {
36457
- html?: string | undefined;
36458
37208
  enabled?: boolean | undefined;
37209
+ html?: string | undefined;
36459
37210
  } | undefined;
36460
37211
  guardian_mfa_page?: {
36461
- html?: string | undefined;
36462
37212
  enabled?: boolean | undefined;
37213
+ html?: string | undefined;
36463
37214
  } | undefined;
36464
37215
  device_flow?: {
36465
37216
  charset?: "base20" | "digits" | undefined;
@@ -36579,12 +37330,12 @@ export declare const tenantSchema: z.ZodObject<{
36579
37330
  legacy_sandbox_version?: string | undefined;
36580
37331
  sandbox_versions_available?: string[] | undefined;
36581
37332
  change_password?: {
36582
- html?: string | undefined;
36583
37333
  enabled?: boolean | undefined;
37334
+ html?: string | undefined;
36584
37335
  } | undefined;
36585
37336
  guardian_mfa_page?: {
36586
- html?: string | undefined;
36587
37337
  enabled?: boolean | undefined;
37338
+ html?: string | undefined;
36588
37339
  } | undefined;
36589
37340
  device_flow?: {
36590
37341
  charset?: "base20" | "digits" | undefined;
@@ -39334,21 +40085,21 @@ export declare const tenantSettingsSchema: z.ZodObject<{
39334
40085
  enabled: z.ZodBoolean;
39335
40086
  html: z.ZodString;
39336
40087
  }, "strip", z.ZodTypeAny, {
39337
- html: string;
39338
40088
  enabled: boolean;
39339
- }, {
39340
40089
  html: string;
40090
+ }, {
39341
40091
  enabled: boolean;
40092
+ html: string;
39342
40093
  }>>;
39343
40094
  guardian_mfa_page: z.ZodOptional<z.ZodObject<{
39344
40095
  enabled: z.ZodBoolean;
39345
40096
  html: z.ZodString;
39346
40097
  }, "strip", z.ZodTypeAny, {
39347
- html: string;
39348
40098
  enabled: boolean;
39349
- }, {
39350
40099
  html: string;
40100
+ }, {
39351
40101
  enabled: boolean;
40102
+ html: string;
39352
40103
  }>>;
39353
40104
  default_audience: z.ZodOptional<z.ZodString>;
39354
40105
  default_organization: z.ZodOptional<z.ZodString>;
@@ -39516,12 +40267,12 @@ export declare const tenantSettingsSchema: z.ZodObject<{
39516
40267
  sandbox_version?: string | undefined;
39517
40268
  sandbox_versions_available?: string[] | undefined;
39518
40269
  change_password?: {
39519
- html: string;
39520
40270
  enabled: boolean;
40271
+ html: string;
39521
40272
  } | undefined;
39522
40273
  guardian_mfa_page?: {
39523
- html: string;
39524
40274
  enabled: boolean;
40275
+ html: string;
39525
40276
  } | undefined;
39526
40277
  default_audience?: string | undefined;
39527
40278
  sessions?: {
@@ -39597,12 +40348,12 @@ export declare const tenantSettingsSchema: z.ZodObject<{
39597
40348
  sandbox_version?: string | undefined;
39598
40349
  sandbox_versions_available?: string[] | undefined;
39599
40350
  change_password?: {
39600
- html: string;
39601
40351
  enabled: boolean;
40352
+ html: string;
39602
40353
  } | undefined;
39603
40354
  guardian_mfa_page?: {
39604
- html: string;
39605
40355
  enabled: boolean;
40356
+ html: string;
39606
40357
  } | undefined;
39607
40358
  default_audience?: string | undefined;
39608
40359
  sessions?: {
@@ -40555,21 +41306,21 @@ declare const enrichedClientSchema: z.ZodObject<{
40555
41306
  enabled: z.ZodOptional<z.ZodBoolean>;
40556
41307
  html: z.ZodOptional<z.ZodString>;
40557
41308
  }, "strip", z.ZodTypeAny, {
40558
- html?: string | undefined;
40559
41309
  enabled?: boolean | undefined;
40560
- }, {
40561
41310
  html?: string | undefined;
41311
+ }, {
40562
41312
  enabled?: boolean | undefined;
41313
+ html?: string | undefined;
40563
41314
  }>>;
40564
41315
  guardian_mfa_page: z.ZodOptional<z.ZodObject<{
40565
41316
  enabled: z.ZodOptional<z.ZodBoolean>;
40566
41317
  html: z.ZodOptional<z.ZodString>;
40567
41318
  }, "strip", z.ZodTypeAny, {
40568
- html?: string | undefined;
40569
41319
  enabled?: boolean | undefined;
40570
- }, {
40571
41320
  html?: string | undefined;
41321
+ }, {
40572
41322
  enabled?: boolean | undefined;
41323
+ html?: string | undefined;
40573
41324
  }>>;
40574
41325
  device_flow: z.ZodOptional<z.ZodObject<{
40575
41326
  charset: z.ZodOptional<z.ZodEnum<[
@@ -40825,12 +41576,12 @@ declare const enrichedClientSchema: z.ZodObject<{
40825
41576
  legacy_sandbox_version?: string | undefined;
40826
41577
  sandbox_versions_available?: string[] | undefined;
40827
41578
  change_password?: {
40828
- html?: string | undefined;
40829
41579
  enabled?: boolean | undefined;
41580
+ html?: string | undefined;
40830
41581
  } | undefined;
40831
41582
  guardian_mfa_page?: {
40832
- html?: string | undefined;
40833
41583
  enabled?: boolean | undefined;
41584
+ html?: string | undefined;
40834
41585
  } | undefined;
40835
41586
  device_flow?: {
40836
41587
  charset?: "base20" | "digits" | undefined;
@@ -40950,12 +41701,12 @@ declare const enrichedClientSchema: z.ZodObject<{
40950
41701
  legacy_sandbox_version?: string | undefined;
40951
41702
  sandbox_versions_available?: string[] | undefined;
40952
41703
  change_password?: {
40953
- html?: string | undefined;
40954
41704
  enabled?: boolean | undefined;
41705
+ html?: string | undefined;
40955
41706
  } | undefined;
40956
41707
  guardian_mfa_page?: {
40957
- html?: string | undefined;
40958
41708
  enabled?: boolean | undefined;
41709
+ html?: string | undefined;
40959
41710
  } | undefined;
40960
41711
  device_flow?: {
40961
41712
  charset?: "base20" | "digits" | undefined;
@@ -41118,6 +41869,12 @@ declare const enrichedClientSchema: z.ZodObject<{
41118
41869
  }, {
41119
41870
  allowed?: boolean | undefined;
41120
41871
  }>>;
41872
+ unique: z.ZodOptional<z.ZodBoolean>;
41873
+ profile_required: z.ZodOptional<z.ZodBoolean>;
41874
+ verification_method: z.ZodOptional<z.ZodEnum<[
41875
+ "link",
41876
+ "code"
41877
+ ]>>;
41121
41878
  }, "strip", z.ZodTypeAny, {
41122
41879
  validation?: {
41123
41880
  allowed?: boolean | undefined;
@@ -41131,6 +41888,9 @@ declare const enrichedClientSchema: z.ZodObject<{
41131
41888
  active?: boolean | undefined;
41132
41889
  } | undefined;
41133
41890
  } | undefined;
41891
+ unique?: boolean | undefined;
41892
+ profile_required?: boolean | undefined;
41893
+ verification_method?: "code" | "link" | undefined;
41134
41894
  }, {
41135
41895
  validation?: {
41136
41896
  allowed?: boolean | undefined;
@@ -41144,6 +41904,9 @@ declare const enrichedClientSchema: z.ZodObject<{
41144
41904
  active?: boolean | undefined;
41145
41905
  } | undefined;
41146
41906
  } | undefined;
41907
+ unique?: boolean | undefined;
41908
+ profile_required?: boolean | undefined;
41909
+ verification_method?: "code" | "link" | undefined;
41147
41910
  }>>;
41148
41911
  username: z.ZodOptional<z.ZodObject<{
41149
41912
  identifier: z.ZodOptional<z.ZodObject<{
@@ -41192,6 +41955,7 @@ declare const enrichedClientSchema: z.ZodObject<{
41192
41955
  phone_number?: boolean | undefined;
41193
41956
  } | undefined;
41194
41957
  }>>;
41958
+ profile_required: z.ZodOptional<z.ZodBoolean>;
41195
41959
  }, "strip", z.ZodTypeAny, {
41196
41960
  validation?: {
41197
41961
  min_length?: number | undefined;
@@ -41207,6 +41971,7 @@ declare const enrichedClientSchema: z.ZodObject<{
41207
41971
  signup?: {
41208
41972
  status?: "required" | "optional" | "disabled" | undefined;
41209
41973
  } | undefined;
41974
+ profile_required?: boolean | undefined;
41210
41975
  }, {
41211
41976
  validation?: {
41212
41977
  min_length?: number | undefined;
@@ -41222,6 +41987,41 @@ declare const enrichedClientSchema: z.ZodObject<{
41222
41987
  signup?: {
41223
41988
  status?: "required" | "optional" | "disabled" | undefined;
41224
41989
  } | undefined;
41990
+ profile_required?: boolean | undefined;
41991
+ }>>;
41992
+ phone_number: z.ZodOptional<z.ZodObject<{
41993
+ identifier: z.ZodOptional<z.ZodObject<{
41994
+ active: z.ZodOptional<z.ZodBoolean>;
41995
+ }, "strip", z.ZodTypeAny, {
41996
+ active?: boolean | undefined;
41997
+ }, {
41998
+ active?: boolean | undefined;
41999
+ }>>;
42000
+ signup: z.ZodOptional<z.ZodObject<{
42001
+ status: z.ZodOptional<z.ZodEnum<[
42002
+ "required",
42003
+ "optional",
42004
+ "disabled"
42005
+ ]>>;
42006
+ }, "strip", z.ZodTypeAny, {
42007
+ status?: "required" | "optional" | "disabled" | undefined;
42008
+ }, {
42009
+ status?: "required" | "optional" | "disabled" | undefined;
42010
+ }>>;
42011
+ }, "strip", z.ZodTypeAny, {
42012
+ identifier?: {
42013
+ active?: boolean | undefined;
42014
+ } | undefined;
42015
+ signup?: {
42016
+ status?: "required" | "optional" | "disabled" | undefined;
42017
+ } | undefined;
42018
+ }, {
42019
+ identifier?: {
42020
+ active?: boolean | undefined;
42021
+ } | undefined;
42022
+ signup?: {
42023
+ status?: "required" | "optional" | "disabled" | undefined;
42024
+ } | undefined;
41225
42025
  }>>;
41226
42026
  }, "strip", z.ZodTypeAny, {
41227
42027
  email?: {
@@ -41237,6 +42037,9 @@ declare const enrichedClientSchema: z.ZodObject<{
41237
42037
  active?: boolean | undefined;
41238
42038
  } | undefined;
41239
42039
  } | undefined;
42040
+ unique?: boolean | undefined;
42041
+ profile_required?: boolean | undefined;
42042
+ verification_method?: "code" | "link" | undefined;
41240
42043
  } | undefined;
41241
42044
  username?: {
41242
42045
  validation?: {
@@ -41253,6 +42056,15 @@ declare const enrichedClientSchema: z.ZodObject<{
41253
42056
  signup?: {
41254
42057
  status?: "required" | "optional" | "disabled" | undefined;
41255
42058
  } | undefined;
42059
+ profile_required?: boolean | undefined;
42060
+ } | undefined;
42061
+ phone_number?: {
42062
+ identifier?: {
42063
+ active?: boolean | undefined;
42064
+ } | undefined;
42065
+ signup?: {
42066
+ status?: "required" | "optional" | "disabled" | undefined;
42067
+ } | undefined;
41256
42068
  } | undefined;
41257
42069
  }, {
41258
42070
  email?: {
@@ -41268,6 +42080,9 @@ declare const enrichedClientSchema: z.ZodObject<{
41268
42080
  active?: boolean | undefined;
41269
42081
  } | undefined;
41270
42082
  } | undefined;
42083
+ unique?: boolean | undefined;
42084
+ profile_required?: boolean | undefined;
42085
+ verification_method?: "code" | "link" | undefined;
41271
42086
  } | undefined;
41272
42087
  username?: {
41273
42088
  validation?: {
@@ -41284,8 +42099,64 @@ declare const enrichedClientSchema: z.ZodObject<{
41284
42099
  signup?: {
41285
42100
  status?: "required" | "optional" | "disabled" | undefined;
41286
42101
  } | undefined;
42102
+ profile_required?: boolean | undefined;
42103
+ } | undefined;
42104
+ phone_number?: {
42105
+ identifier?: {
42106
+ active?: boolean | undefined;
42107
+ } | undefined;
42108
+ signup?: {
42109
+ status?: "required" | "optional" | "disabled" | undefined;
42110
+ } | undefined;
41287
42111
  } | undefined;
41288
42112
  }>>;
42113
+ authentication_methods: z.ZodOptional<z.ZodObject<{
42114
+ password: z.ZodOptional<z.ZodObject<{
42115
+ enabled: z.ZodOptional<z.ZodBoolean>;
42116
+ }, "strip", z.ZodTypeAny, {
42117
+ enabled?: boolean | undefined;
42118
+ }, {
42119
+ enabled?: boolean | undefined;
42120
+ }>>;
42121
+ passkey: z.ZodOptional<z.ZodObject<{
42122
+ enabled: z.ZodOptional<z.ZodBoolean>;
42123
+ }, "strip", z.ZodTypeAny, {
42124
+ enabled?: boolean | undefined;
42125
+ }, {
42126
+ enabled?: boolean | undefined;
42127
+ }>>;
42128
+ }, "strip", z.ZodTypeAny, {
42129
+ password?: {
42130
+ enabled?: boolean | undefined;
42131
+ } | undefined;
42132
+ passkey?: {
42133
+ enabled?: boolean | undefined;
42134
+ } | undefined;
42135
+ }, {
42136
+ password?: {
42137
+ enabled?: boolean | undefined;
42138
+ } | undefined;
42139
+ passkey?: {
42140
+ enabled?: boolean | undefined;
42141
+ } | undefined;
42142
+ }>>;
42143
+ passkey_options: z.ZodOptional<z.ZodObject<{
42144
+ challenge_ui: z.ZodOptional<z.ZodEnum<[
42145
+ "both",
42146
+ "autofill",
42147
+ "button"
42148
+ ]>>;
42149
+ local_enrollment_enabled: z.ZodOptional<z.ZodBoolean>;
42150
+ progressive_enrollment_enabled: z.ZodOptional<z.ZodBoolean>;
42151
+ }, "strip", z.ZodTypeAny, {
42152
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
42153
+ local_enrollment_enabled?: boolean | undefined;
42154
+ progressive_enrollment_enabled?: boolean | undefined;
42155
+ }, {
42156
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
42157
+ local_enrollment_enabled?: boolean | undefined;
42158
+ progressive_enrollment_enabled?: boolean | undefined;
42159
+ }>>;
41289
42160
  requires_username: z.ZodOptional<z.ZodBoolean>;
41290
42161
  validation: z.ZodOptional<z.ZodObject<{
41291
42162
  username: z.ZodOptional<z.ZodObject<{
@@ -41367,6 +42238,9 @@ declare const enrichedClientSchema: z.ZodObject<{
41367
42238
  active?: boolean | undefined;
41368
42239
  } | undefined;
41369
42240
  } | undefined;
42241
+ unique?: boolean | undefined;
42242
+ profile_required?: boolean | undefined;
42243
+ verification_method?: "code" | "link" | undefined;
41370
42244
  } | undefined;
41371
42245
  username?: {
41372
42246
  validation?: {
@@ -41383,8 +42257,30 @@ declare const enrichedClientSchema: z.ZodObject<{
41383
42257
  signup?: {
41384
42258
  status?: "required" | "optional" | "disabled" | undefined;
41385
42259
  } | undefined;
42260
+ profile_required?: boolean | undefined;
42261
+ } | undefined;
42262
+ phone_number?: {
42263
+ identifier?: {
42264
+ active?: boolean | undefined;
42265
+ } | undefined;
42266
+ signup?: {
42267
+ status?: "required" | "optional" | "disabled" | undefined;
42268
+ } | undefined;
41386
42269
  } | undefined;
41387
42270
  } | undefined;
42271
+ authentication_methods?: {
42272
+ password?: {
42273
+ enabled?: boolean | undefined;
42274
+ } | undefined;
42275
+ passkey?: {
42276
+ enabled?: boolean | undefined;
42277
+ } | undefined;
42278
+ } | undefined;
42279
+ passkey_options?: {
42280
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
42281
+ local_enrollment_enabled?: boolean | undefined;
42282
+ progressive_enrollment_enabled?: boolean | undefined;
42283
+ } | undefined;
41388
42284
  requires_username?: boolean | undefined;
41389
42285
  }, {
41390
42286
  validation?: {
@@ -41444,6 +42340,9 @@ declare const enrichedClientSchema: z.ZodObject<{
41444
42340
  active?: boolean | undefined;
41445
42341
  } | undefined;
41446
42342
  } | undefined;
42343
+ unique?: boolean | undefined;
42344
+ profile_required?: boolean | undefined;
42345
+ verification_method?: "code" | "link" | undefined;
41447
42346
  } | undefined;
41448
42347
  username?: {
41449
42348
  validation?: {
@@ -41460,8 +42359,30 @@ declare const enrichedClientSchema: z.ZodObject<{
41460
42359
  signup?: {
41461
42360
  status?: "required" | "optional" | "disabled" | undefined;
41462
42361
  } | undefined;
42362
+ profile_required?: boolean | undefined;
42363
+ } | undefined;
42364
+ phone_number?: {
42365
+ identifier?: {
42366
+ active?: boolean | undefined;
42367
+ } | undefined;
42368
+ signup?: {
42369
+ status?: "required" | "optional" | "disabled" | undefined;
42370
+ } | undefined;
41463
42371
  } | undefined;
41464
42372
  } | undefined;
42373
+ authentication_methods?: {
42374
+ password?: {
42375
+ enabled?: boolean | undefined;
42376
+ } | undefined;
42377
+ passkey?: {
42378
+ enabled?: boolean | undefined;
42379
+ } | undefined;
42380
+ } | undefined;
42381
+ passkey_options?: {
42382
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
42383
+ local_enrollment_enabled?: boolean | undefined;
42384
+ progressive_enrollment_enabled?: boolean | undefined;
42385
+ } | undefined;
41465
42386
  requires_username?: boolean | undefined;
41466
42387
  }>>;
41467
42388
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
@@ -41532,6 +42453,9 @@ declare const enrichedClientSchema: z.ZodObject<{
41532
42453
  active?: boolean | undefined;
41533
42454
  } | undefined;
41534
42455
  } | undefined;
42456
+ unique?: boolean | undefined;
42457
+ profile_required?: boolean | undefined;
42458
+ verification_method?: "code" | "link" | undefined;
41535
42459
  } | undefined;
41536
42460
  username?: {
41537
42461
  validation?: {
@@ -41548,8 +42472,30 @@ declare const enrichedClientSchema: z.ZodObject<{
41548
42472
  signup?: {
41549
42473
  status?: "required" | "optional" | "disabled" | undefined;
41550
42474
  } | undefined;
42475
+ profile_required?: boolean | undefined;
42476
+ } | undefined;
42477
+ phone_number?: {
42478
+ identifier?: {
42479
+ active?: boolean | undefined;
42480
+ } | undefined;
42481
+ signup?: {
42482
+ status?: "required" | "optional" | "disabled" | undefined;
42483
+ } | undefined;
42484
+ } | undefined;
42485
+ } | undefined;
42486
+ authentication_methods?: {
42487
+ password?: {
42488
+ enabled?: boolean | undefined;
42489
+ } | undefined;
42490
+ passkey?: {
42491
+ enabled?: boolean | undefined;
41551
42492
  } | undefined;
41552
42493
  } | undefined;
42494
+ passkey_options?: {
42495
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
42496
+ local_enrollment_enabled?: boolean | undefined;
42497
+ progressive_enrollment_enabled?: boolean | undefined;
42498
+ } | undefined;
41553
42499
  requires_username?: boolean | undefined;
41554
42500
  };
41555
42501
  name: string;
@@ -41626,6 +42572,9 @@ declare const enrichedClientSchema: z.ZodObject<{
41626
42572
  active?: boolean | undefined;
41627
42573
  } | undefined;
41628
42574
  } | undefined;
42575
+ unique?: boolean | undefined;
42576
+ profile_required?: boolean | undefined;
42577
+ verification_method?: "code" | "link" | undefined;
41629
42578
  } | undefined;
41630
42579
  username?: {
41631
42580
  validation?: {
@@ -41642,8 +42591,30 @@ declare const enrichedClientSchema: z.ZodObject<{
41642
42591
  signup?: {
41643
42592
  status?: "required" | "optional" | "disabled" | undefined;
41644
42593
  } | undefined;
42594
+ profile_required?: boolean | undefined;
42595
+ } | undefined;
42596
+ phone_number?: {
42597
+ identifier?: {
42598
+ active?: boolean | undefined;
42599
+ } | undefined;
42600
+ signup?: {
42601
+ status?: "required" | "optional" | "disabled" | undefined;
42602
+ } | undefined;
41645
42603
  } | undefined;
41646
42604
  } | undefined;
42605
+ authentication_methods?: {
42606
+ password?: {
42607
+ enabled?: boolean | undefined;
42608
+ } | undefined;
42609
+ passkey?: {
42610
+ enabled?: boolean | undefined;
42611
+ } | undefined;
42612
+ } | undefined;
42613
+ passkey_options?: {
42614
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
42615
+ local_enrollment_enabled?: boolean | undefined;
42616
+ progressive_enrollment_enabled?: boolean | undefined;
42617
+ } | undefined;
41647
42618
  requires_username?: boolean | undefined;
41648
42619
  } | undefined;
41649
42620
  id?: string | undefined;
@@ -41821,12 +42792,12 @@ declare const enrichedClientSchema: z.ZodObject<{
41821
42792
  legacy_sandbox_version?: string | undefined;
41822
42793
  sandbox_versions_available?: string[] | undefined;
41823
42794
  change_password?: {
41824
- html?: string | undefined;
41825
42795
  enabled?: boolean | undefined;
42796
+ html?: string | undefined;
41826
42797
  } | undefined;
41827
42798
  guardian_mfa_page?: {
41828
- html?: string | undefined;
41829
42799
  enabled?: boolean | undefined;
42800
+ html?: string | undefined;
41830
42801
  } | undefined;
41831
42802
  device_flow?: {
41832
42803
  charset?: "base20" | "digits" | undefined;
@@ -41938,6 +42909,9 @@ declare const enrichedClientSchema: z.ZodObject<{
41938
42909
  active?: boolean | undefined;
41939
42910
  } | undefined;
41940
42911
  } | undefined;
42912
+ unique?: boolean | undefined;
42913
+ profile_required?: boolean | undefined;
42914
+ verification_method?: "code" | "link" | undefined;
41941
42915
  } | undefined;
41942
42916
  username?: {
41943
42917
  validation?: {
@@ -41954,8 +42928,30 @@ declare const enrichedClientSchema: z.ZodObject<{
41954
42928
  signup?: {
41955
42929
  status?: "required" | "optional" | "disabled" | undefined;
41956
42930
  } | undefined;
42931
+ profile_required?: boolean | undefined;
42932
+ } | undefined;
42933
+ phone_number?: {
42934
+ identifier?: {
42935
+ active?: boolean | undefined;
42936
+ } | undefined;
42937
+ signup?: {
42938
+ status?: "required" | "optional" | "disabled" | undefined;
42939
+ } | undefined;
41957
42940
  } | undefined;
41958
42941
  } | undefined;
42942
+ authentication_methods?: {
42943
+ password?: {
42944
+ enabled?: boolean | undefined;
42945
+ } | undefined;
42946
+ passkey?: {
42947
+ enabled?: boolean | undefined;
42948
+ } | undefined;
42949
+ } | undefined;
42950
+ passkey_options?: {
42951
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
42952
+ local_enrollment_enabled?: boolean | undefined;
42953
+ progressive_enrollment_enabled?: boolean | undefined;
42954
+ } | undefined;
41959
42955
  requires_username?: boolean | undefined;
41960
42956
  };
41961
42957
  name: string;
@@ -42090,12 +43086,12 @@ declare const enrichedClientSchema: z.ZodObject<{
42090
43086
  legacy_sandbox_version?: string | undefined;
42091
43087
  sandbox_versions_available?: string[] | undefined;
42092
43088
  change_password?: {
42093
- html?: string | undefined;
42094
43089
  enabled?: boolean | undefined;
43090
+ html?: string | undefined;
42095
43091
  } | undefined;
42096
43092
  guardian_mfa_page?: {
42097
- html?: string | undefined;
42098
43093
  enabled?: boolean | undefined;
43094
+ html?: string | undefined;
42099
43095
  } | undefined;
42100
43096
  device_flow?: {
42101
43097
  charset?: "base20" | "digits" | undefined;
@@ -42209,6 +43205,9 @@ declare const enrichedClientSchema: z.ZodObject<{
42209
43205
  active?: boolean | undefined;
42210
43206
  } | undefined;
42211
43207
  } | undefined;
43208
+ unique?: boolean | undefined;
43209
+ profile_required?: boolean | undefined;
43210
+ verification_method?: "code" | "link" | undefined;
42212
43211
  } | undefined;
42213
43212
  username?: {
42214
43213
  validation?: {
@@ -42225,8 +43224,30 @@ declare const enrichedClientSchema: z.ZodObject<{
42225
43224
  signup?: {
42226
43225
  status?: "required" | "optional" | "disabled" | undefined;
42227
43226
  } | undefined;
43227
+ profile_required?: boolean | undefined;
43228
+ } | undefined;
43229
+ phone_number?: {
43230
+ identifier?: {
43231
+ active?: boolean | undefined;
43232
+ } | undefined;
43233
+ signup?: {
43234
+ status?: "required" | "optional" | "disabled" | undefined;
43235
+ } | undefined;
43236
+ } | undefined;
43237
+ } | undefined;
43238
+ authentication_methods?: {
43239
+ password?: {
43240
+ enabled?: boolean | undefined;
43241
+ } | undefined;
43242
+ passkey?: {
43243
+ enabled?: boolean | undefined;
42228
43244
  } | undefined;
42229
43245
  } | undefined;
43246
+ passkey_options?: {
43247
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
43248
+ local_enrollment_enabled?: boolean | undefined;
43249
+ progressive_enrollment_enabled?: boolean | undefined;
43250
+ } | undefined;
42230
43251
  requires_username?: boolean | undefined;
42231
43252
  } | undefined;
42232
43253
  id?: string | undefined;
@@ -43141,9 +44162,9 @@ export declare const MANAGEMENT_API_SCOPES: {
43141
44162
  }[];
43142
44163
  export interface SeedOptions {
43143
44164
  /**
43144
- * The admin user's email address
44165
+ * The admin user's username
43145
44166
  */
43146
- adminEmail: string;
44167
+ adminUsername: string;
43147
44168
  /**
43148
44169
  * The admin user's password (will be hashed with bcrypt)
43149
44170
  */
@@ -43191,7 +44212,7 @@ export interface SeedOptions {
43191
44212
  export interface SeedResult {
43192
44213
  tenantId: string;
43193
44214
  userId: string;
43194
- email: string;
44215
+ username: string;
43195
44216
  clientId: string;
43196
44217
  clientSecret: string;
43197
44218
  }
@@ -43207,8 +44228,8 @@ export interface SeedResult {
43207
44228
  * const adapters = createAdapters(db);
43208
44229
  *
43209
44230
  * await seed(adapters, {
43210
- * adminEmail: "admin@example.com",
43211
- * adminPassword: "secretpassword",
44231
+ * adminUsername: "admin",
44232
+ * adminPassword: "admin",
43212
44233
  * });
43213
44234
  * ```
43214
44235
  */
@@ -43304,6 +44325,25 @@ export interface FetchAllOptions {
43304
44325
  * ```
43305
44326
  */
43306
44327
  export declare function fetchAll<T>(listFn: (params: ListParams) => Promise<any>, itemsKey: string, options?: FetchAllOptions): Promise<T[]>;
44328
+ export interface EnsureUsernameOptions {
44329
+ /**
44330
+ * The connection name used for username accounts.
44331
+ * @default "Username-Password-Authentication"
44332
+ */
44333
+ connection?: string;
44334
+ /**
44335
+ * The provider used for username accounts.
44336
+ * @default "auth2"
44337
+ */
44338
+ provider?: string;
44339
+ /**
44340
+ * Maximum number of attempts to find a unique username before giving up.
44341
+ * @default 10
44342
+ */
44343
+ maxRetries?: number;
44344
+ }
44345
+ declare function ensureUsername(options?: EnsureUsernameOptions): OnExecutePostLogin;
44346
+ declare function setPreferredUsername(): OnExecuteCredentialsExchange;
43307
44347
  export declare function init(config: AuthHeroConfig): {
43308
44348
  app: OpenAPIHono<{
43309
44349
  Bindings: Bindings;
@@ -48892,6 +49932,9 @@ export declare function init(config: AuthHeroConfig): {
48892
49932
  active?: boolean | undefined | undefined;
48893
49933
  } | undefined;
48894
49934
  } | undefined;
49935
+ unique?: boolean | undefined | undefined;
49936
+ profile_required?: boolean | undefined | undefined;
49937
+ verification_method?: "code" | "link" | undefined | undefined;
48895
49938
  } | undefined;
48896
49939
  username?: {
48897
49940
  validation?: {
@@ -48908,8 +49951,30 @@ export declare function init(config: AuthHeroConfig): {
48908
49951
  signup?: {
48909
49952
  status?: "required" | "optional" | "disabled" | undefined | undefined;
48910
49953
  } | undefined;
49954
+ profile_required?: boolean | undefined | undefined;
49955
+ } | undefined;
49956
+ phone_number?: {
49957
+ identifier?: {
49958
+ active?: boolean | undefined | undefined;
49959
+ } | undefined;
49960
+ signup?: {
49961
+ status?: "required" | "optional" | "disabled" | undefined | undefined;
49962
+ } | undefined;
48911
49963
  } | undefined;
48912
49964
  } | undefined;
49965
+ authentication_methods?: {
49966
+ password?: {
49967
+ enabled?: boolean | undefined | undefined;
49968
+ } | undefined;
49969
+ passkey?: {
49970
+ enabled?: boolean | undefined | undefined;
49971
+ } | undefined;
49972
+ } | undefined;
49973
+ passkey_options?: {
49974
+ challenge_ui?: "both" | "autofill" | "button" | undefined | undefined;
49975
+ local_enrollment_enabled?: boolean | undefined | undefined;
49976
+ progressive_enrollment_enabled?: boolean | undefined | undefined;
49977
+ } | undefined;
48913
49978
  requires_username?: boolean | undefined | undefined;
48914
49979
  };
48915
49980
  name: string;
@@ -48988,6 +50053,9 @@ export declare function init(config: AuthHeroConfig): {
48988
50053
  active?: boolean | undefined | undefined;
48989
50054
  } | undefined;
48990
50055
  } | undefined;
50056
+ unique?: boolean | undefined | undefined;
50057
+ profile_required?: boolean | undefined | undefined;
50058
+ verification_method?: "code" | "link" | undefined | undefined;
48991
50059
  } | undefined;
48992
50060
  username?: {
48993
50061
  validation?: {
@@ -49004,8 +50072,30 @@ export declare function init(config: AuthHeroConfig): {
49004
50072
  signup?: {
49005
50073
  status?: "required" | "optional" | "disabled" | undefined | undefined;
49006
50074
  } | undefined;
50075
+ profile_required?: boolean | undefined | undefined;
50076
+ } | undefined;
50077
+ phone_number?: {
50078
+ identifier?: {
50079
+ active?: boolean | undefined | undefined;
50080
+ } | undefined;
50081
+ signup?: {
50082
+ status?: "required" | "optional" | "disabled" | undefined | undefined;
50083
+ } | undefined;
50084
+ } | undefined;
50085
+ } | undefined;
50086
+ authentication_methods?: {
50087
+ password?: {
50088
+ enabled?: boolean | undefined | undefined;
50089
+ } | undefined;
50090
+ passkey?: {
50091
+ enabled?: boolean | undefined | undefined;
49007
50092
  } | undefined;
49008
50093
  } | undefined;
50094
+ passkey_options?: {
50095
+ challenge_ui?: "both" | "autofill" | "button" | undefined | undefined;
50096
+ local_enrollment_enabled?: boolean | undefined | undefined;
50097
+ progressive_enrollment_enabled?: boolean | undefined | undefined;
50098
+ } | undefined;
49009
50099
  requires_username?: boolean | undefined | undefined;
49010
50100
  };
49011
50101
  name: string;
@@ -49103,6 +50193,9 @@ export declare function init(config: AuthHeroConfig): {
49103
50193
  active?: boolean | undefined | undefined;
49104
50194
  } | undefined;
49105
50195
  } | undefined;
50196
+ unique?: boolean | undefined | undefined;
50197
+ profile_required?: boolean | undefined | undefined;
50198
+ verification_method?: "code" | "link" | undefined | undefined;
49106
50199
  } | undefined;
49107
50200
  username?: {
49108
50201
  validation?: {
@@ -49119,7 +50212,29 @@ export declare function init(config: AuthHeroConfig): {
49119
50212
  signup?: {
49120
50213
  status?: "required" | "optional" | "disabled" | undefined | undefined;
49121
50214
  } | undefined;
50215
+ profile_required?: boolean | undefined | undefined;
50216
+ } | undefined;
50217
+ phone_number?: {
50218
+ identifier?: {
50219
+ active?: boolean | undefined | undefined;
50220
+ } | undefined;
50221
+ signup?: {
50222
+ status?: "required" | "optional" | "disabled" | undefined | undefined;
50223
+ } | undefined;
50224
+ } | undefined;
50225
+ } | undefined;
50226
+ authentication_methods?: {
50227
+ password?: {
50228
+ enabled?: boolean | undefined | undefined;
49122
50229
  } | undefined;
50230
+ passkey?: {
50231
+ enabled?: boolean | undefined | undefined;
50232
+ } | undefined;
50233
+ } | undefined;
50234
+ passkey_options?: {
50235
+ challenge_ui?: "both" | "autofill" | "button" | undefined | undefined;
50236
+ local_enrollment_enabled?: boolean | undefined | undefined;
50237
+ progressive_enrollment_enabled?: boolean | undefined | undefined;
49123
50238
  } | undefined;
49124
50239
  requires_username?: boolean | undefined | undefined;
49125
50240
  };
@@ -49230,6 +50345,9 @@ export declare function init(config: AuthHeroConfig): {
49230
50345
  active?: boolean | undefined;
49231
50346
  } | undefined;
49232
50347
  } | undefined;
50348
+ unique?: boolean | undefined;
50349
+ profile_required?: boolean | undefined;
50350
+ verification_method?: "code" | "link" | undefined;
49233
50351
  } | undefined;
49234
50352
  username?: {
49235
50353
  validation?: {
@@ -49246,8 +50364,30 @@ export declare function init(config: AuthHeroConfig): {
49246
50364
  signup?: {
49247
50365
  status?: "required" | "optional" | "disabled" | undefined;
49248
50366
  } | undefined;
50367
+ profile_required?: boolean | undefined;
50368
+ } | undefined;
50369
+ phone_number?: {
50370
+ identifier?: {
50371
+ active?: boolean | undefined;
50372
+ } | undefined;
50373
+ signup?: {
50374
+ status?: "required" | "optional" | "disabled" | undefined;
50375
+ } | undefined;
49249
50376
  } | undefined;
49250
50377
  } | undefined;
50378
+ authentication_methods?: {
50379
+ password?: {
50380
+ enabled?: boolean | undefined;
50381
+ } | undefined;
50382
+ passkey?: {
50383
+ enabled?: boolean | undefined;
50384
+ } | undefined;
50385
+ } | undefined;
50386
+ passkey_options?: {
50387
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
50388
+ local_enrollment_enabled?: boolean | undefined;
50389
+ progressive_enrollment_enabled?: boolean | undefined;
50390
+ } | undefined;
49251
50391
  requires_username?: boolean | undefined;
49252
50392
  } | undefined;
49253
50393
  response_mode?: AuthorizationResponseMode | undefined;
@@ -49323,6 +50463,9 @@ export declare function init(config: AuthHeroConfig): {
49323
50463
  active?: boolean | undefined | undefined;
49324
50464
  } | undefined;
49325
50465
  } | undefined;
50466
+ unique?: boolean | undefined | undefined;
50467
+ profile_required?: boolean | undefined | undefined;
50468
+ verification_method?: "code" | "link" | undefined | undefined;
49326
50469
  } | undefined;
49327
50470
  username?: {
49328
50471
  validation?: {
@@ -49339,8 +50482,30 @@ export declare function init(config: AuthHeroConfig): {
49339
50482
  signup?: {
49340
50483
  status?: "required" | "optional" | "disabled" | undefined | undefined;
49341
50484
  } | undefined;
50485
+ profile_required?: boolean | undefined | undefined;
50486
+ } | undefined;
50487
+ phone_number?: {
50488
+ identifier?: {
50489
+ active?: boolean | undefined | undefined;
50490
+ } | undefined;
50491
+ signup?: {
50492
+ status?: "required" | "optional" | "disabled" | undefined | undefined;
50493
+ } | undefined;
50494
+ } | undefined;
50495
+ } | undefined;
50496
+ authentication_methods?: {
50497
+ password?: {
50498
+ enabled?: boolean | undefined | undefined;
50499
+ } | undefined;
50500
+ passkey?: {
50501
+ enabled?: boolean | undefined | undefined;
49342
50502
  } | undefined;
49343
50503
  } | undefined;
50504
+ passkey_options?: {
50505
+ challenge_ui?: "both" | "autofill" | "button" | undefined | undefined;
50506
+ local_enrollment_enabled?: boolean | undefined | undefined;
50507
+ progressive_enrollment_enabled?: boolean | undefined | undefined;
50508
+ } | undefined;
49344
50509
  requires_username?: boolean | undefined | undefined;
49345
50510
  };
49346
50511
  name: string;
@@ -49430,6 +50595,9 @@ export declare function init(config: AuthHeroConfig): {
49430
50595
  active?: boolean | undefined;
49431
50596
  } | undefined;
49432
50597
  } | undefined;
50598
+ unique?: boolean | undefined;
50599
+ profile_required?: boolean | undefined;
50600
+ verification_method?: "code" | "link" | undefined;
49433
50601
  } | undefined;
49434
50602
  username?: {
49435
50603
  validation?: {
@@ -49446,7 +50614,29 @@ export declare function init(config: AuthHeroConfig): {
49446
50614
  signup?: {
49447
50615
  status?: "required" | "optional" | "disabled" | undefined;
49448
50616
  } | undefined;
50617
+ profile_required?: boolean | undefined;
50618
+ } | undefined;
50619
+ phone_number?: {
50620
+ identifier?: {
50621
+ active?: boolean | undefined;
50622
+ } | undefined;
50623
+ signup?: {
50624
+ status?: "required" | "optional" | "disabled" | undefined;
50625
+ } | undefined;
50626
+ } | undefined;
50627
+ } | undefined;
50628
+ authentication_methods?: {
50629
+ password?: {
50630
+ enabled?: boolean | undefined;
49449
50631
  } | undefined;
50632
+ passkey?: {
50633
+ enabled?: boolean | undefined;
50634
+ } | undefined;
50635
+ } | undefined;
50636
+ passkey_options?: {
50637
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
50638
+ local_enrollment_enabled?: boolean | undefined;
50639
+ progressive_enrollment_enabled?: boolean | undefined;
49450
50640
  } | undefined;
49451
50641
  requires_username?: boolean | undefined;
49452
50642
  } | undefined;
@@ -49522,6 +50712,9 @@ export declare function init(config: AuthHeroConfig): {
49522
50712
  active?: boolean | undefined | undefined;
49523
50713
  } | undefined;
49524
50714
  } | undefined;
50715
+ unique?: boolean | undefined | undefined;
50716
+ profile_required?: boolean | undefined | undefined;
50717
+ verification_method?: "code" | "link" | undefined | undefined;
49525
50718
  } | undefined;
49526
50719
  username?: {
49527
50720
  validation?: {
@@ -49538,8 +50731,30 @@ export declare function init(config: AuthHeroConfig): {
49538
50731
  signup?: {
49539
50732
  status?: "required" | "optional" | "disabled" | undefined | undefined;
49540
50733
  } | undefined;
50734
+ profile_required?: boolean | undefined | undefined;
50735
+ } | undefined;
50736
+ phone_number?: {
50737
+ identifier?: {
50738
+ active?: boolean | undefined | undefined;
50739
+ } | undefined;
50740
+ signup?: {
50741
+ status?: "required" | "optional" | "disabled" | undefined | undefined;
50742
+ } | undefined;
49541
50743
  } | undefined;
49542
50744
  } | undefined;
50745
+ authentication_methods?: {
50746
+ password?: {
50747
+ enabled?: boolean | undefined | undefined;
50748
+ } | undefined;
50749
+ passkey?: {
50750
+ enabled?: boolean | undefined | undefined;
50751
+ } | undefined;
50752
+ } | undefined;
50753
+ passkey_options?: {
50754
+ challenge_ui?: "both" | "autofill" | "button" | undefined | undefined;
50755
+ local_enrollment_enabled?: boolean | undefined | undefined;
50756
+ progressive_enrollment_enabled?: boolean | undefined | undefined;
50757
+ } | undefined;
49543
50758
  requires_username?: boolean | undefined | undefined;
49544
50759
  };
49545
50760
  name: string;
@@ -49626,20 +50841,29 @@ export declare function init(config: AuthHeroConfig): {
49626
50841
  created_at: string;
49627
50842
  updated_at: string;
49628
50843
  url: string;
49629
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49630
50844
  enabled: boolean;
50845
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49631
50846
  synchronous: boolean;
49632
50847
  hook_id: string;
49633
50848
  priority?: number | undefined | undefined;
49634
50849
  } | {
49635
50850
  created_at: string;
49636
50851
  updated_at: string;
49637
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49638
50852
  enabled: boolean;
50853
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49639
50854
  synchronous: boolean;
49640
50855
  hook_id: string;
49641
50856
  form_id: string;
49642
50857
  priority?: number | undefined | undefined;
50858
+ } | {
50859
+ created_at: string;
50860
+ updated_at: string;
50861
+ enabled: boolean;
50862
+ trigger_id: "post-user-login" | "credentials-exchange";
50863
+ synchronous: boolean;
50864
+ hook_id: string;
50865
+ template_id: "ensure-username" | "set-preferred-username";
50866
+ priority?: number | undefined | undefined;
49643
50867
  })[] | {
49644
50868
  length: number;
49645
50869
  start: number;
@@ -49648,20 +50872,29 @@ export declare function init(config: AuthHeroConfig): {
49648
50872
  created_at: string;
49649
50873
  updated_at: string;
49650
50874
  url: string;
49651
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49652
50875
  enabled: boolean;
50876
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49653
50877
  synchronous: boolean;
49654
50878
  hook_id: string;
49655
50879
  priority?: number | undefined | undefined;
49656
50880
  } | {
49657
50881
  created_at: string;
49658
50882
  updated_at: string;
49659
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49660
50883
  enabled: boolean;
50884
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49661
50885
  synchronous: boolean;
49662
50886
  hook_id: string;
49663
50887
  form_id: string;
49664
50888
  priority?: number | undefined | undefined;
50889
+ } | {
50890
+ created_at: string;
50891
+ updated_at: string;
50892
+ enabled: boolean;
50893
+ trigger_id: "post-user-login" | "credentials-exchange";
50894
+ synchronous: boolean;
50895
+ hook_id: string;
50896
+ template_id: "ensure-username" | "set-preferred-username";
50897
+ priority?: number | undefined | undefined;
49665
50898
  })[];
49666
50899
  total?: number | undefined;
49667
50900
  };
@@ -49691,26 +50924,42 @@ export declare function init(config: AuthHeroConfig): {
49691
50924
  synchronous?: boolean | undefined;
49692
50925
  priority?: number | undefined;
49693
50926
  hook_id?: string | undefined;
50927
+ } | {
50928
+ trigger_id: "post-user-login" | "credentials-exchange";
50929
+ template_id: "ensure-username" | "set-preferred-username";
50930
+ enabled?: boolean | undefined;
50931
+ synchronous?: boolean | undefined;
50932
+ priority?: number | undefined;
50933
+ hook_id?: string | undefined;
49694
50934
  };
49695
50935
  };
49696
50936
  output: {
49697
50937
  created_at: string;
49698
50938
  updated_at: string;
49699
50939
  url: string;
49700
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49701
50940
  enabled: boolean;
50941
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49702
50942
  synchronous: boolean;
49703
50943
  hook_id: string;
49704
50944
  priority?: number | undefined | undefined;
49705
50945
  } | {
49706
50946
  created_at: string;
49707
50947
  updated_at: string;
49708
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49709
50948
  enabled: boolean;
50949
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49710
50950
  synchronous: boolean;
49711
50951
  hook_id: string;
49712
50952
  form_id: string;
49713
50953
  priority?: number | undefined | undefined;
50954
+ } | {
50955
+ created_at: string;
50956
+ updated_at: string;
50957
+ enabled: boolean;
50958
+ trigger_id: "post-user-login" | "credentials-exchange";
50959
+ synchronous: boolean;
50960
+ hook_id: string;
50961
+ template_id: "ensure-username" | "set-preferred-username";
50962
+ priority?: number | undefined | undefined;
49714
50963
  };
49715
50964
  outputFormat: "json";
49716
50965
  status: 201;
@@ -49728,19 +50977,7 @@ export declare function init(config: AuthHeroConfig): {
49728
50977
  "tenant-id"?: string | undefined;
49729
50978
  };
49730
50979
  } & {
49731
- json: {
49732
- url?: string | undefined;
49733
- priority?: number | undefined;
49734
- enabled?: boolean | undefined;
49735
- trigger_id?: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | undefined;
49736
- synchronous?: boolean | undefined;
49737
- } | {
49738
- priority?: number | undefined;
49739
- enabled?: boolean | undefined;
49740
- trigger_id?: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | undefined;
49741
- synchronous?: boolean | undefined;
49742
- form_id?: string | undefined;
49743
- };
50980
+ json: any;
49744
50981
  };
49745
50982
  output: {};
49746
50983
  outputFormat: string;
@@ -49755,38 +50992,35 @@ export declare function init(config: AuthHeroConfig): {
49755
50992
  "tenant-id"?: string | undefined;
49756
50993
  };
49757
50994
  } & {
49758
- json: {
49759
- url?: string | undefined;
49760
- priority?: number | undefined;
49761
- enabled?: boolean | undefined;
49762
- trigger_id?: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | undefined;
49763
- synchronous?: boolean | undefined;
49764
- } | {
49765
- priority?: number | undefined;
49766
- enabled?: boolean | undefined;
49767
- trigger_id?: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion" | undefined;
49768
- synchronous?: boolean | undefined;
49769
- form_id?: string | undefined;
49770
- };
50995
+ json: any;
49771
50996
  };
49772
50997
  output: {
49773
50998
  created_at: string;
49774
50999
  updated_at: string;
49775
51000
  url: string;
49776
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49777
51001
  enabled: boolean;
51002
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49778
51003
  synchronous: boolean;
49779
51004
  hook_id: string;
49780
51005
  priority?: number | undefined | undefined;
49781
51006
  } | {
49782
51007
  created_at: string;
49783
51008
  updated_at: string;
49784
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49785
51009
  enabled: boolean;
51010
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49786
51011
  synchronous: boolean;
49787
51012
  hook_id: string;
49788
51013
  form_id: string;
49789
51014
  priority?: number | undefined | undefined;
51015
+ } | {
51016
+ created_at: string;
51017
+ updated_at: string;
51018
+ enabled: boolean;
51019
+ trigger_id: "post-user-login" | "credentials-exchange";
51020
+ synchronous: boolean;
51021
+ hook_id: string;
51022
+ template_id: "ensure-username" | "set-preferred-username";
51023
+ priority?: number | undefined | undefined;
49790
51024
  };
49791
51025
  outputFormat: "json";
49792
51026
  status: 200;
@@ -49821,20 +51055,29 @@ export declare function init(config: AuthHeroConfig): {
49821
51055
  created_at: string;
49822
51056
  updated_at: string;
49823
51057
  url: string;
49824
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49825
51058
  enabled: boolean;
51059
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49826
51060
  synchronous: boolean;
49827
51061
  hook_id: string;
49828
51062
  priority?: number | undefined | undefined;
49829
51063
  } | {
49830
51064
  created_at: string;
49831
51065
  updated_at: string;
49832
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49833
51066
  enabled: boolean;
51067
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
49834
51068
  synchronous: boolean;
49835
51069
  hook_id: string;
49836
51070
  form_id: string;
49837
51071
  priority?: number | undefined | undefined;
51072
+ } | {
51073
+ created_at: string;
51074
+ updated_at: string;
51075
+ enabled: boolean;
51076
+ trigger_id: "post-user-login" | "credentials-exchange";
51077
+ synchronous: boolean;
51078
+ hook_id: string;
51079
+ template_id: "ensure-username" | "set-preferred-username";
51080
+ priority?: number | undefined | undefined;
49838
51081
  };
49839
51082
  outputFormat: "json";
49840
51083
  status: 200;
@@ -50086,12 +51329,12 @@ export declare function init(config: AuthHeroConfig): {
50086
51329
  legacy_sandbox_version?: string | undefined | undefined;
50087
51330
  sandbox_versions_available?: string[] | undefined | undefined;
50088
51331
  change_password?: {
50089
- html?: string | undefined | undefined;
50090
51332
  enabled?: boolean | undefined | undefined;
51333
+ html?: string | undefined | undefined;
50091
51334
  } | undefined;
50092
51335
  guardian_mfa_page?: {
50093
- html?: string | undefined | undefined;
50094
51336
  enabled?: boolean | undefined | undefined;
51337
+ html?: string | undefined | undefined;
50095
51338
  } | undefined;
50096
51339
  device_flow?: {
50097
51340
  charset?: "base20" | "digits" | undefined | undefined;
@@ -50229,12 +51472,12 @@ export declare function init(config: AuthHeroConfig): {
50229
51472
  legacy_sandbox_version?: string | undefined;
50230
51473
  sandbox_versions_available?: string[] | undefined;
50231
51474
  change_password?: {
50232
- html?: string | undefined;
50233
51475
  enabled?: boolean | undefined;
51476
+ html?: string | undefined;
50234
51477
  } | undefined;
50235
51478
  guardian_mfa_page?: {
50236
- html?: string | undefined;
50237
51479
  enabled?: boolean | undefined;
51480
+ html?: string | undefined;
50238
51481
  } | undefined;
50239
51482
  device_flow?: {
50240
51483
  charset?: "base20" | "digits" | undefined;
@@ -50353,12 +51596,12 @@ export declare function init(config: AuthHeroConfig): {
50353
51596
  legacy_sandbox_version?: string | undefined | undefined;
50354
51597
  sandbox_versions_available?: string[] | undefined | undefined;
50355
51598
  change_password?: {
50356
- html?: string | undefined | undefined;
50357
51599
  enabled?: boolean | undefined | undefined;
51600
+ html?: string | undefined | undefined;
50358
51601
  } | undefined;
50359
51602
  guardian_mfa_page?: {
50360
- html?: string | undefined | undefined;
50361
51603
  enabled?: boolean | undefined | undefined;
51604
+ html?: string | undefined | undefined;
50362
51605
  } | undefined;
50363
51606
  device_flow?: {
50364
51607
  charset?: "base20" | "digits" | undefined | undefined;
@@ -51260,6 +52503,9 @@ export declare function init(config: AuthHeroConfig): {
51260
52503
  active?: boolean | undefined | undefined;
51261
52504
  } | undefined;
51262
52505
  } | undefined;
52506
+ unique?: boolean | undefined | undefined;
52507
+ profile_required?: boolean | undefined | undefined;
52508
+ verification_method?: "code" | "link" | undefined | undefined;
51263
52509
  } | undefined;
51264
52510
  username?: {
51265
52511
  validation?: {
@@ -51276,7 +52522,29 @@ export declare function init(config: AuthHeroConfig): {
51276
52522
  signup?: {
51277
52523
  status?: "required" | "optional" | "disabled" | undefined | undefined;
51278
52524
  } | undefined;
52525
+ profile_required?: boolean | undefined | undefined;
51279
52526
  } | undefined;
52527
+ phone_number?: {
52528
+ identifier?: {
52529
+ active?: boolean | undefined | undefined;
52530
+ } | undefined;
52531
+ signup?: {
52532
+ status?: "required" | "optional" | "disabled" | undefined | undefined;
52533
+ } | undefined;
52534
+ } | undefined;
52535
+ } | undefined;
52536
+ authentication_methods?: {
52537
+ password?: {
52538
+ enabled?: boolean | undefined | undefined;
52539
+ } | undefined;
52540
+ passkey?: {
52541
+ enabled?: boolean | undefined | undefined;
52542
+ } | undefined;
52543
+ } | undefined;
52544
+ passkey_options?: {
52545
+ challenge_ui?: "both" | "autofill" | "button" | undefined | undefined;
52546
+ local_enrollment_enabled?: boolean | undefined | undefined;
52547
+ progressive_enrollment_enabled?: boolean | undefined | undefined;
51280
52548
  } | undefined;
51281
52549
  requires_username?: boolean | undefined | undefined;
51282
52550
  };
@@ -51378,6 +52646,9 @@ export declare function init(config: AuthHeroConfig): {
51378
52646
  active?: boolean | undefined | undefined;
51379
52647
  } | undefined;
51380
52648
  } | undefined;
52649
+ unique?: boolean | undefined | undefined;
52650
+ profile_required?: boolean | undefined | undefined;
52651
+ verification_method?: "code" | "link" | undefined | undefined;
51381
52652
  } | undefined;
51382
52653
  username?: {
51383
52654
  validation?: {
@@ -51394,8 +52665,30 @@ export declare function init(config: AuthHeroConfig): {
51394
52665
  signup?: {
51395
52666
  status?: "required" | "optional" | "disabled" | undefined | undefined;
51396
52667
  } | undefined;
52668
+ profile_required?: boolean | undefined | undefined;
52669
+ } | undefined;
52670
+ phone_number?: {
52671
+ identifier?: {
52672
+ active?: boolean | undefined | undefined;
52673
+ } | undefined;
52674
+ signup?: {
52675
+ status?: "required" | "optional" | "disabled" | undefined | undefined;
52676
+ } | undefined;
52677
+ } | undefined;
52678
+ } | undefined;
52679
+ authentication_methods?: {
52680
+ password?: {
52681
+ enabled?: boolean | undefined | undefined;
52682
+ } | undefined;
52683
+ passkey?: {
52684
+ enabled?: boolean | undefined | undefined;
51397
52685
  } | undefined;
51398
52686
  } | undefined;
52687
+ passkey_options?: {
52688
+ challenge_ui?: "both" | "autofill" | "button" | undefined | undefined;
52689
+ local_enrollment_enabled?: boolean | undefined | undefined;
52690
+ progressive_enrollment_enabled?: boolean | undefined | undefined;
52691
+ } | undefined;
51399
52692
  requires_username?: boolean | undefined | undefined;
51400
52693
  };
51401
52694
  name: string;
@@ -51589,6 +52882,11 @@ export declare function init(config: AuthHeroConfig): {
51589
52882
  connection: string;
51590
52883
  provider: string;
51591
52884
  isSocial: boolean;
52885
+ email?: string | undefined | undefined;
52886
+ email_verified?: boolean | undefined | undefined;
52887
+ username?: string | undefined | undefined;
52888
+ phone_number?: string | undefined | undefined;
52889
+ phone_verified?: boolean | undefined | undefined;
51592
52890
  access_token?: string | undefined | undefined;
51593
52891
  access_token_secret?: string | undefined | undefined;
51594
52892
  refresh_token?: string | undefined | undefined;
@@ -51654,6 +52952,11 @@ export declare function init(config: AuthHeroConfig): {
51654
52952
  connection: string;
51655
52953
  provider: string;
51656
52954
  isSocial: boolean;
52955
+ email?: string | undefined | undefined;
52956
+ email_verified?: boolean | undefined | undefined;
52957
+ username?: string | undefined | undefined;
52958
+ phone_number?: string | undefined | undefined;
52959
+ phone_verified?: boolean | undefined | undefined;
51657
52960
  access_token?: string | undefined | undefined;
51658
52961
  access_token_secret?: string | undefined | undefined;
51659
52962
  refresh_token?: string | undefined | undefined;
@@ -51734,6 +53037,11 @@ export declare function init(config: AuthHeroConfig): {
51734
53037
  connection: string;
51735
53038
  provider: string;
51736
53039
  isSocial: boolean;
53040
+ email?: string | undefined | undefined;
53041
+ email_verified?: boolean | undefined | undefined;
53042
+ username?: string | undefined | undefined;
53043
+ phone_number?: string | undefined | undefined;
53044
+ phone_verified?: boolean | undefined | undefined;
51737
53045
  access_token?: string | undefined | undefined;
51738
53046
  access_token_secret?: string | undefined | undefined;
51739
53047
  refresh_token?: string | undefined | undefined;
@@ -51866,6 +53174,11 @@ export declare function init(config: AuthHeroConfig): {
51866
53174
  connection: string;
51867
53175
  provider: string;
51868
53176
  isSocial: boolean;
53177
+ email?: string | undefined | undefined;
53178
+ email_verified?: boolean | undefined | undefined;
53179
+ username?: string | undefined | undefined;
53180
+ phone_number?: string | undefined | undefined;
53181
+ phone_verified?: boolean | undefined | undefined;
51869
53182
  access_token?: string | undefined | undefined;
51870
53183
  access_token_secret?: string | undefined | undefined;
51871
53184
  refresh_token?: string | undefined | undefined;
@@ -51965,10 +53278,29 @@ export declare function init(config: AuthHeroConfig): {
51965
53278
  };
51966
53279
  };
51967
53280
  output: {
51968
- connection: string;
51969
53281
  user_id: string;
53282
+ connection: string;
51970
53283
  provider: string;
51971
53284
  isSocial: boolean;
53285
+ email?: string | undefined | undefined;
53286
+ email_verified?: boolean | undefined | undefined;
53287
+ username?: string | undefined | undefined;
53288
+ phone_number?: string | undefined | undefined;
53289
+ phone_verified?: boolean | undefined | undefined;
53290
+ access_token?: string | undefined | undefined;
53291
+ access_token_secret?: string | undefined | undefined;
53292
+ refresh_token?: string | undefined | undefined;
53293
+ profileData?: {
53294
+ [x: string]: any;
53295
+ name?: string | undefined;
53296
+ email?: string | undefined;
53297
+ given_name?: string | undefined;
53298
+ family_name?: string | undefined;
53299
+ username?: string | undefined;
53300
+ phone_number?: string | undefined;
53301
+ phone_verified?: boolean | undefined;
53302
+ email_verified?: boolean | undefined;
53303
+ } | undefined;
51972
53304
  }[];
51973
53305
  outputFormat: "json";
51974
53306
  status: 201;
@@ -52034,6 +53366,11 @@ export declare function init(config: AuthHeroConfig): {
52034
53366
  connection: string;
52035
53367
  provider: string;
52036
53368
  isSocial: boolean;
53369
+ email?: string | undefined | undefined;
53370
+ email_verified?: boolean | undefined | undefined;
53371
+ username?: string | undefined | undefined;
53372
+ phone_number?: string | undefined | undefined;
53373
+ phone_verified?: boolean | undefined | undefined;
52037
53374
  access_token?: string | undefined | undefined;
52038
53375
  access_token_secret?: string | undefined | undefined;
52039
53376
  refresh_token?: string | undefined | undefined;
@@ -54892,8 +56229,8 @@ export declare function init(config: AuthHeroConfig): {
54892
56229
  form: {
54893
56230
  action: "unlink_account";
54894
56231
  user_id?: string | undefined;
54895
- csrf_token?: string | undefined;
54896
56232
  provider?: string | undefined;
56233
+ csrf_token?: string | undefined;
54897
56234
  };
54898
56235
  };
54899
56236
  output: Response;
@@ -54908,8 +56245,8 @@ export declare function init(config: AuthHeroConfig): {
54908
56245
  form: {
54909
56246
  action: "unlink_account";
54910
56247
  user_id?: string | undefined;
54911
- csrf_token?: string | undefined;
54912
56248
  provider?: string | undefined;
56249
+ csrf_token?: string | undefined;
54913
56250
  };
54914
56251
  };
54915
56252
  output: {};
@@ -55312,6 +56649,10 @@ export declare function init(config: AuthHeroConfig): {
55312
56649
  createX509Certificate: typeof createX509Certificate;
55313
56650
  };
55314
56651
 
56652
+ declare namespace preDefinedHooks {
56653
+ export { EnsureUsernameOptions, ensureUsername, setPreferredUsername };
56654
+ }
56655
+
55315
56656
  export {
55316
56657
  Button$1 as ButtonUI,
55317
56658
  Card as CardUI,
@@ -55333,6 +56674,7 @@ export {
55333
56674
  fieldComponentSchema as flowsFieldComponentSchema,
55334
56675
  fieldComponentSchema$1 as fieldComponentSchema,
55335
56676
  flowNodeSchema as flowsFlowNodeSchema,
56677
+ preDefinedHooks,
55336
56678
  stepNodeSchema as flowsStepNodeSchema,
55337
56679
  };
55338
56680