@authhero/adapter-interfaces 1.7.0 → 1.8.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.
- package/dist/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +159 -13
- package/dist/adapter-interfaces.mjs +425 -386
- package/package.json +1 -1
|
@@ -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,9 @@ 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">>;
|
|
44151
44258
|
enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
|
|
44152
44259
|
enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
|
|
44153
44260
|
enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -44182,6 +44289,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44182
44289
|
enable_client_connections?: boolean | undefined;
|
|
44183
44290
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44184
44291
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44292
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44293
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44294
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44185
44295
|
enable_idtoken_api2?: boolean | undefined;
|
|
44186
44296
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44187
44297
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44216,6 +44326,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44216
44326
|
enable_client_connections?: boolean | undefined;
|
|
44217
44327
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44218
44328
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44329
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44330
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44331
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44219
44332
|
enable_idtoken_api2?: boolean | undefined;
|
|
44220
44333
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44221
44334
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44491,6 +44604,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44491
44604
|
enable_client_connections?: boolean | undefined;
|
|
44492
44605
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44493
44606
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44607
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44608
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44609
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44494
44610
|
enable_idtoken_api2?: boolean | undefined;
|
|
44495
44611
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44496
44612
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44615,6 +44731,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44615
44731
|
enable_client_connections?: boolean | undefined;
|
|
44616
44732
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44617
44733
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44734
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44735
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44736
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44618
44737
|
enable_idtoken_api2?: boolean | undefined;
|
|
44619
44738
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44620
44739
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44751,6 +44870,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44751
44870
|
enable_client_connections: z.ZodOptional<z.ZodBoolean>;
|
|
44752
44871
|
enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
|
|
44753
44872
|
enable_dynamic_client_registration: z.ZodOptional<z.ZodBoolean>;
|
|
44873
|
+
dcr_require_initial_access_token: z.ZodOptional<z.ZodBoolean>;
|
|
44874
|
+
dcr_allowed_grant_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44875
|
+
dcr_allowed_integration_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44754
44876
|
enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
|
|
44755
44877
|
enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
|
|
44756
44878
|
enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -44785,6 +44907,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44785
44907
|
enable_client_connections?: boolean | undefined;
|
|
44786
44908
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44787
44909
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44910
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44911
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44912
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44788
44913
|
enable_idtoken_api2?: boolean | undefined;
|
|
44789
44914
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44790
44915
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44819,6 +44944,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44819
44944
|
enable_client_connections?: boolean | undefined;
|
|
44820
44945
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44821
44946
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
44947
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
44948
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
44949
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
44822
44950
|
enable_idtoken_api2?: boolean | undefined;
|
|
44823
44951
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44824
44952
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -45098,6 +45226,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45098
45226
|
enable_client_connections?: boolean | undefined;
|
|
45099
45227
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
45100
45228
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
45229
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
45230
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
45231
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
45101
45232
|
enable_idtoken_api2?: boolean | undefined;
|
|
45102
45233
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
45103
45234
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -45224,6 +45355,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45224
45355
|
enable_client_connections?: boolean | undefined;
|
|
45225
45356
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
45226
45357
|
enable_dynamic_client_registration?: boolean | undefined;
|
|
45358
|
+
dcr_require_initial_access_token?: boolean | undefined;
|
|
45359
|
+
dcr_allowed_grant_types?: string[] | undefined;
|
|
45360
|
+
dcr_allowed_integration_types?: string[] | undefined;
|
|
45227
45361
|
enable_idtoken_api2?: boolean | undefined;
|
|
45228
45362
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
45229
45363
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -48750,6 +48884,7 @@ export interface IdentifierConfig {
|
|
|
48750
48884
|
* options.attributes.username.validation.{min_length,max_length}
|
|
48751
48885
|
*/
|
|
48752
48886
|
export declare function getConnectionIdentifierConfig(connection: ConnectionLike | null | undefined): IdentifierConfig;
|
|
48887
|
+
export declare function isPlainObject(value: unknown): value is Record<string, unknown>;
|
|
48753
48888
|
export interface ListActionsResponse extends Totals {
|
|
48754
48889
|
actions: Action[];
|
|
48755
48890
|
}
|
|
@@ -48863,6 +48998,16 @@ export interface ClientGrantsAdapter {
|
|
|
48863
48998
|
update(tenant_id: string, id: string, clientGrant: Partial<ClientGrantInsert>): Promise<boolean>;
|
|
48864
48999
|
remove(tenant_id: string, id: string): Promise<boolean>;
|
|
48865
49000
|
}
|
|
49001
|
+
export interface ClientRegistrationTokensAdapter {
|
|
49002
|
+
create: (tenant_id: string, token: ClientRegistrationTokenInsert) => Promise<ClientRegistrationToken>;
|
|
49003
|
+
get: (tenant_id: string, id: string) => Promise<ClientRegistrationToken | null>;
|
|
49004
|
+
getByHash: (tenant_id: string, token_hash: string) => Promise<ClientRegistrationToken | null>;
|
|
49005
|
+
listByClient: (tenant_id: string, client_id: string) => Promise<ClientRegistrationToken[]>;
|
|
49006
|
+
markUsed: (tenant_id: string, id: string, used_at: string) => Promise<boolean>;
|
|
49007
|
+
revoke: (tenant_id: string, id: string, revoked_at: string) => Promise<boolean>;
|
|
49008
|
+
revokeByClient: (tenant_id: string, client_id: string, revoked_at: string) => Promise<number>;
|
|
49009
|
+
remove: (tenant_id: string, id: string) => Promise<boolean>;
|
|
49010
|
+
}
|
|
48866
49011
|
export interface ListCodesResponse extends Totals {
|
|
48867
49012
|
codes: Code[];
|
|
48868
49013
|
}
|
|
@@ -49325,6 +49470,7 @@ export interface DataAdapters {
|
|
|
49325
49470
|
clients: ClientsAdapter;
|
|
49326
49471
|
clientConnections: ClientConnectionsAdapter;
|
|
49327
49472
|
clientGrants: ClientGrantsAdapter;
|
|
49473
|
+
clientRegistrationTokens?: ClientRegistrationTokensAdapter;
|
|
49328
49474
|
codes: CodesAdapter;
|
|
49329
49475
|
connections: ConnectionsAdapter;
|
|
49330
49476
|
customDomains: CustomDomainsAdapter;
|