authhero 4.103.1 → 4.104.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.
@@ -531,6 +531,8 @@ export declare const auditEventInsertSchema: z.ZodObject<{
531
531
  connection: z.ZodOptional<z.ZodString>;
532
532
  strategy: z.ZodOptional<z.ZodString>;
533
533
  strategy_type: z.ZodOptional<z.ZodString>;
534
+ audience: z.ZodOptional<z.ZodString>;
535
+ scope: z.ZodOptional<z.ZodString>;
534
536
  location: z.ZodOptional<z.ZodObject<{
535
537
  country_code: z.ZodString;
536
538
  city_name: z.ZodString;
@@ -612,6 +614,8 @@ export declare const auditEventInsertSchema: z.ZodObject<{
612
614
  connection?: string | undefined;
613
615
  strategy?: string | undefined;
614
616
  strategy_type?: string | undefined;
617
+ audience?: string | undefined;
618
+ scope?: string | undefined;
615
619
  location?: {
616
620
  country_code: string;
617
621
  city_name: string;
@@ -669,6 +673,8 @@ export declare const auditEventInsertSchema: z.ZodObject<{
669
673
  connection?: string | undefined;
670
674
  strategy?: string | undefined;
671
675
  strategy_type?: string | undefined;
676
+ audience?: string | undefined;
677
+ scope?: string | undefined;
672
678
  location?: {
673
679
  country_code: string;
674
680
  city_name: string;
@@ -799,6 +805,8 @@ export declare const auditEventSchema: z.ZodObject<{
799
805
  connection: z.ZodOptional<z.ZodString>;
800
806
  strategy: z.ZodOptional<z.ZodString>;
801
807
  strategy_type: z.ZodOptional<z.ZodString>;
808
+ audience: z.ZodOptional<z.ZodString>;
809
+ scope: z.ZodOptional<z.ZodString>;
802
810
  location: z.ZodOptional<z.ZodObject<{
803
811
  country_code: z.ZodString;
804
812
  city_name: z.ZodString;
@@ -883,6 +891,8 @@ export declare const auditEventSchema: z.ZodObject<{
883
891
  connection?: string | undefined;
884
892
  strategy?: string | undefined;
885
893
  strategy_type?: string | undefined;
894
+ audience?: string | undefined;
895
+ scope?: string | undefined;
886
896
  location?: {
887
897
  country_code: string;
888
898
  city_name: string;
@@ -941,6 +951,8 @@ export declare const auditEventSchema: z.ZodObject<{
941
951
  connection?: string | undefined;
942
952
  strategy?: string | undefined;
943
953
  strategy_type?: string | undefined;
954
+ audience?: string | undefined;
955
+ scope?: string | undefined;
944
956
  location?: {
945
957
  country_code: string;
946
958
  city_name: string;
@@ -3082,6 +3094,13 @@ export declare const clientInsertSchema: z.ZodObject<{
3082
3094
  ]>>;
3083
3095
  par_request_expiry: z.ZodOptional<z.ZodNumber>;
3084
3096
  token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3097
+ owner_user_id: z.ZodOptional<z.ZodString>;
3098
+ registration_type: z.ZodOptional<z.ZodEnum<[
3099
+ "manual",
3100
+ "open_dcr",
3101
+ "iat_dcr"
3102
+ ]>>;
3103
+ registration_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3085
3104
  }, "strip", z.ZodTypeAny, {
3086
3105
  name: string;
3087
3106
  client_id: string;
@@ -3131,6 +3150,9 @@ export declare const clientInsertSchema: z.ZodObject<{
3131
3150
  compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
3132
3151
  par_request_expiry?: number | undefined;
3133
3152
  token_quota?: Record<string, any> | undefined;
3153
+ owner_user_id?: string | undefined;
3154
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
3155
+ registration_metadata?: Record<string, any> | undefined;
3134
3156
  }, {
3135
3157
  name: string;
3136
3158
  client_id: string;
@@ -3180,6 +3202,9 @@ export declare const clientInsertSchema: z.ZodObject<{
3180
3202
  compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
3181
3203
  par_request_expiry?: number | undefined;
3182
3204
  token_quota?: Record<string, any> | undefined;
3205
+ owner_user_id?: string | undefined;
3206
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
3207
+ registration_metadata?: Record<string, any> | undefined;
3183
3208
  }>;
3184
3209
  export type ClientInsert = z.input<typeof clientInsertSchema>;
3185
3210
  export declare const clientSchema: z.ZodObject<{
@@ -3275,6 +3300,13 @@ export declare const clientSchema: z.ZodObject<{
3275
3300
  ]>>;
3276
3301
  par_request_expiry: z.ZodOptional<z.ZodNumber>;
3277
3302
  token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3303
+ owner_user_id: z.ZodOptional<z.ZodString>;
3304
+ registration_type: z.ZodOptional<z.ZodEnum<[
3305
+ "manual",
3306
+ "open_dcr",
3307
+ "iat_dcr"
3308
+ ]>>;
3309
+ registration_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3278
3310
  created_at: z.ZodString;
3279
3311
  updated_at: z.ZodString;
3280
3312
  }, "strip", z.ZodTypeAny, {
@@ -3328,6 +3360,9 @@ export declare const clientSchema: z.ZodObject<{
3328
3360
  compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
3329
3361
  par_request_expiry?: number | undefined;
3330
3362
  token_quota?: Record<string, any> | undefined;
3363
+ owner_user_id?: string | undefined;
3364
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
3365
+ registration_metadata?: Record<string, any> | undefined;
3331
3366
  }, {
3332
3367
  created_at: string;
3333
3368
  updated_at: string;
@@ -3379,6 +3414,9 @@ export declare const clientSchema: z.ZodObject<{
3379
3414
  compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
3380
3415
  par_request_expiry?: number | undefined;
3381
3416
  token_quota?: Record<string, any> | undefined;
3417
+ owner_user_id?: string | undefined;
3418
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
3419
+ registration_metadata?: Record<string, any> | undefined;
3382
3420
  }>;
3383
3421
  export type Client = z.infer<typeof clientSchema>;
3384
3422
  export declare const clientGrantInsertSchema: z.ZodObject<{
@@ -3400,8 +3438,8 @@ export declare const clientGrantInsertSchema: z.ZodObject<{
3400
3438
  }, "strip", z.ZodTypeAny, {
3401
3439
  client_id: string;
3402
3440
  audience: string;
3403
- organization_usage?: "deny" | "allow" | "require" | undefined;
3404
3441
  scope?: string[] | undefined;
3442
+ organization_usage?: "deny" | "allow" | "require" | undefined;
3405
3443
  allow_any_organization?: boolean | undefined;
3406
3444
  is_system?: boolean | undefined;
3407
3445
  subject_type?: "user" | "client" | undefined;
@@ -3409,8 +3447,8 @@ export declare const clientGrantInsertSchema: z.ZodObject<{
3409
3447
  }, {
3410
3448
  client_id: string;
3411
3449
  audience: string;
3412
- organization_usage?: "deny" | "allow" | "require" | undefined;
3413
3450
  scope?: string[] | undefined;
3451
+ organization_usage?: "deny" | "allow" | "require" | undefined;
3414
3452
  allow_any_organization?: boolean | undefined;
3415
3453
  is_system?: boolean | undefined;
3416
3454
  subject_type?: "user" | "client" | undefined;
@@ -3442,8 +3480,8 @@ export declare const clientGrantSchema: z.ZodObject<{
3442
3480
  audience: string;
3443
3481
  created_at?: string | undefined;
3444
3482
  updated_at?: string | undefined;
3445
- organization_usage?: "deny" | "allow" | "require" | undefined;
3446
3483
  scope?: string[] | undefined;
3484
+ organization_usage?: "deny" | "allow" | "require" | undefined;
3447
3485
  allow_any_organization?: boolean | undefined;
3448
3486
  is_system?: boolean | undefined;
3449
3487
  subject_type?: "user" | "client" | undefined;
@@ -3454,8 +3492,8 @@ export declare const clientGrantSchema: z.ZodObject<{
3454
3492
  audience: string;
3455
3493
  created_at?: string | undefined;
3456
3494
  updated_at?: string | undefined;
3457
- organization_usage?: "deny" | "allow" | "require" | undefined;
3458
3495
  scope?: string[] | undefined;
3496
+ organization_usage?: "deny" | "allow" | "require" | undefined;
3459
3497
  allow_any_organization?: boolean | undefined;
3460
3498
  is_system?: boolean | undefined;
3461
3499
  subject_type?: "user" | "client" | undefined;
@@ -3487,8 +3525,8 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
3487
3525
  audience: string;
3488
3526
  created_at?: string | undefined;
3489
3527
  updated_at?: string | undefined;
3490
- organization_usage?: "deny" | "allow" | "require" | undefined;
3491
3528
  scope?: string[] | undefined;
3529
+ organization_usage?: "deny" | "allow" | "require" | undefined;
3492
3530
  allow_any_organization?: boolean | undefined;
3493
3531
  is_system?: boolean | undefined;
3494
3532
  subject_type?: "user" | "client" | undefined;
@@ -3499,14 +3537,92 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
3499
3537
  audience: string;
3500
3538
  created_at?: string | undefined;
3501
3539
  updated_at?: string | undefined;
3502
- organization_usage?: "deny" | "allow" | "require" | undefined;
3503
3540
  scope?: string[] | undefined;
3541
+ organization_usage?: "deny" | "allow" | "require" | undefined;
3504
3542
  allow_any_organization?: boolean | undefined;
3505
3543
  is_system?: boolean | undefined;
3506
3544
  subject_type?: "user" | "client" | undefined;
3507
3545
  authorization_details_types?: string[] | undefined;
3508
3546
  }>, "many">;
3509
3547
  export type ClientGrantList = z.infer<typeof clientGrantListSchema>;
3548
+ export declare const clientRegistrationTokenTypeSchema: z.ZodEnum<[
3549
+ "iat",
3550
+ "rat"
3551
+ ]>;
3552
+ export type ClientRegistrationTokenType = z.infer<typeof clientRegistrationTokenTypeSchema>;
3553
+ export declare const clientRegistrationTokenInsertSchema: z.ZodObject<{
3554
+ id: z.ZodString;
3555
+ token_hash: z.ZodString;
3556
+ type: z.ZodEnum<[
3557
+ "iat",
3558
+ "rat"
3559
+ ]>;
3560
+ client_id: z.ZodOptional<z.ZodString>;
3561
+ sub: z.ZodOptional<z.ZodString>;
3562
+ constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3563
+ single_use: z.ZodDefault<z.ZodBoolean>;
3564
+ expires_at: z.ZodOptional<z.ZodString>;
3565
+ }, "strip", z.ZodTypeAny, {
3566
+ type: "iat" | "rat";
3567
+ id: string;
3568
+ token_hash: string;
3569
+ single_use: boolean;
3570
+ client_id?: string | undefined;
3571
+ sub?: string | undefined;
3572
+ constraints?: Record<string, unknown> | undefined;
3573
+ expires_at?: string | undefined;
3574
+ }, {
3575
+ type: "iat" | "rat";
3576
+ id: string;
3577
+ token_hash: string;
3578
+ client_id?: string | undefined;
3579
+ sub?: string | undefined;
3580
+ constraints?: Record<string, unknown> | undefined;
3581
+ single_use?: boolean | undefined;
3582
+ expires_at?: string | undefined;
3583
+ }>;
3584
+ export type ClientRegistrationTokenInsert = z.infer<typeof clientRegistrationTokenInsertSchema>;
3585
+ export declare const clientRegistrationTokenSchema: z.ZodObject<{
3586
+ id: z.ZodString;
3587
+ token_hash: z.ZodString;
3588
+ type: z.ZodEnum<[
3589
+ "iat",
3590
+ "rat"
3591
+ ]>;
3592
+ client_id: z.ZodOptional<z.ZodString>;
3593
+ sub: z.ZodOptional<z.ZodString>;
3594
+ constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3595
+ single_use: z.ZodDefault<z.ZodBoolean>;
3596
+ expires_at: z.ZodOptional<z.ZodString>;
3597
+ created_at: z.ZodString;
3598
+ used_at: z.ZodOptional<z.ZodString>;
3599
+ revoked_at: z.ZodOptional<z.ZodString>;
3600
+ }, "strip", z.ZodTypeAny, {
3601
+ created_at: string;
3602
+ type: "iat" | "rat";
3603
+ id: string;
3604
+ token_hash: string;
3605
+ single_use: boolean;
3606
+ client_id?: string | undefined;
3607
+ sub?: string | undefined;
3608
+ constraints?: Record<string, unknown> | undefined;
3609
+ expires_at?: string | undefined;
3610
+ used_at?: string | undefined;
3611
+ revoked_at?: string | undefined;
3612
+ }, {
3613
+ created_at: string;
3614
+ type: "iat" | "rat";
3615
+ id: string;
3616
+ token_hash: string;
3617
+ client_id?: string | undefined;
3618
+ sub?: string | undefined;
3619
+ constraints?: Record<string, unknown> | undefined;
3620
+ single_use?: boolean | undefined;
3621
+ expires_at?: string | undefined;
3622
+ used_at?: string | undefined;
3623
+ revoked_at?: string | undefined;
3624
+ }>;
3625
+ export type ClientRegistrationToken = z.infer<typeof clientRegistrationTokenSchema>;
3510
3626
  /**
3511
3627
  * Types for Auth0 Form Flow components
3512
3628
  * Based on the actual structure used by Auth0 forms API
@@ -11208,9 +11324,9 @@ export declare const authParamsSchema: z.ZodObject<{
11208
11324
  vendor_id: z.ZodOptional<z.ZodString>;
11209
11325
  }, "strip", z.ZodTypeAny, {
11210
11326
  client_id: string;
11211
- username?: string | undefined;
11212
11327
  audience?: string | undefined;
11213
11328
  scope?: string | undefined;
11329
+ username?: string | undefined;
11214
11330
  act_as?: string | undefined;
11215
11331
  response_type?: AuthorizationResponseType | undefined;
11216
11332
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11227,9 +11343,9 @@ export declare const authParamsSchema: z.ZodObject<{
11227
11343
  vendor_id?: string | undefined;
11228
11344
  }, {
11229
11345
  client_id: string;
11230
- username?: string | undefined;
11231
11346
  audience?: string | undefined;
11232
11347
  scope?: string | undefined;
11348
+ username?: string | undefined;
11233
11349
  act_as?: string | undefined;
11234
11350
  response_type?: AuthorizationResponseType | undefined;
11235
11351
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11363,12 +11479,13 @@ export declare const codeInsertSchema: z.ZodObject<{
11363
11479
  used_at: z.ZodOptional<z.ZodString>;
11364
11480
  user_id: z.ZodOptional<z.ZodString>;
11365
11481
  }, "strip", z.ZodTypeAny, {
11482
+ expires_at: string;
11366
11483
  code_id: string;
11367
11484
  login_id: string;
11368
11485
  code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
11369
- expires_at: string;
11370
11486
  connection_id?: string | undefined;
11371
11487
  user_id?: string | undefined;
11488
+ used_at?: string | undefined;
11372
11489
  redirect_uri?: string | undefined;
11373
11490
  state?: string | undefined;
11374
11491
  nonce?: string | undefined;
@@ -11376,14 +11493,14 @@ export declare const codeInsertSchema: z.ZodObject<{
11376
11493
  code_challenge?: string | undefined;
11377
11494
  otp?: string | undefined;
11378
11495
  code_verifier?: string | undefined;
11379
- used_at?: string | undefined;
11380
11496
  }, {
11497
+ expires_at: string;
11381
11498
  code_id: string;
11382
11499
  login_id: string;
11383
11500
  code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
11384
- expires_at: string;
11385
11501
  connection_id?: string | undefined;
11386
11502
  user_id?: string | undefined;
11503
+ used_at?: string | undefined;
11387
11504
  redirect_uri?: string | undefined;
11388
11505
  state?: string | undefined;
11389
11506
  nonce?: string | undefined;
@@ -11391,7 +11508,6 @@ export declare const codeInsertSchema: z.ZodObject<{
11391
11508
  code_challenge?: string | undefined;
11392
11509
  otp?: string | undefined;
11393
11510
  code_verifier?: string | undefined;
11394
- used_at?: string | undefined;
11395
11511
  }>;
11396
11512
  export type CodeInsert = z.infer<typeof codeInsertSchema>;
11397
11513
  export declare const codeSchema: z.ZodObject<{
@@ -11423,12 +11539,13 @@ export declare const codeSchema: z.ZodObject<{
11423
11539
  user_id: z.ZodOptional<z.ZodString>;
11424
11540
  }, "strip", z.ZodTypeAny, {
11425
11541
  created_at: string;
11542
+ expires_at: string;
11426
11543
  code_id: string;
11427
11544
  login_id: string;
11428
11545
  code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
11429
- expires_at: string;
11430
11546
  connection_id?: string | undefined;
11431
11547
  user_id?: string | undefined;
11548
+ used_at?: string | undefined;
11432
11549
  redirect_uri?: string | undefined;
11433
11550
  state?: string | undefined;
11434
11551
  nonce?: string | undefined;
@@ -11436,15 +11553,15 @@ export declare const codeSchema: z.ZodObject<{
11436
11553
  code_challenge?: string | undefined;
11437
11554
  otp?: string | undefined;
11438
11555
  code_verifier?: string | undefined;
11439
- used_at?: string | undefined;
11440
11556
  }, {
11441
11557
  created_at: string;
11558
+ expires_at: string;
11442
11559
  code_id: string;
11443
11560
  login_id: string;
11444
11561
  code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
11445
- expires_at: string;
11446
11562
  connection_id?: string | undefined;
11447
11563
  user_id?: string | undefined;
11564
+ used_at?: string | undefined;
11448
11565
  redirect_uri?: string | undefined;
11449
11566
  state?: string | undefined;
11450
11567
  nonce?: string | undefined;
@@ -11452,7 +11569,6 @@ export declare const codeSchema: z.ZodObject<{
11452
11569
  code_challenge?: string | undefined;
11453
11570
  otp?: string | undefined;
11454
11571
  code_verifier?: string | undefined;
11455
- used_at?: string | undefined;
11456
11572
  }>;
11457
11573
  export type Code = z.infer<typeof codeSchema>;
11458
11574
  export declare const connectionOptionsSchema: z.ZodObject<{
@@ -11883,9 +11999,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
11883
11999
  } | undefined;
11884
12000
  } | undefined;
11885
12001
  client_id?: string | undefined;
12002
+ scope?: string | undefined;
11886
12003
  provider?: string | undefined;
11887
12004
  client_secret?: string | undefined;
11888
- scope?: string | undefined;
11889
12005
  kid?: string | undefined;
11890
12006
  team_id?: string | undefined;
11891
12007
  realms?: string | undefined;
@@ -11986,9 +12102,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
11986
12102
  } | undefined;
11987
12103
  } | undefined;
11988
12104
  client_id?: string | undefined;
12105
+ scope?: string | undefined;
11989
12106
  provider?: string | undefined;
11990
12107
  client_secret?: string | undefined;
11991
- scope?: string | undefined;
11992
12108
  kid?: string | undefined;
11993
12109
  team_id?: string | undefined;
11994
12110
  realms?: string | undefined;
@@ -12515,9 +12631,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
12515
12631
  } | undefined;
12516
12632
  } | undefined;
12517
12633
  client_id?: string | undefined;
12634
+ scope?: string | undefined;
12518
12635
  provider?: string | undefined;
12519
12636
  client_secret?: string | undefined;
12520
- scope?: string | undefined;
12521
12637
  kid?: string | undefined;
12522
12638
  team_id?: string | undefined;
12523
12639
  realms?: string | undefined;
@@ -12618,9 +12734,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
12618
12734
  } | undefined;
12619
12735
  } | undefined;
12620
12736
  client_id?: string | undefined;
12737
+ scope?: string | undefined;
12621
12738
  provider?: string | undefined;
12622
12739
  client_secret?: string | undefined;
12623
- scope?: string | undefined;
12624
12740
  kid?: string | undefined;
12625
12741
  team_id?: string | undefined;
12626
12742
  realms?: string | undefined;
@@ -12730,9 +12846,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
12730
12846
  } | undefined;
12731
12847
  } | undefined;
12732
12848
  client_id?: string | undefined;
12849
+ scope?: string | undefined;
12733
12850
  provider?: string | undefined;
12734
12851
  client_secret?: string | undefined;
12735
- scope?: string | undefined;
12736
12852
  kid?: string | undefined;
12737
12853
  team_id?: string | undefined;
12738
12854
  realms?: string | undefined;
@@ -12848,9 +12964,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
12848
12964
  } | undefined;
12849
12965
  } | undefined;
12850
12966
  client_id?: string | undefined;
12967
+ scope?: string | undefined;
12851
12968
  provider?: string | undefined;
12852
12969
  client_secret?: string | undefined;
12853
- scope?: string | undefined;
12854
12970
  kid?: string | undefined;
12855
12971
  team_id?: string | undefined;
12856
12972
  realms?: string | undefined;
@@ -13391,9 +13507,9 @@ export declare const connectionSchema: z.ZodObject<{
13391
13507
  } | undefined;
13392
13508
  } | undefined;
13393
13509
  client_id?: string | undefined;
13510
+ scope?: string | undefined;
13394
13511
  provider?: string | undefined;
13395
13512
  client_secret?: string | undefined;
13396
- scope?: string | undefined;
13397
13513
  kid?: string | undefined;
13398
13514
  team_id?: string | undefined;
13399
13515
  realms?: string | undefined;
@@ -13494,9 +13610,9 @@ export declare const connectionSchema: z.ZodObject<{
13494
13610
  } | undefined;
13495
13611
  } | undefined;
13496
13612
  client_id?: string | undefined;
13613
+ scope?: string | undefined;
13497
13614
  provider?: string | undefined;
13498
13615
  client_secret?: string | undefined;
13499
- scope?: string | undefined;
13500
13616
  kid?: string | undefined;
13501
13617
  team_id?: string | undefined;
13502
13618
  realms?: string | undefined;
@@ -13608,9 +13724,9 @@ export declare const connectionSchema: z.ZodObject<{
13608
13724
  } | undefined;
13609
13725
  } | undefined;
13610
13726
  client_id?: string | undefined;
13727
+ scope?: string | undefined;
13611
13728
  provider?: string | undefined;
13612
13729
  client_secret?: string | undefined;
13613
- scope?: string | undefined;
13614
13730
  kid?: string | undefined;
13615
13731
  team_id?: string | undefined;
13616
13732
  realms?: string | undefined;
@@ -13728,9 +13844,9 @@ export declare const connectionSchema: z.ZodObject<{
13728
13844
  } | undefined;
13729
13845
  } | undefined;
13730
13846
  client_id?: string | undefined;
13847
+ scope?: string | undefined;
13731
13848
  provider?: string | undefined;
13732
13849
  client_secret?: string | undefined;
13733
- scope?: string | undefined;
13734
13850
  kid?: string | undefined;
13735
13851
  team_id?: string | undefined;
13736
13852
  realms?: string | undefined;
@@ -42915,7 +43031,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
42915
43031
  userinfo_endpoint: z.ZodString;
42916
43032
  mfa_challenge_endpoint: z.ZodString;
42917
43033
  jwks_uri: z.ZodString;
42918
- registration_endpoint: z.ZodString;
43034
+ registration_endpoint: z.ZodOptional<z.ZodString>;
42919
43035
  revocation_endpoint: z.ZodString;
42920
43036
  scopes_supported: z.ZodArray<z.ZodString, "many">;
42921
43037
  response_types_supported: z.ZodArray<z.ZodString, "many">;
@@ -42936,7 +43052,6 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
42936
43052
  issuer: string;
42937
43053
  device_authorization_endpoint: string;
42938
43054
  mfa_challenge_endpoint: string;
42939
- registration_endpoint: string;
42940
43055
  revocation_endpoint: string;
42941
43056
  scopes_supported: string[];
42942
43057
  response_types_supported: string[];
@@ -42949,6 +43064,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
42949
43064
  request_uri_parameter_supported: boolean;
42950
43065
  request_parameter_supported: boolean;
42951
43066
  token_endpoint_auth_signing_alg_values_supported: string[];
43067
+ registration_endpoint?: string | undefined;
42952
43068
  }, {
42953
43069
  authorization_endpoint: string;
42954
43070
  token_endpoint: string;
@@ -42957,7 +43073,6 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
42957
43073
  issuer: string;
42958
43074
  device_authorization_endpoint: string;
42959
43075
  mfa_challenge_endpoint: string;
42960
- registration_endpoint: string;
42961
43076
  revocation_endpoint: string;
42962
43077
  scopes_supported: string[];
42963
43078
  response_types_supported: string[];
@@ -42970,6 +43085,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
42970
43085
  request_uri_parameter_supported: boolean;
42971
43086
  request_parameter_supported: boolean;
42972
43087
  token_endpoint_auth_signing_alg_values_supported: string[];
43088
+ registration_endpoint?: string | undefined;
42973
43089
  }>;
42974
43090
  export interface ListParams {
42975
43091
  page?: number;
@@ -43046,9 +43162,9 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
43046
43162
  vendor_id: z.ZodOptional<z.ZodString>;
43047
43163
  }, "strip", z.ZodTypeAny, {
43048
43164
  client_id: string;
43049
- username?: string | undefined;
43050
43165
  audience?: string | undefined;
43051
43166
  scope?: string | undefined;
43167
+ username?: string | undefined;
43052
43168
  act_as?: string | undefined;
43053
43169
  response_type?: AuthorizationResponseType | undefined;
43054
43170
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43065,9 +43181,9 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
43065
43181
  vendor_id?: string | undefined;
43066
43182
  }, {
43067
43183
  client_id: string;
43068
- username?: string | undefined;
43069
43184
  audience?: string | undefined;
43070
43185
  scope?: string | undefined;
43186
+ username?: string | undefined;
43071
43187
  act_as?: string | undefined;
43072
43188
  response_type?: AuthorizationResponseType | undefined;
43073
43189
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43106,14 +43222,14 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
43106
43222
  }>>;
43107
43223
  authenticated_at: z.ZodOptional<z.ZodString>;
43108
43224
  }, "strip", z.ZodTypeAny, {
43109
- state: LoginSessionState;
43110
43225
  expires_at: string;
43226
+ state: LoginSessionState;
43111
43227
  csrf_token: string;
43112
43228
  authParams: {
43113
43229
  client_id: string;
43114
- username?: string | undefined;
43115
43230
  audience?: string | undefined;
43116
43231
  scope?: string | undefined;
43232
+ username?: string | undefined;
43117
43233
  act_as?: string | undefined;
43118
43234
  response_type?: AuthorizationResponseType | undefined;
43119
43235
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43149,9 +43265,9 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
43149
43265
  csrf_token: string;
43150
43266
  authParams: {
43151
43267
  client_id: string;
43152
- username?: string | undefined;
43153
43268
  audience?: string | undefined;
43154
43269
  scope?: string | undefined;
43270
+ username?: string | undefined;
43155
43271
  act_as?: string | undefined;
43156
43272
  response_type?: AuthorizationResponseType | undefined;
43157
43273
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43212,9 +43328,9 @@ export declare const loginSessionSchema: z.ZodObject<{
43212
43328
  vendor_id: z.ZodOptional<z.ZodString>;
43213
43329
  }, "strip", z.ZodTypeAny, {
43214
43330
  client_id: string;
43215
- username?: string | undefined;
43216
43331
  audience?: string | undefined;
43217
43332
  scope?: string | undefined;
43333
+ username?: string | undefined;
43218
43334
  act_as?: string | undefined;
43219
43335
  response_type?: AuthorizationResponseType | undefined;
43220
43336
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43231,9 +43347,9 @@ export declare const loginSessionSchema: z.ZodObject<{
43231
43347
  vendor_id?: string | undefined;
43232
43348
  }, {
43233
43349
  client_id: string;
43234
- username?: string | undefined;
43235
43350
  audience?: string | undefined;
43236
43351
  scope?: string | undefined;
43352
+ username?: string | undefined;
43237
43353
  act_as?: string | undefined;
43238
43354
  response_type?: AuthorizationResponseType | undefined;
43239
43355
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43275,14 +43391,14 @@ export declare const loginSessionSchema: z.ZodObject<{
43275
43391
  created_at: string;
43276
43392
  updated_at: string;
43277
43393
  id: string;
43278
- state: LoginSessionState;
43279
43394
  expires_at: string;
43395
+ state: LoginSessionState;
43280
43396
  csrf_token: string;
43281
43397
  authParams: {
43282
43398
  client_id: string;
43283
- username?: string | undefined;
43284
43399
  audience?: string | undefined;
43285
43400
  scope?: string | undefined;
43401
+ username?: string | undefined;
43286
43402
  act_as?: string | undefined;
43287
43403
  response_type?: AuthorizationResponseType | undefined;
43288
43404
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43321,9 +43437,9 @@ export declare const loginSessionSchema: z.ZodObject<{
43321
43437
  csrf_token: string;
43322
43438
  authParams: {
43323
43439
  client_id: string;
43324
- username?: string | undefined;
43325
43440
  audience?: string | undefined;
43326
43441
  scope?: string | undefined;
43442
+ username?: string | undefined;
43327
43443
  act_as?: string | undefined;
43328
43444
  response_type?: AuthorizationResponseType | undefined;
43329
43445
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43634,6 +43750,8 @@ export declare const logInsertSchema: z.ZodObject<{
43634
43750
  connection?: string | undefined;
43635
43751
  strategy?: string | undefined;
43636
43752
  strategy_type?: string | undefined;
43753
+ audience?: string | undefined;
43754
+ scope?: string | undefined;
43637
43755
  auth0_client?: {
43638
43756
  version: string;
43639
43757
  name: string;
@@ -43644,8 +43762,6 @@ export declare const logInsertSchema: z.ZodObject<{
43644
43762
  hostname?: string | undefined;
43645
43763
  connection_id?: string | undefined;
43646
43764
  user_id?: string | undefined;
43647
- audience?: string | undefined;
43648
- scope?: string | undefined;
43649
43765
  details?: any;
43650
43766
  user_name?: string | undefined;
43651
43767
  client_name?: string | undefined;
@@ -43669,6 +43785,8 @@ export declare const logInsertSchema: z.ZodObject<{
43669
43785
  connection?: string | undefined;
43670
43786
  strategy?: string | undefined;
43671
43787
  strategy_type?: string | undefined;
43788
+ audience?: string | undefined;
43789
+ scope?: string | undefined;
43672
43790
  auth0_client?: {
43673
43791
  version: string;
43674
43792
  name: string;
@@ -43679,8 +43797,6 @@ export declare const logInsertSchema: z.ZodObject<{
43679
43797
  hostname?: string | undefined;
43680
43798
  connection_id?: string | undefined;
43681
43799
  user_id?: string | undefined;
43682
- audience?: string | undefined;
43683
- scope?: string | undefined;
43684
43800
  details?: any;
43685
43801
  user_name?: string | undefined;
43686
43802
  client_name?: string | undefined;
@@ -43772,6 +43888,8 @@ export declare const logSchema: z.ZodObject<{
43772
43888
  connection?: string | undefined;
43773
43889
  strategy?: string | undefined;
43774
43890
  strategy_type?: string | undefined;
43891
+ audience?: string | undefined;
43892
+ scope?: string | undefined;
43775
43893
  auth0_client?: {
43776
43894
  version: string;
43777
43895
  name: string;
@@ -43782,8 +43900,6 @@ export declare const logSchema: z.ZodObject<{
43782
43900
  hostname?: string | undefined;
43783
43901
  connection_id?: string | undefined;
43784
43902
  user_id?: string | undefined;
43785
- audience?: string | undefined;
43786
- scope?: string | undefined;
43787
43903
  details?: any;
43788
43904
  user_name?: string | undefined;
43789
43905
  client_name?: string | undefined;
@@ -43807,6 +43923,8 @@ export declare const logSchema: z.ZodObject<{
43807
43923
  connection?: string | undefined;
43808
43924
  strategy?: string | undefined;
43809
43925
  strategy_type?: string | undefined;
43926
+ audience?: string | undefined;
43927
+ scope?: string | undefined;
43810
43928
  auth0_client?: {
43811
43929
  version: string;
43812
43930
  name: string;
@@ -43817,8 +43935,6 @@ export declare const logSchema: z.ZodObject<{
43817
43935
  hostname?: string | undefined;
43818
43936
  connection_id?: string | undefined;
43819
43937
  user_id?: string | undefined;
43820
- audience?: string | undefined;
43821
- scope?: string | undefined;
43822
43938
  details?: any;
43823
43939
  user_name?: string | undefined;
43824
43940
  client_name?: string | undefined;
@@ -44139,6 +44255,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
44139
44255
  enable_client_connections: z.ZodOptional<z.ZodBoolean>;
44140
44256
  enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
44141
44257
  enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
44258
+ dcr_require_initial_access_token: z.ZodOptional<z.ZodBoolean>;
44259
+ dcr_allowed_grant_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44260
+ dcr_allowed_integration_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44142
44261
  enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
44143
44262
  enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
44144
44263
  enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
@@ -44173,6 +44292,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
44173
44292
  enable_client_connections?: boolean | undefined;
44174
44293
  enable_custom_domain_in_emails?: boolean | undefined;
44175
44294
  enable_dynamic_client_registration?: boolean | undefined;
44295
+ dcr_require_initial_access_token?: boolean | undefined;
44296
+ dcr_allowed_grant_types?: string[] | undefined;
44297
+ dcr_allowed_integration_types?: string[] | undefined;
44176
44298
  enable_idtoken_api2?: boolean | undefined;
44177
44299
  enable_legacy_logs_search_v2?: boolean | undefined;
44178
44300
  enable_legacy_profile?: boolean | undefined;
@@ -44207,6 +44329,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
44207
44329
  enable_client_connections?: boolean | undefined;
44208
44330
  enable_custom_domain_in_emails?: boolean | undefined;
44209
44331
  enable_dynamic_client_registration?: boolean | undefined;
44332
+ dcr_require_initial_access_token?: boolean | undefined;
44333
+ dcr_allowed_grant_types?: string[] | undefined;
44334
+ dcr_allowed_integration_types?: string[] | undefined;
44210
44335
  enable_idtoken_api2?: boolean | undefined;
44211
44336
  enable_legacy_logs_search_v2?: boolean | undefined;
44212
44337
  enable_legacy_profile?: boolean | undefined;
@@ -44482,6 +44607,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
44482
44607
  enable_client_connections?: boolean | undefined;
44483
44608
  enable_custom_domain_in_emails?: boolean | undefined;
44484
44609
  enable_dynamic_client_registration?: boolean | undefined;
44610
+ dcr_require_initial_access_token?: boolean | undefined;
44611
+ dcr_allowed_grant_types?: string[] | undefined;
44612
+ dcr_allowed_integration_types?: string[] | undefined;
44485
44613
  enable_idtoken_api2?: boolean | undefined;
44486
44614
  enable_legacy_logs_search_v2?: boolean | undefined;
44487
44615
  enable_legacy_profile?: boolean | undefined;
@@ -44606,6 +44734,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
44606
44734
  enable_client_connections?: boolean | undefined;
44607
44735
  enable_custom_domain_in_emails?: boolean | undefined;
44608
44736
  enable_dynamic_client_registration?: boolean | undefined;
44737
+ dcr_require_initial_access_token?: boolean | undefined;
44738
+ dcr_allowed_grant_types?: string[] | undefined;
44739
+ dcr_allowed_integration_types?: string[] | undefined;
44609
44740
  enable_idtoken_api2?: boolean | undefined;
44610
44741
  enable_legacy_logs_search_v2?: boolean | undefined;
44611
44742
  enable_legacy_profile?: boolean | undefined;
@@ -44742,6 +44873,9 @@ export declare const tenantSchema: z.ZodObject<{
44742
44873
  enable_client_connections: z.ZodOptional<z.ZodBoolean>;
44743
44874
  enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
44744
44875
  enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
44876
+ dcr_require_initial_access_token: z.ZodOptional<z.ZodBoolean>;
44877
+ dcr_allowed_grant_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44878
+ dcr_allowed_integration_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44745
44879
  enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
44746
44880
  enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
44747
44881
  enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
@@ -44776,6 +44910,9 @@ export declare const tenantSchema: z.ZodObject<{
44776
44910
  enable_client_connections?: boolean | undefined;
44777
44911
  enable_custom_domain_in_emails?: boolean | undefined;
44778
44912
  enable_dynamic_client_registration?: boolean | undefined;
44913
+ dcr_require_initial_access_token?: boolean | undefined;
44914
+ dcr_allowed_grant_types?: string[] | undefined;
44915
+ dcr_allowed_integration_types?: string[] | undefined;
44779
44916
  enable_idtoken_api2?: boolean | undefined;
44780
44917
  enable_legacy_logs_search_v2?: boolean | undefined;
44781
44918
  enable_legacy_profile?: boolean | undefined;
@@ -44810,6 +44947,9 @@ export declare const tenantSchema: z.ZodObject<{
44810
44947
  enable_client_connections?: boolean | undefined;
44811
44948
  enable_custom_domain_in_emails?: boolean | undefined;
44812
44949
  enable_dynamic_client_registration?: boolean | undefined;
44950
+ dcr_require_initial_access_token?: boolean | undefined;
44951
+ dcr_allowed_grant_types?: string[] | undefined;
44952
+ dcr_allowed_integration_types?: string[] | undefined;
44813
44953
  enable_idtoken_api2?: boolean | undefined;
44814
44954
  enable_legacy_logs_search_v2?: boolean | undefined;
44815
44955
  enable_legacy_profile?: boolean | undefined;
@@ -45089,6 +45229,9 @@ export declare const tenantSchema: z.ZodObject<{
45089
45229
  enable_client_connections?: boolean | undefined;
45090
45230
  enable_custom_domain_in_emails?: boolean | undefined;
45091
45231
  enable_dynamic_client_registration?: boolean | undefined;
45232
+ dcr_require_initial_access_token?: boolean | undefined;
45233
+ dcr_allowed_grant_types?: string[] | undefined;
45234
+ dcr_allowed_integration_types?: string[] | undefined;
45092
45235
  enable_idtoken_api2?: boolean | undefined;
45093
45236
  enable_legacy_logs_search_v2?: boolean | undefined;
45094
45237
  enable_legacy_profile?: boolean | undefined;
@@ -45215,6 +45358,9 @@ export declare const tenantSchema: z.ZodObject<{
45215
45358
  enable_client_connections?: boolean | undefined;
45216
45359
  enable_custom_domain_in_emails?: boolean | undefined;
45217
45360
  enable_dynamic_client_registration?: boolean | undefined;
45361
+ dcr_require_initial_access_token?: boolean | undefined;
45362
+ dcr_allowed_grant_types?: string[] | undefined;
45363
+ dcr_allowed_integration_types?: string[] | undefined;
45218
45364
  enable_idtoken_api2?: boolean | undefined;
45219
45365
  enable_legacy_logs_search_v2?: boolean | undefined;
45220
45366
  enable_legacy_profile?: boolean | undefined;
@@ -45314,16 +45460,16 @@ export declare const tokenResponseSchema: z.ZodObject<{
45314
45460
  access_token: string;
45315
45461
  token_type: string;
45316
45462
  expires_in: number;
45317
- refresh_token?: string | undefined;
45318
45463
  scope?: string | undefined;
45464
+ refresh_token?: string | undefined;
45319
45465
  id_token?: string | undefined;
45320
45466
  state?: string | undefined;
45321
45467
  }, {
45322
45468
  access_token: string;
45323
45469
  token_type: string;
45324
45470
  expires_in: number;
45325
- refresh_token?: string | undefined;
45326
45471
  scope?: string | undefined;
45472
+ refresh_token?: string | undefined;
45327
45473
  id_token?: string | undefined;
45328
45474
  state?: string | undefined;
45329
45475
  }>;
@@ -48741,6 +48887,7 @@ export interface IdentifierConfig {
48741
48887
  * options.attributes.username.validation.{min_length,max_length}
48742
48888
  */
48743
48889
  export declare function getConnectionIdentifierConfig(connection: ConnectionLike | null | undefined): IdentifierConfig;
48890
+ export declare function isPlainObject(value: unknown): value is Record<string, unknown>;
48744
48891
  export interface ListActionsResponse extends Totals {
48745
48892
  actions: Action[];
48746
48893
  }
@@ -48854,6 +49001,16 @@ export interface ClientGrantsAdapter {
48854
49001
  update(tenant_id: string, id: string, clientGrant: Partial<ClientGrantInsert>): Promise<boolean>;
48855
49002
  remove(tenant_id: string, id: string): Promise<boolean>;
48856
49003
  }
49004
+ export interface ClientRegistrationTokensAdapter {
49005
+ create: (tenant_id: string, token: ClientRegistrationTokenInsert) => Promise<ClientRegistrationToken>;
49006
+ get: (tenant_id: string, id: string) => Promise<ClientRegistrationToken | null>;
49007
+ getByHash: (tenant_id: string, token_hash: string) => Promise<ClientRegistrationToken | null>;
49008
+ listByClient: (tenant_id: string, client_id: string) => Promise<ClientRegistrationToken[]>;
49009
+ markUsed: (tenant_id: string, id: string, used_at: string) => Promise<boolean>;
49010
+ revoke: (tenant_id: string, id: string, revoked_at: string) => Promise<boolean>;
49011
+ revokeByClient: (tenant_id: string, client_id: string, revoked_at: string) => Promise<number>;
49012
+ remove: (tenant_id: string, id: string) => Promise<boolean>;
49013
+ }
48857
49014
  export interface ListCodesResponse extends Totals {
48858
49015
  codes: Code[];
48859
49016
  }
@@ -49001,11 +49158,23 @@ export interface EmailProvidersAdapter {
49001
49158
  export interface ListRefreshTokenResponse extends Totals {
49002
49159
  refresh_tokens: RefreshToken[];
49003
49160
  }
49161
+ export interface UpdateRefreshTokenOptions {
49162
+ /**
49163
+ * When provided, the adapter also extends the parent login_session's
49164
+ * `expires_at` to `expires_at` (only if the current value is smaller).
49165
+ * The caller is expected to compute the new expiry so the adapter can
49166
+ * avoid a read-before-write and parallelise the two UPDATEs.
49167
+ */
49168
+ loginSessionBump?: {
49169
+ login_id: string;
49170
+ expires_at: string;
49171
+ };
49172
+ }
49004
49173
  export interface RefreshTokensAdapter {
49005
49174
  create: (tenant_id: string, refresh_token: RefreshTokenInsert) => Promise<RefreshToken>;
49006
49175
  get: (tenant_id: string, id: string) => Promise<RefreshToken | null>;
49007
49176
  list(tenant_id: string, params?: ListParams): Promise<ListRefreshTokenResponse>;
49008
- update: (tenant_id: string, id: string, refresh_token: Partial<RefreshToken>) => Promise<boolean>;
49177
+ update: (tenant_id: string, id: string, refresh_token: Partial<RefreshToken>, options?: UpdateRefreshTokenOptions) => Promise<boolean>;
49009
49178
  remove: (tenant_id: string, id: string) => Promise<boolean>;
49010
49179
  revokeByLoginSession: (tenant_id: string, login_session_id: string, revoked_at: string) => Promise<number>;
49011
49180
  }
@@ -49304,6 +49473,7 @@ export interface DataAdapters {
49304
49473
  clients: ClientsAdapter;
49305
49474
  clientConnections: ClientConnectionsAdapter;
49306
49475
  clientGrants: ClientGrantsAdapter;
49476
+ clientRegistrationTokens?: ClientRegistrationTokensAdapter;
49307
49477
  codes: CodesAdapter;
49308
49478
  connections: ConnectionsAdapter;
49309
49479
  customDomains: CustomDomainsAdapter;
@@ -49493,6 +49663,9 @@ declare const enrichedClientSchema: z.ZodObject<{
49493
49663
  enable_client_connections: z.ZodOptional<z.ZodBoolean>;
49494
49664
  enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
49495
49665
  enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
49666
+ dcr_require_initial_access_token: z.ZodOptional<z.ZodBoolean>;
49667
+ dcr_allowed_grant_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
49668
+ dcr_allowed_integration_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
49496
49669
  enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
49497
49670
  enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
49498
49671
  enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
@@ -49527,6 +49700,9 @@ declare const enrichedClientSchema: z.ZodObject<{
49527
49700
  enable_client_connections?: boolean | undefined;
49528
49701
  enable_custom_domain_in_emails?: boolean | undefined;
49529
49702
  enable_dynamic_client_registration?: boolean | undefined;
49703
+ dcr_require_initial_access_token?: boolean | undefined;
49704
+ dcr_allowed_grant_types?: string[] | undefined;
49705
+ dcr_allowed_integration_types?: string[] | undefined;
49530
49706
  enable_idtoken_api2?: boolean | undefined;
49531
49707
  enable_legacy_logs_search_v2?: boolean | undefined;
49532
49708
  enable_legacy_profile?: boolean | undefined;
@@ -49561,6 +49737,9 @@ declare const enrichedClientSchema: z.ZodObject<{
49561
49737
  enable_client_connections?: boolean | undefined;
49562
49738
  enable_custom_domain_in_emails?: boolean | undefined;
49563
49739
  enable_dynamic_client_registration?: boolean | undefined;
49740
+ dcr_require_initial_access_token?: boolean | undefined;
49741
+ dcr_allowed_grant_types?: string[] | undefined;
49742
+ dcr_allowed_integration_types?: string[] | undefined;
49564
49743
  enable_idtoken_api2?: boolean | undefined;
49565
49744
  enable_legacy_logs_search_v2?: boolean | undefined;
49566
49745
  enable_legacy_profile?: boolean | undefined;
@@ -49840,6 +50019,9 @@ declare const enrichedClientSchema: z.ZodObject<{
49840
50019
  enable_client_connections?: boolean | undefined;
49841
50020
  enable_custom_domain_in_emails?: boolean | undefined;
49842
50021
  enable_dynamic_client_registration?: boolean | undefined;
50022
+ dcr_require_initial_access_token?: boolean | undefined;
50023
+ dcr_allowed_grant_types?: string[] | undefined;
50024
+ dcr_allowed_integration_types?: string[] | undefined;
49843
50025
  enable_idtoken_api2?: boolean | undefined;
49844
50026
  enable_legacy_logs_search_v2?: boolean | undefined;
49845
50027
  enable_legacy_profile?: boolean | undefined;
@@ -49966,6 +50148,9 @@ declare const enrichedClientSchema: z.ZodObject<{
49966
50148
  enable_client_connections?: boolean | undefined;
49967
50149
  enable_custom_domain_in_emails?: boolean | undefined;
49968
50150
  enable_dynamic_client_registration?: boolean | undefined;
50151
+ dcr_require_initial_access_token?: boolean | undefined;
50152
+ dcr_allowed_grant_types?: string[] | undefined;
50153
+ dcr_allowed_integration_types?: string[] | undefined;
49969
50154
  enable_idtoken_api2?: boolean | undefined;
49970
50155
  enable_legacy_logs_search_v2?: boolean | undefined;
49971
50156
  enable_legacy_profile?: boolean | undefined;
@@ -50480,9 +50665,9 @@ declare const enrichedClientSchema: z.ZodObject<{
50480
50665
  } | undefined;
50481
50666
  } | undefined;
50482
50667
  client_id?: string | undefined;
50668
+ scope?: string | undefined;
50483
50669
  provider?: string | undefined;
50484
50670
  client_secret?: string | undefined;
50485
- scope?: string | undefined;
50486
50671
  kid?: string | undefined;
50487
50672
  team_id?: string | undefined;
50488
50673
  realms?: string | undefined;
@@ -50583,9 +50768,9 @@ declare const enrichedClientSchema: z.ZodObject<{
50583
50768
  } | undefined;
50584
50769
  } | undefined;
50585
50770
  client_id?: string | undefined;
50771
+ scope?: string | undefined;
50586
50772
  provider?: string | undefined;
50587
50773
  client_secret?: string | undefined;
50588
- scope?: string | undefined;
50589
50774
  kid?: string | undefined;
50590
50775
  team_id?: string | undefined;
50591
50776
  realms?: string | undefined;
@@ -50697,9 +50882,9 @@ declare const enrichedClientSchema: z.ZodObject<{
50697
50882
  } | undefined;
50698
50883
  } | undefined;
50699
50884
  client_id?: string | undefined;
50885
+ scope?: string | undefined;
50700
50886
  provider?: string | undefined;
50701
50887
  client_secret?: string | undefined;
50702
- scope?: string | undefined;
50703
50888
  kid?: string | undefined;
50704
50889
  team_id?: string | undefined;
50705
50890
  realms?: string | undefined;
@@ -50817,9 +51002,9 @@ declare const enrichedClientSchema: z.ZodObject<{
50817
51002
  } | undefined;
50818
51003
  } | undefined;
50819
51004
  client_id?: string | undefined;
51005
+ scope?: string | undefined;
50820
51006
  provider?: string | undefined;
50821
51007
  client_secret?: string | undefined;
50822
- scope?: string | undefined;
50823
51008
  kid?: string | undefined;
50824
51009
  team_id?: string | undefined;
50825
51010
  realms?: string | undefined;
@@ -51014,6 +51199,13 @@ declare const enrichedClientSchema: z.ZodObject<{
51014
51199
  ]>>;
51015
51200
  par_request_expiry: z.ZodOptional<z.ZodNumber>;
51016
51201
  token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
51202
+ owner_user_id: z.ZodOptional<z.ZodString>;
51203
+ registration_type: z.ZodOptional<z.ZodEnum<[
51204
+ "manual",
51205
+ "open_dcr",
51206
+ "iat_dcr"
51207
+ ]>>;
51208
+ registration_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
51017
51209
  created_at: z.ZodString;
51018
51210
  updated_at: z.ZodString;
51019
51211
  }, "strip", z.ZodTypeAny, {
@@ -51067,6 +51259,9 @@ declare const enrichedClientSchema: z.ZodObject<{
51067
51259
  enable_client_connections?: boolean | undefined;
51068
51260
  enable_custom_domain_in_emails?: boolean | undefined;
51069
51261
  enable_dynamic_client_registration?: boolean | undefined;
51262
+ dcr_require_initial_access_token?: boolean | undefined;
51263
+ dcr_allowed_grant_types?: string[] | undefined;
51264
+ dcr_allowed_integration_types?: string[] | undefined;
51070
51265
  enable_idtoken_api2?: boolean | undefined;
51071
51266
  enable_legacy_logs_search_v2?: boolean | undefined;
51072
51267
  enable_legacy_profile?: boolean | undefined;
@@ -51156,9 +51351,9 @@ declare const enrichedClientSchema: z.ZodObject<{
51156
51351
  } | undefined;
51157
51352
  } | undefined;
51158
51353
  client_id?: string | undefined;
51354
+ scope?: string | undefined;
51159
51355
  provider?: string | undefined;
51160
51356
  client_secret?: string | undefined;
51161
- scope?: string | undefined;
51162
51357
  kid?: string | undefined;
51163
51358
  team_id?: string | undefined;
51164
51359
  realms?: string | undefined;
@@ -51312,6 +51507,9 @@ declare const enrichedClientSchema: z.ZodObject<{
51312
51507
  compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
51313
51508
  par_request_expiry?: number | undefined;
51314
51509
  token_quota?: Record<string, any> | undefined;
51510
+ owner_user_id?: string | undefined;
51511
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
51512
+ registration_metadata?: Record<string, any> | undefined;
51315
51513
  }, {
51316
51514
  name: string;
51317
51515
  tenant: {
@@ -51363,6 +51561,9 @@ declare const enrichedClientSchema: z.ZodObject<{
51363
51561
  enable_client_connections?: boolean | undefined;
51364
51562
  enable_custom_domain_in_emails?: boolean | undefined;
51365
51563
  enable_dynamic_client_registration?: boolean | undefined;
51564
+ dcr_require_initial_access_token?: boolean | undefined;
51565
+ dcr_allowed_grant_types?: string[] | undefined;
51566
+ dcr_allowed_integration_types?: string[] | undefined;
51366
51567
  enable_idtoken_api2?: boolean | undefined;
51367
51568
  enable_legacy_logs_search_v2?: boolean | undefined;
51368
51569
  enable_legacy_profile?: boolean | undefined;
@@ -51454,9 +51655,9 @@ declare const enrichedClientSchema: z.ZodObject<{
51454
51655
  } | undefined;
51455
51656
  } | undefined;
51456
51657
  client_id?: string | undefined;
51658
+ scope?: string | undefined;
51457
51659
  provider?: string | undefined;
51458
51660
  client_secret?: string | undefined;
51459
- scope?: string | undefined;
51460
51661
  kid?: string | undefined;
51461
51662
  team_id?: string | undefined;
51462
51663
  realms?: string | undefined;
@@ -51608,6 +51809,9 @@ declare const enrichedClientSchema: z.ZodObject<{
51608
51809
  compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
51609
51810
  par_request_expiry?: number | undefined;
51610
51811
  token_quota?: Record<string, any> | undefined;
51812
+ owner_user_id?: string | undefined;
51813
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
51814
+ registration_metadata?: Record<string, any> | undefined;
51611
51815
  }>;
51612
51816
  export type EnrichedClient = z.infer<typeof enrichedClientSchema>;
51613
51817
  /** Context passed to entity hooks */
@@ -59507,9 +59711,9 @@ export declare function init(config: AuthHeroConfig): {
59507
59711
  } | undefined;
59508
59712
  } | undefined;
59509
59713
  client_id?: string | undefined | undefined;
59714
+ scope?: string | undefined | undefined;
59510
59715
  provider?: string | undefined | undefined;
59511
59716
  client_secret?: string | undefined | undefined;
59512
- scope?: string | undefined | undefined;
59513
59717
  kid?: string | undefined | undefined;
59514
59718
  team_id?: string | undefined | undefined;
59515
59719
  realms?: string | undefined | undefined;
@@ -59629,9 +59833,9 @@ export declare function init(config: AuthHeroConfig): {
59629
59833
  } | undefined;
59630
59834
  } | undefined;
59631
59835
  client_id?: string | undefined | undefined;
59836
+ scope?: string | undefined | undefined;
59632
59837
  provider?: string | undefined | undefined;
59633
59838
  client_secret?: string | undefined | undefined;
59634
- scope?: string | undefined | undefined;
59635
59839
  kid?: string | undefined | undefined;
59636
59840
  team_id?: string | undefined | undefined;
59637
59841
  realms?: string | undefined | undefined;
@@ -59770,9 +59974,9 @@ export declare function init(config: AuthHeroConfig): {
59770
59974
  } | undefined;
59771
59975
  } | undefined;
59772
59976
  client_id?: string | undefined | undefined;
59977
+ scope?: string | undefined | undefined;
59773
59978
  provider?: string | undefined | undefined;
59774
59979
  client_secret?: string | undefined | undefined;
59775
- scope?: string | undefined | undefined;
59776
59980
  kid?: string | undefined | undefined;
59777
59981
  team_id?: string | undefined | undefined;
59778
59982
  realms?: string | undefined | undefined;
@@ -59923,9 +60127,9 @@ export declare function init(config: AuthHeroConfig): {
59923
60127
  } | undefined;
59924
60128
  } | undefined;
59925
60129
  client_id?: string | undefined;
60130
+ scope?: string | undefined;
59926
60131
  provider?: string | undefined;
59927
60132
  client_secret?: string | undefined;
59928
- scope?: string | undefined;
59929
60133
  kid?: string | undefined;
59930
60134
  team_id?: string | undefined;
59931
60135
  realms?: string | undefined;
@@ -60042,9 +60246,9 @@ export declare function init(config: AuthHeroConfig): {
60042
60246
  } | undefined;
60043
60247
  } | undefined;
60044
60248
  client_id?: string | undefined | undefined;
60249
+ scope?: string | undefined | undefined;
60045
60250
  provider?: string | undefined | undefined;
60046
60251
  client_secret?: string | undefined | undefined;
60047
- scope?: string | undefined | undefined;
60048
60252
  kid?: string | undefined | undefined;
60049
60253
  team_id?: string | undefined | undefined;
60050
60254
  realms?: string | undefined | undefined;
@@ -60175,9 +60379,9 @@ export declare function init(config: AuthHeroConfig): {
60175
60379
  } | undefined;
60176
60380
  } | undefined;
60177
60381
  client_id?: string | undefined;
60382
+ scope?: string | undefined;
60178
60383
  provider?: string | undefined;
60179
60384
  client_secret?: string | undefined;
60180
- scope?: string | undefined;
60181
60385
  kid?: string | undefined;
60182
60386
  team_id?: string | undefined;
60183
60387
  realms?: string | undefined;
@@ -60293,9 +60497,9 @@ export declare function init(config: AuthHeroConfig): {
60293
60497
  } | undefined;
60294
60498
  } | undefined;
60295
60499
  client_id?: string | undefined | undefined;
60500
+ scope?: string | undefined | undefined;
60296
60501
  provider?: string | undefined | undefined;
60297
60502
  client_secret?: string | undefined | undefined;
60298
- scope?: string | undefined | undefined;
60299
60503
  kid?: string | undefined | undefined;
60300
60504
  team_id?: string | undefined | undefined;
60301
60505
  realms?: string | undefined | undefined;
@@ -60992,6 +61196,8 @@ export declare function init(config: AuthHeroConfig): {
60992
61196
  };
60993
61197
  timestamp: string;
60994
61198
  description?: string | undefined;
61199
+ scope?: string | undefined;
61200
+ audience?: string | undefined;
60995
61201
  connection?: string | undefined;
60996
61202
  auth0_client?: {
60997
61203
  version: string;
@@ -61086,6 +61292,8 @@ export declare function init(config: AuthHeroConfig): {
61086
61292
  connection?: string | undefined | undefined;
61087
61293
  strategy?: string | undefined | undefined;
61088
61294
  strategy_type?: string | undefined | undefined;
61295
+ audience?: string | undefined | undefined;
61296
+ scope?: string | undefined | undefined;
61089
61297
  auth0_client?: {
61090
61298
  version: string;
61091
61299
  name: string;
@@ -61096,8 +61304,6 @@ export declare function init(config: AuthHeroConfig): {
61096
61304
  hostname?: string | undefined | undefined;
61097
61305
  connection_id?: string | undefined | undefined;
61098
61306
  user_id?: string | undefined | undefined;
61099
- audience?: string | undefined | undefined;
61100
- scope?: string | undefined | undefined;
61101
61307
  details?: any;
61102
61308
  user_name?: string | undefined | undefined;
61103
61309
  client_name?: string | undefined | undefined;
@@ -61125,6 +61331,8 @@ export declare function init(config: AuthHeroConfig): {
61125
61331
  connection?: string | undefined | undefined;
61126
61332
  strategy?: string | undefined | undefined;
61127
61333
  strategy_type?: string | undefined | undefined;
61334
+ audience?: string | undefined | undefined;
61335
+ scope?: string | undefined | undefined;
61128
61336
  auth0_client?: {
61129
61337
  version: string;
61130
61338
  name: string;
@@ -61135,8 +61343,6 @@ export declare function init(config: AuthHeroConfig): {
61135
61343
  hostname?: string | undefined | undefined;
61136
61344
  connection_id?: string | undefined | undefined;
61137
61345
  user_id?: string | undefined | undefined;
61138
- audience?: string | undefined | undefined;
61139
- scope?: string | undefined | undefined;
61140
61346
  details?: any;
61141
61347
  user_name?: string | undefined | undefined;
61142
61348
  client_name?: string | undefined | undefined;
@@ -61179,6 +61385,8 @@ export declare function init(config: AuthHeroConfig): {
61179
61385
  connection?: string | undefined | undefined;
61180
61386
  strategy?: string | undefined | undefined;
61181
61387
  strategy_type?: string | undefined | undefined;
61388
+ audience?: string | undefined | undefined;
61389
+ scope?: string | undefined | undefined;
61182
61390
  auth0_client?: {
61183
61391
  version: string;
61184
61392
  name: string;
@@ -61189,8 +61397,6 @@ export declare function init(config: AuthHeroConfig): {
61189
61397
  hostname?: string | undefined | undefined;
61190
61398
  connection_id?: string | undefined | undefined;
61191
61399
  user_id?: string | undefined | undefined;
61192
- audience?: string | undefined | undefined;
61193
- scope?: string | undefined | undefined;
61194
61400
  details?: any;
61195
61401
  user_name?: string | undefined | undefined;
61196
61402
  client_name?: string | undefined | undefined;
@@ -61208,6 +61414,35 @@ export declare function init(config: AuthHeroConfig): {
61208
61414
  };
61209
61415
  };
61210
61416
  }, "/logs"> & import("hono/types").MergeSchemaPath<{
61417
+ "/": {
61418
+ $post: {
61419
+ input: {
61420
+ header: {
61421
+ "tenant-id"?: string | undefined;
61422
+ };
61423
+ } & {
61424
+ json: {
61425
+ sub?: string | undefined;
61426
+ single_use?: boolean | undefined;
61427
+ constraints?: Record<string, unknown> | undefined;
61428
+ expires_in_seconds?: number | undefined;
61429
+ };
61430
+ };
61431
+ output: {
61432
+ id: string;
61433
+ expires_at: string;
61434
+ token: string;
61435
+ single_use: boolean;
61436
+ sub?: string | undefined;
61437
+ constraints?: {
61438
+ [x: string]: import("hono/utils/types").JSONValue;
61439
+ } | undefined;
61440
+ };
61441
+ outputFormat: "json";
61442
+ status: 201;
61443
+ };
61444
+ };
61445
+ }, "/client-registration-tokens"> & import("hono/types").MergeSchemaPath<{
61211
61446
  "/": {
61212
61447
  $get: {
61213
61448
  input: {
@@ -61233,8 +61468,8 @@ export declare function init(config: AuthHeroConfig): {
61233
61468
  audience: string;
61234
61469
  created_at?: string | undefined | undefined;
61235
61470
  updated_at?: string | undefined | undefined;
61236
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61237
61471
  scope?: string[] | undefined | undefined;
61472
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61238
61473
  allow_any_organization?: boolean | undefined | undefined;
61239
61474
  is_system?: boolean | undefined | undefined;
61240
61475
  subject_type?: "user" | "client" | undefined | undefined;
@@ -61249,8 +61484,8 @@ export declare function init(config: AuthHeroConfig): {
61249
61484
  audience: string;
61250
61485
  created_at?: string | undefined | undefined;
61251
61486
  updated_at?: string | undefined | undefined;
61252
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61253
61487
  scope?: string[] | undefined | undefined;
61488
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61254
61489
  allow_any_organization?: boolean | undefined | undefined;
61255
61490
  is_system?: boolean | undefined | undefined;
61256
61491
  subject_type?: "user" | "client" | undefined | undefined;
@@ -61280,8 +61515,8 @@ export declare function init(config: AuthHeroConfig): {
61280
61515
  audience: string;
61281
61516
  created_at?: string | undefined | undefined;
61282
61517
  updated_at?: string | undefined | undefined;
61283
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61284
61518
  scope?: string[] | undefined | undefined;
61519
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61285
61520
  allow_any_organization?: boolean | undefined | undefined;
61286
61521
  is_system?: boolean | undefined | undefined;
61287
61522
  subject_type?: "user" | "client" | undefined | undefined;
@@ -61337,8 +61572,8 @@ export declare function init(config: AuthHeroConfig): {
61337
61572
  audience: string;
61338
61573
  created_at?: string | undefined | undefined;
61339
61574
  updated_at?: string | undefined | undefined;
61340
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61341
61575
  scope?: string[] | undefined | undefined;
61576
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61342
61577
  allow_any_organization?: boolean | undefined | undefined;
61343
61578
  is_system?: boolean | undefined | undefined;
61344
61579
  subject_type?: "user" | "client" | undefined | undefined;
@@ -61373,8 +61608,8 @@ export declare function init(config: AuthHeroConfig): {
61373
61608
  audience: string;
61374
61609
  created_at?: string | undefined | undefined;
61375
61610
  updated_at?: string | undefined | undefined;
61376
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61377
61611
  scope?: string[] | undefined | undefined;
61612
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61378
61613
  allow_any_organization?: boolean | undefined | undefined;
61379
61614
  is_system?: boolean | undefined | undefined;
61380
61615
  subject_type?: "user" | "client" | undefined | undefined;
@@ -61481,6 +61716,11 @@ export declare function init(config: AuthHeroConfig): {
61481
61716
  token_quota?: {
61482
61717
  [x: string]: any;
61483
61718
  } | undefined;
61719
+ owner_user_id?: string | undefined | undefined;
61720
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
61721
+ registration_metadata?: {
61722
+ [x: string]: any;
61723
+ } | undefined;
61484
61724
  }[] | {
61485
61725
  length: number;
61486
61726
  start: number;
@@ -61564,6 +61804,11 @@ export declare function init(config: AuthHeroConfig): {
61564
61804
  token_quota?: {
61565
61805
  [x: string]: any;
61566
61806
  } | undefined;
61807
+ owner_user_id?: string | undefined | undefined;
61808
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
61809
+ registration_metadata?: {
61810
+ [x: string]: any;
61811
+ } | undefined;
61567
61812
  }[];
61568
61813
  total?: number | undefined;
61569
61814
  };
@@ -61662,6 +61907,11 @@ export declare function init(config: AuthHeroConfig): {
61662
61907
  token_quota?: {
61663
61908
  [x: string]: any;
61664
61909
  } | undefined;
61910
+ owner_user_id?: string | undefined | undefined;
61911
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
61912
+ registration_metadata?: {
61913
+ [x: string]: any;
61914
+ } | undefined;
61665
61915
  };
61666
61916
  outputFormat: "json";
61667
61917
  status: 200;
@@ -61745,6 +61995,9 @@ export declare function init(config: AuthHeroConfig): {
61745
61995
  compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
61746
61996
  par_request_expiry?: number | undefined;
61747
61997
  token_quota?: Record<string, any> | undefined;
61998
+ owner_user_id?: string | undefined;
61999
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
62000
+ registration_metadata?: Record<string, any> | undefined;
61748
62001
  };
61749
62002
  };
61750
62003
  output: {
@@ -61826,6 +62079,11 @@ export declare function init(config: AuthHeroConfig): {
61826
62079
  token_quota?: {
61827
62080
  [x: string]: any;
61828
62081
  } | undefined;
62082
+ owner_user_id?: string | undefined | undefined;
62083
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
62084
+ registration_metadata?: {
62085
+ [x: string]: any;
62086
+ } | undefined;
61829
62087
  };
61830
62088
  outputFormat: "json";
61831
62089
  status: 200;
@@ -61888,6 +62146,9 @@ export declare function init(config: AuthHeroConfig): {
61888
62146
  compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
61889
62147
  par_request_expiry?: number | undefined;
61890
62148
  token_quota?: Record<string, any> | undefined;
62149
+ owner_user_id?: string | undefined;
62150
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
62151
+ registration_metadata?: Record<string, any> | undefined;
61891
62152
  };
61892
62153
  };
61893
62154
  output: {
@@ -61969,6 +62230,11 @@ export declare function init(config: AuthHeroConfig): {
61969
62230
  token_quota?: {
61970
62231
  [x: string]: any;
61971
62232
  } | undefined;
62233
+ owner_user_id?: string | undefined;
62234
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
62235
+ registration_metadata?: {
62236
+ [x: string]: any;
62237
+ } | undefined;
61972
62238
  };
61973
62239
  outputFormat: "json";
61974
62240
  status: 201;
@@ -62000,9 +62266,9 @@ export declare function init(config: AuthHeroConfig): {
62000
62266
  } | undefined;
62001
62267
  } | undefined;
62002
62268
  client_id?: string | undefined | undefined;
62269
+ scope?: string | undefined | undefined;
62003
62270
  provider?: string | undefined | undefined;
62004
62271
  client_secret?: string | undefined | undefined;
62005
- scope?: string | undefined | undefined;
62006
62272
  kid?: string | undefined | undefined;
62007
62273
  team_id?: string | undefined | undefined;
62008
62274
  realms?: string | undefined | undefined;
@@ -62144,9 +62410,9 @@ export declare function init(config: AuthHeroConfig): {
62144
62410
  } | undefined;
62145
62411
  } | undefined;
62146
62412
  client_id?: string | undefined | undefined;
62413
+ scope?: string | undefined | undefined;
62147
62414
  provider?: string | undefined | undefined;
62148
62415
  client_secret?: string | undefined | undefined;
62149
- scope?: string | undefined | undefined;
62150
62416
  kid?: string | undefined | undefined;
62151
62417
  team_id?: string | undefined | undefined;
62152
62418
  realms?: string | undefined | undefined;
@@ -62942,6 +63208,59 @@ export declare function init(config: AuthHeroConfig): {
62942
63208
  status: 200;
62943
63209
  };
62944
63210
  };
63211
+ } & {
63212
+ "/:user_id/connected-clients": {
63213
+ $get: {
63214
+ input: {
63215
+ param: {
63216
+ user_id: string;
63217
+ };
63218
+ } & {
63219
+ query: {
63220
+ sort?: string | undefined;
63221
+ page?: string | undefined;
63222
+ per_page?: string | undefined;
63223
+ include_totals?: string | undefined;
63224
+ from?: string | undefined;
63225
+ take?: string | undefined;
63226
+ q?: string | undefined;
63227
+ };
63228
+ } & {
63229
+ header: {
63230
+ "tenant-id"?: string | undefined;
63231
+ };
63232
+ };
63233
+ output: {
63234
+ name: string;
63235
+ client_id: string;
63236
+ logo_uri?: string | undefined;
63237
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
63238
+ registration_metadata?: {
63239
+ [x: string]: any;
63240
+ } | undefined;
63241
+ created_at?: string | undefined;
63242
+ updated_at?: string | undefined;
63243
+ }[] | {
63244
+ length: number;
63245
+ start: number;
63246
+ limit: number;
63247
+ connected_clients: {
63248
+ name: string;
63249
+ client_id: string;
63250
+ logo_uri?: string | undefined;
63251
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
63252
+ registration_metadata?: {
63253
+ [x: string]: any;
63254
+ } | undefined;
63255
+ created_at?: string | undefined;
63256
+ updated_at?: string | undefined;
63257
+ }[];
63258
+ total?: number | undefined;
63259
+ };
63260
+ outputFormat: "json";
63261
+ status: 200;
63262
+ };
63263
+ };
62945
63264
  } & {
62946
63265
  "/:user_id/sessions": {
62947
63266
  $get: {
@@ -63051,6 +63370,8 @@ export declare function init(config: AuthHeroConfig): {
63051
63370
  connection?: string | undefined | undefined;
63052
63371
  strategy?: string | undefined | undefined;
63053
63372
  strategy_type?: string | undefined | undefined;
63373
+ audience?: string | undefined | undefined;
63374
+ scope?: string | undefined | undefined;
63054
63375
  auth0_client?: {
63055
63376
  version: string;
63056
63377
  name: string;
@@ -63061,8 +63382,6 @@ export declare function init(config: AuthHeroConfig): {
63061
63382
  hostname?: string | undefined | undefined;
63062
63383
  connection_id?: string | undefined | undefined;
63063
63384
  user_id?: string | undefined | undefined;
63064
- audience?: string | undefined | undefined;
63065
- scope?: string | undefined | undefined;
63066
63385
  details?: any;
63067
63386
  user_name?: string | undefined | undefined;
63068
63387
  client_name?: string | undefined | undefined;
@@ -63090,6 +63409,8 @@ export declare function init(config: AuthHeroConfig): {
63090
63409
  connection?: string | undefined | undefined;
63091
63410
  strategy?: string | undefined | undefined;
63092
63411
  strategy_type?: string | undefined | undefined;
63412
+ audience?: string | undefined | undefined;
63413
+ scope?: string | undefined | undefined;
63093
63414
  auth0_client?: {
63094
63415
  version: string;
63095
63416
  name: string;
@@ -63100,8 +63421,6 @@ export declare function init(config: AuthHeroConfig): {
63100
63421
  hostname?: string | undefined | undefined;
63101
63422
  connection_id?: string | undefined | undefined;
63102
63423
  user_id?: string | undefined | undefined;
63103
- audience?: string | undefined | undefined;
63104
- scope?: string | undefined | undefined;
63105
63424
  details?: any;
63106
63425
  user_name?: string | undefined | undefined;
63107
63426
  client_name?: string | undefined | undefined;
@@ -64737,6 +65056,200 @@ export declare function init(config: AuthHeroConfig): {
64737
65056
  };
64738
65057
  };
64739
65058
  }, "/callback"> & import("hono/types").MergeSchemaPath<{
65059
+ "/": {
65060
+ $get: {
65061
+ input: {
65062
+ query: {
65063
+ domain: string;
65064
+ state: string;
65065
+ integration_type: string;
65066
+ return_to: string;
65067
+ scope?: string | undefined;
65068
+ };
65069
+ };
65070
+ output: {};
65071
+ outputFormat: string;
65072
+ status: 302;
65073
+ } | {
65074
+ input: {
65075
+ query: {
65076
+ domain: string;
65077
+ state: string;
65078
+ integration_type: string;
65079
+ return_to: string;
65080
+ scope?: string | undefined;
65081
+ };
65082
+ };
65083
+ output: {};
65084
+ outputFormat: "json";
65085
+ status: 400;
65086
+ } | {
65087
+ input: {
65088
+ query: {
65089
+ domain: string;
65090
+ state: string;
65091
+ integration_type: string;
65092
+ return_to: string;
65093
+ scope?: string | undefined;
65094
+ };
65095
+ };
65096
+ output: {};
65097
+ outputFormat: "json";
65098
+ status: 404;
65099
+ };
65100
+ };
65101
+ }, "/connect/start"> & import("hono/types").MergeSchemaPath<{
65102
+ "/": {
65103
+ $post: {
65104
+ input: {
65105
+ json: {
65106
+ client_id?: string | undefined;
65107
+ client_secret?: string | undefined;
65108
+ logo_uri?: string | undefined;
65109
+ grant_types?: string[] | undefined;
65110
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
65111
+ scope?: string | undefined;
65112
+ client_name?: string | undefined;
65113
+ jwks_uri?: string | undefined;
65114
+ redirect_uris?: string[] | undefined;
65115
+ client_uri?: string | undefined;
65116
+ tos_uri?: string | undefined;
65117
+ policy_uri?: string | undefined;
65118
+ contacts?: string[] | undefined;
65119
+ response_types?: string[] | undefined;
65120
+ jwks?: Record<string, unknown> | undefined;
65121
+ software_id?: string | undefined;
65122
+ software_version?: string | undefined;
65123
+ };
65124
+ };
65125
+ output: {
65126
+ client_id: string;
65127
+ registration_client_uri: string;
65128
+ client_secret?: string | undefined;
65129
+ logo_uri?: string | undefined;
65130
+ grant_types?: string[] | undefined;
65131
+ token_endpoint_auth_method?: string | undefined;
65132
+ scope?: string | undefined;
65133
+ client_name?: string | undefined;
65134
+ jwks_uri?: string | undefined;
65135
+ redirect_uris?: string[] | undefined;
65136
+ client_uri?: string | undefined;
65137
+ tos_uri?: string | undefined;
65138
+ policy_uri?: string | undefined;
65139
+ contacts?: string[] | undefined;
65140
+ response_types?: string[] | undefined;
65141
+ software_id?: string | undefined;
65142
+ software_version?: string | undefined;
65143
+ client_id_issued_at?: number | undefined;
65144
+ client_secret_expires_at?: number | undefined;
65145
+ registration_access_token?: string | undefined;
65146
+ };
65147
+ outputFormat: "json";
65148
+ status: 201;
65149
+ };
65150
+ };
65151
+ } & {
65152
+ "/:client_id": {
65153
+ $get: {
65154
+ input: {
65155
+ param: {
65156
+ client_id: string;
65157
+ };
65158
+ };
65159
+ output: {
65160
+ client_id: string;
65161
+ registration_client_uri: string;
65162
+ client_secret?: string | undefined;
65163
+ logo_uri?: string | undefined;
65164
+ grant_types?: string[] | undefined;
65165
+ token_endpoint_auth_method?: string | undefined;
65166
+ scope?: string | undefined;
65167
+ client_name?: string | undefined;
65168
+ jwks_uri?: string | undefined;
65169
+ redirect_uris?: string[] | undefined;
65170
+ client_uri?: string | undefined;
65171
+ tos_uri?: string | undefined;
65172
+ policy_uri?: string | undefined;
65173
+ contacts?: string[] | undefined;
65174
+ response_types?: string[] | undefined;
65175
+ software_id?: string | undefined;
65176
+ software_version?: string | undefined;
65177
+ client_id_issued_at?: number | undefined;
65178
+ client_secret_expires_at?: number | undefined;
65179
+ registration_access_token?: string | undefined;
65180
+ };
65181
+ outputFormat: "json";
65182
+ status: 200;
65183
+ };
65184
+ };
65185
+ } & {
65186
+ "/:client_id": {
65187
+ $put: {
65188
+ input: {
65189
+ param: {
65190
+ client_id: string;
65191
+ };
65192
+ } & {
65193
+ json: {
65194
+ client_id?: string | undefined;
65195
+ client_secret?: string | undefined;
65196
+ logo_uri?: string | undefined;
65197
+ grant_types?: string[] | undefined;
65198
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
65199
+ scope?: string | undefined;
65200
+ client_name?: string | undefined;
65201
+ jwks_uri?: string | undefined;
65202
+ redirect_uris?: string[] | undefined;
65203
+ client_uri?: string | undefined;
65204
+ tos_uri?: string | undefined;
65205
+ policy_uri?: string | undefined;
65206
+ contacts?: string[] | undefined;
65207
+ response_types?: string[] | undefined;
65208
+ jwks?: Record<string, unknown> | undefined;
65209
+ software_id?: string | undefined;
65210
+ software_version?: string | undefined;
65211
+ };
65212
+ };
65213
+ output: {
65214
+ client_id: string;
65215
+ registration_client_uri: string;
65216
+ client_secret?: string | undefined;
65217
+ logo_uri?: string | undefined;
65218
+ grant_types?: string[] | undefined;
65219
+ token_endpoint_auth_method?: string | undefined;
65220
+ scope?: string | undefined;
65221
+ client_name?: string | undefined;
65222
+ jwks_uri?: string | undefined;
65223
+ redirect_uris?: string[] | undefined;
65224
+ client_uri?: string | undefined;
65225
+ tos_uri?: string | undefined;
65226
+ policy_uri?: string | undefined;
65227
+ contacts?: string[] | undefined;
65228
+ response_types?: string[] | undefined;
65229
+ software_id?: string | undefined;
65230
+ software_version?: string | undefined;
65231
+ client_id_issued_at?: number | undefined;
65232
+ client_secret_expires_at?: number | undefined;
65233
+ registration_access_token?: string | undefined;
65234
+ };
65235
+ outputFormat: "json";
65236
+ status: 200;
65237
+ };
65238
+ };
65239
+ } & {
65240
+ "/:client_id": {
65241
+ $delete: {
65242
+ input: {
65243
+ param: {
65244
+ client_id: string;
65245
+ };
65246
+ };
65247
+ output: {};
65248
+ outputFormat: string;
65249
+ status: 204;
65250
+ };
65251
+ };
65252
+ }, "/oidc/register"> & import("hono/types").MergeSchemaPath<{
64740
65253
  "/": {
64741
65254
  $get: {
64742
65255
  input: {
@@ -64865,8 +65378,8 @@ export declare function init(config: AuthHeroConfig): {
64865
65378
  access_token: string;
64866
65379
  token_type: string;
64867
65380
  expires_in: number;
64868
- refresh_token?: string | undefined | undefined;
64869
65381
  scope?: string | undefined | undefined;
65382
+ refresh_token?: string | undefined | undefined;
64870
65383
  id_token?: string | undefined | undefined;
64871
65384
  state?: string | undefined | undefined;
64872
65385
  };
@@ -65330,8 +65843,8 @@ export declare function init(config: AuthHeroConfig): {
65330
65843
  access_token: string;
65331
65844
  token_type: string;
65332
65845
  expires_in: number;
65333
- refresh_token?: string | undefined | undefined;
65334
65846
  scope?: string | undefined | undefined;
65847
+ refresh_token?: string | undefined | undefined;
65335
65848
  id_token?: string | undefined | undefined;
65336
65849
  state?: string | undefined | undefined;
65337
65850
  };
@@ -65611,7 +66124,6 @@ export declare function init(config: AuthHeroConfig): {
65611
66124
  issuer: string;
65612
66125
  device_authorization_endpoint: string;
65613
66126
  mfa_challenge_endpoint: string;
65614
- registration_endpoint: string;
65615
66127
  revocation_endpoint: string;
65616
66128
  scopes_supported: string[];
65617
66129
  response_types_supported: string[];
@@ -65624,6 +66136,7 @@ export declare function init(config: AuthHeroConfig): {
65624
66136
  request_uri_parameter_supported: boolean;
65625
66137
  request_parameter_supported: boolean;
65626
66138
  token_endpoint_auth_signing_alg_values_supported: string[];
66139
+ registration_endpoint?: string | undefined | undefined;
65627
66140
  };
65628
66141
  outputFormat: "json";
65629
66142
  status: 200;