@authhero/adapter-interfaces 1.6.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 +220 -50
- package/dist/adapter-interfaces.mjs +427 -386
- package/package.json +1 -1
|
@@ -528,6 +528,8 @@ export declare const auditEventInsertSchema: z.ZodObject<{
|
|
|
528
528
|
connection: z.ZodOptional<z.ZodString>;
|
|
529
529
|
strategy: z.ZodOptional<z.ZodString>;
|
|
530
530
|
strategy_type: z.ZodOptional<z.ZodString>;
|
|
531
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
532
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
531
533
|
location: z.ZodOptional<z.ZodObject<{
|
|
532
534
|
country_code: z.ZodString;
|
|
533
535
|
city_name: z.ZodString;
|
|
@@ -609,6 +611,8 @@ export declare const auditEventInsertSchema: z.ZodObject<{
|
|
|
609
611
|
connection?: string | undefined;
|
|
610
612
|
strategy?: string | undefined;
|
|
611
613
|
strategy_type?: string | undefined;
|
|
614
|
+
audience?: string | undefined;
|
|
615
|
+
scope?: string | undefined;
|
|
612
616
|
location?: {
|
|
613
617
|
country_code: string;
|
|
614
618
|
city_name: string;
|
|
@@ -666,6 +670,8 @@ export declare const auditEventInsertSchema: z.ZodObject<{
|
|
|
666
670
|
connection?: string | undefined;
|
|
667
671
|
strategy?: string | undefined;
|
|
668
672
|
strategy_type?: string | undefined;
|
|
673
|
+
audience?: string | undefined;
|
|
674
|
+
scope?: string | undefined;
|
|
669
675
|
location?: {
|
|
670
676
|
country_code: string;
|
|
671
677
|
city_name: string;
|
|
@@ -796,6 +802,8 @@ export declare const auditEventSchema: z.ZodObject<{
|
|
|
796
802
|
connection: z.ZodOptional<z.ZodString>;
|
|
797
803
|
strategy: z.ZodOptional<z.ZodString>;
|
|
798
804
|
strategy_type: z.ZodOptional<z.ZodString>;
|
|
805
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
806
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
799
807
|
location: z.ZodOptional<z.ZodObject<{
|
|
800
808
|
country_code: z.ZodString;
|
|
801
809
|
city_name: z.ZodString;
|
|
@@ -880,6 +888,8 @@ export declare const auditEventSchema: z.ZodObject<{
|
|
|
880
888
|
connection?: string | undefined;
|
|
881
889
|
strategy?: string | undefined;
|
|
882
890
|
strategy_type?: string | undefined;
|
|
891
|
+
audience?: string | undefined;
|
|
892
|
+
scope?: string | undefined;
|
|
883
893
|
location?: {
|
|
884
894
|
country_code: string;
|
|
885
895
|
city_name: string;
|
|
@@ -938,6 +948,8 @@ export declare const auditEventSchema: z.ZodObject<{
|
|
|
938
948
|
connection?: string | undefined;
|
|
939
949
|
strategy?: string | undefined;
|
|
940
950
|
strategy_type?: string | undefined;
|
|
951
|
+
audience?: string | undefined;
|
|
952
|
+
scope?: string | undefined;
|
|
941
953
|
location?: {
|
|
942
954
|
country_code: string;
|
|
943
955
|
city_name: string;
|
|
@@ -3079,6 +3091,13 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3079
3091
|
]>>;
|
|
3080
3092
|
par_request_expiry: z.ZodOptional<z.ZodNumber>;
|
|
3081
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>>>;
|
|
3082
3101
|
}, "strip", z.ZodTypeAny, {
|
|
3083
3102
|
name: string;
|
|
3084
3103
|
client_id: string;
|
|
@@ -3128,6 +3147,9 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3128
3147
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
3129
3148
|
par_request_expiry?: number | undefined;
|
|
3130
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;
|
|
3131
3153
|
}, {
|
|
3132
3154
|
name: string;
|
|
3133
3155
|
client_id: string;
|
|
@@ -3177,6 +3199,9 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3177
3199
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
3178
3200
|
par_request_expiry?: number | undefined;
|
|
3179
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;
|
|
3180
3205
|
}>;
|
|
3181
3206
|
export type ClientInsert = z.input<typeof clientInsertSchema>;
|
|
3182
3207
|
export declare const clientSchema: z.ZodObject<{
|
|
@@ -3272,6 +3297,13 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3272
3297
|
]>>;
|
|
3273
3298
|
par_request_expiry: z.ZodOptional<z.ZodNumber>;
|
|
3274
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>>>;
|
|
3275
3307
|
created_at: z.ZodString;
|
|
3276
3308
|
updated_at: z.ZodString;
|
|
3277
3309
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3325,6 +3357,9 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3325
3357
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
3326
3358
|
par_request_expiry?: number | undefined;
|
|
3327
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;
|
|
3328
3363
|
}, {
|
|
3329
3364
|
created_at: string;
|
|
3330
3365
|
updated_at: string;
|
|
@@ -3376,6 +3411,9 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3376
3411
|
compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
|
|
3377
3412
|
par_request_expiry?: number | undefined;
|
|
3378
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;
|
|
3379
3417
|
}>;
|
|
3380
3418
|
export type Client = z.infer<typeof clientSchema>;
|
|
3381
3419
|
export declare const clientGrantInsertSchema: z.ZodObject<{
|
|
@@ -3397,8 +3435,8 @@ export declare const clientGrantInsertSchema: z.ZodObject<{
|
|
|
3397
3435
|
}, "strip", z.ZodTypeAny, {
|
|
3398
3436
|
client_id: string;
|
|
3399
3437
|
audience: string;
|
|
3400
|
-
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
3401
3438
|
scope?: string[] | undefined;
|
|
3439
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
3402
3440
|
allow_any_organization?: boolean | undefined;
|
|
3403
3441
|
is_system?: boolean | undefined;
|
|
3404
3442
|
subject_type?: "user" | "client" | undefined;
|
|
@@ -3406,8 +3444,8 @@ export declare const clientGrantInsertSchema: z.ZodObject<{
|
|
|
3406
3444
|
}, {
|
|
3407
3445
|
client_id: string;
|
|
3408
3446
|
audience: string;
|
|
3409
|
-
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
3410
3447
|
scope?: string[] | undefined;
|
|
3448
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
3411
3449
|
allow_any_organization?: boolean | undefined;
|
|
3412
3450
|
is_system?: boolean | undefined;
|
|
3413
3451
|
subject_type?: "user" | "client" | undefined;
|
|
@@ -3439,8 +3477,8 @@ export declare const clientGrantSchema: z.ZodObject<{
|
|
|
3439
3477
|
audience: string;
|
|
3440
3478
|
created_at?: string | undefined;
|
|
3441
3479
|
updated_at?: string | undefined;
|
|
3442
|
-
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
3443
3480
|
scope?: string[] | undefined;
|
|
3481
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
3444
3482
|
allow_any_organization?: boolean | undefined;
|
|
3445
3483
|
is_system?: boolean | undefined;
|
|
3446
3484
|
subject_type?: "user" | "client" | undefined;
|
|
@@ -3451,8 +3489,8 @@ export declare const clientGrantSchema: z.ZodObject<{
|
|
|
3451
3489
|
audience: string;
|
|
3452
3490
|
created_at?: string | undefined;
|
|
3453
3491
|
updated_at?: string | undefined;
|
|
3454
|
-
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
3455
3492
|
scope?: string[] | undefined;
|
|
3493
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
3456
3494
|
allow_any_organization?: boolean | undefined;
|
|
3457
3495
|
is_system?: boolean | undefined;
|
|
3458
3496
|
subject_type?: "user" | "client" | undefined;
|
|
@@ -3484,8 +3522,8 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
|
|
|
3484
3522
|
audience: string;
|
|
3485
3523
|
created_at?: string | undefined;
|
|
3486
3524
|
updated_at?: string | undefined;
|
|
3487
|
-
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
3488
3525
|
scope?: string[] | undefined;
|
|
3526
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
3489
3527
|
allow_any_organization?: boolean | undefined;
|
|
3490
3528
|
is_system?: boolean | undefined;
|
|
3491
3529
|
subject_type?: "user" | "client" | undefined;
|
|
@@ -3496,14 +3534,92 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
|
|
|
3496
3534
|
audience: string;
|
|
3497
3535
|
created_at?: string | undefined;
|
|
3498
3536
|
updated_at?: string | undefined;
|
|
3499
|
-
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
3500
3537
|
scope?: string[] | undefined;
|
|
3538
|
+
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
3501
3539
|
allow_any_organization?: boolean | undefined;
|
|
3502
3540
|
is_system?: boolean | undefined;
|
|
3503
3541
|
subject_type?: "user" | "client" | undefined;
|
|
3504
3542
|
authorization_details_types?: string[] | undefined;
|
|
3505
3543
|
}>, "many">;
|
|
3506
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>;
|
|
3507
3623
|
/**
|
|
3508
3624
|
* Types for Auth0 Form Flow components
|
|
3509
3625
|
* Based on the actual structure used by Auth0 forms API
|
|
@@ -11205,9 +11321,9 @@ export declare const authParamsSchema: z.ZodObject<{
|
|
|
11205
11321
|
vendor_id: z.ZodOptional<z.ZodString>;
|
|
11206
11322
|
}, "strip", z.ZodTypeAny, {
|
|
11207
11323
|
client_id: string;
|
|
11208
|
-
username?: string | undefined;
|
|
11209
11324
|
audience?: string | undefined;
|
|
11210
11325
|
scope?: string | undefined;
|
|
11326
|
+
username?: string | undefined;
|
|
11211
11327
|
act_as?: string | undefined;
|
|
11212
11328
|
response_type?: AuthorizationResponseType | undefined;
|
|
11213
11329
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -11224,9 +11340,9 @@ export declare const authParamsSchema: z.ZodObject<{
|
|
|
11224
11340
|
vendor_id?: string | undefined;
|
|
11225
11341
|
}, {
|
|
11226
11342
|
client_id: string;
|
|
11227
|
-
username?: string | undefined;
|
|
11228
11343
|
audience?: string | undefined;
|
|
11229
11344
|
scope?: string | undefined;
|
|
11345
|
+
username?: string | undefined;
|
|
11230
11346
|
act_as?: string | undefined;
|
|
11231
11347
|
response_type?: AuthorizationResponseType | undefined;
|
|
11232
11348
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -11360,12 +11476,13 @@ export declare const codeInsertSchema: z.ZodObject<{
|
|
|
11360
11476
|
used_at: z.ZodOptional<z.ZodString>;
|
|
11361
11477
|
user_id: z.ZodOptional<z.ZodString>;
|
|
11362
11478
|
}, "strip", z.ZodTypeAny, {
|
|
11479
|
+
expires_at: string;
|
|
11363
11480
|
code_id: string;
|
|
11364
11481
|
login_id: string;
|
|
11365
11482
|
code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
11366
|
-
expires_at: string;
|
|
11367
11483
|
connection_id?: string | undefined;
|
|
11368
11484
|
user_id?: string | undefined;
|
|
11485
|
+
used_at?: string | undefined;
|
|
11369
11486
|
redirect_uri?: string | undefined;
|
|
11370
11487
|
state?: string | undefined;
|
|
11371
11488
|
nonce?: string | undefined;
|
|
@@ -11373,14 +11490,14 @@ export declare const codeInsertSchema: z.ZodObject<{
|
|
|
11373
11490
|
code_challenge?: string | undefined;
|
|
11374
11491
|
otp?: string | undefined;
|
|
11375
11492
|
code_verifier?: string | undefined;
|
|
11376
|
-
used_at?: string | undefined;
|
|
11377
11493
|
}, {
|
|
11494
|
+
expires_at: string;
|
|
11378
11495
|
code_id: string;
|
|
11379
11496
|
login_id: string;
|
|
11380
11497
|
code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
11381
|
-
expires_at: string;
|
|
11382
11498
|
connection_id?: string | undefined;
|
|
11383
11499
|
user_id?: string | undefined;
|
|
11500
|
+
used_at?: string | undefined;
|
|
11384
11501
|
redirect_uri?: string | undefined;
|
|
11385
11502
|
state?: string | undefined;
|
|
11386
11503
|
nonce?: string | undefined;
|
|
@@ -11388,7 +11505,6 @@ export declare const codeInsertSchema: z.ZodObject<{
|
|
|
11388
11505
|
code_challenge?: string | undefined;
|
|
11389
11506
|
otp?: string | undefined;
|
|
11390
11507
|
code_verifier?: string | undefined;
|
|
11391
|
-
used_at?: string | undefined;
|
|
11392
11508
|
}>;
|
|
11393
11509
|
export type CodeInsert = z.infer<typeof codeInsertSchema>;
|
|
11394
11510
|
export declare const codeSchema: z.ZodObject<{
|
|
@@ -11420,12 +11536,13 @@ export declare const codeSchema: z.ZodObject<{
|
|
|
11420
11536
|
user_id: z.ZodOptional<z.ZodString>;
|
|
11421
11537
|
}, "strip", z.ZodTypeAny, {
|
|
11422
11538
|
created_at: string;
|
|
11539
|
+
expires_at: string;
|
|
11423
11540
|
code_id: string;
|
|
11424
11541
|
login_id: string;
|
|
11425
11542
|
code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
11426
|
-
expires_at: string;
|
|
11427
11543
|
connection_id?: string | undefined;
|
|
11428
11544
|
user_id?: string | undefined;
|
|
11545
|
+
used_at?: string | undefined;
|
|
11429
11546
|
redirect_uri?: string | undefined;
|
|
11430
11547
|
state?: string | undefined;
|
|
11431
11548
|
nonce?: string | undefined;
|
|
@@ -11433,15 +11550,15 @@ export declare const codeSchema: z.ZodObject<{
|
|
|
11433
11550
|
code_challenge?: string | undefined;
|
|
11434
11551
|
otp?: string | undefined;
|
|
11435
11552
|
code_verifier?: string | undefined;
|
|
11436
|
-
used_at?: string | undefined;
|
|
11437
11553
|
}, {
|
|
11438
11554
|
created_at: string;
|
|
11555
|
+
expires_at: string;
|
|
11439
11556
|
code_id: string;
|
|
11440
11557
|
login_id: string;
|
|
11441
11558
|
code_type: "password_reset" | "email_verification" | "otp" | "mfa_otp" | "authorization_code" | "oauth2_state" | "ticket";
|
|
11442
|
-
expires_at: string;
|
|
11443
11559
|
connection_id?: string | undefined;
|
|
11444
11560
|
user_id?: string | undefined;
|
|
11561
|
+
used_at?: string | undefined;
|
|
11445
11562
|
redirect_uri?: string | undefined;
|
|
11446
11563
|
state?: string | undefined;
|
|
11447
11564
|
nonce?: string | undefined;
|
|
@@ -11449,7 +11566,6 @@ export declare const codeSchema: z.ZodObject<{
|
|
|
11449
11566
|
code_challenge?: string | undefined;
|
|
11450
11567
|
otp?: string | undefined;
|
|
11451
11568
|
code_verifier?: string | undefined;
|
|
11452
|
-
used_at?: string | undefined;
|
|
11453
11569
|
}>;
|
|
11454
11570
|
export type Code = z.infer<typeof codeSchema>;
|
|
11455
11571
|
export declare const connectionOptionsSchema: z.ZodObject<{
|
|
@@ -11880,9 +11996,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
11880
11996
|
} | undefined;
|
|
11881
11997
|
} | undefined;
|
|
11882
11998
|
client_id?: string | undefined;
|
|
11999
|
+
scope?: string | undefined;
|
|
11883
12000
|
provider?: string | undefined;
|
|
11884
12001
|
client_secret?: string | undefined;
|
|
11885
|
-
scope?: string | undefined;
|
|
11886
12002
|
kid?: string | undefined;
|
|
11887
12003
|
team_id?: string | undefined;
|
|
11888
12004
|
realms?: string | undefined;
|
|
@@ -11983,9 +12099,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
|
|
|
11983
12099
|
} | undefined;
|
|
11984
12100
|
} | undefined;
|
|
11985
12101
|
client_id?: string | undefined;
|
|
12102
|
+
scope?: string | undefined;
|
|
11986
12103
|
provider?: string | undefined;
|
|
11987
12104
|
client_secret?: string | undefined;
|
|
11988
|
-
scope?: string | undefined;
|
|
11989
12105
|
kid?: string | undefined;
|
|
11990
12106
|
team_id?: string | undefined;
|
|
11991
12107
|
realms?: string | undefined;
|
|
@@ -12512,9 +12628,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
12512
12628
|
} | undefined;
|
|
12513
12629
|
} | undefined;
|
|
12514
12630
|
client_id?: string | undefined;
|
|
12631
|
+
scope?: string | undefined;
|
|
12515
12632
|
provider?: string | undefined;
|
|
12516
12633
|
client_secret?: string | undefined;
|
|
12517
|
-
scope?: string | undefined;
|
|
12518
12634
|
kid?: string | undefined;
|
|
12519
12635
|
team_id?: string | undefined;
|
|
12520
12636
|
realms?: string | undefined;
|
|
@@ -12615,9 +12731,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
12615
12731
|
} | undefined;
|
|
12616
12732
|
} | undefined;
|
|
12617
12733
|
client_id?: string | undefined;
|
|
12734
|
+
scope?: string | undefined;
|
|
12618
12735
|
provider?: string | undefined;
|
|
12619
12736
|
client_secret?: string | undefined;
|
|
12620
|
-
scope?: string | undefined;
|
|
12621
12737
|
kid?: string | undefined;
|
|
12622
12738
|
team_id?: string | undefined;
|
|
12623
12739
|
realms?: string | undefined;
|
|
@@ -12727,9 +12843,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
12727
12843
|
} | undefined;
|
|
12728
12844
|
} | undefined;
|
|
12729
12845
|
client_id?: string | undefined;
|
|
12846
|
+
scope?: string | undefined;
|
|
12730
12847
|
provider?: string | undefined;
|
|
12731
12848
|
client_secret?: string | undefined;
|
|
12732
|
-
scope?: string | undefined;
|
|
12733
12849
|
kid?: string | undefined;
|
|
12734
12850
|
team_id?: string | undefined;
|
|
12735
12851
|
realms?: string | undefined;
|
|
@@ -12845,9 +12961,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
12845
12961
|
} | undefined;
|
|
12846
12962
|
} | undefined;
|
|
12847
12963
|
client_id?: string | undefined;
|
|
12964
|
+
scope?: string | undefined;
|
|
12848
12965
|
provider?: string | undefined;
|
|
12849
12966
|
client_secret?: string | undefined;
|
|
12850
|
-
scope?: string | undefined;
|
|
12851
12967
|
kid?: string | undefined;
|
|
12852
12968
|
team_id?: string | undefined;
|
|
12853
12969
|
realms?: string | undefined;
|
|
@@ -13388,9 +13504,9 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13388
13504
|
} | undefined;
|
|
13389
13505
|
} | undefined;
|
|
13390
13506
|
client_id?: string | undefined;
|
|
13507
|
+
scope?: string | undefined;
|
|
13391
13508
|
provider?: string | undefined;
|
|
13392
13509
|
client_secret?: string | undefined;
|
|
13393
|
-
scope?: string | undefined;
|
|
13394
13510
|
kid?: string | undefined;
|
|
13395
13511
|
team_id?: string | undefined;
|
|
13396
13512
|
realms?: string | undefined;
|
|
@@ -13491,9 +13607,9 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13491
13607
|
} | undefined;
|
|
13492
13608
|
} | undefined;
|
|
13493
13609
|
client_id?: string | undefined;
|
|
13610
|
+
scope?: string | undefined;
|
|
13494
13611
|
provider?: string | undefined;
|
|
13495
13612
|
client_secret?: string | undefined;
|
|
13496
|
-
scope?: string | undefined;
|
|
13497
13613
|
kid?: string | undefined;
|
|
13498
13614
|
team_id?: string | undefined;
|
|
13499
13615
|
realms?: string | undefined;
|
|
@@ -13605,9 +13721,9 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13605
13721
|
} | undefined;
|
|
13606
13722
|
} | undefined;
|
|
13607
13723
|
client_id?: string | undefined;
|
|
13724
|
+
scope?: string | undefined;
|
|
13608
13725
|
provider?: string | undefined;
|
|
13609
13726
|
client_secret?: string | undefined;
|
|
13610
|
-
scope?: string | undefined;
|
|
13611
13727
|
kid?: string | undefined;
|
|
13612
13728
|
team_id?: string | undefined;
|
|
13613
13729
|
realms?: string | undefined;
|
|
@@ -13725,9 +13841,9 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13725
13841
|
} | undefined;
|
|
13726
13842
|
} | undefined;
|
|
13727
13843
|
client_id?: string | undefined;
|
|
13844
|
+
scope?: string | undefined;
|
|
13728
13845
|
provider?: string | undefined;
|
|
13729
13846
|
client_secret?: string | undefined;
|
|
13730
|
-
scope?: string | undefined;
|
|
13731
13847
|
kid?: string | undefined;
|
|
13732
13848
|
team_id?: string | undefined;
|
|
13733
13849
|
realms?: string | undefined;
|
|
@@ -42912,7 +43028,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
42912
43028
|
userinfo_endpoint: z.ZodString;
|
|
42913
43029
|
mfa_challenge_endpoint: z.ZodString;
|
|
42914
43030
|
jwks_uri: z.ZodString;
|
|
42915
|
-
registration_endpoint: z.ZodString
|
|
43031
|
+
registration_endpoint: z.ZodOptional<z.ZodString>;
|
|
42916
43032
|
revocation_endpoint: z.ZodString;
|
|
42917
43033
|
scopes_supported: z.ZodArray<z.ZodString, "many">;
|
|
42918
43034
|
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
|
@@ -42933,7 +43049,6 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
42933
43049
|
issuer: string;
|
|
42934
43050
|
device_authorization_endpoint: string;
|
|
42935
43051
|
mfa_challenge_endpoint: string;
|
|
42936
|
-
registration_endpoint: string;
|
|
42937
43052
|
revocation_endpoint: string;
|
|
42938
43053
|
scopes_supported: string[];
|
|
42939
43054
|
response_types_supported: string[];
|
|
@@ -42946,6 +43061,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
42946
43061
|
request_uri_parameter_supported: boolean;
|
|
42947
43062
|
request_parameter_supported: boolean;
|
|
42948
43063
|
token_endpoint_auth_signing_alg_values_supported: string[];
|
|
43064
|
+
registration_endpoint?: string | undefined;
|
|
42949
43065
|
}, {
|
|
42950
43066
|
authorization_endpoint: string;
|
|
42951
43067
|
token_endpoint: string;
|
|
@@ -42954,7 +43070,6 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
42954
43070
|
issuer: string;
|
|
42955
43071
|
device_authorization_endpoint: string;
|
|
42956
43072
|
mfa_challenge_endpoint: string;
|
|
42957
|
-
registration_endpoint: string;
|
|
42958
43073
|
revocation_endpoint: string;
|
|
42959
43074
|
scopes_supported: string[];
|
|
42960
43075
|
response_types_supported: string[];
|
|
@@ -42967,6 +43082,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
42967
43082
|
request_uri_parameter_supported: boolean;
|
|
42968
43083
|
request_parameter_supported: boolean;
|
|
42969
43084
|
token_endpoint_auth_signing_alg_values_supported: string[];
|
|
43085
|
+
registration_endpoint?: string | undefined;
|
|
42970
43086
|
}>;
|
|
42971
43087
|
export interface ListParams {
|
|
42972
43088
|
page?: number;
|
|
@@ -43043,9 +43159,9 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
|
|
|
43043
43159
|
vendor_id: z.ZodOptional<z.ZodString>;
|
|
43044
43160
|
}, "strip", z.ZodTypeAny, {
|
|
43045
43161
|
client_id: string;
|
|
43046
|
-
username?: string | undefined;
|
|
43047
43162
|
audience?: string | undefined;
|
|
43048
43163
|
scope?: string | undefined;
|
|
43164
|
+
username?: string | undefined;
|
|
43049
43165
|
act_as?: string | undefined;
|
|
43050
43166
|
response_type?: AuthorizationResponseType | undefined;
|
|
43051
43167
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -43062,9 +43178,9 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
|
|
|
43062
43178
|
vendor_id?: string | undefined;
|
|
43063
43179
|
}, {
|
|
43064
43180
|
client_id: string;
|
|
43065
|
-
username?: string | undefined;
|
|
43066
43181
|
audience?: string | undefined;
|
|
43067
43182
|
scope?: string | undefined;
|
|
43183
|
+
username?: string | undefined;
|
|
43068
43184
|
act_as?: string | undefined;
|
|
43069
43185
|
response_type?: AuthorizationResponseType | undefined;
|
|
43070
43186
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -43103,14 +43219,14 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
|
|
|
43103
43219
|
}>>;
|
|
43104
43220
|
authenticated_at: z.ZodOptional<z.ZodString>;
|
|
43105
43221
|
}, "strip", z.ZodTypeAny, {
|
|
43106
|
-
state: LoginSessionState;
|
|
43107
43222
|
expires_at: string;
|
|
43223
|
+
state: LoginSessionState;
|
|
43108
43224
|
csrf_token: string;
|
|
43109
43225
|
authParams: {
|
|
43110
43226
|
client_id: string;
|
|
43111
|
-
username?: string | undefined;
|
|
43112
43227
|
audience?: string | undefined;
|
|
43113
43228
|
scope?: string | undefined;
|
|
43229
|
+
username?: string | undefined;
|
|
43114
43230
|
act_as?: string | undefined;
|
|
43115
43231
|
response_type?: AuthorizationResponseType | undefined;
|
|
43116
43232
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -43146,9 +43262,9 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
|
|
|
43146
43262
|
csrf_token: string;
|
|
43147
43263
|
authParams: {
|
|
43148
43264
|
client_id: string;
|
|
43149
|
-
username?: string | undefined;
|
|
43150
43265
|
audience?: string | undefined;
|
|
43151
43266
|
scope?: string | undefined;
|
|
43267
|
+
username?: string | undefined;
|
|
43152
43268
|
act_as?: string | undefined;
|
|
43153
43269
|
response_type?: AuthorizationResponseType | undefined;
|
|
43154
43270
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -43209,9 +43325,9 @@ export declare const loginSessionSchema: z.ZodObject<{
|
|
|
43209
43325
|
vendor_id: z.ZodOptional<z.ZodString>;
|
|
43210
43326
|
}, "strip", z.ZodTypeAny, {
|
|
43211
43327
|
client_id: string;
|
|
43212
|
-
username?: string | undefined;
|
|
43213
43328
|
audience?: string | undefined;
|
|
43214
43329
|
scope?: string | undefined;
|
|
43330
|
+
username?: string | undefined;
|
|
43215
43331
|
act_as?: string | undefined;
|
|
43216
43332
|
response_type?: AuthorizationResponseType | undefined;
|
|
43217
43333
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -43228,9 +43344,9 @@ export declare const loginSessionSchema: z.ZodObject<{
|
|
|
43228
43344
|
vendor_id?: string | undefined;
|
|
43229
43345
|
}, {
|
|
43230
43346
|
client_id: string;
|
|
43231
|
-
username?: string | undefined;
|
|
43232
43347
|
audience?: string | undefined;
|
|
43233
43348
|
scope?: string | undefined;
|
|
43349
|
+
username?: string | undefined;
|
|
43234
43350
|
act_as?: string | undefined;
|
|
43235
43351
|
response_type?: AuthorizationResponseType | undefined;
|
|
43236
43352
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -43272,14 +43388,14 @@ export declare const loginSessionSchema: z.ZodObject<{
|
|
|
43272
43388
|
created_at: string;
|
|
43273
43389
|
updated_at: string;
|
|
43274
43390
|
id: string;
|
|
43275
|
-
state: LoginSessionState;
|
|
43276
43391
|
expires_at: string;
|
|
43392
|
+
state: LoginSessionState;
|
|
43277
43393
|
csrf_token: string;
|
|
43278
43394
|
authParams: {
|
|
43279
43395
|
client_id: string;
|
|
43280
|
-
username?: string | undefined;
|
|
43281
43396
|
audience?: string | undefined;
|
|
43282
43397
|
scope?: string | undefined;
|
|
43398
|
+
username?: string | undefined;
|
|
43283
43399
|
act_as?: string | undefined;
|
|
43284
43400
|
response_type?: AuthorizationResponseType | undefined;
|
|
43285
43401
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -43318,9 +43434,9 @@ export declare const loginSessionSchema: z.ZodObject<{
|
|
|
43318
43434
|
csrf_token: string;
|
|
43319
43435
|
authParams: {
|
|
43320
43436
|
client_id: string;
|
|
43321
|
-
username?: string | undefined;
|
|
43322
43437
|
audience?: string | undefined;
|
|
43323
43438
|
scope?: string | undefined;
|
|
43439
|
+
username?: string | undefined;
|
|
43324
43440
|
act_as?: string | undefined;
|
|
43325
43441
|
response_type?: AuthorizationResponseType | undefined;
|
|
43326
43442
|
response_mode?: AuthorizationResponseMode | undefined;
|
|
@@ -43631,6 +43747,8 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
43631
43747
|
connection?: string | undefined;
|
|
43632
43748
|
strategy?: string | undefined;
|
|
43633
43749
|
strategy_type?: string | undefined;
|
|
43750
|
+
audience?: string | undefined;
|
|
43751
|
+
scope?: string | undefined;
|
|
43634
43752
|
auth0_client?: {
|
|
43635
43753
|
version: string;
|
|
43636
43754
|
name: string;
|
|
@@ -43641,8 +43759,6 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
43641
43759
|
hostname?: string | undefined;
|
|
43642
43760
|
connection_id?: string | undefined;
|
|
43643
43761
|
user_id?: string | undefined;
|
|
43644
|
-
audience?: string | undefined;
|
|
43645
|
-
scope?: string | undefined;
|
|
43646
43762
|
details?: any;
|
|
43647
43763
|
user_name?: string | undefined;
|
|
43648
43764
|
client_name?: string | undefined;
|
|
@@ -43666,6 +43782,8 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
43666
43782
|
connection?: string | undefined;
|
|
43667
43783
|
strategy?: string | undefined;
|
|
43668
43784
|
strategy_type?: string | undefined;
|
|
43785
|
+
audience?: string | undefined;
|
|
43786
|
+
scope?: string | undefined;
|
|
43669
43787
|
auth0_client?: {
|
|
43670
43788
|
version: string;
|
|
43671
43789
|
name: string;
|
|
@@ -43676,8 +43794,6 @@ export declare const logInsertSchema: z.ZodObject<{
|
|
|
43676
43794
|
hostname?: string | undefined;
|
|
43677
43795
|
connection_id?: string | undefined;
|
|
43678
43796
|
user_id?: string | undefined;
|
|
43679
|
-
audience?: string | undefined;
|
|
43680
|
-
scope?: string | undefined;
|
|
43681
43797
|
details?: any;
|
|
43682
43798
|
user_name?: string | undefined;
|
|
43683
43799
|
client_name?: string | undefined;
|
|
@@ -43769,6 +43885,8 @@ export declare const logSchema: z.ZodObject<{
|
|
|
43769
43885
|
connection?: string | undefined;
|
|
43770
43886
|
strategy?: string | undefined;
|
|
43771
43887
|
strategy_type?: string | undefined;
|
|
43888
|
+
audience?: string | undefined;
|
|
43889
|
+
scope?: string | undefined;
|
|
43772
43890
|
auth0_client?: {
|
|
43773
43891
|
version: string;
|
|
43774
43892
|
name: string;
|
|
@@ -43779,8 +43897,6 @@ export declare const logSchema: z.ZodObject<{
|
|
|
43779
43897
|
hostname?: string | undefined;
|
|
43780
43898
|
connection_id?: string | undefined;
|
|
43781
43899
|
user_id?: string | undefined;
|
|
43782
|
-
audience?: string | undefined;
|
|
43783
|
-
scope?: string | undefined;
|
|
43784
43900
|
details?: any;
|
|
43785
43901
|
user_name?: string | undefined;
|
|
43786
43902
|
client_name?: string | undefined;
|
|
@@ -43804,6 +43920,8 @@ export declare const logSchema: z.ZodObject<{
|
|
|
43804
43920
|
connection?: string | undefined;
|
|
43805
43921
|
strategy?: string | undefined;
|
|
43806
43922
|
strategy_type?: string | undefined;
|
|
43923
|
+
audience?: string | undefined;
|
|
43924
|
+
scope?: string | undefined;
|
|
43807
43925
|
auth0_client?: {
|
|
43808
43926
|
version: string;
|
|
43809
43927
|
name: string;
|
|
@@ -43814,8 +43932,6 @@ export declare const logSchema: z.ZodObject<{
|
|
|
43814
43932
|
hostname?: string | undefined;
|
|
43815
43933
|
connection_id?: string | undefined;
|
|
43816
43934
|
user_id?: string | undefined;
|
|
43817
|
-
audience?: string | undefined;
|
|
43818
|
-
scope?: string | undefined;
|
|
43819
43935
|
details?: any;
|
|
43820
43936
|
user_name?: string | undefined;
|
|
43821
43937
|
client_name?: string | undefined;
|
|
@@ -44136,6 +44252,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44136
44252
|
enable_client_connections: z.ZodOptional<z.ZodBoolean>;
|
|
44137
44253
|
enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
|
|
44138
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">>;
|
|
44139
44258
|
enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
|
|
44140
44259
|
enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
|
|
44141
44260
|
enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -44170,6 +44289,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44170
44289
|
enable_client_connections?: boolean | undefined;
|
|
44171
44290
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44172
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;
|
|
44173
44295
|
enable_idtoken_api2?: boolean | undefined;
|
|
44174
44296
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44175
44297
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44204,6 +44326,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44204
44326
|
enable_client_connections?: boolean | undefined;
|
|
44205
44327
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44206
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;
|
|
44207
44332
|
enable_idtoken_api2?: boolean | undefined;
|
|
44208
44333
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44209
44334
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44479,6 +44604,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44479
44604
|
enable_client_connections?: boolean | undefined;
|
|
44480
44605
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44481
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;
|
|
44482
44610
|
enable_idtoken_api2?: boolean | undefined;
|
|
44483
44611
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44484
44612
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44603,6 +44731,9 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44603
44731
|
enable_client_connections?: boolean | undefined;
|
|
44604
44732
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44605
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;
|
|
44606
44737
|
enable_idtoken_api2?: boolean | undefined;
|
|
44607
44738
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44608
44739
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44739,6 +44870,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44739
44870
|
enable_client_connections: z.ZodOptional<z.ZodBoolean>;
|
|
44740
44871
|
enable_custom_domain_in_emails: z.ZodOptional<z.ZodBoolean>;
|
|
44741
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">>;
|
|
44742
44876
|
enable_idtoken_api2: z.ZodOptional<z.ZodBoolean>;
|
|
44743
44877
|
enable_legacy_logs_search_v2: z.ZodOptional<z.ZodBoolean>;
|
|
44744
44878
|
enable_legacy_profile: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -44773,6 +44907,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44773
44907
|
enable_client_connections?: boolean | undefined;
|
|
44774
44908
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44775
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;
|
|
44776
44913
|
enable_idtoken_api2?: boolean | undefined;
|
|
44777
44914
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44778
44915
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -44807,6 +44944,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44807
44944
|
enable_client_connections?: boolean | undefined;
|
|
44808
44945
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
44809
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;
|
|
44810
44950
|
enable_idtoken_api2?: boolean | undefined;
|
|
44811
44951
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
44812
44952
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -45086,6 +45226,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45086
45226
|
enable_client_connections?: boolean | undefined;
|
|
45087
45227
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
45088
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;
|
|
45089
45232
|
enable_idtoken_api2?: boolean | undefined;
|
|
45090
45233
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
45091
45234
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -45212,6 +45355,9 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45212
45355
|
enable_client_connections?: boolean | undefined;
|
|
45213
45356
|
enable_custom_domain_in_emails?: boolean | undefined;
|
|
45214
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;
|
|
45215
45361
|
enable_idtoken_api2?: boolean | undefined;
|
|
45216
45362
|
enable_legacy_logs_search_v2?: boolean | undefined;
|
|
45217
45363
|
enable_legacy_profile?: boolean | undefined;
|
|
@@ -45311,16 +45457,16 @@ export declare const tokenResponseSchema: z.ZodObject<{
|
|
|
45311
45457
|
access_token: string;
|
|
45312
45458
|
token_type: string;
|
|
45313
45459
|
expires_in: number;
|
|
45314
|
-
refresh_token?: string | undefined;
|
|
45315
45460
|
scope?: string | undefined;
|
|
45461
|
+
refresh_token?: string | undefined;
|
|
45316
45462
|
id_token?: string | undefined;
|
|
45317
45463
|
state?: string | undefined;
|
|
45318
45464
|
}, {
|
|
45319
45465
|
access_token: string;
|
|
45320
45466
|
token_type: string;
|
|
45321
45467
|
expires_in: number;
|
|
45322
|
-
refresh_token?: string | undefined;
|
|
45323
45468
|
scope?: string | undefined;
|
|
45469
|
+
refresh_token?: string | undefined;
|
|
45324
45470
|
id_token?: string | undefined;
|
|
45325
45471
|
state?: string | undefined;
|
|
45326
45472
|
}>;
|
|
@@ -48738,6 +48884,7 @@ export interface IdentifierConfig {
|
|
|
48738
48884
|
* options.attributes.username.validation.{min_length,max_length}
|
|
48739
48885
|
*/
|
|
48740
48886
|
export declare function getConnectionIdentifierConfig(connection: ConnectionLike | null | undefined): IdentifierConfig;
|
|
48887
|
+
export declare function isPlainObject(value: unknown): value is Record<string, unknown>;
|
|
48741
48888
|
export interface ListActionsResponse extends Totals {
|
|
48742
48889
|
actions: Action[];
|
|
48743
48890
|
}
|
|
@@ -48851,6 +48998,16 @@ export interface ClientGrantsAdapter {
|
|
|
48851
48998
|
update(tenant_id: string, id: string, clientGrant: Partial<ClientGrantInsert>): Promise<boolean>;
|
|
48852
48999
|
remove(tenant_id: string, id: string): Promise<boolean>;
|
|
48853
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
|
+
}
|
|
48854
49011
|
export interface ListCodesResponse extends Totals {
|
|
48855
49012
|
codes: Code[];
|
|
48856
49013
|
}
|
|
@@ -48998,11 +49155,23 @@ export interface EmailProvidersAdapter {
|
|
|
48998
49155
|
export interface ListRefreshTokenResponse extends Totals {
|
|
48999
49156
|
refresh_tokens: RefreshToken[];
|
|
49000
49157
|
}
|
|
49158
|
+
export interface UpdateRefreshTokenOptions {
|
|
49159
|
+
/**
|
|
49160
|
+
* When provided, the adapter also extends the parent login_session's
|
|
49161
|
+
* `expires_at` to `expires_at` (only if the current value is smaller).
|
|
49162
|
+
* The caller is expected to compute the new expiry so the adapter can
|
|
49163
|
+
* avoid a read-before-write and parallelise the two UPDATEs.
|
|
49164
|
+
*/
|
|
49165
|
+
loginSessionBump?: {
|
|
49166
|
+
login_id: string;
|
|
49167
|
+
expires_at: string;
|
|
49168
|
+
};
|
|
49169
|
+
}
|
|
49001
49170
|
export interface RefreshTokensAdapter {
|
|
49002
49171
|
create: (tenant_id: string, refresh_token: RefreshTokenInsert) => Promise<RefreshToken>;
|
|
49003
49172
|
get: (tenant_id: string, id: string) => Promise<RefreshToken | null>;
|
|
49004
49173
|
list(tenant_id: string, params?: ListParams): Promise<ListRefreshTokenResponse>;
|
|
49005
|
-
update: (tenant_id: string, id: string, refresh_token: Partial<RefreshToken
|
|
49174
|
+
update: (tenant_id: string, id: string, refresh_token: Partial<RefreshToken>, options?: UpdateRefreshTokenOptions) => Promise<boolean>;
|
|
49006
49175
|
remove: (tenant_id: string, id: string) => Promise<boolean>;
|
|
49007
49176
|
revokeByLoginSession: (tenant_id: string, login_session_id: string, revoked_at: string) => Promise<number>;
|
|
49008
49177
|
}
|
|
@@ -49301,6 +49470,7 @@ export interface DataAdapters {
|
|
|
49301
49470
|
clients: ClientsAdapter;
|
|
49302
49471
|
clientConnections: ClientConnectionsAdapter;
|
|
49303
49472
|
clientGrants: ClientGrantsAdapter;
|
|
49473
|
+
clientRegistrationTokens?: ClientRegistrationTokensAdapter;
|
|
49304
49474
|
codes: CodesAdapter;
|
|
49305
49475
|
connections: ConnectionsAdapter;
|
|
49306
49476
|
customDomains: CustomDomainsAdapter;
|