@authhero/adapter-interfaces 1.7.0 → 1.9.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.
@@ -3091,6 +3091,13 @@ export declare const clientInsertSchema: z.ZodObject<{
3091
3091
  ]>>;
3092
3092
  par_request_expiry: z.ZodOptional<z.ZodNumber>;
3093
3093
  token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3094
+ owner_user_id: z.ZodOptional<z.ZodString>;
3095
+ registration_type: z.ZodOptional<z.ZodEnum<[
3096
+ "manual",
3097
+ "open_dcr",
3098
+ "iat_dcr"
3099
+ ]>>;
3100
+ registration_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3094
3101
  }, "strip", z.ZodTypeAny, {
3095
3102
  name: string;
3096
3103
  client_id: string;
@@ -3140,6 +3147,9 @@ export declare const clientInsertSchema: z.ZodObject<{
3140
3147
  compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
3141
3148
  par_request_expiry?: number | undefined;
3142
3149
  token_quota?: Record<string, any> | undefined;
3150
+ owner_user_id?: string | undefined;
3151
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
3152
+ registration_metadata?: Record<string, any> | undefined;
3143
3153
  }, {
3144
3154
  name: string;
3145
3155
  client_id: string;
@@ -3189,6 +3199,9 @@ export declare const clientInsertSchema: z.ZodObject<{
3189
3199
  compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
3190
3200
  par_request_expiry?: number | undefined;
3191
3201
  token_quota?: Record<string, any> | undefined;
3202
+ owner_user_id?: string | undefined;
3203
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
3204
+ registration_metadata?: Record<string, any> | undefined;
3192
3205
  }>;
3193
3206
  export type ClientInsert = z.input<typeof clientInsertSchema>;
3194
3207
  export declare const clientSchema: z.ZodObject<{
@@ -3284,6 +3297,13 @@ export declare const clientSchema: z.ZodObject<{
3284
3297
  ]>>;
3285
3298
  par_request_expiry: z.ZodOptional<z.ZodNumber>;
3286
3299
  token_quota: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3300
+ owner_user_id: z.ZodOptional<z.ZodString>;
3301
+ registration_type: z.ZodOptional<z.ZodEnum<[
3302
+ "manual",
3303
+ "open_dcr",
3304
+ "iat_dcr"
3305
+ ]>>;
3306
+ registration_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3287
3307
  created_at: z.ZodString;
3288
3308
  updated_at: z.ZodString;
3289
3309
  }, "strip", z.ZodTypeAny, {
@@ -3337,6 +3357,9 @@ export declare const clientSchema: z.ZodObject<{
3337
3357
  compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
3338
3358
  par_request_expiry?: number | undefined;
3339
3359
  token_quota?: Record<string, any> | undefined;
3360
+ owner_user_id?: string | undefined;
3361
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
3362
+ registration_metadata?: Record<string, any> | undefined;
3340
3363
  }, {
3341
3364
  created_at: string;
3342
3365
  updated_at: string;
@@ -3388,6 +3411,9 @@ export declare const clientSchema: z.ZodObject<{
3388
3411
  compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
3389
3412
  par_request_expiry?: number | undefined;
3390
3413
  token_quota?: Record<string, any> | undefined;
3414
+ owner_user_id?: string | undefined;
3415
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
3416
+ registration_metadata?: Record<string, any> | undefined;
3391
3417
  }>;
3392
3418
  export type Client = z.infer<typeof clientSchema>;
3393
3419
  export declare const clientGrantInsertSchema: z.ZodObject<{
@@ -3516,6 +3542,84 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
3516
3542
  authorization_details_types?: string[] | undefined;
3517
3543
  }>, "many">;
3518
3544
  export type ClientGrantList = z.infer<typeof clientGrantListSchema>;
3545
+ export declare const clientRegistrationTokenTypeSchema: z.ZodEnum<[
3546
+ "iat",
3547
+ "rat"
3548
+ ]>;
3549
+ export type ClientRegistrationTokenType = z.infer<typeof clientRegistrationTokenTypeSchema>;
3550
+ export declare const clientRegistrationTokenInsertSchema: z.ZodObject<{
3551
+ id: z.ZodString;
3552
+ token_hash: z.ZodString;
3553
+ type: z.ZodEnum<[
3554
+ "iat",
3555
+ "rat"
3556
+ ]>;
3557
+ client_id: z.ZodOptional<z.ZodString>;
3558
+ sub: z.ZodOptional<z.ZodString>;
3559
+ constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3560
+ single_use: z.ZodDefault<z.ZodBoolean>;
3561
+ expires_at: z.ZodOptional<z.ZodString>;
3562
+ }, "strip", z.ZodTypeAny, {
3563
+ type: "iat" | "rat";
3564
+ id: string;
3565
+ token_hash: string;
3566
+ single_use: boolean;
3567
+ client_id?: string | undefined;
3568
+ sub?: string | undefined;
3569
+ constraints?: Record<string, unknown> | undefined;
3570
+ expires_at?: string | undefined;
3571
+ }, {
3572
+ type: "iat" | "rat";
3573
+ id: string;
3574
+ token_hash: string;
3575
+ client_id?: string | undefined;
3576
+ sub?: string | undefined;
3577
+ constraints?: Record<string, unknown> | undefined;
3578
+ single_use?: boolean | undefined;
3579
+ expires_at?: string | undefined;
3580
+ }>;
3581
+ export type ClientRegistrationTokenInsert = z.infer<typeof clientRegistrationTokenInsertSchema>;
3582
+ export declare const clientRegistrationTokenSchema: z.ZodObject<{
3583
+ id: z.ZodString;
3584
+ token_hash: z.ZodString;
3585
+ type: z.ZodEnum<[
3586
+ "iat",
3587
+ "rat"
3588
+ ]>;
3589
+ client_id: z.ZodOptional<z.ZodString>;
3590
+ sub: z.ZodOptional<z.ZodString>;
3591
+ constraints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3592
+ single_use: z.ZodDefault<z.ZodBoolean>;
3593
+ expires_at: z.ZodOptional<z.ZodString>;
3594
+ created_at: z.ZodString;
3595
+ used_at: z.ZodOptional<z.ZodString>;
3596
+ revoked_at: z.ZodOptional<z.ZodString>;
3597
+ }, "strip", z.ZodTypeAny, {
3598
+ created_at: string;
3599
+ type: "iat" | "rat";
3600
+ id: string;
3601
+ token_hash: string;
3602
+ single_use: boolean;
3603
+ client_id?: string | undefined;
3604
+ sub?: string | undefined;
3605
+ constraints?: Record<string, unknown> | undefined;
3606
+ expires_at?: string | undefined;
3607
+ used_at?: string | undefined;
3608
+ revoked_at?: string | undefined;
3609
+ }, {
3610
+ created_at: string;
3611
+ type: "iat" | "rat";
3612
+ id: string;
3613
+ token_hash: string;
3614
+ client_id?: string | undefined;
3615
+ sub?: string | undefined;
3616
+ constraints?: Record<string, unknown> | undefined;
3617
+ single_use?: boolean | undefined;
3618
+ expires_at?: string | undefined;
3619
+ used_at?: string | undefined;
3620
+ revoked_at?: string | undefined;
3621
+ }>;
3622
+ export type ClientRegistrationToken = z.infer<typeof clientRegistrationTokenSchema>;
3519
3623
  /**
3520
3624
  * Types for Auth0 Form Flow components
3521
3625
  * Based on the actual structure used by Auth0 forms API
@@ -11372,12 +11476,13 @@ export declare const codeInsertSchema: z.ZodObject<{
11372
11476
  used_at: z.ZodOptional<z.ZodString>;
11373
11477
  user_id: z.ZodOptional<z.ZodString>;
11374
11478
  }, "strip", z.ZodTypeAny, {
11479
+ expires_at: string;
11375
11480
  code_id: string;
11376
11481
  login_id: string;
11377
11482
  code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
11378
- expires_at: string;
11379
11483
  connection_id?: string | undefined;
11380
11484
  user_id?: string | undefined;
11485
+ used_at?: string | undefined;
11381
11486
  redirect_uri?: string | undefined;
11382
11487
  state?: string | undefined;
11383
11488
  nonce?: string | undefined;
@@ -11385,14 +11490,14 @@ export declare const codeInsertSchema: z.ZodObject<{
11385
11490
  code_challenge?: string | undefined;
11386
11491
  otp?: string | undefined;
11387
11492
  code_verifier?: string | undefined;
11388
- used_at?: string | undefined;
11389
11493
  }, {
11494
+ expires_at: string;
11390
11495
  code_id: string;
11391
11496
  login_id: string;
11392
11497
  code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
11393
- expires_at: string;
11394
11498
  connection_id?: string | undefined;
11395
11499
  user_id?: string | undefined;
11500
+ used_at?: string | undefined;
11396
11501
  redirect_uri?: string | undefined;
11397
11502
  state?: string | undefined;
11398
11503
  nonce?: string | undefined;
@@ -11400,7 +11505,6 @@ export declare const codeInsertSchema: z.ZodObject<{
11400
11505
  code_challenge?: string | undefined;
11401
11506
  otp?: string | undefined;
11402
11507
  code_verifier?: string | undefined;
11403
- used_at?: string | undefined;
11404
11508
  }>;
11405
11509
  export type CodeInsert = z.infer<typeof codeInsertSchema>;
11406
11510
  export declare const codeSchema: z.ZodObject<{
@@ -11432,12 +11536,13 @@ export declare const codeSchema: z.ZodObject<{
11432
11536
  user_id: z.ZodOptional<z.ZodString>;
11433
11537
  }, "strip", z.ZodTypeAny, {
11434
11538
  created_at: string;
11539
+ expires_at: string;
11435
11540
  code_id: string;
11436
11541
  login_id: string;
11437
11542
  code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
11438
- expires_at: string;
11439
11543
  connection_id?: string | undefined;
11440
11544
  user_id?: string | undefined;
11545
+ used_at?: string | undefined;
11441
11546
  redirect_uri?: string | undefined;
11442
11547
  state?: string | undefined;
11443
11548
  nonce?: string | undefined;
@@ -11445,15 +11550,15 @@ export declare const codeSchema: z.ZodObject<{
11445
11550
  code_challenge?: string | undefined;
11446
11551
  otp?: string | undefined;
11447
11552
  code_verifier?: string | undefined;
11448
- used_at?: string | undefined;
11449
11553
  }, {
11450
11554
  created_at: string;
11555
+ expires_at: string;
11451
11556
  code_id: string;
11452
11557
  login_id: string;
11453
11558
  code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
11454
- expires_at: string;
11455
11559
  connection_id?: string | undefined;
11456
11560
  user_id?: string | undefined;
11561
+ used_at?: string | undefined;
11457
11562
  redirect_uri?: string | undefined;
11458
11563
  state?: string | undefined;
11459
11564
  nonce?: string | undefined;
@@ -11461,7 +11566,6 @@ export declare const codeSchema: z.ZodObject<{
11461
11566
  code_challenge?: string | undefined;
11462
11567
  otp?: string | undefined;
11463
11568
  code_verifier?: string | undefined;
11464
- used_at?: string | undefined;
11465
11569
  }>;
11466
11570
  export type Code = z.infer<typeof codeSchema>;
11467
11571
  export declare const connectionOptionsSchema: z.ZodObject<{
@@ -42924,7 +43028,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
42924
43028
  userinfo_endpoint: z.ZodString;
42925
43029
  mfa_challenge_endpoint: z.ZodString;
42926
43030
  jwks_uri: z.ZodString;
42927
- registration_endpoint: z.ZodString;
43031
+ registration_endpoint: z.ZodOptional<z.ZodString>;
42928
43032
  revocation_endpoint: z.ZodString;
42929
43033
  scopes_supported: z.ZodArray<z.ZodString, "many">;
42930
43034
  response_types_supported: z.ZodArray<z.ZodString, "many">;
@@ -42945,7 +43049,6 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
42945
43049
  issuer: string;
42946
43050
  device_authorization_endpoint: string;
42947
43051
  mfa_challenge_endpoint: string;
42948
- registration_endpoint: string;
42949
43052
  revocation_endpoint: string;
42950
43053
  scopes_supported: string[];
42951
43054
  response_types_supported: string[];
@@ -42958,6 +43061,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
42958
43061
  request_uri_parameter_supported: boolean;
42959
43062
  request_parameter_supported: boolean;
42960
43063
  token_endpoint_auth_signing_alg_values_supported: string[];
43064
+ registration_endpoint?: string | undefined;
42961
43065
  }, {
42962
43066
  authorization_endpoint: string;
42963
43067
  token_endpoint: string;
@@ -42966,7 +43070,6 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
42966
43070
  issuer: string;
42967
43071
  device_authorization_endpoint: string;
42968
43072
  mfa_challenge_endpoint: string;
42969
- registration_endpoint: string;
42970
43073
  revocation_endpoint: string;
42971
43074
  scopes_supported: string[];
42972
43075
  response_types_supported: string[];
@@ -42979,6 +43082,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
42979
43082
  request_uri_parameter_supported: boolean;
42980
43083
  request_parameter_supported: boolean;
42981
43084
  token_endpoint_auth_signing_alg_values_supported: string[];
43085
+ registration_endpoint?: string | undefined;
42982
43086
  }>;
42983
43087
  export interface ListParams {
42984
43088
  page?: number;
@@ -43115,8 +43219,8 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
43115
43219
  }>>;
43116
43220
  authenticated_at: z.ZodOptional<z.ZodString>;
43117
43221
  }, "strip", z.ZodTypeAny, {
43118
- state: LoginSessionState;
43119
43222
  expires_at: string;
43223
+ state: LoginSessionState;
43120
43224
  csrf_token: string;
43121
43225
  authParams: {
43122
43226
  client_id: string;
@@ -43284,8 +43388,8 @@ export declare const loginSessionSchema: z.ZodObject<{
43284
43388
  created_at: string;
43285
43389
  updated_at: string;
43286
43390
  id: string;
43287
- state: LoginSessionState;
43288
43391
  expires_at: string;
43392
+ state: LoginSessionState;
43289
43393
  csrf_token: string;
43290
43394
  authParams: {
43291
43395
  client_id: string;
@@ -44148,6 +44252,10 @@ export declare const tenantInsertSchema: z.ZodObject<{
44148
44252
  enable_client_connections: z.ZodOptional<z.ZodBoolean>;
44149
44253
  enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
44150
44254
  enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
44255
+ dcr_require_initial_access_token: z.ZodOptional<z.ZodBoolean>;
44256
+ dcr_allowed_grant_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44257
+ dcr_allowed_integration_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44258
+ allow_http_return_to: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
44151
44259
  enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
44152
44260
  enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
44153
44261
  enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
@@ -44182,6 +44290,10 @@ export declare const tenantInsertSchema: z.ZodObject<{
44182
44290
  enable_client_connections?: boolean | undefined;
44183
44291
  enable_custom_domain_in_emails?: boolean | undefined;
44184
44292
  enable_dynamic_client_registration?: boolean | undefined;
44293
+ dcr_require_initial_access_token?: boolean | undefined;
44294
+ dcr_allowed_grant_types?: string[] | undefined;
44295
+ dcr_allowed_integration_types?: string[] | undefined;
44296
+ allow_http_return_to?: string[] | undefined;
44185
44297
  enable_idtoken_api2?: boolean | undefined;
44186
44298
  enable_legacy_logs_search_v2?: boolean | undefined;
44187
44299
  enable_legacy_profile?: boolean | undefined;
@@ -44216,6 +44328,10 @@ export declare const tenantInsertSchema: z.ZodObject<{
44216
44328
  enable_client_connections?: boolean | undefined;
44217
44329
  enable_custom_domain_in_emails?: boolean | undefined;
44218
44330
  enable_dynamic_client_registration?: boolean | undefined;
44331
+ dcr_require_initial_access_token?: boolean | undefined;
44332
+ dcr_allowed_grant_types?: string[] | undefined;
44333
+ dcr_allowed_integration_types?: string[] | undefined;
44334
+ allow_http_return_to?: string[] | undefined;
44219
44335
  enable_idtoken_api2?: boolean | undefined;
44220
44336
  enable_legacy_logs_search_v2?: boolean | undefined;
44221
44337
  enable_legacy_profile?: boolean | undefined;
@@ -44491,6 +44607,10 @@ export declare const tenantInsertSchema: z.ZodObject<{
44491
44607
  enable_client_connections?: boolean | undefined;
44492
44608
  enable_custom_domain_in_emails?: boolean | undefined;
44493
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;
44613
+ allow_http_return_to?: string[] | undefined;
44494
44614
  enable_idtoken_api2?: boolean | undefined;
44495
44615
  enable_legacy_logs_search_v2?: boolean | undefined;
44496
44616
  enable_legacy_profile?: boolean | undefined;
@@ -44615,6 +44735,10 @@ export declare const tenantInsertSchema: z.ZodObject<{
44615
44735
  enable_client_connections?: boolean | undefined;
44616
44736
  enable_custom_domain_in_emails?: boolean | undefined;
44617
44737
  enable_dynamic_client_registration?: boolean | undefined;
44738
+ dcr_require_initial_access_token?: boolean | undefined;
44739
+ dcr_allowed_grant_types?: string[] | undefined;
44740
+ dcr_allowed_integration_types?: string[] | undefined;
44741
+ allow_http_return_to?: string[] | undefined;
44618
44742
  enable_idtoken_api2?: boolean | undefined;
44619
44743
  enable_legacy_logs_search_v2?: boolean | undefined;
44620
44744
  enable_legacy_profile?: boolean | undefined;
@@ -44751,6 +44875,10 @@ export declare const tenantSchema: z.ZodObject<{
44751
44875
  enable_client_connections: z.ZodOptional<z.ZodBoolean>;
44752
44876
  enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
44753
44877
  enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
44878
+ dcr_require_initial_access_token: z.ZodOptional<z.ZodBoolean>;
44879
+ dcr_allowed_grant_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44880
+ dcr_allowed_integration_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44881
+ allow_http_return_to: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
44754
44882
  enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
44755
44883
  enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
44756
44884
  enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
@@ -44785,6 +44913,10 @@ export declare const tenantSchema: z.ZodObject<{
44785
44913
  enable_client_connections?: boolean | undefined;
44786
44914
  enable_custom_domain_in_emails?: boolean | undefined;
44787
44915
  enable_dynamic_client_registration?: boolean | undefined;
44916
+ dcr_require_initial_access_token?: boolean | undefined;
44917
+ dcr_allowed_grant_types?: string[] | undefined;
44918
+ dcr_allowed_integration_types?: string[] | undefined;
44919
+ allow_http_return_to?: string[] | undefined;
44788
44920
  enable_idtoken_api2?: boolean | undefined;
44789
44921
  enable_legacy_logs_search_v2?: boolean | undefined;
44790
44922
  enable_legacy_profile?: boolean | undefined;
@@ -44819,6 +44951,10 @@ export declare const tenantSchema: z.ZodObject<{
44819
44951
  enable_client_connections?: boolean | undefined;
44820
44952
  enable_custom_domain_in_emails?: boolean | undefined;
44821
44953
  enable_dynamic_client_registration?: boolean | undefined;
44954
+ dcr_require_initial_access_token?: boolean | undefined;
44955
+ dcr_allowed_grant_types?: string[] | undefined;
44956
+ dcr_allowed_integration_types?: string[] | undefined;
44957
+ allow_http_return_to?: string[] | undefined;
44822
44958
  enable_idtoken_api2?: boolean | undefined;
44823
44959
  enable_legacy_logs_search_v2?: boolean | undefined;
44824
44960
  enable_legacy_profile?: boolean | undefined;
@@ -45098,6 +45234,10 @@ export declare const tenantSchema: z.ZodObject<{
45098
45234
  enable_client_connections?: boolean | undefined;
45099
45235
  enable_custom_domain_in_emails?: boolean | undefined;
45100
45236
  enable_dynamic_client_registration?: boolean | undefined;
45237
+ dcr_require_initial_access_token?: boolean | undefined;
45238
+ dcr_allowed_grant_types?: string[] | undefined;
45239
+ dcr_allowed_integration_types?: string[] | undefined;
45240
+ allow_http_return_to?: string[] | undefined;
45101
45241
  enable_idtoken_api2?: boolean | undefined;
45102
45242
  enable_legacy_logs_search_v2?: boolean | undefined;
45103
45243
  enable_legacy_profile?: boolean | undefined;
@@ -45224,6 +45364,10 @@ export declare const tenantSchema: z.ZodObject<{
45224
45364
  enable_client_connections?: boolean | undefined;
45225
45365
  enable_custom_domain_in_emails?: boolean | undefined;
45226
45366
  enable_dynamic_client_registration?: boolean | undefined;
45367
+ dcr_require_initial_access_token?: boolean | undefined;
45368
+ dcr_allowed_grant_types?: string[] | undefined;
45369
+ dcr_allowed_integration_types?: string[] | undefined;
45370
+ allow_http_return_to?: string[] | undefined;
45227
45371
  enable_idtoken_api2?: boolean | undefined;
45228
45372
  enable_legacy_logs_search_v2?: boolean | undefined;
45229
45373
  enable_legacy_profile?: boolean | undefined;
@@ -48750,6 +48894,7 @@ export interface IdentifierConfig {
48750
48894
  * options.attributes.username.validation.{min_length,max_length}
48751
48895
  */
48752
48896
  export declare function getConnectionIdentifierConfig(connection: ConnectionLike | null | undefined): IdentifierConfig;
48897
+ export declare function isPlainObject(value: unknown): value is Record<string, unknown>;
48753
48898
  export interface ListActionsResponse extends Totals {
48754
48899
  actions: Action[];
48755
48900
  }
@@ -48863,6 +49008,16 @@ export interface ClientGrantsAdapter {
48863
49008
  update(tenant_id: string, id: string, clientGrant: Partial<ClientGrantInsert>): Promise<boolean>;
48864
49009
  remove(tenant_id: string, id: string): Promise<boolean>;
48865
49010
  }
49011
+ export interface ClientRegistrationTokensAdapter {
49012
+ create: (tenant_id: string, token: ClientRegistrationTokenInsert) => Promise<ClientRegistrationToken>;
49013
+ get: (tenant_id: string, id: string) => Promise<ClientRegistrationToken | null>;
49014
+ getByHash: (tenant_id: string, token_hash: string) => Promise<ClientRegistrationToken | null>;
49015
+ listByClient: (tenant_id: string, client_id: string) => Promise<ClientRegistrationToken[]>;
49016
+ markUsed: (tenant_id: string, id: string, used_at: string) => Promise<boolean>;
49017
+ revoke: (tenant_id: string, id: string, revoked_at: string) => Promise<boolean>;
49018
+ revokeByClient: (tenant_id: string, client_id: string, revoked_at: string) => Promise<number>;
49019
+ remove: (tenant_id: string, id: string) => Promise<boolean>;
49020
+ }
48866
49021
  export interface ListCodesResponse extends Totals {
48867
49022
  codes: Code[];
48868
49023
  }
@@ -49325,6 +49480,7 @@ export interface DataAdapters {
49325
49480
  clients: ClientsAdapter;
49326
49481
  clientConnections: ClientConnectionsAdapter;
49327
49482
  clientGrants: ClientGrantsAdapter;
49483
+ clientRegistrationTokens?: ClientRegistrationTokensAdapter;
49328
49484
  codes: CodesAdapter;
49329
49485
  connections: ConnectionsAdapter;
49330
49486
  customDomains: CustomDomainsAdapter;