@authhero/adapter-interfaces 0.135.0 → 0.136.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.
@@ -10538,6 +10538,12 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10538
10538
  }, {
10539
10539
  allowed?: boolean | undefined;
10540
10540
  }>>;
10541
+ unique: z.ZodOptional<z.ZodBoolean>;
10542
+ profile_required: z.ZodOptional<z.ZodBoolean>;
10543
+ verification_method: z.ZodOptional<z.ZodEnum<[
10544
+ "link",
10545
+ "code"
10546
+ ]>>;
10541
10547
  }, "strip", z.ZodTypeAny, {
10542
10548
  validation?: {
10543
10549
  allowed?: boolean | undefined;
@@ -10551,6 +10557,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10551
10557
  active?: boolean | undefined;
10552
10558
  } | undefined;
10553
10559
  } | undefined;
10560
+ unique?: boolean | undefined;
10561
+ profile_required?: boolean | undefined;
10562
+ verification_method?: "code" | "link" | undefined;
10554
10563
  }, {
10555
10564
  validation?: {
10556
10565
  allowed?: boolean | undefined;
@@ -10564,6 +10573,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10564
10573
  active?: boolean | undefined;
10565
10574
  } | undefined;
10566
10575
  } | undefined;
10576
+ unique?: boolean | undefined;
10577
+ profile_required?: boolean | undefined;
10578
+ verification_method?: "code" | "link" | undefined;
10567
10579
  }>>;
10568
10580
  username: z.ZodOptional<z.ZodObject<{
10569
10581
  identifier: z.ZodOptional<z.ZodObject<{
@@ -10612,6 +10624,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10612
10624
  phone_number?: boolean | undefined;
10613
10625
  } | undefined;
10614
10626
  }>>;
10627
+ profile_required: z.ZodOptional<z.ZodBoolean>;
10615
10628
  }, "strip", z.ZodTypeAny, {
10616
10629
  validation?: {
10617
10630
  min_length?: number | undefined;
@@ -10627,6 +10640,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10627
10640
  signup?: {
10628
10641
  status?: "required" | "optional" | "disabled" | undefined;
10629
10642
  } | undefined;
10643
+ profile_required?: boolean | undefined;
10630
10644
  }, {
10631
10645
  validation?: {
10632
10646
  min_length?: number | undefined;
@@ -10642,6 +10656,41 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10642
10656
  signup?: {
10643
10657
  status?: "required" | "optional" | "disabled" | undefined;
10644
10658
  } | undefined;
10659
+ profile_required?: boolean | undefined;
10660
+ }>>;
10661
+ phone_number: z.ZodOptional<z.ZodObject<{
10662
+ identifier: z.ZodOptional<z.ZodObject<{
10663
+ active: z.ZodOptional<z.ZodBoolean>;
10664
+ }, "strip", z.ZodTypeAny, {
10665
+ active?: boolean | undefined;
10666
+ }, {
10667
+ active?: boolean | undefined;
10668
+ }>>;
10669
+ signup: z.ZodOptional<z.ZodObject<{
10670
+ status: z.ZodOptional<z.ZodEnum<[
10671
+ "required",
10672
+ "optional",
10673
+ "disabled"
10674
+ ]>>;
10675
+ }, "strip", z.ZodTypeAny, {
10676
+ status?: "required" | "optional" | "disabled" | undefined;
10677
+ }, {
10678
+ status?: "required" | "optional" | "disabled" | undefined;
10679
+ }>>;
10680
+ }, "strip", z.ZodTypeAny, {
10681
+ identifier?: {
10682
+ active?: boolean | undefined;
10683
+ } | undefined;
10684
+ signup?: {
10685
+ status?: "required" | "optional" | "disabled" | undefined;
10686
+ } | undefined;
10687
+ }, {
10688
+ identifier?: {
10689
+ active?: boolean | undefined;
10690
+ } | undefined;
10691
+ signup?: {
10692
+ status?: "required" | "optional" | "disabled" | undefined;
10693
+ } | undefined;
10645
10694
  }>>;
10646
10695
  }, "strip", z.ZodTypeAny, {
10647
10696
  email?: {
@@ -10657,6 +10706,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10657
10706
  active?: boolean | undefined;
10658
10707
  } | undefined;
10659
10708
  } | undefined;
10709
+ unique?: boolean | undefined;
10710
+ profile_required?: boolean | undefined;
10711
+ verification_method?: "code" | "link" | undefined;
10660
10712
  } | undefined;
10661
10713
  username?: {
10662
10714
  validation?: {
@@ -10673,6 +10725,15 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10673
10725
  signup?: {
10674
10726
  status?: "required" | "optional" | "disabled" | undefined;
10675
10727
  } | undefined;
10728
+ profile_required?: boolean | undefined;
10729
+ } | undefined;
10730
+ phone_number?: {
10731
+ identifier?: {
10732
+ active?: boolean | undefined;
10733
+ } | undefined;
10734
+ signup?: {
10735
+ status?: "required" | "optional" | "disabled" | undefined;
10736
+ } | undefined;
10676
10737
  } | undefined;
10677
10738
  }, {
10678
10739
  email?: {
@@ -10688,6 +10749,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10688
10749
  active?: boolean | undefined;
10689
10750
  } | undefined;
10690
10751
  } | undefined;
10752
+ unique?: boolean | undefined;
10753
+ profile_required?: boolean | undefined;
10754
+ verification_method?: "code" | "link" | undefined;
10691
10755
  } | undefined;
10692
10756
  username?: {
10693
10757
  validation?: {
@@ -10704,7 +10768,63 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10704
10768
  signup?: {
10705
10769
  status?: "required" | "optional" | "disabled" | undefined;
10706
10770
  } | undefined;
10771
+ profile_required?: boolean | undefined;
10772
+ } | undefined;
10773
+ phone_number?: {
10774
+ identifier?: {
10775
+ active?: boolean | undefined;
10776
+ } | undefined;
10777
+ signup?: {
10778
+ status?: "required" | "optional" | "disabled" | undefined;
10779
+ } | undefined;
10780
+ } | undefined;
10781
+ }>>;
10782
+ authentication_methods: z.ZodOptional<z.ZodObject<{
10783
+ password: z.ZodOptional<z.ZodObject<{
10784
+ enabled: z.ZodOptional<z.ZodBoolean>;
10785
+ }, "strip", z.ZodTypeAny, {
10786
+ enabled?: boolean | undefined;
10787
+ }, {
10788
+ enabled?: boolean | undefined;
10789
+ }>>;
10790
+ passkey: z.ZodOptional<z.ZodObject<{
10791
+ enabled: z.ZodOptional<z.ZodBoolean>;
10792
+ }, "strip", z.ZodTypeAny, {
10793
+ enabled?: boolean | undefined;
10794
+ }, {
10795
+ enabled?: boolean | undefined;
10796
+ }>>;
10797
+ }, "strip", z.ZodTypeAny, {
10798
+ password?: {
10799
+ enabled?: boolean | undefined;
10800
+ } | undefined;
10801
+ passkey?: {
10802
+ enabled?: boolean | undefined;
10707
10803
  } | undefined;
10804
+ }, {
10805
+ password?: {
10806
+ enabled?: boolean | undefined;
10807
+ } | undefined;
10808
+ passkey?: {
10809
+ enabled?: boolean | undefined;
10810
+ } | undefined;
10811
+ }>>;
10812
+ passkey_options: z.ZodOptional<z.ZodObject<{
10813
+ challenge_ui: z.ZodOptional<z.ZodEnum<[
10814
+ "both",
10815
+ "autofill",
10816
+ "button"
10817
+ ]>>;
10818
+ local_enrollment_enabled: z.ZodOptional<z.ZodBoolean>;
10819
+ progressive_enrollment_enabled: z.ZodOptional<z.ZodBoolean>;
10820
+ }, "strip", z.ZodTypeAny, {
10821
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
10822
+ local_enrollment_enabled?: boolean | undefined;
10823
+ progressive_enrollment_enabled?: boolean | undefined;
10824
+ }, {
10825
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
10826
+ local_enrollment_enabled?: boolean | undefined;
10827
+ progressive_enrollment_enabled?: boolean | undefined;
10708
10828
  }>>;
10709
10829
  requires_username: z.ZodOptional<z.ZodBoolean>;
10710
10830
  validation: z.ZodOptional<z.ZodObject<{
@@ -10787,6 +10907,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10787
10907
  active?: boolean | undefined;
10788
10908
  } | undefined;
10789
10909
  } | undefined;
10910
+ unique?: boolean | undefined;
10911
+ profile_required?: boolean | undefined;
10912
+ verification_method?: "code" | "link" | undefined;
10790
10913
  } | undefined;
10791
10914
  username?: {
10792
10915
  validation?: {
@@ -10803,8 +10926,30 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10803
10926
  signup?: {
10804
10927
  status?: "required" | "optional" | "disabled" | undefined;
10805
10928
  } | undefined;
10929
+ profile_required?: boolean | undefined;
10930
+ } | undefined;
10931
+ phone_number?: {
10932
+ identifier?: {
10933
+ active?: boolean | undefined;
10934
+ } | undefined;
10935
+ signup?: {
10936
+ status?: "required" | "optional" | "disabled" | undefined;
10937
+ } | undefined;
10806
10938
  } | undefined;
10807
10939
  } | undefined;
10940
+ authentication_methods?: {
10941
+ password?: {
10942
+ enabled?: boolean | undefined;
10943
+ } | undefined;
10944
+ passkey?: {
10945
+ enabled?: boolean | undefined;
10946
+ } | undefined;
10947
+ } | undefined;
10948
+ passkey_options?: {
10949
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
10950
+ local_enrollment_enabled?: boolean | undefined;
10951
+ progressive_enrollment_enabled?: boolean | undefined;
10952
+ } | undefined;
10808
10953
  requires_username?: boolean | undefined;
10809
10954
  }, {
10810
10955
  validation?: {
@@ -10864,6 +11009,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10864
11009
  active?: boolean | undefined;
10865
11010
  } | undefined;
10866
11011
  } | undefined;
11012
+ unique?: boolean | undefined;
11013
+ profile_required?: boolean | undefined;
11014
+ verification_method?: "code" | "link" | undefined;
10867
11015
  } | undefined;
10868
11016
  username?: {
10869
11017
  validation?: {
@@ -10880,8 +11028,30 @@ export declare const connectionOptionsSchema: z.ZodObject<{
10880
11028
  signup?: {
10881
11029
  status?: "required" | "optional" | "disabled" | undefined;
10882
11030
  } | undefined;
11031
+ profile_required?: boolean | undefined;
11032
+ } | undefined;
11033
+ phone_number?: {
11034
+ identifier?: {
11035
+ active?: boolean | undefined;
11036
+ } | undefined;
11037
+ signup?: {
11038
+ status?: "required" | "optional" | "disabled" | undefined;
11039
+ } | undefined;
10883
11040
  } | undefined;
10884
11041
  } | undefined;
11042
+ authentication_methods?: {
11043
+ password?: {
11044
+ enabled?: boolean | undefined;
11045
+ } | undefined;
11046
+ passkey?: {
11047
+ enabled?: boolean | undefined;
11048
+ } | undefined;
11049
+ } | undefined;
11050
+ passkey_options?: {
11051
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
11052
+ local_enrollment_enabled?: boolean | undefined;
11053
+ progressive_enrollment_enabled?: boolean | undefined;
11054
+ } | undefined;
10885
11055
  requires_username?: boolean | undefined;
10886
11056
  }>;
10887
11057
  export declare const connectionInsertSchema: z.ZodObject<{
@@ -10993,6 +11163,12 @@ export declare const connectionInsertSchema: z.ZodObject<{
10993
11163
  }, {
10994
11164
  allowed?: boolean | undefined;
10995
11165
  }>>;
11166
+ unique: z.ZodOptional<z.ZodBoolean>;
11167
+ profile_required: z.ZodOptional<z.ZodBoolean>;
11168
+ verification_method: z.ZodOptional<z.ZodEnum<[
11169
+ "link",
11170
+ "code"
11171
+ ]>>;
10996
11172
  }, "strip", z.ZodTypeAny, {
10997
11173
  validation?: {
10998
11174
  allowed?: boolean | undefined;
@@ -11006,6 +11182,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
11006
11182
  active?: boolean | undefined;
11007
11183
  } | undefined;
11008
11184
  } | undefined;
11185
+ unique?: boolean | undefined;
11186
+ profile_required?: boolean | undefined;
11187
+ verification_method?: "code" | "link" | undefined;
11009
11188
  }, {
11010
11189
  validation?: {
11011
11190
  allowed?: boolean | undefined;
@@ -11019,6 +11198,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
11019
11198
  active?: boolean | undefined;
11020
11199
  } | undefined;
11021
11200
  } | undefined;
11201
+ unique?: boolean | undefined;
11202
+ profile_required?: boolean | undefined;
11203
+ verification_method?: "code" | "link" | undefined;
11022
11204
  }>>;
11023
11205
  username: z.ZodOptional<z.ZodObject<{
11024
11206
  identifier: z.ZodOptional<z.ZodObject<{
@@ -11067,6 +11249,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
11067
11249
  phone_number?: boolean | undefined;
11068
11250
  } | undefined;
11069
11251
  }>>;
11252
+ profile_required: z.ZodOptional<z.ZodBoolean>;
11070
11253
  }, "strip", z.ZodTypeAny, {
11071
11254
  validation?: {
11072
11255
  min_length?: number | undefined;
@@ -11082,6 +11265,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
11082
11265
  signup?: {
11083
11266
  status?: "required" | "optional" | "disabled" | undefined;
11084
11267
  } | undefined;
11268
+ profile_required?: boolean | undefined;
11085
11269
  }, {
11086
11270
  validation?: {
11087
11271
  min_length?: number | undefined;
@@ -11097,6 +11281,41 @@ export declare const connectionInsertSchema: z.ZodObject<{
11097
11281
  signup?: {
11098
11282
  status?: "required" | "optional" | "disabled" | undefined;
11099
11283
  } | undefined;
11284
+ profile_required?: boolean | undefined;
11285
+ }>>;
11286
+ phone_number: z.ZodOptional<z.ZodObject<{
11287
+ identifier: z.ZodOptional<z.ZodObject<{
11288
+ active: z.ZodOptional<z.ZodBoolean>;
11289
+ }, "strip", z.ZodTypeAny, {
11290
+ active?: boolean | undefined;
11291
+ }, {
11292
+ active?: boolean | undefined;
11293
+ }>>;
11294
+ signup: z.ZodOptional<z.ZodObject<{
11295
+ status: z.ZodOptional<z.ZodEnum<[
11296
+ "required",
11297
+ "optional",
11298
+ "disabled"
11299
+ ]>>;
11300
+ }, "strip", z.ZodTypeAny, {
11301
+ status?: "required" | "optional" | "disabled" | undefined;
11302
+ }, {
11303
+ status?: "required" | "optional" | "disabled" | undefined;
11304
+ }>>;
11305
+ }, "strip", z.ZodTypeAny, {
11306
+ identifier?: {
11307
+ active?: boolean | undefined;
11308
+ } | undefined;
11309
+ signup?: {
11310
+ status?: "required" | "optional" | "disabled" | undefined;
11311
+ } | undefined;
11312
+ }, {
11313
+ identifier?: {
11314
+ active?: boolean | undefined;
11315
+ } | undefined;
11316
+ signup?: {
11317
+ status?: "required" | "optional" | "disabled" | undefined;
11318
+ } | undefined;
11100
11319
  }>>;
11101
11320
  }, "strip", z.ZodTypeAny, {
11102
11321
  email?: {
@@ -11112,6 +11331,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
11112
11331
  active?: boolean | undefined;
11113
11332
  } | undefined;
11114
11333
  } | undefined;
11334
+ unique?: boolean | undefined;
11335
+ profile_required?: boolean | undefined;
11336
+ verification_method?: "code" | "link" | undefined;
11115
11337
  } | undefined;
11116
11338
  username?: {
11117
11339
  validation?: {
@@ -11128,6 +11350,15 @@ export declare const connectionInsertSchema: z.ZodObject<{
11128
11350
  signup?: {
11129
11351
  status?: "required" | "optional" | "disabled" | undefined;
11130
11352
  } | undefined;
11353
+ profile_required?: boolean | undefined;
11354
+ } | undefined;
11355
+ phone_number?: {
11356
+ identifier?: {
11357
+ active?: boolean | undefined;
11358
+ } | undefined;
11359
+ signup?: {
11360
+ status?: "required" | "optional" | "disabled" | undefined;
11361
+ } | undefined;
11131
11362
  } | undefined;
11132
11363
  }, {
11133
11364
  email?: {
@@ -11143,6 +11374,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
11143
11374
  active?: boolean | undefined;
11144
11375
  } | undefined;
11145
11376
  } | undefined;
11377
+ unique?: boolean | undefined;
11378
+ profile_required?: boolean | undefined;
11379
+ verification_method?: "code" | "link" | undefined;
11146
11380
  } | undefined;
11147
11381
  username?: {
11148
11382
  validation?: {
@@ -11159,8 +11393,64 @@ export declare const connectionInsertSchema: z.ZodObject<{
11159
11393
  signup?: {
11160
11394
  status?: "required" | "optional" | "disabled" | undefined;
11161
11395
  } | undefined;
11396
+ profile_required?: boolean | undefined;
11397
+ } | undefined;
11398
+ phone_number?: {
11399
+ identifier?: {
11400
+ active?: boolean | undefined;
11401
+ } | undefined;
11402
+ signup?: {
11403
+ status?: "required" | "optional" | "disabled" | undefined;
11404
+ } | undefined;
11405
+ } | undefined;
11406
+ }>>;
11407
+ authentication_methods: z.ZodOptional<z.ZodObject<{
11408
+ password: z.ZodOptional<z.ZodObject<{
11409
+ enabled: z.ZodOptional<z.ZodBoolean>;
11410
+ }, "strip", z.ZodTypeAny, {
11411
+ enabled?: boolean | undefined;
11412
+ }, {
11413
+ enabled?: boolean | undefined;
11414
+ }>>;
11415
+ passkey: z.ZodOptional<z.ZodObject<{
11416
+ enabled: z.ZodOptional<z.ZodBoolean>;
11417
+ }, "strip", z.ZodTypeAny, {
11418
+ enabled?: boolean | undefined;
11419
+ }, {
11420
+ enabled?: boolean | undefined;
11421
+ }>>;
11422
+ }, "strip", z.ZodTypeAny, {
11423
+ password?: {
11424
+ enabled?: boolean | undefined;
11425
+ } | undefined;
11426
+ passkey?: {
11427
+ enabled?: boolean | undefined;
11428
+ } | undefined;
11429
+ }, {
11430
+ password?: {
11431
+ enabled?: boolean | undefined;
11432
+ } | undefined;
11433
+ passkey?: {
11434
+ enabled?: boolean | undefined;
11162
11435
  } | undefined;
11163
11436
  }>>;
11437
+ passkey_options: z.ZodOptional<z.ZodObject<{
11438
+ challenge_ui: z.ZodOptional<z.ZodEnum<[
11439
+ "both",
11440
+ "autofill",
11441
+ "button"
11442
+ ]>>;
11443
+ local_enrollment_enabled: z.ZodOptional<z.ZodBoolean>;
11444
+ progressive_enrollment_enabled: z.ZodOptional<z.ZodBoolean>;
11445
+ }, "strip", z.ZodTypeAny, {
11446
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
11447
+ local_enrollment_enabled?: boolean | undefined;
11448
+ progressive_enrollment_enabled?: boolean | undefined;
11449
+ }, {
11450
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
11451
+ local_enrollment_enabled?: boolean | undefined;
11452
+ progressive_enrollment_enabled?: boolean | undefined;
11453
+ }>>;
11164
11454
  requires_username: z.ZodOptional<z.ZodBoolean>;
11165
11455
  validation: z.ZodOptional<z.ZodObject<{
11166
11456
  username: z.ZodOptional<z.ZodObject<{
@@ -11242,6 +11532,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
11242
11532
  active?: boolean | undefined;
11243
11533
  } | undefined;
11244
11534
  } | undefined;
11535
+ unique?: boolean | undefined;
11536
+ profile_required?: boolean | undefined;
11537
+ verification_method?: "code" | "link" | undefined;
11245
11538
  } | undefined;
11246
11539
  username?: {
11247
11540
  validation?: {
@@ -11258,8 +11551,30 @@ export declare const connectionInsertSchema: z.ZodObject<{
11258
11551
  signup?: {
11259
11552
  status?: "required" | "optional" | "disabled" | undefined;
11260
11553
  } | undefined;
11554
+ profile_required?: boolean | undefined;
11555
+ } | undefined;
11556
+ phone_number?: {
11557
+ identifier?: {
11558
+ active?: boolean | undefined;
11559
+ } | undefined;
11560
+ signup?: {
11561
+ status?: "required" | "optional" | "disabled" | undefined;
11562
+ } | undefined;
11261
11563
  } | undefined;
11262
11564
  } | undefined;
11565
+ authentication_methods?: {
11566
+ password?: {
11567
+ enabled?: boolean | undefined;
11568
+ } | undefined;
11569
+ passkey?: {
11570
+ enabled?: boolean | undefined;
11571
+ } | undefined;
11572
+ } | undefined;
11573
+ passkey_options?: {
11574
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
11575
+ local_enrollment_enabled?: boolean | undefined;
11576
+ progressive_enrollment_enabled?: boolean | undefined;
11577
+ } | undefined;
11263
11578
  requires_username?: boolean | undefined;
11264
11579
  }, {
11265
11580
  validation?: {
@@ -11319,6 +11634,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
11319
11634
  active?: boolean | undefined;
11320
11635
  } | undefined;
11321
11636
  } | undefined;
11637
+ unique?: boolean | undefined;
11638
+ profile_required?: boolean | undefined;
11639
+ verification_method?: "code" | "link" | undefined;
11322
11640
  } | undefined;
11323
11641
  username?: {
11324
11642
  validation?: {
@@ -11335,8 +11653,30 @@ export declare const connectionInsertSchema: z.ZodObject<{
11335
11653
  signup?: {
11336
11654
  status?: "required" | "optional" | "disabled" | undefined;
11337
11655
  } | undefined;
11656
+ profile_required?: boolean | undefined;
11657
+ } | undefined;
11658
+ phone_number?: {
11659
+ identifier?: {
11660
+ active?: boolean | undefined;
11661
+ } | undefined;
11662
+ signup?: {
11663
+ status?: "required" | "optional" | "disabled" | undefined;
11664
+ } | undefined;
11665
+ } | undefined;
11666
+ } | undefined;
11667
+ authentication_methods?: {
11668
+ password?: {
11669
+ enabled?: boolean | undefined;
11670
+ } | undefined;
11671
+ passkey?: {
11672
+ enabled?: boolean | undefined;
11338
11673
  } | undefined;
11339
11674
  } | undefined;
11675
+ passkey_options?: {
11676
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
11677
+ local_enrollment_enabled?: boolean | undefined;
11678
+ progressive_enrollment_enabled?: boolean | undefined;
11679
+ } | undefined;
11340
11680
  requires_username?: boolean | undefined;
11341
11681
  }>>;
11342
11682
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
@@ -11405,6 +11745,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
11405
11745
  active?: boolean | undefined;
11406
11746
  } | undefined;
11407
11747
  } | undefined;
11748
+ unique?: boolean | undefined;
11749
+ profile_required?: boolean | undefined;
11750
+ verification_method?: "code" | "link" | undefined;
11408
11751
  } | undefined;
11409
11752
  username?: {
11410
11753
  validation?: {
@@ -11421,8 +11764,30 @@ export declare const connectionInsertSchema: z.ZodObject<{
11421
11764
  signup?: {
11422
11765
  status?: "required" | "optional" | "disabled" | undefined;
11423
11766
  } | undefined;
11767
+ profile_required?: boolean | undefined;
11768
+ } | undefined;
11769
+ phone_number?: {
11770
+ identifier?: {
11771
+ active?: boolean | undefined;
11772
+ } | undefined;
11773
+ signup?: {
11774
+ status?: "required" | "optional" | "disabled" | undefined;
11775
+ } | undefined;
11776
+ } | undefined;
11777
+ } | undefined;
11778
+ authentication_methods?: {
11779
+ password?: {
11780
+ enabled?: boolean | undefined;
11781
+ } | undefined;
11782
+ passkey?: {
11783
+ enabled?: boolean | undefined;
11424
11784
  } | undefined;
11425
11785
  } | undefined;
11786
+ passkey_options?: {
11787
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
11788
+ local_enrollment_enabled?: boolean | undefined;
11789
+ progressive_enrollment_enabled?: boolean | undefined;
11790
+ } | undefined;
11426
11791
  requires_username?: boolean | undefined;
11427
11792
  };
11428
11793
  name: string;
@@ -11497,6 +11862,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
11497
11862
  active?: boolean | undefined;
11498
11863
  } | undefined;
11499
11864
  } | undefined;
11865
+ unique?: boolean | undefined;
11866
+ profile_required?: boolean | undefined;
11867
+ verification_method?: "code" | "link" | undefined;
11500
11868
  } | undefined;
11501
11869
  username?: {
11502
11870
  validation?: {
@@ -11513,8 +11881,30 @@ export declare const connectionInsertSchema: z.ZodObject<{
11513
11881
  signup?: {
11514
11882
  status?: "required" | "optional" | "disabled" | undefined;
11515
11883
  } | undefined;
11884
+ profile_required?: boolean | undefined;
11885
+ } | undefined;
11886
+ phone_number?: {
11887
+ identifier?: {
11888
+ active?: boolean | undefined;
11889
+ } | undefined;
11890
+ signup?: {
11891
+ status?: "required" | "optional" | "disabled" | undefined;
11892
+ } | undefined;
11893
+ } | undefined;
11894
+ } | undefined;
11895
+ authentication_methods?: {
11896
+ password?: {
11897
+ enabled?: boolean | undefined;
11898
+ } | undefined;
11899
+ passkey?: {
11900
+ enabled?: boolean | undefined;
11516
11901
  } | undefined;
11517
11902
  } | undefined;
11903
+ passkey_options?: {
11904
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
11905
+ local_enrollment_enabled?: boolean | undefined;
11906
+ progressive_enrollment_enabled?: boolean | undefined;
11907
+ } | undefined;
11518
11908
  requires_username?: boolean | undefined;
11519
11909
  } | undefined;
11520
11910
  id?: string | undefined;
@@ -11640,6 +12030,12 @@ export declare const connectionSchema: z.ZodObject<{
11640
12030
  }, {
11641
12031
  allowed?: boolean | undefined;
11642
12032
  }>>;
12033
+ unique: z.ZodOptional<z.ZodBoolean>;
12034
+ profile_required: z.ZodOptional<z.ZodBoolean>;
12035
+ verification_method: z.ZodOptional<z.ZodEnum<[
12036
+ "link",
12037
+ "code"
12038
+ ]>>;
11643
12039
  }, "strip", z.ZodTypeAny, {
11644
12040
  validation?: {
11645
12041
  allowed?: boolean | undefined;
@@ -11653,6 +12049,9 @@ export declare const connectionSchema: z.ZodObject<{
11653
12049
  active?: boolean | undefined;
11654
12050
  } | undefined;
11655
12051
  } | undefined;
12052
+ unique?: boolean | undefined;
12053
+ profile_required?: boolean | undefined;
12054
+ verification_method?: "code" | "link" | undefined;
11656
12055
  }, {
11657
12056
  validation?: {
11658
12057
  allowed?: boolean | undefined;
@@ -11666,6 +12065,9 @@ export declare const connectionSchema: z.ZodObject<{
11666
12065
  active?: boolean | undefined;
11667
12066
  } | undefined;
11668
12067
  } | undefined;
12068
+ unique?: boolean | undefined;
12069
+ profile_required?: boolean | undefined;
12070
+ verification_method?: "code" | "link" | undefined;
11669
12071
  }>>;
11670
12072
  username: z.ZodOptional<z.ZodObject<{
11671
12073
  identifier: z.ZodOptional<z.ZodObject<{
@@ -11714,6 +12116,7 @@ export declare const connectionSchema: z.ZodObject<{
11714
12116
  phone_number?: boolean | undefined;
11715
12117
  } | undefined;
11716
12118
  }>>;
12119
+ profile_required: z.ZodOptional<z.ZodBoolean>;
11717
12120
  }, "strip", z.ZodTypeAny, {
11718
12121
  validation?: {
11719
12122
  min_length?: number | undefined;
@@ -11729,6 +12132,7 @@ export declare const connectionSchema: z.ZodObject<{
11729
12132
  signup?: {
11730
12133
  status?: "required" | "optional" | "disabled" | undefined;
11731
12134
  } | undefined;
12135
+ profile_required?: boolean | undefined;
11732
12136
  }, {
11733
12137
  validation?: {
11734
12138
  min_length?: number | undefined;
@@ -11744,6 +12148,41 @@ export declare const connectionSchema: z.ZodObject<{
11744
12148
  signup?: {
11745
12149
  status?: "required" | "optional" | "disabled" | undefined;
11746
12150
  } | undefined;
12151
+ profile_required?: boolean | undefined;
12152
+ }>>;
12153
+ phone_number: z.ZodOptional<z.ZodObject<{
12154
+ identifier: z.ZodOptional<z.ZodObject<{
12155
+ active: z.ZodOptional<z.ZodBoolean>;
12156
+ }, "strip", z.ZodTypeAny, {
12157
+ active?: boolean | undefined;
12158
+ }, {
12159
+ active?: boolean | undefined;
12160
+ }>>;
12161
+ signup: z.ZodOptional<z.ZodObject<{
12162
+ status: z.ZodOptional<z.ZodEnum<[
12163
+ "required",
12164
+ "optional",
12165
+ "disabled"
12166
+ ]>>;
12167
+ }, "strip", z.ZodTypeAny, {
12168
+ status?: "required" | "optional" | "disabled" | undefined;
12169
+ }, {
12170
+ status?: "required" | "optional" | "disabled" | undefined;
12171
+ }>>;
12172
+ }, "strip", z.ZodTypeAny, {
12173
+ identifier?: {
12174
+ active?: boolean | undefined;
12175
+ } | undefined;
12176
+ signup?: {
12177
+ status?: "required" | "optional" | "disabled" | undefined;
12178
+ } | undefined;
12179
+ }, {
12180
+ identifier?: {
12181
+ active?: boolean | undefined;
12182
+ } | undefined;
12183
+ signup?: {
12184
+ status?: "required" | "optional" | "disabled" | undefined;
12185
+ } | undefined;
11747
12186
  }>>;
11748
12187
  }, "strip", z.ZodTypeAny, {
11749
12188
  email?: {
@@ -11759,6 +12198,9 @@ export declare const connectionSchema: z.ZodObject<{
11759
12198
  active?: boolean | undefined;
11760
12199
  } | undefined;
11761
12200
  } | undefined;
12201
+ unique?: boolean | undefined;
12202
+ profile_required?: boolean | undefined;
12203
+ verification_method?: "code" | "link" | undefined;
11762
12204
  } | undefined;
11763
12205
  username?: {
11764
12206
  validation?: {
@@ -11775,6 +12217,15 @@ export declare const connectionSchema: z.ZodObject<{
11775
12217
  signup?: {
11776
12218
  status?: "required" | "optional" | "disabled" | undefined;
11777
12219
  } | undefined;
12220
+ profile_required?: boolean | undefined;
12221
+ } | undefined;
12222
+ phone_number?: {
12223
+ identifier?: {
12224
+ active?: boolean | undefined;
12225
+ } | undefined;
12226
+ signup?: {
12227
+ status?: "required" | "optional" | "disabled" | undefined;
12228
+ } | undefined;
11778
12229
  } | undefined;
11779
12230
  }, {
11780
12231
  email?: {
@@ -11790,6 +12241,9 @@ export declare const connectionSchema: z.ZodObject<{
11790
12241
  active?: boolean | undefined;
11791
12242
  } | undefined;
11792
12243
  } | undefined;
12244
+ unique?: boolean | undefined;
12245
+ profile_required?: boolean | undefined;
12246
+ verification_method?: "code" | "link" | undefined;
11793
12247
  } | undefined;
11794
12248
  username?: {
11795
12249
  validation?: {
@@ -11806,7 +12260,63 @@ export declare const connectionSchema: z.ZodObject<{
11806
12260
  signup?: {
11807
12261
  status?: "required" | "optional" | "disabled" | undefined;
11808
12262
  } | undefined;
12263
+ profile_required?: boolean | undefined;
12264
+ } | undefined;
12265
+ phone_number?: {
12266
+ identifier?: {
12267
+ active?: boolean | undefined;
12268
+ } | undefined;
12269
+ signup?: {
12270
+ status?: "required" | "optional" | "disabled" | undefined;
12271
+ } | undefined;
12272
+ } | undefined;
12273
+ }>>;
12274
+ authentication_methods: z.ZodOptional<z.ZodObject<{
12275
+ password: z.ZodOptional<z.ZodObject<{
12276
+ enabled: z.ZodOptional<z.ZodBoolean>;
12277
+ }, "strip", z.ZodTypeAny, {
12278
+ enabled?: boolean | undefined;
12279
+ }, {
12280
+ enabled?: boolean | undefined;
12281
+ }>>;
12282
+ passkey: z.ZodOptional<z.ZodObject<{
12283
+ enabled: z.ZodOptional<z.ZodBoolean>;
12284
+ }, "strip", z.ZodTypeAny, {
12285
+ enabled?: boolean | undefined;
12286
+ }, {
12287
+ enabled?: boolean | undefined;
12288
+ }>>;
12289
+ }, "strip", z.ZodTypeAny, {
12290
+ password?: {
12291
+ enabled?: boolean | undefined;
12292
+ } | undefined;
12293
+ passkey?: {
12294
+ enabled?: boolean | undefined;
11809
12295
  } | undefined;
12296
+ }, {
12297
+ password?: {
12298
+ enabled?: boolean | undefined;
12299
+ } | undefined;
12300
+ passkey?: {
12301
+ enabled?: boolean | undefined;
12302
+ } | undefined;
12303
+ }>>;
12304
+ passkey_options: z.ZodOptional<z.ZodObject<{
12305
+ challenge_ui: z.ZodOptional<z.ZodEnum<[
12306
+ "both",
12307
+ "autofill",
12308
+ "button"
12309
+ ]>>;
12310
+ local_enrollment_enabled: z.ZodOptional<z.ZodBoolean>;
12311
+ progressive_enrollment_enabled: z.ZodOptional<z.ZodBoolean>;
12312
+ }, "strip", z.ZodTypeAny, {
12313
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
12314
+ local_enrollment_enabled?: boolean | undefined;
12315
+ progressive_enrollment_enabled?: boolean | undefined;
12316
+ }, {
12317
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
12318
+ local_enrollment_enabled?: boolean | undefined;
12319
+ progressive_enrollment_enabled?: boolean | undefined;
11810
12320
  }>>;
11811
12321
  requires_username: z.ZodOptional<z.ZodBoolean>;
11812
12322
  validation: z.ZodOptional<z.ZodObject<{
@@ -11889,6 +12399,9 @@ export declare const connectionSchema: z.ZodObject<{
11889
12399
  active?: boolean | undefined;
11890
12400
  } | undefined;
11891
12401
  } | undefined;
12402
+ unique?: boolean | undefined;
12403
+ profile_required?: boolean | undefined;
12404
+ verification_method?: "code" | "link" | undefined;
11892
12405
  } | undefined;
11893
12406
  username?: {
11894
12407
  validation?: {
@@ -11905,7 +12418,29 @@ export declare const connectionSchema: z.ZodObject<{
11905
12418
  signup?: {
11906
12419
  status?: "required" | "optional" | "disabled" | undefined;
11907
12420
  } | undefined;
12421
+ profile_required?: boolean | undefined;
11908
12422
  } | undefined;
12423
+ phone_number?: {
12424
+ identifier?: {
12425
+ active?: boolean | undefined;
12426
+ } | undefined;
12427
+ signup?: {
12428
+ status?: "required" | "optional" | "disabled" | undefined;
12429
+ } | undefined;
12430
+ } | undefined;
12431
+ } | undefined;
12432
+ authentication_methods?: {
12433
+ password?: {
12434
+ enabled?: boolean | undefined;
12435
+ } | undefined;
12436
+ passkey?: {
12437
+ enabled?: boolean | undefined;
12438
+ } | undefined;
12439
+ } | undefined;
12440
+ passkey_options?: {
12441
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
12442
+ local_enrollment_enabled?: boolean | undefined;
12443
+ progressive_enrollment_enabled?: boolean | undefined;
11909
12444
  } | undefined;
11910
12445
  requires_username?: boolean | undefined;
11911
12446
  }, {
@@ -11966,6 +12501,9 @@ export declare const connectionSchema: z.ZodObject<{
11966
12501
  active?: boolean | undefined;
11967
12502
  } | undefined;
11968
12503
  } | undefined;
12504
+ unique?: boolean | undefined;
12505
+ profile_required?: boolean | undefined;
12506
+ verification_method?: "code" | "link" | undefined;
11969
12507
  } | undefined;
11970
12508
  username?: {
11971
12509
  validation?: {
@@ -11982,8 +12520,30 @@ export declare const connectionSchema: z.ZodObject<{
11982
12520
  signup?: {
11983
12521
  status?: "required" | "optional" | "disabled" | undefined;
11984
12522
  } | undefined;
12523
+ profile_required?: boolean | undefined;
12524
+ } | undefined;
12525
+ phone_number?: {
12526
+ identifier?: {
12527
+ active?: boolean | undefined;
12528
+ } | undefined;
12529
+ signup?: {
12530
+ status?: "required" | "optional" | "disabled" | undefined;
12531
+ } | undefined;
11985
12532
  } | undefined;
11986
12533
  } | undefined;
12534
+ authentication_methods?: {
12535
+ password?: {
12536
+ enabled?: boolean | undefined;
12537
+ } | undefined;
12538
+ passkey?: {
12539
+ enabled?: boolean | undefined;
12540
+ } | undefined;
12541
+ } | undefined;
12542
+ passkey_options?: {
12543
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
12544
+ local_enrollment_enabled?: boolean | undefined;
12545
+ progressive_enrollment_enabled?: boolean | undefined;
12546
+ } | undefined;
11987
12547
  requires_username?: boolean | undefined;
11988
12548
  }>>;
11989
12549
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
@@ -12054,6 +12614,9 @@ export declare const connectionSchema: z.ZodObject<{
12054
12614
  active?: boolean | undefined;
12055
12615
  } | undefined;
12056
12616
  } | undefined;
12617
+ unique?: boolean | undefined;
12618
+ profile_required?: boolean | undefined;
12619
+ verification_method?: "code" | "link" | undefined;
12057
12620
  } | undefined;
12058
12621
  username?: {
12059
12622
  validation?: {
@@ -12070,8 +12633,30 @@ export declare const connectionSchema: z.ZodObject<{
12070
12633
  signup?: {
12071
12634
  status?: "required" | "optional" | "disabled" | undefined;
12072
12635
  } | undefined;
12636
+ profile_required?: boolean | undefined;
12637
+ } | undefined;
12638
+ phone_number?: {
12639
+ identifier?: {
12640
+ active?: boolean | undefined;
12641
+ } | undefined;
12642
+ signup?: {
12643
+ status?: "required" | "optional" | "disabled" | undefined;
12644
+ } | undefined;
12645
+ } | undefined;
12646
+ } | undefined;
12647
+ authentication_methods?: {
12648
+ password?: {
12649
+ enabled?: boolean | undefined;
12650
+ } | undefined;
12651
+ passkey?: {
12652
+ enabled?: boolean | undefined;
12073
12653
  } | undefined;
12074
12654
  } | undefined;
12655
+ passkey_options?: {
12656
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
12657
+ local_enrollment_enabled?: boolean | undefined;
12658
+ progressive_enrollment_enabled?: boolean | undefined;
12659
+ } | undefined;
12075
12660
  requires_username?: boolean | undefined;
12076
12661
  };
12077
12662
  name: string;
@@ -12148,6 +12733,9 @@ export declare const connectionSchema: z.ZodObject<{
12148
12733
  active?: boolean | undefined;
12149
12734
  } | undefined;
12150
12735
  } | undefined;
12736
+ unique?: boolean | undefined;
12737
+ profile_required?: boolean | undefined;
12738
+ verification_method?: "code" | "link" | undefined;
12151
12739
  } | undefined;
12152
12740
  username?: {
12153
12741
  validation?: {
@@ -12164,8 +12752,30 @@ export declare const connectionSchema: z.ZodObject<{
12164
12752
  signup?: {
12165
12753
  status?: "required" | "optional" | "disabled" | undefined;
12166
12754
  } | undefined;
12755
+ profile_required?: boolean | undefined;
12756
+ } | undefined;
12757
+ phone_number?: {
12758
+ identifier?: {
12759
+ active?: boolean | undefined;
12760
+ } | undefined;
12761
+ signup?: {
12762
+ status?: "required" | "optional" | "disabled" | undefined;
12763
+ } | undefined;
12167
12764
  } | undefined;
12168
12765
  } | undefined;
12766
+ authentication_methods?: {
12767
+ password?: {
12768
+ enabled?: boolean | undefined;
12769
+ } | undefined;
12770
+ passkey?: {
12771
+ enabled?: boolean | undefined;
12772
+ } | undefined;
12773
+ } | undefined;
12774
+ passkey_options?: {
12775
+ challenge_ui?: "both" | "autofill" | "button" | undefined;
12776
+ local_enrollment_enabled?: boolean | undefined;
12777
+ progressive_enrollment_enabled?: boolean | undefined;
12778
+ } | undefined;
12169
12779
  requires_username?: boolean | undefined;
12170
12780
  } | undefined;
12171
12781
  id?: string | undefined;
@@ -12203,16 +12813,16 @@ export declare const customDomainInsertSchema: z.ZodObject<{
12203
12813
  }, "strip", z.ZodTypeAny, {
12204
12814
  type: "auth0_managed_certs" | "self_managed_certs";
12205
12815
  domain: string;
12206
- custom_domain_id?: string | undefined;
12207
12816
  verification_method?: "txt" | undefined;
12817
+ custom_domain_id?: string | undefined;
12208
12818
  tls_policy?: "recommended" | undefined;
12209
12819
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12210
12820
  domain_metadata?: Record<string, string> | undefined;
12211
12821
  }, {
12212
12822
  type: "auth0_managed_certs" | "self_managed_certs";
12213
12823
  domain: string;
12214
- custom_domain_id?: string | undefined;
12215
12824
  verification_method?: "txt" | undefined;
12825
+ custom_domain_id?: string | undefined;
12216
12826
  tls_policy?: "recommended" | undefined;
12217
12827
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
12218
12828
  domain_metadata?: Record<string, string> | undefined;
@@ -33834,6 +34444,20 @@ export type UiScreen = z.infer<typeof uiScreenSchema>;
33834
34444
  export declare function isBlockComponent(component: FormNodeComponent): component is BlockComponent;
33835
34445
  export declare function isWidgetComponent(component: FormNodeComponent): component is WidgetComponent;
33836
34446
  export declare function isFieldComponent(component: FormNodeComponent): component is FieldComponent$1;
34447
+ export declare const hookTemplateId: z.ZodEnum<[
34448
+ "ensure-username",
34449
+ "set-preferred-username"
34450
+ ]>;
34451
+ export type HookTemplateId = z.infer<typeof hookTemplateId>;
34452
+ /**
34453
+ * Registry of available hook templates.
34454
+ * Maps template IDs to their metadata and allowed triggers.
34455
+ */
34456
+ export declare const hookTemplates: Record<HookTemplateId, {
34457
+ name: string;
34458
+ description: string;
34459
+ trigger_id: string;
34460
+ }>;
33837
34461
  export declare const hookInsertSchema: z.ZodUnion<[
33838
34462
  z.ZodObject<{
33839
34463
  trigger_id: z.ZodEnum<[
@@ -33851,8 +34475,8 @@ export declare const hookInsertSchema: z.ZodUnion<[
33851
34475
  hook_id: z.ZodOptional<z.ZodString>;
33852
34476
  }, "strip", z.ZodTypeAny, {
33853
34477
  url: string;
33854
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33855
34478
  enabled: boolean;
34479
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33856
34480
  synchronous: boolean;
33857
34481
  priority?: number | undefined;
33858
34482
  hook_id?: string | undefined;
@@ -33879,8 +34503,8 @@ export declare const hookInsertSchema: z.ZodUnion<[
33879
34503
  priority: z.ZodOptional<z.ZodNumber>;
33880
34504
  hook_id: z.ZodOptional<z.ZodString>;
33881
34505
  }, "strip", z.ZodTypeAny, {
33882
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33883
34506
  enabled: boolean;
34507
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33884
34508
  synchronous: boolean;
33885
34509
  form_id: string;
33886
34510
  priority?: number | undefined;
@@ -33892,6 +34516,34 @@ export declare const hookInsertSchema: z.ZodUnion<[
33892
34516
  synchronous?: boolean | undefined;
33893
34517
  priority?: number | undefined;
33894
34518
  hook_id?: string | undefined;
34519
+ }>,
34520
+ z.ZodObject<{
34521
+ trigger_id: z.ZodEnum<[
34522
+ "post-user-login",
34523
+ "credentials-exchange"
34524
+ ]>;
34525
+ template_id: z.ZodEnum<[
34526
+ "ensure-username",
34527
+ "set-preferred-username"
34528
+ ]>;
34529
+ enabled: z.ZodDefault<z.ZodBoolean>;
34530
+ synchronous: z.ZodDefault<z.ZodBoolean>;
34531
+ priority: z.ZodOptional<z.ZodNumber>;
34532
+ hook_id: z.ZodOptional<z.ZodString>;
34533
+ }, "strip", z.ZodTypeAny, {
34534
+ enabled: boolean;
34535
+ trigger_id: "post-user-login" | "credentials-exchange";
34536
+ synchronous: boolean;
34537
+ template_id: "ensure-username" | "set-preferred-username";
34538
+ priority?: number | undefined;
34539
+ hook_id?: string | undefined;
34540
+ }, {
34541
+ trigger_id: "post-user-login" | "credentials-exchange";
34542
+ template_id: "ensure-username" | "set-preferred-username";
34543
+ enabled?: boolean | undefined;
34544
+ synchronous?: boolean | undefined;
34545
+ priority?: number | undefined;
34546
+ hook_id?: string | undefined;
33895
34547
  }>
33896
34548
  ]>;
33897
34549
  export type HookInsert = z.infer<typeof hookInsertSchema>;
@@ -33916,8 +34568,8 @@ export declare const hookSchema: z.ZodUnion<[
33916
34568
  created_at: string;
33917
34569
  updated_at: string;
33918
34570
  url: string;
33919
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33920
34571
  enabled: boolean;
34572
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33921
34573
  synchronous: boolean;
33922
34574
  hook_id: string;
33923
34575
  priority?: number | undefined;
@@ -33950,8 +34602,8 @@ export declare const hookSchema: z.ZodUnion<[
33950
34602
  }, "strip", z.ZodTypeAny, {
33951
34603
  created_at: string;
33952
34604
  updated_at: string;
33953
- trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33954
34605
  enabled: boolean;
34606
+ trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
33955
34607
  synchronous: boolean;
33956
34608
  hook_id: string;
33957
34609
  form_id: string;
@@ -33965,6 +34617,40 @@ export declare const hookSchema: z.ZodUnion<[
33965
34617
  enabled?: boolean | undefined;
33966
34618
  synchronous?: boolean | undefined;
33967
34619
  priority?: number | undefined;
34620
+ }>,
34621
+ z.ZodObject<{
34622
+ hook_id: z.ZodString;
34623
+ template_id: z.ZodEnum<[
34624
+ "ensure-username",
34625
+ "set-preferred-username"
34626
+ ]>;
34627
+ created_at: z.ZodString;
34628
+ updated_at: z.ZodString;
34629
+ trigger_id: z.ZodEnum<[
34630
+ "post-user-login",
34631
+ "credentials-exchange"
34632
+ ]>;
34633
+ enabled: z.ZodDefault<z.ZodBoolean>;
34634
+ synchronous: z.ZodDefault<z.ZodBoolean>;
34635
+ priority: z.ZodOptional<z.ZodNumber>;
34636
+ }, "strip", z.ZodTypeAny, {
34637
+ created_at: string;
34638
+ updated_at: string;
34639
+ enabled: boolean;
34640
+ trigger_id: "post-user-login" | "credentials-exchange";
34641
+ synchronous: boolean;
34642
+ hook_id: string;
34643
+ template_id: "ensure-username" | "set-preferred-username";
34644
+ priority?: number | undefined;
34645
+ }, {
34646
+ created_at: string;
34647
+ updated_at: string;
34648
+ trigger_id: "post-user-login" | "credentials-exchange";
34649
+ hook_id: string;
34650
+ template_id: "ensure-username" | "set-preferred-username";
34651
+ enabled?: boolean | undefined;
34652
+ synchronous?: boolean | undefined;
34653
+ priority?: number | undefined;
33968
34654
  }>
33969
34655
  ]>;
33970
34656
  export type Hook = z.infer<typeof hookSchema>;
@@ -35586,21 +36272,21 @@ export declare const tenantInsertSchema: z.ZodObject<{
35586
36272
  enabled: z.ZodOptional<z.ZodBoolean>;
35587
36273
  html: z.ZodOptional<z.ZodString>;
35588
36274
  }, "strip", z.ZodTypeAny, {
35589
- html?: string | undefined;
35590
36275
  enabled?: boolean | undefined;
35591
- }, {
35592
36276
  html?: string | undefined;
36277
+ }, {
35593
36278
  enabled?: boolean | undefined;
36279
+ html?: string | undefined;
35594
36280
  }>>;
35595
36281
  guardian_mfa_page: z.ZodOptional<z.ZodObject<{
35596
36282
  enabled: z.ZodOptional<z.ZodBoolean>;
35597
36283
  html: z.ZodOptional<z.ZodString>;
35598
36284
  }, "strip", z.ZodTypeAny, {
35599
- html?: string | undefined;
35600
36285
  enabled?: boolean | undefined;
35601
- }, {
35602
36286
  html?: string | undefined;
36287
+ }, {
35603
36288
  enabled?: boolean | undefined;
36289
+ html?: string | undefined;
35604
36290
  }>>;
35605
36291
  device_flow: z.ZodOptional<z.ZodObject<{
35606
36292
  charset: z.ZodOptional<z.ZodEnum<[
@@ -35852,12 +36538,12 @@ export declare const tenantInsertSchema: z.ZodObject<{
35852
36538
  legacy_sandbox_version?: string | undefined;
35853
36539
  sandbox_versions_available?: string[] | undefined;
35854
36540
  change_password?: {
35855
- html?: string | undefined;
35856
36541
  enabled?: boolean | undefined;
36542
+ html?: string | undefined;
35857
36543
  } | undefined;
35858
36544
  guardian_mfa_page?: {
35859
- html?: string | undefined;
35860
36545
  enabled?: boolean | undefined;
36546
+ html?: string | undefined;
35861
36547
  } | undefined;
35862
36548
  device_flow?: {
35863
36549
  charset?: "base20" | "digits" | undefined;
@@ -35975,12 +36661,12 @@ export declare const tenantInsertSchema: z.ZodObject<{
35975
36661
  legacy_sandbox_version?: string | undefined;
35976
36662
  sandbox_versions_available?: string[] | undefined;
35977
36663
  change_password?: {
35978
- html?: string | undefined;
35979
36664
  enabled?: boolean | undefined;
36665
+ html?: string | undefined;
35980
36666
  } | undefined;
35981
36667
  guardian_mfa_page?: {
35982
- html?: string | undefined;
35983
36668
  enabled?: boolean | undefined;
36669
+ html?: string | undefined;
35984
36670
  } | undefined;
35985
36671
  device_flow?: {
35986
36672
  charset?: "base20" | "digits" | undefined;
@@ -36181,21 +36867,21 @@ export declare const tenantSchema: z.ZodObject<{
36181
36867
  enabled: z.ZodOptional<z.ZodBoolean>;
36182
36868
  html: z.ZodOptional<z.ZodString>;
36183
36869
  }, "strip", z.ZodTypeAny, {
36184
- html?: string | undefined;
36185
36870
  enabled?: boolean | undefined;
36186
- }, {
36187
36871
  html?: string | undefined;
36872
+ }, {
36188
36873
  enabled?: boolean | undefined;
36874
+ html?: string | undefined;
36189
36875
  }>>;
36190
36876
  guardian_mfa_page: z.ZodOptional<z.ZodObject<{
36191
36877
  enabled: z.ZodOptional<z.ZodBoolean>;
36192
36878
  html: z.ZodOptional<z.ZodString>;
36193
36879
  }, "strip", z.ZodTypeAny, {
36194
- html?: string | undefined;
36195
36880
  enabled?: boolean | undefined;
36196
- }, {
36197
36881
  html?: string | undefined;
36882
+ }, {
36198
36883
  enabled?: boolean | undefined;
36884
+ html?: string | undefined;
36199
36885
  }>>;
36200
36886
  device_flow: z.ZodOptional<z.ZodObject<{
36201
36887
  charset: z.ZodOptional<z.ZodEnum<[
@@ -36451,12 +37137,12 @@ export declare const tenantSchema: z.ZodObject<{
36451
37137
  legacy_sandbox_version?: string | undefined;
36452
37138
  sandbox_versions_available?: string[] | undefined;
36453
37139
  change_password?: {
36454
- html?: string | undefined;
36455
37140
  enabled?: boolean | undefined;
37141
+ html?: string | undefined;
36456
37142
  } | undefined;
36457
37143
  guardian_mfa_page?: {
36458
- html?: string | undefined;
36459
37144
  enabled?: boolean | undefined;
37145
+ html?: string | undefined;
36460
37146
  } | undefined;
36461
37147
  device_flow?: {
36462
37148
  charset?: "base20" | "digits" | undefined;
@@ -36576,12 +37262,12 @@ export declare const tenantSchema: z.ZodObject<{
36576
37262
  legacy_sandbox_version?: string | undefined;
36577
37263
  sandbox_versions_available?: string[] | undefined;
36578
37264
  change_password?: {
36579
- html?: string | undefined;
36580
37265
  enabled?: boolean | undefined;
37266
+ html?: string | undefined;
36581
37267
  } | undefined;
36582
37268
  guardian_mfa_page?: {
36583
- html?: string | undefined;
36584
37269
  enabled?: boolean | undefined;
37270
+ html?: string | undefined;
36585
37271
  } | undefined;
36586
37272
  device_flow?: {
36587
37273
  charset?: "base20" | "digits" | undefined;
@@ -39331,21 +40017,21 @@ export declare const tenantSettingsSchema: z.ZodObject<{
39331
40017
  enabled: z.ZodBoolean;
39332
40018
  html: z.ZodString;
39333
40019
  }, "strip", z.ZodTypeAny, {
39334
- html: string;
39335
40020
  enabled: boolean;
39336
- }, {
39337
40021
  html: string;
40022
+ }, {
39338
40023
  enabled: boolean;
40024
+ html: string;
39339
40025
  }>>;
39340
40026
  guardian_mfa_page: z.ZodOptional<z.ZodObject<{
39341
40027
  enabled: z.ZodBoolean;
39342
40028
  html: z.ZodString;
39343
40029
  }, "strip", z.ZodTypeAny, {
39344
- html: string;
39345
40030
  enabled: boolean;
39346
- }, {
39347
40031
  html: string;
40032
+ }, {
39348
40033
  enabled: boolean;
40034
+ html: string;
39349
40035
  }>>;
39350
40036
  default_audience: z.ZodOptional<z.ZodString>;
39351
40037
  default_organization: z.ZodOptional<z.ZodString>;
@@ -39513,12 +40199,12 @@ export declare const tenantSettingsSchema: z.ZodObject<{
39513
40199
  sandbox_version?: string | undefined;
39514
40200
  sandbox_versions_available?: string[] | undefined;
39515
40201
  change_password?: {
39516
- html: string;
39517
40202
  enabled: boolean;
40203
+ html: string;
39518
40204
  } | undefined;
39519
40205
  guardian_mfa_page?: {
39520
- html: string;
39521
40206
  enabled: boolean;
40207
+ html: string;
39522
40208
  } | undefined;
39523
40209
  default_audience?: string | undefined;
39524
40210
  sessions?: {
@@ -39594,12 +40280,12 @@ export declare const tenantSettingsSchema: z.ZodObject<{
39594
40280
  sandbox_version?: string | undefined;
39595
40281
  sandbox_versions_available?: string[] | undefined;
39596
40282
  change_password?: {
39597
- html: string;
39598
40283
  enabled: boolean;
40284
+ html: string;
39599
40285
  } | undefined;
39600
40286
  guardian_mfa_page?: {
39601
- html: string;
39602
40287
  enabled: boolean;
40288
+ html: string;
39603
40289
  } | undefined;
39604
40290
  default_audience?: string | undefined;
39605
40291
  sessions?: {