@authhero/adapter-interfaces 1.10.2 → 1.11.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 +1513 -220
- package/dist/adapter-interfaces.mjs +744 -606
- package/package.json +1 -1
|
@@ -2999,7 +2999,7 @@ export declare const userResponseSchema: z.ZodObject<{
|
|
|
2999
2999
|
}, z.ZodAny, "strip">>;
|
|
3000
3000
|
export type UserResponse = z.infer<typeof userResponseSchema>;
|
|
3001
3001
|
export declare const clientInsertSchema: z.ZodObject<{
|
|
3002
|
-
client_id: z.ZodString
|
|
3002
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
3003
3003
|
name: z.ZodString;
|
|
3004
3004
|
description: z.ZodOptional<z.ZodString>;
|
|
3005
3005
|
global: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -3066,7 +3066,37 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3066
3066
|
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3067
3067
|
initiate_login_uri: z.ZodOptional<z.ZodString>;
|
|
3068
3068
|
native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3069
|
-
refresh_token: z.ZodOptional<z.ZodDefault<z.
|
|
3069
|
+
refresh_token: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
3070
|
+
rotation_type: z.ZodOptional<z.ZodEnum<[
|
|
3071
|
+
"rotating",
|
|
3072
|
+
"non-rotating"
|
|
3073
|
+
]>>;
|
|
3074
|
+
leeway: z.ZodOptional<z.ZodNumber>;
|
|
3075
|
+
expiration_type: z.ZodOptional<z.ZodEnum<[
|
|
3076
|
+
"expiring",
|
|
3077
|
+
"non-expiring"
|
|
3078
|
+
]>>;
|
|
3079
|
+
token_lifetime: z.ZodOptional<z.ZodNumber>;
|
|
3080
|
+
infinite_token_lifetime: z.ZodOptional<z.ZodBoolean>;
|
|
3081
|
+
idle_token_lifetime: z.ZodOptional<z.ZodNumber>;
|
|
3082
|
+
infinite_idle_token_lifetime: z.ZodOptional<z.ZodBoolean>;
|
|
3083
|
+
}, "strip", z.ZodTypeAny, {
|
|
3084
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
3085
|
+
leeway?: number | undefined;
|
|
3086
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
3087
|
+
token_lifetime?: number | undefined;
|
|
3088
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
3089
|
+
idle_token_lifetime?: number | undefined;
|
|
3090
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
3091
|
+
}, {
|
|
3092
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
3093
|
+
leeway?: number | undefined;
|
|
3094
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
3095
|
+
token_lifetime?: number | undefined;
|
|
3096
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
3097
|
+
idle_token_lifetime?: number | undefined;
|
|
3098
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
3099
|
+
}>>>;
|
|
3070
3100
|
default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3071
3101
|
organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
3072
3102
|
"deny",
|
|
@@ -3104,7 +3134,6 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3104
3134
|
]>>;
|
|
3105
3135
|
}, "strip", z.ZodTypeAny, {
|
|
3106
3136
|
name: string;
|
|
3107
|
-
client_id: string;
|
|
3108
3137
|
global: boolean;
|
|
3109
3138
|
is_first_party: boolean;
|
|
3110
3139
|
oidc_conformant: boolean;
|
|
@@ -3116,7 +3145,16 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3116
3145
|
require_pushed_authorization_requests: boolean;
|
|
3117
3146
|
require_proof_of_possession: boolean;
|
|
3118
3147
|
description?: string | undefined;
|
|
3119
|
-
|
|
3148
|
+
client_id?: string | undefined;
|
|
3149
|
+
refresh_token?: {
|
|
3150
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
3151
|
+
leeway?: number | undefined;
|
|
3152
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
3153
|
+
token_lifetime?: number | undefined;
|
|
3154
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
3155
|
+
idle_token_lifetime?: number | undefined;
|
|
3156
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
3157
|
+
} | undefined;
|
|
3120
3158
|
client_secret?: string | undefined;
|
|
3121
3159
|
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
3122
3160
|
logo_uri?: string | undefined;
|
|
@@ -3157,9 +3195,17 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
3157
3195
|
user_linking_mode?: "builtin" | "off" | undefined;
|
|
3158
3196
|
}, {
|
|
3159
3197
|
name: string;
|
|
3160
|
-
client_id: string;
|
|
3161
3198
|
description?: string | undefined;
|
|
3162
|
-
|
|
3199
|
+
client_id?: string | undefined;
|
|
3200
|
+
refresh_token?: {
|
|
3201
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
3202
|
+
leeway?: number | undefined;
|
|
3203
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
3204
|
+
token_lifetime?: number | undefined;
|
|
3205
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
3206
|
+
idle_token_lifetime?: number | undefined;
|
|
3207
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
3208
|
+
} | undefined;
|
|
3163
3209
|
global?: boolean | undefined;
|
|
3164
3210
|
client_secret?: string | undefined;
|
|
3165
3211
|
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
@@ -3278,7 +3324,37 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3278
3324
|
mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3279
3325
|
initiate_login_uri: z.ZodOptional<z.ZodString>;
|
|
3280
3326
|
native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3281
|
-
refresh_token: z.ZodOptional<z.ZodDefault<z.
|
|
3327
|
+
refresh_token: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
3328
|
+
rotation_type: z.ZodOptional<z.ZodEnum<[
|
|
3329
|
+
"rotating",
|
|
3330
|
+
"non-rotating"
|
|
3331
|
+
]>>;
|
|
3332
|
+
leeway: z.ZodOptional<z.ZodNumber>;
|
|
3333
|
+
expiration_type: z.ZodOptional<z.ZodEnum<[
|
|
3334
|
+
"expiring",
|
|
3335
|
+
"non-expiring"
|
|
3336
|
+
]>>;
|
|
3337
|
+
token_lifetime: z.ZodOptional<z.ZodNumber>;
|
|
3338
|
+
infinite_token_lifetime: z.ZodOptional<z.ZodBoolean>;
|
|
3339
|
+
idle_token_lifetime: z.ZodOptional<z.ZodNumber>;
|
|
3340
|
+
infinite_idle_token_lifetime: z.ZodOptional<z.ZodBoolean>;
|
|
3341
|
+
}, "strip", z.ZodTypeAny, {
|
|
3342
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
3343
|
+
leeway?: number | undefined;
|
|
3344
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
3345
|
+
token_lifetime?: number | undefined;
|
|
3346
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
3347
|
+
idle_token_lifetime?: number | undefined;
|
|
3348
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
3349
|
+
}, {
|
|
3350
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
3351
|
+
leeway?: number | undefined;
|
|
3352
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
3353
|
+
token_lifetime?: number | undefined;
|
|
3354
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
3355
|
+
idle_token_lifetime?: number | undefined;
|
|
3356
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
3357
|
+
}>>>;
|
|
3282
3358
|
default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3283
3359
|
organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
3284
3360
|
"deny",
|
|
@@ -3332,7 +3408,15 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3332
3408
|
require_pushed_authorization_requests: boolean;
|
|
3333
3409
|
require_proof_of_possession: boolean;
|
|
3334
3410
|
description?: string | undefined;
|
|
3335
|
-
refresh_token?:
|
|
3411
|
+
refresh_token?: {
|
|
3412
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
3413
|
+
leeway?: number | undefined;
|
|
3414
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
3415
|
+
token_lifetime?: number | undefined;
|
|
3416
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
3417
|
+
idle_token_lifetime?: number | undefined;
|
|
3418
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
3419
|
+
} | undefined;
|
|
3336
3420
|
client_secret?: string | undefined;
|
|
3337
3421
|
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
3338
3422
|
logo_uri?: string | undefined;
|
|
@@ -3377,7 +3461,15 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
3377
3461
|
name: string;
|
|
3378
3462
|
client_id: string;
|
|
3379
3463
|
description?: string | undefined;
|
|
3380
|
-
refresh_token?:
|
|
3464
|
+
refresh_token?: {
|
|
3465
|
+
rotation_type?: "rotating" | "non-rotating" | undefined;
|
|
3466
|
+
leeway?: number | undefined;
|
|
3467
|
+
expiration_type?: "expiring" | "non-expiring" | undefined;
|
|
3468
|
+
token_lifetime?: number | undefined;
|
|
3469
|
+
infinite_token_lifetime?: boolean | undefined;
|
|
3470
|
+
idle_token_lifetime?: number | undefined;
|
|
3471
|
+
infinite_idle_token_lifetime?: boolean | undefined;
|
|
3472
|
+
} | undefined;
|
|
3381
3473
|
global?: boolean | undefined;
|
|
3382
3474
|
client_secret?: string | undefined;
|
|
3383
3475
|
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
@@ -11374,25 +11466,28 @@ export type AuthParams = z.infer<typeof authParamsSchema>;
|
|
|
11374
11466
|
export declare const brandingSchema: z.ZodObject<{
|
|
11375
11467
|
colors: z.ZodOptional<z.ZodObject<{
|
|
11376
11468
|
primary: z.ZodString;
|
|
11377
|
-
page_background: z.ZodOptional<z.
|
|
11378
|
-
|
|
11379
|
-
|
|
11380
|
-
|
|
11381
|
-
|
|
11382
|
-
|
|
11383
|
-
|
|
11384
|
-
|
|
11385
|
-
|
|
11386
|
-
|
|
11387
|
-
|
|
11388
|
-
|
|
11389
|
-
|
|
11390
|
-
|
|
11391
|
-
|
|
11392
|
-
|
|
11469
|
+
page_background: z.ZodOptional<z.ZodUnion<[
|
|
11470
|
+
z.ZodString,
|
|
11471
|
+
z.ZodObject<{
|
|
11472
|
+
type: z.ZodOptional<z.ZodString>;
|
|
11473
|
+
start: z.ZodOptional<z.ZodString>;
|
|
11474
|
+
end: z.ZodOptional<z.ZodString>;
|
|
11475
|
+
angle_deg: z.ZodOptional<z.ZodNumber>;
|
|
11476
|
+
}, "strip", z.ZodTypeAny, {
|
|
11477
|
+
type?: string | undefined;
|
|
11478
|
+
start?: string | undefined;
|
|
11479
|
+
end?: string | undefined;
|
|
11480
|
+
angle_deg?: number | undefined;
|
|
11481
|
+
}, {
|
|
11482
|
+
type?: string | undefined;
|
|
11483
|
+
start?: string | undefined;
|
|
11484
|
+
end?: string | undefined;
|
|
11485
|
+
angle_deg?: number | undefined;
|
|
11486
|
+
}>
|
|
11487
|
+
]>>;
|
|
11393
11488
|
}, "strip", z.ZodTypeAny, {
|
|
11394
11489
|
primary: string;
|
|
11395
|
-
page_background?: {
|
|
11490
|
+
page_background?: string | {
|
|
11396
11491
|
type?: string | undefined;
|
|
11397
11492
|
start?: string | undefined;
|
|
11398
11493
|
end?: string | undefined;
|
|
@@ -11400,7 +11495,7 @@ export declare const brandingSchema: z.ZodObject<{
|
|
|
11400
11495
|
} | undefined;
|
|
11401
11496
|
}, {
|
|
11402
11497
|
primary: string;
|
|
11403
|
-
page_background?: {
|
|
11498
|
+
page_background?: string | {
|
|
11404
11499
|
type?: string | undefined;
|
|
11405
11500
|
start?: string | undefined;
|
|
11406
11501
|
end?: string | undefined;
|
|
@@ -11420,7 +11515,7 @@ export declare const brandingSchema: z.ZodObject<{
|
|
|
11420
11515
|
}, "strip", z.ZodTypeAny, {
|
|
11421
11516
|
colors?: {
|
|
11422
11517
|
primary: string;
|
|
11423
|
-
page_background?: {
|
|
11518
|
+
page_background?: string | {
|
|
11424
11519
|
type?: string | undefined;
|
|
11425
11520
|
start?: string | undefined;
|
|
11426
11521
|
end?: string | undefined;
|
|
@@ -11436,7 +11531,7 @@ export declare const brandingSchema: z.ZodObject<{
|
|
|
11436
11531
|
}, {
|
|
11437
11532
|
colors?: {
|
|
11438
11533
|
primary: string;
|
|
11439
|
-
page_background?: {
|
|
11534
|
+
page_background?: string | {
|
|
11440
11535
|
type?: string | undefined;
|
|
11441
11536
|
start?: string | undefined;
|
|
11442
11537
|
end?: string | undefined;
|
|
@@ -12212,7 +12307,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
12212
12307
|
name: z.ZodString;
|
|
12213
12308
|
display_name: z.ZodOptional<z.ZodString>;
|
|
12214
12309
|
strategy: z.ZodString;
|
|
12215
|
-
options: z.ZodDefault<z.ZodObject<{
|
|
12310
|
+
options: z.ZodDefault<z.ZodEffects<z.ZodObject<{
|
|
12216
12311
|
kid: z.ZodOptional<z.ZodString>;
|
|
12217
12312
|
team_id: z.ZodOptional<z.ZodString>;
|
|
12218
12313
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -12838,16 +12933,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
12838
12933
|
} | undefined;
|
|
12839
12934
|
requires_username?: boolean | undefined;
|
|
12840
12935
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
12841
|
-
}
|
|
12842
|
-
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
12843
|
-
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
12844
|
-
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
12845
|
-
is_domain_connection: z.ZodOptional<z.ZodBoolean>;
|
|
12846
|
-
show_as_button: z.ZodOptional<z.ZodBoolean>;
|
|
12847
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12848
|
-
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
12849
|
-
}, "strip", z.ZodTypeAny, {
|
|
12850
|
-
options: {
|
|
12936
|
+
}>, {
|
|
12851
12937
|
validation?: {
|
|
12852
12938
|
username?: {
|
|
12853
12939
|
min?: number | undefined;
|
|
@@ -12950,22 +13036,16 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
12950
13036
|
} | undefined;
|
|
12951
13037
|
requires_username?: boolean | undefined;
|
|
12952
13038
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
12953
|
-
}
|
|
12954
|
-
|
|
12955
|
-
|
|
12956
|
-
|
|
12957
|
-
|
|
12958
|
-
|
|
12959
|
-
|
|
12960
|
-
|
|
12961
|
-
|
|
12962
|
-
|
|
12963
|
-
show_as_button?: boolean | undefined;
|
|
12964
|
-
metadata?: Record<string, any> | undefined;
|
|
12965
|
-
}, {
|
|
12966
|
-
name: string;
|
|
12967
|
-
strategy: string;
|
|
12968
|
-
options?: {
|
|
13039
|
+
}, unknown>>;
|
|
13040
|
+
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
13041
|
+
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
13042
|
+
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
13043
|
+
is_domain_connection: z.ZodOptional<z.ZodBoolean>;
|
|
13044
|
+
show_as_button: z.ZodOptional<z.ZodBoolean>;
|
|
13045
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
13046
|
+
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
13047
|
+
}, "strip", z.ZodTypeAny, {
|
|
13048
|
+
options: {
|
|
12969
13049
|
validation?: {
|
|
12970
13050
|
username?: {
|
|
12971
13051
|
min?: number | undefined;
|
|
@@ -13068,7 +13148,22 @@ export declare const connectionInsertSchema: z.ZodObject<{
|
|
|
13068
13148
|
} | undefined;
|
|
13069
13149
|
requires_username?: boolean | undefined;
|
|
13070
13150
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
13071
|
-
}
|
|
13151
|
+
};
|
|
13152
|
+
name: string;
|
|
13153
|
+
strategy: string;
|
|
13154
|
+
id?: string | undefined;
|
|
13155
|
+
is_system?: boolean | undefined;
|
|
13156
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
13157
|
+
response_mode?: AuthorizationResponseMode | undefined;
|
|
13158
|
+
display_name?: string | undefined;
|
|
13159
|
+
enabled_clients?: string[] | undefined;
|
|
13160
|
+
is_domain_connection?: boolean | undefined;
|
|
13161
|
+
show_as_button?: boolean | undefined;
|
|
13162
|
+
metadata?: Record<string, any> | undefined;
|
|
13163
|
+
}, {
|
|
13164
|
+
name: string;
|
|
13165
|
+
strategy: string;
|
|
13166
|
+
options?: unknown;
|
|
13072
13167
|
id?: string | undefined;
|
|
13073
13168
|
is_system?: boolean | undefined;
|
|
13074
13169
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -13088,7 +13183,7 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13088
13183
|
name: z.ZodString;
|
|
13089
13184
|
display_name: z.ZodOptional<z.ZodString>;
|
|
13090
13185
|
strategy: z.ZodString;
|
|
13091
|
-
options: z.ZodDefault<z.ZodObject<{
|
|
13186
|
+
options: z.ZodDefault<z.ZodEffects<z.ZodObject<{
|
|
13092
13187
|
kid: z.ZodOptional<z.ZodString>;
|
|
13093
13188
|
team_id: z.ZodOptional<z.ZodString>;
|
|
13094
13189
|
realms: z.ZodOptional<z.ZodString>;
|
|
@@ -13714,18 +13809,7 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13714
13809
|
} | undefined;
|
|
13715
13810
|
requires_username?: boolean | undefined;
|
|
13716
13811
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
13717
|
-
}
|
|
13718
|
-
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
13719
|
-
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
13720
|
-
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
13721
|
-
is_domain_connection: z.ZodOptional<z.ZodBoolean>;
|
|
13722
|
-
show_as_button: z.ZodOptional<z.ZodBoolean>;
|
|
13723
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
13724
|
-
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
13725
|
-
}, "strip", z.ZodTypeAny, {
|
|
13726
|
-
created_at: string;
|
|
13727
|
-
updated_at: string;
|
|
13728
|
-
options: {
|
|
13812
|
+
}>, {
|
|
13729
13813
|
validation?: {
|
|
13730
13814
|
username?: {
|
|
13731
13815
|
min?: number | undefined;
|
|
@@ -13828,24 +13912,18 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13828
13912
|
} | undefined;
|
|
13829
13913
|
requires_username?: boolean | undefined;
|
|
13830
13914
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
13831
|
-
}
|
|
13832
|
-
|
|
13833
|
-
|
|
13834
|
-
|
|
13835
|
-
|
|
13836
|
-
|
|
13837
|
-
|
|
13838
|
-
|
|
13839
|
-
|
|
13840
|
-
is_domain_connection?: boolean | undefined;
|
|
13841
|
-
show_as_button?: boolean | undefined;
|
|
13842
|
-
metadata?: Record<string, any> | undefined;
|
|
13843
|
-
}, {
|
|
13915
|
+
}, unknown>>;
|
|
13916
|
+
enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
13917
|
+
response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
|
|
13918
|
+
response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
|
|
13919
|
+
is_domain_connection: z.ZodOptional<z.ZodBoolean>;
|
|
13920
|
+
show_as_button: z.ZodOptional<z.ZodBoolean>;
|
|
13921
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
13922
|
+
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
13923
|
+
}, "strip", z.ZodTypeAny, {
|
|
13844
13924
|
created_at: string;
|
|
13845
13925
|
updated_at: string;
|
|
13846
|
-
|
|
13847
|
-
strategy: string;
|
|
13848
|
-
options?: {
|
|
13926
|
+
options: {
|
|
13849
13927
|
validation?: {
|
|
13850
13928
|
username?: {
|
|
13851
13929
|
min?: number | undefined;
|
|
@@ -13948,7 +14026,24 @@ export declare const connectionSchema: z.ZodObject<{
|
|
|
13948
14026
|
} | undefined;
|
|
13949
14027
|
requires_username?: boolean | undefined;
|
|
13950
14028
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
13951
|
-
}
|
|
14029
|
+
};
|
|
14030
|
+
name: string;
|
|
14031
|
+
strategy: string;
|
|
14032
|
+
id?: string | undefined;
|
|
14033
|
+
is_system?: boolean | undefined;
|
|
14034
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
14035
|
+
response_mode?: AuthorizationResponseMode | undefined;
|
|
14036
|
+
display_name?: string | undefined;
|
|
14037
|
+
enabled_clients?: string[] | undefined;
|
|
14038
|
+
is_domain_connection?: boolean | undefined;
|
|
14039
|
+
show_as_button?: boolean | undefined;
|
|
14040
|
+
metadata?: Record<string, any> | undefined;
|
|
14041
|
+
}, {
|
|
14042
|
+
created_at: string;
|
|
14043
|
+
updated_at: string;
|
|
14044
|
+
name: string;
|
|
14045
|
+
strategy: string;
|
|
14046
|
+
options?: unknown;
|
|
13952
14047
|
id?: string | undefined;
|
|
13953
14048
|
is_system?: boolean | undefined;
|
|
13954
14049
|
response_type?: AuthorizationResponseType | undefined;
|
|
@@ -43165,8 +43260,10 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
43165
43260
|
jwks_uri: z.ZodString;
|
|
43166
43261
|
registration_endpoint: z.ZodOptional<z.ZodString>;
|
|
43167
43262
|
revocation_endpoint: z.ZodString;
|
|
43263
|
+
end_session_endpoint: z.ZodOptional<z.ZodString>;
|
|
43168
43264
|
scopes_supported: z.ZodArray<z.ZodString, "many">;
|
|
43169
43265
|
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
|
43266
|
+
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43170
43267
|
code_challenge_methods_supported: z.ZodArray<z.ZodString, "many">;
|
|
43171
43268
|
response_modes_supported: z.ZodArray<z.ZodString, "many">;
|
|
43172
43269
|
subject_types_supported: z.ZodArray<z.ZodString, "many">;
|
|
@@ -43197,6 +43294,8 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
43197
43294
|
request_parameter_supported: boolean;
|
|
43198
43295
|
token_endpoint_auth_signing_alg_values_supported: string[];
|
|
43199
43296
|
registration_endpoint?: string | undefined;
|
|
43297
|
+
end_session_endpoint?: string | undefined;
|
|
43298
|
+
grant_types_supported?: string[] | undefined;
|
|
43200
43299
|
}, {
|
|
43201
43300
|
authorization_endpoint: string;
|
|
43202
43301
|
token_endpoint: string;
|
|
@@ -43218,6 +43317,8 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
|
|
|
43218
43317
|
request_parameter_supported: boolean;
|
|
43219
43318
|
token_endpoint_auth_signing_alg_values_supported: string[];
|
|
43220
43319
|
registration_endpoint?: string | undefined;
|
|
43320
|
+
end_session_endpoint?: string | undefined;
|
|
43321
|
+
grant_types_supported?: string[] | undefined;
|
|
43221
43322
|
}>;
|
|
43222
43323
|
export interface ListParams {
|
|
43223
43324
|
page?: number;
|
|
@@ -44080,6 +44181,525 @@ export declare const logSchema: z.ZodObject<{
|
|
|
44080
44181
|
} | undefined;
|
|
44081
44182
|
}>;
|
|
44082
44183
|
export type Log = z.infer<typeof logSchema>;
|
|
44184
|
+
export declare const logStreamTypeSchema: z.ZodEnum<[
|
|
44185
|
+
"http",
|
|
44186
|
+
"eventbridge",
|
|
44187
|
+
"eventgrid",
|
|
44188
|
+
"splunk",
|
|
44189
|
+
"datadog",
|
|
44190
|
+
"sumo"
|
|
44191
|
+
]>;
|
|
44192
|
+
export declare const logStreamStatusSchema: z.ZodEnum<[
|
|
44193
|
+
"active",
|
|
44194
|
+
"paused",
|
|
44195
|
+
"suspended"
|
|
44196
|
+
]>;
|
|
44197
|
+
export declare const logStreamFilterSchema: z.ZodObject<{
|
|
44198
|
+
type: z.ZodString;
|
|
44199
|
+
name: z.ZodString;
|
|
44200
|
+
}, "strip", z.ZodTypeAny, {
|
|
44201
|
+
type: string;
|
|
44202
|
+
name: string;
|
|
44203
|
+
}, {
|
|
44204
|
+
type: string;
|
|
44205
|
+
name: string;
|
|
44206
|
+
}>;
|
|
44207
|
+
export declare const logStreamInsertSchema: z.ZodObject<{
|
|
44208
|
+
name: z.ZodString;
|
|
44209
|
+
type: z.ZodEnum<[
|
|
44210
|
+
"http",
|
|
44211
|
+
"eventbridge",
|
|
44212
|
+
"eventgrid",
|
|
44213
|
+
"splunk",
|
|
44214
|
+
"datadog",
|
|
44215
|
+
"sumo"
|
|
44216
|
+
]>;
|
|
44217
|
+
status: z.ZodOptional<z.ZodEnum<[
|
|
44218
|
+
"active",
|
|
44219
|
+
"paused",
|
|
44220
|
+
"suspended"
|
|
44221
|
+
]>>;
|
|
44222
|
+
sink: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
44223
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
44224
|
+
type: z.ZodString;
|
|
44225
|
+
name: z.ZodString;
|
|
44226
|
+
}, "strip", z.ZodTypeAny, {
|
|
44227
|
+
type: string;
|
|
44228
|
+
name: string;
|
|
44229
|
+
}, {
|
|
44230
|
+
type: string;
|
|
44231
|
+
name: string;
|
|
44232
|
+
}>, "many">>;
|
|
44233
|
+
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
44234
|
+
}, "strip", z.ZodTypeAny, {
|
|
44235
|
+
type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
|
|
44236
|
+
name: string;
|
|
44237
|
+
sink: Record<string, unknown>;
|
|
44238
|
+
status?: "active" | "paused" | "suspended" | undefined;
|
|
44239
|
+
filters?: {
|
|
44240
|
+
type: string;
|
|
44241
|
+
name: string;
|
|
44242
|
+
}[] | undefined;
|
|
44243
|
+
isPriority?: boolean | undefined;
|
|
44244
|
+
}, {
|
|
44245
|
+
type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
|
|
44246
|
+
name: string;
|
|
44247
|
+
sink: Record<string, unknown>;
|
|
44248
|
+
status?: "active" | "paused" | "suspended" | undefined;
|
|
44249
|
+
filters?: {
|
|
44250
|
+
type: string;
|
|
44251
|
+
name: string;
|
|
44252
|
+
}[] | undefined;
|
|
44253
|
+
isPriority?: boolean | undefined;
|
|
44254
|
+
}>;
|
|
44255
|
+
export type LogStreamInsert = z.infer<typeof logStreamInsertSchema>;
|
|
44256
|
+
export declare const logStreamSchema: z.ZodObject<{
|
|
44257
|
+
name: z.ZodString;
|
|
44258
|
+
type: z.ZodEnum<[
|
|
44259
|
+
"http",
|
|
44260
|
+
"eventbridge",
|
|
44261
|
+
"eventgrid",
|
|
44262
|
+
"splunk",
|
|
44263
|
+
"datadog",
|
|
44264
|
+
"sumo"
|
|
44265
|
+
]>;
|
|
44266
|
+
sink: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
44267
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
44268
|
+
type: z.ZodString;
|
|
44269
|
+
name: z.ZodString;
|
|
44270
|
+
}, "strip", z.ZodTypeAny, {
|
|
44271
|
+
type: string;
|
|
44272
|
+
name: string;
|
|
44273
|
+
}, {
|
|
44274
|
+
type: string;
|
|
44275
|
+
name: string;
|
|
44276
|
+
}>, "many">>;
|
|
44277
|
+
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
44278
|
+
} & {
|
|
44279
|
+
id: z.ZodString;
|
|
44280
|
+
status: z.ZodEnum<[
|
|
44281
|
+
"active",
|
|
44282
|
+
"paused",
|
|
44283
|
+
"suspended"
|
|
44284
|
+
]>;
|
|
44285
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
44286
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
44287
|
+
}, "strip", z.ZodTypeAny, {
|
|
44288
|
+
type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
|
|
44289
|
+
status: "active" | "paused" | "suspended";
|
|
44290
|
+
id: string;
|
|
44291
|
+
name: string;
|
|
44292
|
+
sink: Record<string, unknown>;
|
|
44293
|
+
created_at?: string | undefined;
|
|
44294
|
+
updated_at?: string | undefined;
|
|
44295
|
+
filters?: {
|
|
44296
|
+
type: string;
|
|
44297
|
+
name: string;
|
|
44298
|
+
}[] | undefined;
|
|
44299
|
+
isPriority?: boolean | undefined;
|
|
44300
|
+
}, {
|
|
44301
|
+
type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
|
|
44302
|
+
status: "active" | "paused" | "suspended";
|
|
44303
|
+
id: string;
|
|
44304
|
+
name: string;
|
|
44305
|
+
sink: Record<string, unknown>;
|
|
44306
|
+
created_at?: string | undefined;
|
|
44307
|
+
updated_at?: string | undefined;
|
|
44308
|
+
filters?: {
|
|
44309
|
+
type: string;
|
|
44310
|
+
name: string;
|
|
44311
|
+
}[] | undefined;
|
|
44312
|
+
isPriority?: boolean | undefined;
|
|
44313
|
+
}>;
|
|
44314
|
+
export type LogStream = z.infer<typeof logStreamSchema>;
|
|
44315
|
+
export declare const breachedPasswordDetectionSchema: z.ZodObject<{
|
|
44316
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
44317
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44318
|
+
admin_notification_frequency: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44319
|
+
method: z.ZodOptional<z.ZodString>;
|
|
44320
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
44321
|
+
"pre-user-registration": z.ZodOptional<z.ZodObject<{
|
|
44322
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44323
|
+
}, "strip", z.ZodTypeAny, {
|
|
44324
|
+
shields?: string[] | undefined;
|
|
44325
|
+
}, {
|
|
44326
|
+
shields?: string[] | undefined;
|
|
44327
|
+
}>>;
|
|
44328
|
+
"pre-change-password": z.ZodOptional<z.ZodObject<{
|
|
44329
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44330
|
+
}, "strip", z.ZodTypeAny, {
|
|
44331
|
+
shields?: string[] | undefined;
|
|
44332
|
+
}, {
|
|
44333
|
+
shields?: string[] | undefined;
|
|
44334
|
+
}>>;
|
|
44335
|
+
}, "strip", z.ZodTypeAny, {
|
|
44336
|
+
"pre-user-registration"?: {
|
|
44337
|
+
shields?: string[] | undefined;
|
|
44338
|
+
} | undefined;
|
|
44339
|
+
"pre-change-password"?: {
|
|
44340
|
+
shields?: string[] | undefined;
|
|
44341
|
+
} | undefined;
|
|
44342
|
+
}, {
|
|
44343
|
+
"pre-user-registration"?: {
|
|
44344
|
+
shields?: string[] | undefined;
|
|
44345
|
+
} | undefined;
|
|
44346
|
+
"pre-change-password"?: {
|
|
44347
|
+
shields?: string[] | undefined;
|
|
44348
|
+
} | undefined;
|
|
44349
|
+
}>>;
|
|
44350
|
+
}, "strip", z.ZodTypeAny, {
|
|
44351
|
+
method?: string | undefined;
|
|
44352
|
+
enabled?: boolean | undefined;
|
|
44353
|
+
shields?: string[] | undefined;
|
|
44354
|
+
admin_notification_frequency?: string[] | undefined;
|
|
44355
|
+
stage?: {
|
|
44356
|
+
"pre-user-registration"?: {
|
|
44357
|
+
shields?: string[] | undefined;
|
|
44358
|
+
} | undefined;
|
|
44359
|
+
"pre-change-password"?: {
|
|
44360
|
+
shields?: string[] | undefined;
|
|
44361
|
+
} | undefined;
|
|
44362
|
+
} | undefined;
|
|
44363
|
+
}, {
|
|
44364
|
+
method?: string | undefined;
|
|
44365
|
+
enabled?: boolean | undefined;
|
|
44366
|
+
shields?: string[] | undefined;
|
|
44367
|
+
admin_notification_frequency?: string[] | undefined;
|
|
44368
|
+
stage?: {
|
|
44369
|
+
"pre-user-registration"?: {
|
|
44370
|
+
shields?: string[] | undefined;
|
|
44371
|
+
} | undefined;
|
|
44372
|
+
"pre-change-password"?: {
|
|
44373
|
+
shields?: string[] | undefined;
|
|
44374
|
+
} | undefined;
|
|
44375
|
+
} | undefined;
|
|
44376
|
+
}>;
|
|
44377
|
+
export type BreachedPasswordDetection = z.infer<typeof breachedPasswordDetectionSchema>;
|
|
44378
|
+
export declare const bruteForceProtectionSchema: z.ZodObject<{
|
|
44379
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
44380
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44381
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44382
|
+
mode: z.ZodOptional<z.ZodString>;
|
|
44383
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
44384
|
+
}, "strip", z.ZodTypeAny, {
|
|
44385
|
+
allowlist?: string[] | undefined;
|
|
44386
|
+
enabled?: boolean | undefined;
|
|
44387
|
+
shields?: string[] | undefined;
|
|
44388
|
+
mode?: string | undefined;
|
|
44389
|
+
max_attempts?: number | undefined;
|
|
44390
|
+
}, {
|
|
44391
|
+
allowlist?: string[] | undefined;
|
|
44392
|
+
enabled?: boolean | undefined;
|
|
44393
|
+
shields?: string[] | undefined;
|
|
44394
|
+
mode?: string | undefined;
|
|
44395
|
+
max_attempts?: number | undefined;
|
|
44396
|
+
}>;
|
|
44397
|
+
export type BruteForceProtection = z.infer<typeof bruteForceProtectionSchema>;
|
|
44398
|
+
export declare const suspiciousIpThrottlingSchema: z.ZodObject<{
|
|
44399
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
44400
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44401
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44402
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
44403
|
+
"pre-login": z.ZodOptional<z.ZodObject<{
|
|
44404
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
44405
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
44406
|
+
}, "strip", z.ZodTypeAny, {
|
|
44407
|
+
max_attempts?: number | undefined;
|
|
44408
|
+
rate?: number | undefined;
|
|
44409
|
+
}, {
|
|
44410
|
+
max_attempts?: number | undefined;
|
|
44411
|
+
rate?: number | undefined;
|
|
44412
|
+
}>>;
|
|
44413
|
+
"pre-user-registration": z.ZodOptional<z.ZodObject<{
|
|
44414
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
44415
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
44416
|
+
}, "strip", z.ZodTypeAny, {
|
|
44417
|
+
max_attempts?: number | undefined;
|
|
44418
|
+
rate?: number | undefined;
|
|
44419
|
+
}, {
|
|
44420
|
+
max_attempts?: number | undefined;
|
|
44421
|
+
rate?: number | undefined;
|
|
44422
|
+
}>>;
|
|
44423
|
+
}, "strip", z.ZodTypeAny, {
|
|
44424
|
+
"pre-user-registration"?: {
|
|
44425
|
+
max_attempts?: number | undefined;
|
|
44426
|
+
rate?: number | undefined;
|
|
44427
|
+
} | undefined;
|
|
44428
|
+
"pre-login"?: {
|
|
44429
|
+
max_attempts?: number | undefined;
|
|
44430
|
+
rate?: number | undefined;
|
|
44431
|
+
} | undefined;
|
|
44432
|
+
}, {
|
|
44433
|
+
"pre-user-registration"?: {
|
|
44434
|
+
max_attempts?: number | undefined;
|
|
44435
|
+
rate?: number | undefined;
|
|
44436
|
+
} | undefined;
|
|
44437
|
+
"pre-login"?: {
|
|
44438
|
+
max_attempts?: number | undefined;
|
|
44439
|
+
rate?: number | undefined;
|
|
44440
|
+
} | undefined;
|
|
44441
|
+
}>>;
|
|
44442
|
+
}, "strip", z.ZodTypeAny, {
|
|
44443
|
+
allowlist?: string[] | undefined;
|
|
44444
|
+
enabled?: boolean | undefined;
|
|
44445
|
+
shields?: string[] | undefined;
|
|
44446
|
+
stage?: {
|
|
44447
|
+
"pre-user-registration"?: {
|
|
44448
|
+
max_attempts?: number | undefined;
|
|
44449
|
+
rate?: number | undefined;
|
|
44450
|
+
} | undefined;
|
|
44451
|
+
"pre-login"?: {
|
|
44452
|
+
max_attempts?: number | undefined;
|
|
44453
|
+
rate?: number | undefined;
|
|
44454
|
+
} | undefined;
|
|
44455
|
+
} | undefined;
|
|
44456
|
+
}, {
|
|
44457
|
+
allowlist?: string[] | undefined;
|
|
44458
|
+
enabled?: boolean | undefined;
|
|
44459
|
+
shields?: string[] | undefined;
|
|
44460
|
+
stage?: {
|
|
44461
|
+
"pre-user-registration"?: {
|
|
44462
|
+
max_attempts?: number | undefined;
|
|
44463
|
+
rate?: number | undefined;
|
|
44464
|
+
} | undefined;
|
|
44465
|
+
"pre-login"?: {
|
|
44466
|
+
max_attempts?: number | undefined;
|
|
44467
|
+
rate?: number | undefined;
|
|
44468
|
+
} | undefined;
|
|
44469
|
+
} | undefined;
|
|
44470
|
+
}>;
|
|
44471
|
+
export type SuspiciousIpThrottling = z.infer<typeof suspiciousIpThrottlingSchema>;
|
|
44472
|
+
export declare const attackProtectionSchema: z.ZodObject<{
|
|
44473
|
+
breached_password_detection: z.ZodOptional<z.ZodObject<{
|
|
44474
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
44475
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44476
|
+
admin_notification_frequency: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44477
|
+
method: z.ZodOptional<z.ZodString>;
|
|
44478
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
44479
|
+
"pre-user-registration": z.ZodOptional<z.ZodObject<{
|
|
44480
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44481
|
+
}, "strip", z.ZodTypeAny, {
|
|
44482
|
+
shields?: string[] | undefined;
|
|
44483
|
+
}, {
|
|
44484
|
+
shields?: string[] | undefined;
|
|
44485
|
+
}>>;
|
|
44486
|
+
"pre-change-password": z.ZodOptional<z.ZodObject<{
|
|
44487
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44488
|
+
}, "strip", z.ZodTypeAny, {
|
|
44489
|
+
shields?: string[] | undefined;
|
|
44490
|
+
}, {
|
|
44491
|
+
shields?: string[] | undefined;
|
|
44492
|
+
}>>;
|
|
44493
|
+
}, "strip", z.ZodTypeAny, {
|
|
44494
|
+
"pre-user-registration"?: {
|
|
44495
|
+
shields?: string[] | undefined;
|
|
44496
|
+
} | undefined;
|
|
44497
|
+
"pre-change-password"?: {
|
|
44498
|
+
shields?: string[] | undefined;
|
|
44499
|
+
} | undefined;
|
|
44500
|
+
}, {
|
|
44501
|
+
"pre-user-registration"?: {
|
|
44502
|
+
shields?: string[] | undefined;
|
|
44503
|
+
} | undefined;
|
|
44504
|
+
"pre-change-password"?: {
|
|
44505
|
+
shields?: string[] | undefined;
|
|
44506
|
+
} | undefined;
|
|
44507
|
+
}>>;
|
|
44508
|
+
}, "strip", z.ZodTypeAny, {
|
|
44509
|
+
method?: string | undefined;
|
|
44510
|
+
enabled?: boolean | undefined;
|
|
44511
|
+
shields?: string[] | undefined;
|
|
44512
|
+
admin_notification_frequency?: string[] | undefined;
|
|
44513
|
+
stage?: {
|
|
44514
|
+
"pre-user-registration"?: {
|
|
44515
|
+
shields?: string[] | undefined;
|
|
44516
|
+
} | undefined;
|
|
44517
|
+
"pre-change-password"?: {
|
|
44518
|
+
shields?: string[] | undefined;
|
|
44519
|
+
} | undefined;
|
|
44520
|
+
} | undefined;
|
|
44521
|
+
}, {
|
|
44522
|
+
method?: string | undefined;
|
|
44523
|
+
enabled?: boolean | undefined;
|
|
44524
|
+
shields?: string[] | undefined;
|
|
44525
|
+
admin_notification_frequency?: string[] | undefined;
|
|
44526
|
+
stage?: {
|
|
44527
|
+
"pre-user-registration"?: {
|
|
44528
|
+
shields?: string[] | undefined;
|
|
44529
|
+
} | undefined;
|
|
44530
|
+
"pre-change-password"?: {
|
|
44531
|
+
shields?: string[] | undefined;
|
|
44532
|
+
} | undefined;
|
|
44533
|
+
} | undefined;
|
|
44534
|
+
}>>;
|
|
44535
|
+
brute_force_protection: z.ZodOptional<z.ZodObject<{
|
|
44536
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
44537
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44538
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44539
|
+
mode: z.ZodOptional<z.ZodString>;
|
|
44540
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
44541
|
+
}, "strip", z.ZodTypeAny, {
|
|
44542
|
+
allowlist?: string[] | undefined;
|
|
44543
|
+
enabled?: boolean | undefined;
|
|
44544
|
+
shields?: string[] | undefined;
|
|
44545
|
+
mode?: string | undefined;
|
|
44546
|
+
max_attempts?: number | undefined;
|
|
44547
|
+
}, {
|
|
44548
|
+
allowlist?: string[] | undefined;
|
|
44549
|
+
enabled?: boolean | undefined;
|
|
44550
|
+
shields?: string[] | undefined;
|
|
44551
|
+
mode?: string | undefined;
|
|
44552
|
+
max_attempts?: number | undefined;
|
|
44553
|
+
}>>;
|
|
44554
|
+
suspicious_ip_throttling: z.ZodOptional<z.ZodObject<{
|
|
44555
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
44556
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44557
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44558
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
44559
|
+
"pre-login": z.ZodOptional<z.ZodObject<{
|
|
44560
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
44561
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
44562
|
+
}, "strip", z.ZodTypeAny, {
|
|
44563
|
+
max_attempts?: number | undefined;
|
|
44564
|
+
rate?: number | undefined;
|
|
44565
|
+
}, {
|
|
44566
|
+
max_attempts?: number | undefined;
|
|
44567
|
+
rate?: number | undefined;
|
|
44568
|
+
}>>;
|
|
44569
|
+
"pre-user-registration": z.ZodOptional<z.ZodObject<{
|
|
44570
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
44571
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
44572
|
+
}, "strip", z.ZodTypeAny, {
|
|
44573
|
+
max_attempts?: number | undefined;
|
|
44574
|
+
rate?: number | undefined;
|
|
44575
|
+
}, {
|
|
44576
|
+
max_attempts?: number | undefined;
|
|
44577
|
+
rate?: number | undefined;
|
|
44578
|
+
}>>;
|
|
44579
|
+
}, "strip", z.ZodTypeAny, {
|
|
44580
|
+
"pre-user-registration"?: {
|
|
44581
|
+
max_attempts?: number | undefined;
|
|
44582
|
+
rate?: number | undefined;
|
|
44583
|
+
} | undefined;
|
|
44584
|
+
"pre-login"?: {
|
|
44585
|
+
max_attempts?: number | undefined;
|
|
44586
|
+
rate?: number | undefined;
|
|
44587
|
+
} | undefined;
|
|
44588
|
+
}, {
|
|
44589
|
+
"pre-user-registration"?: {
|
|
44590
|
+
max_attempts?: number | undefined;
|
|
44591
|
+
rate?: number | undefined;
|
|
44592
|
+
} | undefined;
|
|
44593
|
+
"pre-login"?: {
|
|
44594
|
+
max_attempts?: number | undefined;
|
|
44595
|
+
rate?: number | undefined;
|
|
44596
|
+
} | undefined;
|
|
44597
|
+
}>>;
|
|
44598
|
+
}, "strip", z.ZodTypeAny, {
|
|
44599
|
+
allowlist?: string[] | undefined;
|
|
44600
|
+
enabled?: boolean | undefined;
|
|
44601
|
+
shields?: string[] | undefined;
|
|
44602
|
+
stage?: {
|
|
44603
|
+
"pre-user-registration"?: {
|
|
44604
|
+
max_attempts?: number | undefined;
|
|
44605
|
+
rate?: number | undefined;
|
|
44606
|
+
} | undefined;
|
|
44607
|
+
"pre-login"?: {
|
|
44608
|
+
max_attempts?: number | undefined;
|
|
44609
|
+
rate?: number | undefined;
|
|
44610
|
+
} | undefined;
|
|
44611
|
+
} | undefined;
|
|
44612
|
+
}, {
|
|
44613
|
+
allowlist?: string[] | undefined;
|
|
44614
|
+
enabled?: boolean | undefined;
|
|
44615
|
+
shields?: string[] | undefined;
|
|
44616
|
+
stage?: {
|
|
44617
|
+
"pre-user-registration"?: {
|
|
44618
|
+
max_attempts?: number | undefined;
|
|
44619
|
+
rate?: number | undefined;
|
|
44620
|
+
} | undefined;
|
|
44621
|
+
"pre-login"?: {
|
|
44622
|
+
max_attempts?: number | undefined;
|
|
44623
|
+
rate?: number | undefined;
|
|
44624
|
+
} | undefined;
|
|
44625
|
+
} | undefined;
|
|
44626
|
+
}>>;
|
|
44627
|
+
}, "strip", z.ZodTypeAny, {
|
|
44628
|
+
brute_force_protection?: {
|
|
44629
|
+
allowlist?: string[] | undefined;
|
|
44630
|
+
enabled?: boolean | undefined;
|
|
44631
|
+
shields?: string[] | undefined;
|
|
44632
|
+
mode?: string | undefined;
|
|
44633
|
+
max_attempts?: number | undefined;
|
|
44634
|
+
} | undefined;
|
|
44635
|
+
breached_password_detection?: {
|
|
44636
|
+
method?: string | undefined;
|
|
44637
|
+
enabled?: boolean | undefined;
|
|
44638
|
+
shields?: string[] | undefined;
|
|
44639
|
+
admin_notification_frequency?: string[] | undefined;
|
|
44640
|
+
stage?: {
|
|
44641
|
+
"pre-user-registration"?: {
|
|
44642
|
+
shields?: string[] | undefined;
|
|
44643
|
+
} | undefined;
|
|
44644
|
+
"pre-change-password"?: {
|
|
44645
|
+
shields?: string[] | undefined;
|
|
44646
|
+
} | undefined;
|
|
44647
|
+
} | undefined;
|
|
44648
|
+
} | undefined;
|
|
44649
|
+
suspicious_ip_throttling?: {
|
|
44650
|
+
allowlist?: string[] | undefined;
|
|
44651
|
+
enabled?: boolean | undefined;
|
|
44652
|
+
shields?: string[] | undefined;
|
|
44653
|
+
stage?: {
|
|
44654
|
+
"pre-user-registration"?: {
|
|
44655
|
+
max_attempts?: number | undefined;
|
|
44656
|
+
rate?: number | undefined;
|
|
44657
|
+
} | undefined;
|
|
44658
|
+
"pre-login"?: {
|
|
44659
|
+
max_attempts?: number | undefined;
|
|
44660
|
+
rate?: number | undefined;
|
|
44661
|
+
} | undefined;
|
|
44662
|
+
} | undefined;
|
|
44663
|
+
} | undefined;
|
|
44664
|
+
}, {
|
|
44665
|
+
brute_force_protection?: {
|
|
44666
|
+
allowlist?: string[] | undefined;
|
|
44667
|
+
enabled?: boolean | undefined;
|
|
44668
|
+
shields?: string[] | undefined;
|
|
44669
|
+
mode?: string | undefined;
|
|
44670
|
+
max_attempts?: number | undefined;
|
|
44671
|
+
} | undefined;
|
|
44672
|
+
breached_password_detection?: {
|
|
44673
|
+
method?: string | undefined;
|
|
44674
|
+
enabled?: boolean | undefined;
|
|
44675
|
+
shields?: string[] | undefined;
|
|
44676
|
+
admin_notification_frequency?: string[] | undefined;
|
|
44677
|
+
stage?: {
|
|
44678
|
+
"pre-user-registration"?: {
|
|
44679
|
+
shields?: string[] | undefined;
|
|
44680
|
+
} | undefined;
|
|
44681
|
+
"pre-change-password"?: {
|
|
44682
|
+
shields?: string[] | undefined;
|
|
44683
|
+
} | undefined;
|
|
44684
|
+
} | undefined;
|
|
44685
|
+
} | undefined;
|
|
44686
|
+
suspicious_ip_throttling?: {
|
|
44687
|
+
allowlist?: string[] | undefined;
|
|
44688
|
+
enabled?: boolean | undefined;
|
|
44689
|
+
shields?: string[] | undefined;
|
|
44690
|
+
stage?: {
|
|
44691
|
+
"pre-user-registration"?: {
|
|
44692
|
+
max_attempts?: number | undefined;
|
|
44693
|
+
rate?: number | undefined;
|
|
44694
|
+
} | undefined;
|
|
44695
|
+
"pre-login"?: {
|
|
44696
|
+
max_attempts?: number | undefined;
|
|
44697
|
+
rate?: number | undefined;
|
|
44698
|
+
} | undefined;
|
|
44699
|
+
} | undefined;
|
|
44700
|
+
} | undefined;
|
|
44701
|
+
}>;
|
|
44702
|
+
export type AttackProtection = z.infer<typeof attackProtectionSchema>;
|
|
44083
44703
|
export declare const passwordInsertSchema: z.ZodObject<{
|
|
44084
44704
|
id: z.ZodOptional<z.ZodString>;
|
|
44085
44705
|
user_id: z.ZodString;
|
|
@@ -44356,7 +44976,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44356
44976
|
default_redirection_uri: z.ZodOptional<z.ZodString>;
|
|
44357
44977
|
enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44358
44978
|
default_directory: z.ZodOptional<z.ZodString>;
|
|
44359
|
-
error_page: z.ZodOptional<z.ZodObject<{
|
|
44979
|
+
error_page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44360
44980
|
html: z.ZodOptional<z.ZodString>;
|
|
44361
44981
|
show_log_link: z.ZodOptional<z.ZodBoolean>;
|
|
44362
44982
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -44368,7 +44988,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44368
44988
|
url?: string | undefined;
|
|
44369
44989
|
html?: string | undefined;
|
|
44370
44990
|
show_log_link?: boolean | undefined;
|
|
44371
|
-
}
|
|
44991
|
+
}>>>;
|
|
44372
44992
|
flags: z.ZodOptional<z.ZodObject<{
|
|
44373
44993
|
allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
|
|
44374
44994
|
allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -44517,7 +45137,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44517
45137
|
charset?: "base20" | "digits" | undefined;
|
|
44518
45138
|
mask?: string | undefined;
|
|
44519
45139
|
}>>;
|
|
44520
|
-
default_token_quota: z.ZodOptional<z.ZodObject<{
|
|
45140
|
+
default_token_quota: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44521
45141
|
clients: z.ZodOptional<z.ZodObject<{
|
|
44522
45142
|
client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
44523
45143
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -44546,7 +45166,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44546
45166
|
organizations?: {
|
|
44547
45167
|
client_credentials?: Record<string, any> | undefined;
|
|
44548
45168
|
} | undefined;
|
|
44549
|
-
}
|
|
45169
|
+
}>>>;
|
|
44550
45170
|
default_audience: z.ZodOptional<z.ZodString>;
|
|
44551
45171
|
default_organization: z.ZodOptional<z.ZodString>;
|
|
44552
45172
|
sessions: z.ZodOptional<z.ZodObject<{
|
|
@@ -44566,15 +45186,245 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44566
45186
|
allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
|
|
44567
45187
|
customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
|
|
44568
45188
|
acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44569
|
-
mtls: z.ZodOptional<z.ZodObject<{
|
|
45189
|
+
mtls: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44570
45190
|
enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
44571
45191
|
}, "strip", z.ZodTypeAny, {
|
|
44572
45192
|
enable_endpoint_aliases?: boolean | undefined;
|
|
44573
45193
|
}, {
|
|
44574
45194
|
enable_endpoint_aliases?: boolean | undefined;
|
|
44575
|
-
}
|
|
45195
|
+
}>>>;
|
|
44576
45196
|
pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
|
|
44577
45197
|
authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
|
45198
|
+
attack_protection: z.ZodOptional<z.ZodObject<{
|
|
45199
|
+
breached_password_detection: z.ZodOptional<z.ZodObject<{
|
|
45200
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
45201
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45202
|
+
admin_notification_frequency: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45203
|
+
method: z.ZodOptional<z.ZodString>;
|
|
45204
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
45205
|
+
"pre-user-registration": z.ZodOptional<z.ZodObject<{
|
|
45206
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45207
|
+
}, "strip", z.ZodTypeAny, {
|
|
45208
|
+
shields?: string[] | undefined;
|
|
45209
|
+
}, {
|
|
45210
|
+
shields?: string[] | undefined;
|
|
45211
|
+
}>>;
|
|
45212
|
+
"pre-change-password": z.ZodOptional<z.ZodObject<{
|
|
45213
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45214
|
+
}, "strip", z.ZodTypeAny, {
|
|
45215
|
+
shields?: string[] | undefined;
|
|
45216
|
+
}, {
|
|
45217
|
+
shields?: string[] | undefined;
|
|
45218
|
+
}>>;
|
|
45219
|
+
}, "strip", z.ZodTypeAny, {
|
|
45220
|
+
"pre-user-registration"?: {
|
|
45221
|
+
shields?: string[] | undefined;
|
|
45222
|
+
} | undefined;
|
|
45223
|
+
"pre-change-password"?: {
|
|
45224
|
+
shields?: string[] | undefined;
|
|
45225
|
+
} | undefined;
|
|
45226
|
+
}, {
|
|
45227
|
+
"pre-user-registration"?: {
|
|
45228
|
+
shields?: string[] | undefined;
|
|
45229
|
+
} | undefined;
|
|
45230
|
+
"pre-change-password"?: {
|
|
45231
|
+
shields?: string[] | undefined;
|
|
45232
|
+
} | undefined;
|
|
45233
|
+
}>>;
|
|
45234
|
+
}, "strip", z.ZodTypeAny, {
|
|
45235
|
+
method?: string | undefined;
|
|
45236
|
+
enabled?: boolean | undefined;
|
|
45237
|
+
shields?: string[] | undefined;
|
|
45238
|
+
admin_notification_frequency?: string[] | undefined;
|
|
45239
|
+
stage?: {
|
|
45240
|
+
"pre-user-registration"?: {
|
|
45241
|
+
shields?: string[] | undefined;
|
|
45242
|
+
} | undefined;
|
|
45243
|
+
"pre-change-password"?: {
|
|
45244
|
+
shields?: string[] | undefined;
|
|
45245
|
+
} | undefined;
|
|
45246
|
+
} | undefined;
|
|
45247
|
+
}, {
|
|
45248
|
+
method?: string | undefined;
|
|
45249
|
+
enabled?: boolean | undefined;
|
|
45250
|
+
shields?: string[] | undefined;
|
|
45251
|
+
admin_notification_frequency?: string[] | undefined;
|
|
45252
|
+
stage?: {
|
|
45253
|
+
"pre-user-registration"?: {
|
|
45254
|
+
shields?: string[] | undefined;
|
|
45255
|
+
} | undefined;
|
|
45256
|
+
"pre-change-password"?: {
|
|
45257
|
+
shields?: string[] | undefined;
|
|
45258
|
+
} | undefined;
|
|
45259
|
+
} | undefined;
|
|
45260
|
+
}>>;
|
|
45261
|
+
brute_force_protection: z.ZodOptional<z.ZodObject<{
|
|
45262
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
45263
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45264
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45265
|
+
mode: z.ZodOptional<z.ZodString>;
|
|
45266
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
45267
|
+
}, "strip", z.ZodTypeAny, {
|
|
45268
|
+
allowlist?: string[] | undefined;
|
|
45269
|
+
enabled?: boolean | undefined;
|
|
45270
|
+
shields?: string[] | undefined;
|
|
45271
|
+
mode?: string | undefined;
|
|
45272
|
+
max_attempts?: number | undefined;
|
|
45273
|
+
}, {
|
|
45274
|
+
allowlist?: string[] | undefined;
|
|
45275
|
+
enabled?: boolean | undefined;
|
|
45276
|
+
shields?: string[] | undefined;
|
|
45277
|
+
mode?: string | undefined;
|
|
45278
|
+
max_attempts?: number | undefined;
|
|
45279
|
+
}>>;
|
|
45280
|
+
suspicious_ip_throttling: z.ZodOptional<z.ZodObject<{
|
|
45281
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
45282
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45283
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45284
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
45285
|
+
"pre-login": z.ZodOptional<z.ZodObject<{
|
|
45286
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
45287
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
45288
|
+
}, "strip", z.ZodTypeAny, {
|
|
45289
|
+
max_attempts?: number | undefined;
|
|
45290
|
+
rate?: number | undefined;
|
|
45291
|
+
}, {
|
|
45292
|
+
max_attempts?: number | undefined;
|
|
45293
|
+
rate?: number | undefined;
|
|
45294
|
+
}>>;
|
|
45295
|
+
"pre-user-registration": z.ZodOptional<z.ZodObject<{
|
|
45296
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
45297
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
45298
|
+
}, "strip", z.ZodTypeAny, {
|
|
45299
|
+
max_attempts?: number | undefined;
|
|
45300
|
+
rate?: number | undefined;
|
|
45301
|
+
}, {
|
|
45302
|
+
max_attempts?: number | undefined;
|
|
45303
|
+
rate?: number | undefined;
|
|
45304
|
+
}>>;
|
|
45305
|
+
}, "strip", z.ZodTypeAny, {
|
|
45306
|
+
"pre-user-registration"?: {
|
|
45307
|
+
max_attempts?: number | undefined;
|
|
45308
|
+
rate?: number | undefined;
|
|
45309
|
+
} | undefined;
|
|
45310
|
+
"pre-login"?: {
|
|
45311
|
+
max_attempts?: number | undefined;
|
|
45312
|
+
rate?: number | undefined;
|
|
45313
|
+
} | undefined;
|
|
45314
|
+
}, {
|
|
45315
|
+
"pre-user-registration"?: {
|
|
45316
|
+
max_attempts?: number | undefined;
|
|
45317
|
+
rate?: number | undefined;
|
|
45318
|
+
} | undefined;
|
|
45319
|
+
"pre-login"?: {
|
|
45320
|
+
max_attempts?: number | undefined;
|
|
45321
|
+
rate?: number | undefined;
|
|
45322
|
+
} | undefined;
|
|
45323
|
+
}>>;
|
|
45324
|
+
}, "strip", z.ZodTypeAny, {
|
|
45325
|
+
allowlist?: string[] | undefined;
|
|
45326
|
+
enabled?: boolean | undefined;
|
|
45327
|
+
shields?: string[] | undefined;
|
|
45328
|
+
stage?: {
|
|
45329
|
+
"pre-user-registration"?: {
|
|
45330
|
+
max_attempts?: number | undefined;
|
|
45331
|
+
rate?: number | undefined;
|
|
45332
|
+
} | undefined;
|
|
45333
|
+
"pre-login"?: {
|
|
45334
|
+
max_attempts?: number | undefined;
|
|
45335
|
+
rate?: number | undefined;
|
|
45336
|
+
} | undefined;
|
|
45337
|
+
} | undefined;
|
|
45338
|
+
}, {
|
|
45339
|
+
allowlist?: string[] | undefined;
|
|
45340
|
+
enabled?: boolean | undefined;
|
|
45341
|
+
shields?: string[] | undefined;
|
|
45342
|
+
stage?: {
|
|
45343
|
+
"pre-user-registration"?: {
|
|
45344
|
+
max_attempts?: number | undefined;
|
|
45345
|
+
rate?: number | undefined;
|
|
45346
|
+
} | undefined;
|
|
45347
|
+
"pre-login"?: {
|
|
45348
|
+
max_attempts?: number | undefined;
|
|
45349
|
+
rate?: number | undefined;
|
|
45350
|
+
} | undefined;
|
|
45351
|
+
} | undefined;
|
|
45352
|
+
}>>;
|
|
45353
|
+
}, "strip", z.ZodTypeAny, {
|
|
45354
|
+
brute_force_protection?: {
|
|
45355
|
+
allowlist?: string[] | undefined;
|
|
45356
|
+
enabled?: boolean | undefined;
|
|
45357
|
+
shields?: string[] | undefined;
|
|
45358
|
+
mode?: string | undefined;
|
|
45359
|
+
max_attempts?: number | undefined;
|
|
45360
|
+
} | undefined;
|
|
45361
|
+
breached_password_detection?: {
|
|
45362
|
+
method?: string | undefined;
|
|
45363
|
+
enabled?: boolean | undefined;
|
|
45364
|
+
shields?: string[] | undefined;
|
|
45365
|
+
admin_notification_frequency?: string[] | undefined;
|
|
45366
|
+
stage?: {
|
|
45367
|
+
"pre-user-registration"?: {
|
|
45368
|
+
shields?: string[] | undefined;
|
|
45369
|
+
} | undefined;
|
|
45370
|
+
"pre-change-password"?: {
|
|
45371
|
+
shields?: string[] | undefined;
|
|
45372
|
+
} | undefined;
|
|
45373
|
+
} | undefined;
|
|
45374
|
+
} | undefined;
|
|
45375
|
+
suspicious_ip_throttling?: {
|
|
45376
|
+
allowlist?: string[] | undefined;
|
|
45377
|
+
enabled?: boolean | undefined;
|
|
45378
|
+
shields?: string[] | undefined;
|
|
45379
|
+
stage?: {
|
|
45380
|
+
"pre-user-registration"?: {
|
|
45381
|
+
max_attempts?: number | undefined;
|
|
45382
|
+
rate?: number | undefined;
|
|
45383
|
+
} | undefined;
|
|
45384
|
+
"pre-login"?: {
|
|
45385
|
+
max_attempts?: number | undefined;
|
|
45386
|
+
rate?: number | undefined;
|
|
45387
|
+
} | undefined;
|
|
45388
|
+
} | undefined;
|
|
45389
|
+
} | undefined;
|
|
45390
|
+
}, {
|
|
45391
|
+
brute_force_protection?: {
|
|
45392
|
+
allowlist?: string[] | undefined;
|
|
45393
|
+
enabled?: boolean | undefined;
|
|
45394
|
+
shields?: string[] | undefined;
|
|
45395
|
+
mode?: string | undefined;
|
|
45396
|
+
max_attempts?: number | undefined;
|
|
45397
|
+
} | undefined;
|
|
45398
|
+
breached_password_detection?: {
|
|
45399
|
+
method?: string | undefined;
|
|
45400
|
+
enabled?: boolean | undefined;
|
|
45401
|
+
shields?: string[] | undefined;
|
|
45402
|
+
admin_notification_frequency?: string[] | undefined;
|
|
45403
|
+
stage?: {
|
|
45404
|
+
"pre-user-registration"?: {
|
|
45405
|
+
shields?: string[] | undefined;
|
|
45406
|
+
} | undefined;
|
|
45407
|
+
"pre-change-password"?: {
|
|
45408
|
+
shields?: string[] | undefined;
|
|
45409
|
+
} | undefined;
|
|
45410
|
+
} | undefined;
|
|
45411
|
+
} | undefined;
|
|
45412
|
+
suspicious_ip_throttling?: {
|
|
45413
|
+
allowlist?: string[] | undefined;
|
|
45414
|
+
enabled?: boolean | undefined;
|
|
45415
|
+
shields?: string[] | undefined;
|
|
45416
|
+
stage?: {
|
|
45417
|
+
"pre-user-registration"?: {
|
|
45418
|
+
max_attempts?: number | undefined;
|
|
45419
|
+
rate?: number | undefined;
|
|
45420
|
+
} | undefined;
|
|
45421
|
+
"pre-login"?: {
|
|
45422
|
+
max_attempts?: number | undefined;
|
|
45423
|
+
rate?: number | undefined;
|
|
45424
|
+
} | undefined;
|
|
45425
|
+
} | undefined;
|
|
45426
|
+
} | undefined;
|
|
45427
|
+
}>>;
|
|
44578
45428
|
mfa: z.ZodOptional<z.ZodObject<{
|
|
44579
45429
|
policy: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
44580
45430
|
"never",
|
|
@@ -44720,7 +45570,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44720
45570
|
url?: string | undefined;
|
|
44721
45571
|
html?: string | undefined;
|
|
44722
45572
|
show_log_link?: boolean | undefined;
|
|
44723
|
-
} | undefined;
|
|
45573
|
+
} | null | undefined;
|
|
44724
45574
|
flags?: {
|
|
44725
45575
|
allow_changing_enable_sso?: boolean | undefined;
|
|
44726
45576
|
allow_legacy_delegation_grant_types?: boolean | undefined;
|
|
@@ -44781,7 +45631,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44781
45631
|
organizations?: {
|
|
44782
45632
|
client_credentials?: Record<string, any> | undefined;
|
|
44783
45633
|
} | undefined;
|
|
44784
|
-
} | undefined;
|
|
45634
|
+
} | null | undefined;
|
|
44785
45635
|
default_audience?: string | undefined;
|
|
44786
45636
|
sessions?: {
|
|
44787
45637
|
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
@@ -44791,9 +45641,47 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44791
45641
|
acr_values_supported?: string[] | undefined;
|
|
44792
45642
|
mtls?: {
|
|
44793
45643
|
enable_endpoint_aliases?: boolean | undefined;
|
|
44794
|
-
} | undefined;
|
|
45644
|
+
} | null | undefined;
|
|
44795
45645
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
44796
45646
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
45647
|
+
attack_protection?: {
|
|
45648
|
+
brute_force_protection?: {
|
|
45649
|
+
allowlist?: string[] | undefined;
|
|
45650
|
+
enabled?: boolean | undefined;
|
|
45651
|
+
shields?: string[] | undefined;
|
|
45652
|
+
mode?: string | undefined;
|
|
45653
|
+
max_attempts?: number | undefined;
|
|
45654
|
+
} | undefined;
|
|
45655
|
+
breached_password_detection?: {
|
|
45656
|
+
method?: string | undefined;
|
|
45657
|
+
enabled?: boolean | undefined;
|
|
45658
|
+
shields?: string[] | undefined;
|
|
45659
|
+
admin_notification_frequency?: string[] | undefined;
|
|
45660
|
+
stage?: {
|
|
45661
|
+
"pre-user-registration"?: {
|
|
45662
|
+
shields?: string[] | undefined;
|
|
45663
|
+
} | undefined;
|
|
45664
|
+
"pre-change-password"?: {
|
|
45665
|
+
shields?: string[] | undefined;
|
|
45666
|
+
} | undefined;
|
|
45667
|
+
} | undefined;
|
|
45668
|
+
} | undefined;
|
|
45669
|
+
suspicious_ip_throttling?: {
|
|
45670
|
+
allowlist?: string[] | undefined;
|
|
45671
|
+
enabled?: boolean | undefined;
|
|
45672
|
+
shields?: string[] | undefined;
|
|
45673
|
+
stage?: {
|
|
45674
|
+
"pre-user-registration"?: {
|
|
45675
|
+
max_attempts?: number | undefined;
|
|
45676
|
+
rate?: number | undefined;
|
|
45677
|
+
} | undefined;
|
|
45678
|
+
"pre-login"?: {
|
|
45679
|
+
max_attempts?: number | undefined;
|
|
45680
|
+
rate?: number | undefined;
|
|
45681
|
+
} | undefined;
|
|
45682
|
+
} | undefined;
|
|
45683
|
+
} | undefined;
|
|
45684
|
+
} | undefined;
|
|
44797
45685
|
mfa?: {
|
|
44798
45686
|
policy?: "never" | "always" | undefined;
|
|
44799
45687
|
factors?: {
|
|
@@ -44847,7 +45735,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44847
45735
|
url?: string | undefined;
|
|
44848
45736
|
html?: string | undefined;
|
|
44849
45737
|
show_log_link?: boolean | undefined;
|
|
44850
|
-
} | undefined;
|
|
45738
|
+
} | null | undefined;
|
|
44851
45739
|
flags?: {
|
|
44852
45740
|
allow_changing_enable_sso?: boolean | undefined;
|
|
44853
45741
|
allow_legacy_delegation_grant_types?: boolean | undefined;
|
|
@@ -44908,7 +45796,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44908
45796
|
organizations?: {
|
|
44909
45797
|
client_credentials?: Record<string, any> | undefined;
|
|
44910
45798
|
} | undefined;
|
|
44911
|
-
} | undefined;
|
|
45799
|
+
} | null | undefined;
|
|
44912
45800
|
default_audience?: string | undefined;
|
|
44913
45801
|
sessions?: {
|
|
44914
45802
|
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
@@ -44918,9 +45806,47 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
44918
45806
|
acr_values_supported?: string[] | undefined;
|
|
44919
45807
|
mtls?: {
|
|
44920
45808
|
enable_endpoint_aliases?: boolean | undefined;
|
|
44921
|
-
} | undefined;
|
|
45809
|
+
} | null | undefined;
|
|
44922
45810
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
44923
45811
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
45812
|
+
attack_protection?: {
|
|
45813
|
+
brute_force_protection?: {
|
|
45814
|
+
allowlist?: string[] | undefined;
|
|
45815
|
+
enabled?: boolean | undefined;
|
|
45816
|
+
shields?: string[] | undefined;
|
|
45817
|
+
mode?: string | undefined;
|
|
45818
|
+
max_attempts?: number | undefined;
|
|
45819
|
+
} | undefined;
|
|
45820
|
+
breached_password_detection?: {
|
|
45821
|
+
method?: string | undefined;
|
|
45822
|
+
enabled?: boolean | undefined;
|
|
45823
|
+
shields?: string[] | undefined;
|
|
45824
|
+
admin_notification_frequency?: string[] | undefined;
|
|
45825
|
+
stage?: {
|
|
45826
|
+
"pre-user-registration"?: {
|
|
45827
|
+
shields?: string[] | undefined;
|
|
45828
|
+
} | undefined;
|
|
45829
|
+
"pre-change-password"?: {
|
|
45830
|
+
shields?: string[] | undefined;
|
|
45831
|
+
} | undefined;
|
|
45832
|
+
} | undefined;
|
|
45833
|
+
} | undefined;
|
|
45834
|
+
suspicious_ip_throttling?: {
|
|
45835
|
+
allowlist?: string[] | undefined;
|
|
45836
|
+
enabled?: boolean | undefined;
|
|
45837
|
+
shields?: string[] | undefined;
|
|
45838
|
+
stage?: {
|
|
45839
|
+
"pre-user-registration"?: {
|
|
45840
|
+
max_attempts?: number | undefined;
|
|
45841
|
+
rate?: number | undefined;
|
|
45842
|
+
} | undefined;
|
|
45843
|
+
"pre-login"?: {
|
|
45844
|
+
max_attempts?: number | undefined;
|
|
45845
|
+
rate?: number | undefined;
|
|
45846
|
+
} | undefined;
|
|
45847
|
+
} | undefined;
|
|
45848
|
+
} | undefined;
|
|
45849
|
+
} | undefined;
|
|
44924
45850
|
mfa?: {
|
|
44925
45851
|
policy?: "never" | "always" | undefined;
|
|
44926
45852
|
factors?: {
|
|
@@ -44974,7 +45900,7 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44974
45900
|
default_redirection_uri: z.ZodOptional<z.ZodString>;
|
|
44975
45901
|
enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44976
45902
|
default_directory: z.ZodOptional<z.ZodString>;
|
|
44977
|
-
error_page: z.ZodOptional<z.ZodObject<{
|
|
45903
|
+
error_page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44978
45904
|
html: z.ZodOptional<z.ZodString>;
|
|
44979
45905
|
show_log_link: z.ZodOptional<z.ZodBoolean>;
|
|
44980
45906
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -44986,7 +45912,7 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
44986
45912
|
url?: string | undefined;
|
|
44987
45913
|
html?: string | undefined;
|
|
44988
45914
|
show_log_link?: boolean | undefined;
|
|
44989
|
-
}
|
|
45915
|
+
}>>>;
|
|
44990
45916
|
flags: z.ZodOptional<z.ZodObject<{
|
|
44991
45917
|
allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
|
|
44992
45918
|
allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -45135,7 +46061,7 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45135
46061
|
charset?: "base20" | "digits" | undefined;
|
|
45136
46062
|
mask?: string | undefined;
|
|
45137
46063
|
}>>;
|
|
45138
|
-
default_token_quota: z.ZodOptional<z.ZodObject<{
|
|
46064
|
+
default_token_quota: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
45139
46065
|
clients: z.ZodOptional<z.ZodObject<{
|
|
45140
46066
|
client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
45141
46067
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -45164,7 +46090,7 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45164
46090
|
organizations?: {
|
|
45165
46091
|
client_credentials?: Record<string, any> | undefined;
|
|
45166
46092
|
} | undefined;
|
|
45167
|
-
}
|
|
46093
|
+
}>>>;
|
|
45168
46094
|
default_audience: z.ZodOptional<z.ZodString>;
|
|
45169
46095
|
default_organization: z.ZodOptional<z.ZodString>;
|
|
45170
46096
|
sessions: z.ZodOptional<z.ZodObject<{
|
|
@@ -45184,15 +46110,245 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45184
46110
|
allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
|
|
45185
46111
|
customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
|
|
45186
46112
|
acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
45187
|
-
mtls: z.ZodOptional<z.ZodObject<{
|
|
46113
|
+
mtls: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
45188
46114
|
enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
|
|
45189
46115
|
}, "strip", z.ZodTypeAny, {
|
|
45190
46116
|
enable_endpoint_aliases?: boolean | undefined;
|
|
45191
46117
|
}, {
|
|
45192
46118
|
enable_endpoint_aliases?: boolean | undefined;
|
|
45193
|
-
}
|
|
46119
|
+
}>>>;
|
|
45194
46120
|
pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
|
|
45195
46121
|
authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
|
46122
|
+
attack_protection: z.ZodOptional<z.ZodObject<{
|
|
46123
|
+
breached_password_detection: z.ZodOptional<z.ZodObject<{
|
|
46124
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
46125
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
46126
|
+
admin_notification_frequency: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
46127
|
+
method: z.ZodOptional<z.ZodString>;
|
|
46128
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
46129
|
+
"pre-user-registration": z.ZodOptional<z.ZodObject<{
|
|
46130
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
46131
|
+
}, "strip", z.ZodTypeAny, {
|
|
46132
|
+
shields?: string[] | undefined;
|
|
46133
|
+
}, {
|
|
46134
|
+
shields?: string[] | undefined;
|
|
46135
|
+
}>>;
|
|
46136
|
+
"pre-change-password": z.ZodOptional<z.ZodObject<{
|
|
46137
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
46138
|
+
}, "strip", z.ZodTypeAny, {
|
|
46139
|
+
shields?: string[] | undefined;
|
|
46140
|
+
}, {
|
|
46141
|
+
shields?: string[] | undefined;
|
|
46142
|
+
}>>;
|
|
46143
|
+
}, "strip", z.ZodTypeAny, {
|
|
46144
|
+
"pre-user-registration"?: {
|
|
46145
|
+
shields?: string[] | undefined;
|
|
46146
|
+
} | undefined;
|
|
46147
|
+
"pre-change-password"?: {
|
|
46148
|
+
shields?: string[] | undefined;
|
|
46149
|
+
} | undefined;
|
|
46150
|
+
}, {
|
|
46151
|
+
"pre-user-registration"?: {
|
|
46152
|
+
shields?: string[] | undefined;
|
|
46153
|
+
} | undefined;
|
|
46154
|
+
"pre-change-password"?: {
|
|
46155
|
+
shields?: string[] | undefined;
|
|
46156
|
+
} | undefined;
|
|
46157
|
+
}>>;
|
|
46158
|
+
}, "strip", z.ZodTypeAny, {
|
|
46159
|
+
method?: string | undefined;
|
|
46160
|
+
enabled?: boolean | undefined;
|
|
46161
|
+
shields?: string[] | undefined;
|
|
46162
|
+
admin_notification_frequency?: string[] | undefined;
|
|
46163
|
+
stage?: {
|
|
46164
|
+
"pre-user-registration"?: {
|
|
46165
|
+
shields?: string[] | undefined;
|
|
46166
|
+
} | undefined;
|
|
46167
|
+
"pre-change-password"?: {
|
|
46168
|
+
shields?: string[] | undefined;
|
|
46169
|
+
} | undefined;
|
|
46170
|
+
} | undefined;
|
|
46171
|
+
}, {
|
|
46172
|
+
method?: string | undefined;
|
|
46173
|
+
enabled?: boolean | undefined;
|
|
46174
|
+
shields?: string[] | undefined;
|
|
46175
|
+
admin_notification_frequency?: string[] | undefined;
|
|
46176
|
+
stage?: {
|
|
46177
|
+
"pre-user-registration"?: {
|
|
46178
|
+
shields?: string[] | undefined;
|
|
46179
|
+
} | undefined;
|
|
46180
|
+
"pre-change-password"?: {
|
|
46181
|
+
shields?: string[] | undefined;
|
|
46182
|
+
} | undefined;
|
|
46183
|
+
} | undefined;
|
|
46184
|
+
}>>;
|
|
46185
|
+
brute_force_protection: z.ZodOptional<z.ZodObject<{
|
|
46186
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
46187
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
46188
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
46189
|
+
mode: z.ZodOptional<z.ZodString>;
|
|
46190
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
46191
|
+
}, "strip", z.ZodTypeAny, {
|
|
46192
|
+
allowlist?: string[] | undefined;
|
|
46193
|
+
enabled?: boolean | undefined;
|
|
46194
|
+
shields?: string[] | undefined;
|
|
46195
|
+
mode?: string | undefined;
|
|
46196
|
+
max_attempts?: number | undefined;
|
|
46197
|
+
}, {
|
|
46198
|
+
allowlist?: string[] | undefined;
|
|
46199
|
+
enabled?: boolean | undefined;
|
|
46200
|
+
shields?: string[] | undefined;
|
|
46201
|
+
mode?: string | undefined;
|
|
46202
|
+
max_attempts?: number | undefined;
|
|
46203
|
+
}>>;
|
|
46204
|
+
suspicious_ip_throttling: z.ZodOptional<z.ZodObject<{
|
|
46205
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
46206
|
+
shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
46207
|
+
allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
46208
|
+
stage: z.ZodOptional<z.ZodObject<{
|
|
46209
|
+
"pre-login": z.ZodOptional<z.ZodObject<{
|
|
46210
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
46211
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
46212
|
+
}, "strip", z.ZodTypeAny, {
|
|
46213
|
+
max_attempts?: number | undefined;
|
|
46214
|
+
rate?: number | undefined;
|
|
46215
|
+
}, {
|
|
46216
|
+
max_attempts?: number | undefined;
|
|
46217
|
+
rate?: number | undefined;
|
|
46218
|
+
}>>;
|
|
46219
|
+
"pre-user-registration": z.ZodOptional<z.ZodObject<{
|
|
46220
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
46221
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
46222
|
+
}, "strip", z.ZodTypeAny, {
|
|
46223
|
+
max_attempts?: number | undefined;
|
|
46224
|
+
rate?: number | undefined;
|
|
46225
|
+
}, {
|
|
46226
|
+
max_attempts?: number | undefined;
|
|
46227
|
+
rate?: number | undefined;
|
|
46228
|
+
}>>;
|
|
46229
|
+
}, "strip", z.ZodTypeAny, {
|
|
46230
|
+
"pre-user-registration"?: {
|
|
46231
|
+
max_attempts?: number | undefined;
|
|
46232
|
+
rate?: number | undefined;
|
|
46233
|
+
} | undefined;
|
|
46234
|
+
"pre-login"?: {
|
|
46235
|
+
max_attempts?: number | undefined;
|
|
46236
|
+
rate?: number | undefined;
|
|
46237
|
+
} | undefined;
|
|
46238
|
+
}, {
|
|
46239
|
+
"pre-user-registration"?: {
|
|
46240
|
+
max_attempts?: number | undefined;
|
|
46241
|
+
rate?: number | undefined;
|
|
46242
|
+
} | undefined;
|
|
46243
|
+
"pre-login"?: {
|
|
46244
|
+
max_attempts?: number | undefined;
|
|
46245
|
+
rate?: number | undefined;
|
|
46246
|
+
} | undefined;
|
|
46247
|
+
}>>;
|
|
46248
|
+
}, "strip", z.ZodTypeAny, {
|
|
46249
|
+
allowlist?: string[] | undefined;
|
|
46250
|
+
enabled?: boolean | undefined;
|
|
46251
|
+
shields?: string[] | undefined;
|
|
46252
|
+
stage?: {
|
|
46253
|
+
"pre-user-registration"?: {
|
|
46254
|
+
max_attempts?: number | undefined;
|
|
46255
|
+
rate?: number | undefined;
|
|
46256
|
+
} | undefined;
|
|
46257
|
+
"pre-login"?: {
|
|
46258
|
+
max_attempts?: number | undefined;
|
|
46259
|
+
rate?: number | undefined;
|
|
46260
|
+
} | undefined;
|
|
46261
|
+
} | undefined;
|
|
46262
|
+
}, {
|
|
46263
|
+
allowlist?: string[] | undefined;
|
|
46264
|
+
enabled?: boolean | undefined;
|
|
46265
|
+
shields?: string[] | undefined;
|
|
46266
|
+
stage?: {
|
|
46267
|
+
"pre-user-registration"?: {
|
|
46268
|
+
max_attempts?: number | undefined;
|
|
46269
|
+
rate?: number | undefined;
|
|
46270
|
+
} | undefined;
|
|
46271
|
+
"pre-login"?: {
|
|
46272
|
+
max_attempts?: number | undefined;
|
|
46273
|
+
rate?: number | undefined;
|
|
46274
|
+
} | undefined;
|
|
46275
|
+
} | undefined;
|
|
46276
|
+
}>>;
|
|
46277
|
+
}, "strip", z.ZodTypeAny, {
|
|
46278
|
+
brute_force_protection?: {
|
|
46279
|
+
allowlist?: string[] | undefined;
|
|
46280
|
+
enabled?: boolean | undefined;
|
|
46281
|
+
shields?: string[] | undefined;
|
|
46282
|
+
mode?: string | undefined;
|
|
46283
|
+
max_attempts?: number | undefined;
|
|
46284
|
+
} | undefined;
|
|
46285
|
+
breached_password_detection?: {
|
|
46286
|
+
method?: string | undefined;
|
|
46287
|
+
enabled?: boolean | undefined;
|
|
46288
|
+
shields?: string[] | undefined;
|
|
46289
|
+
admin_notification_frequency?: string[] | undefined;
|
|
46290
|
+
stage?: {
|
|
46291
|
+
"pre-user-registration"?: {
|
|
46292
|
+
shields?: string[] | undefined;
|
|
46293
|
+
} | undefined;
|
|
46294
|
+
"pre-change-password"?: {
|
|
46295
|
+
shields?: string[] | undefined;
|
|
46296
|
+
} | undefined;
|
|
46297
|
+
} | undefined;
|
|
46298
|
+
} | undefined;
|
|
46299
|
+
suspicious_ip_throttling?: {
|
|
46300
|
+
allowlist?: string[] | undefined;
|
|
46301
|
+
enabled?: boolean | undefined;
|
|
46302
|
+
shields?: string[] | undefined;
|
|
46303
|
+
stage?: {
|
|
46304
|
+
"pre-user-registration"?: {
|
|
46305
|
+
max_attempts?: number | undefined;
|
|
46306
|
+
rate?: number | undefined;
|
|
46307
|
+
} | undefined;
|
|
46308
|
+
"pre-login"?: {
|
|
46309
|
+
max_attempts?: number | undefined;
|
|
46310
|
+
rate?: number | undefined;
|
|
46311
|
+
} | undefined;
|
|
46312
|
+
} | undefined;
|
|
46313
|
+
} | undefined;
|
|
46314
|
+
}, {
|
|
46315
|
+
brute_force_protection?: {
|
|
46316
|
+
allowlist?: string[] | undefined;
|
|
46317
|
+
enabled?: boolean | undefined;
|
|
46318
|
+
shields?: string[] | undefined;
|
|
46319
|
+
mode?: string | undefined;
|
|
46320
|
+
max_attempts?: number | undefined;
|
|
46321
|
+
} | undefined;
|
|
46322
|
+
breached_password_detection?: {
|
|
46323
|
+
method?: string | undefined;
|
|
46324
|
+
enabled?: boolean | undefined;
|
|
46325
|
+
shields?: string[] | undefined;
|
|
46326
|
+
admin_notification_frequency?: string[] | undefined;
|
|
46327
|
+
stage?: {
|
|
46328
|
+
"pre-user-registration"?: {
|
|
46329
|
+
shields?: string[] | undefined;
|
|
46330
|
+
} | undefined;
|
|
46331
|
+
"pre-change-password"?: {
|
|
46332
|
+
shields?: string[] | undefined;
|
|
46333
|
+
} | undefined;
|
|
46334
|
+
} | undefined;
|
|
46335
|
+
} | undefined;
|
|
46336
|
+
suspicious_ip_throttling?: {
|
|
46337
|
+
allowlist?: string[] | undefined;
|
|
46338
|
+
enabled?: boolean | undefined;
|
|
46339
|
+
shields?: string[] | undefined;
|
|
46340
|
+
stage?: {
|
|
46341
|
+
"pre-user-registration"?: {
|
|
46342
|
+
max_attempts?: number | undefined;
|
|
46343
|
+
rate?: number | undefined;
|
|
46344
|
+
} | undefined;
|
|
46345
|
+
"pre-login"?: {
|
|
46346
|
+
max_attempts?: number | undefined;
|
|
46347
|
+
rate?: number | undefined;
|
|
46348
|
+
} | undefined;
|
|
46349
|
+
} | undefined;
|
|
46350
|
+
} | undefined;
|
|
46351
|
+
}>>;
|
|
45196
46352
|
mfa: z.ZodOptional<z.ZodObject<{
|
|
45197
46353
|
policy: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
|
|
45198
46354
|
"never",
|
|
@@ -45342,7 +46498,7 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45342
46498
|
url?: string | undefined;
|
|
45343
46499
|
html?: string | undefined;
|
|
45344
46500
|
show_log_link?: boolean | undefined;
|
|
45345
|
-
} | undefined;
|
|
46501
|
+
} | null | undefined;
|
|
45346
46502
|
flags?: {
|
|
45347
46503
|
allow_changing_enable_sso?: boolean | undefined;
|
|
45348
46504
|
allow_legacy_delegation_grant_types?: boolean | undefined;
|
|
@@ -45403,7 +46559,7 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45403
46559
|
organizations?: {
|
|
45404
46560
|
client_credentials?: Record<string, any> | undefined;
|
|
45405
46561
|
} | undefined;
|
|
45406
|
-
} | undefined;
|
|
46562
|
+
} | null | undefined;
|
|
45407
46563
|
default_audience?: string | undefined;
|
|
45408
46564
|
sessions?: {
|
|
45409
46565
|
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
@@ -45413,9 +46569,47 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45413
46569
|
acr_values_supported?: string[] | undefined;
|
|
45414
46570
|
mtls?: {
|
|
45415
46571
|
enable_endpoint_aliases?: boolean | undefined;
|
|
45416
|
-
} | undefined;
|
|
46572
|
+
} | null | undefined;
|
|
45417
46573
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
45418
46574
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
46575
|
+
attack_protection?: {
|
|
46576
|
+
brute_force_protection?: {
|
|
46577
|
+
allowlist?: string[] | undefined;
|
|
46578
|
+
enabled?: boolean | undefined;
|
|
46579
|
+
shields?: string[] | undefined;
|
|
46580
|
+
mode?: string | undefined;
|
|
46581
|
+
max_attempts?: number | undefined;
|
|
46582
|
+
} | undefined;
|
|
46583
|
+
breached_password_detection?: {
|
|
46584
|
+
method?: string | undefined;
|
|
46585
|
+
enabled?: boolean | undefined;
|
|
46586
|
+
shields?: string[] | undefined;
|
|
46587
|
+
admin_notification_frequency?: string[] | undefined;
|
|
46588
|
+
stage?: {
|
|
46589
|
+
"pre-user-registration"?: {
|
|
46590
|
+
shields?: string[] | undefined;
|
|
46591
|
+
} | undefined;
|
|
46592
|
+
"pre-change-password"?: {
|
|
46593
|
+
shields?: string[] | undefined;
|
|
46594
|
+
} | undefined;
|
|
46595
|
+
} | undefined;
|
|
46596
|
+
} | undefined;
|
|
46597
|
+
suspicious_ip_throttling?: {
|
|
46598
|
+
allowlist?: string[] | undefined;
|
|
46599
|
+
enabled?: boolean | undefined;
|
|
46600
|
+
shields?: string[] | undefined;
|
|
46601
|
+
stage?: {
|
|
46602
|
+
"pre-user-registration"?: {
|
|
46603
|
+
max_attempts?: number | undefined;
|
|
46604
|
+
rate?: number | undefined;
|
|
46605
|
+
} | undefined;
|
|
46606
|
+
"pre-login"?: {
|
|
46607
|
+
max_attempts?: number | undefined;
|
|
46608
|
+
rate?: number | undefined;
|
|
46609
|
+
} | undefined;
|
|
46610
|
+
} | undefined;
|
|
46611
|
+
} | undefined;
|
|
46612
|
+
} | undefined;
|
|
45419
46613
|
mfa?: {
|
|
45420
46614
|
policy?: "never" | "always" | undefined;
|
|
45421
46615
|
factors?: {
|
|
@@ -45471,7 +46665,7 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45471
46665
|
url?: string | undefined;
|
|
45472
46666
|
html?: string | undefined;
|
|
45473
46667
|
show_log_link?: boolean | undefined;
|
|
45474
|
-
} | undefined;
|
|
46668
|
+
} | null | undefined;
|
|
45475
46669
|
flags?: {
|
|
45476
46670
|
allow_changing_enable_sso?: boolean | undefined;
|
|
45477
46671
|
allow_legacy_delegation_grant_types?: boolean | undefined;
|
|
@@ -45532,7 +46726,7 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45532
46726
|
organizations?: {
|
|
45533
46727
|
client_credentials?: Record<string, any> | undefined;
|
|
45534
46728
|
} | undefined;
|
|
45535
|
-
} | undefined;
|
|
46729
|
+
} | null | undefined;
|
|
45536
46730
|
default_audience?: string | undefined;
|
|
45537
46731
|
sessions?: {
|
|
45538
46732
|
oidc_logout_prompt_enabled?: boolean | undefined;
|
|
@@ -45542,9 +46736,47 @@ export declare const tenantSchema: z.ZodObject<{
|
|
|
45542
46736
|
acr_values_supported?: string[] | undefined;
|
|
45543
46737
|
mtls?: {
|
|
45544
46738
|
enable_endpoint_aliases?: boolean | undefined;
|
|
45545
|
-
} | undefined;
|
|
46739
|
+
} | null | undefined;
|
|
45546
46740
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
45547
46741
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
46742
|
+
attack_protection?: {
|
|
46743
|
+
brute_force_protection?: {
|
|
46744
|
+
allowlist?: string[] | undefined;
|
|
46745
|
+
enabled?: boolean | undefined;
|
|
46746
|
+
shields?: string[] | undefined;
|
|
46747
|
+
mode?: string | undefined;
|
|
46748
|
+
max_attempts?: number | undefined;
|
|
46749
|
+
} | undefined;
|
|
46750
|
+
breached_password_detection?: {
|
|
46751
|
+
method?: string | undefined;
|
|
46752
|
+
enabled?: boolean | undefined;
|
|
46753
|
+
shields?: string[] | undefined;
|
|
46754
|
+
admin_notification_frequency?: string[] | undefined;
|
|
46755
|
+
stage?: {
|
|
46756
|
+
"pre-user-registration"?: {
|
|
46757
|
+
shields?: string[] | undefined;
|
|
46758
|
+
} | undefined;
|
|
46759
|
+
"pre-change-password"?: {
|
|
46760
|
+
shields?: string[] | undefined;
|
|
46761
|
+
} | undefined;
|
|
46762
|
+
} | undefined;
|
|
46763
|
+
} | undefined;
|
|
46764
|
+
suspicious_ip_throttling?: {
|
|
46765
|
+
allowlist?: string[] | undefined;
|
|
46766
|
+
enabled?: boolean | undefined;
|
|
46767
|
+
shields?: string[] | undefined;
|
|
46768
|
+
stage?: {
|
|
46769
|
+
"pre-user-registration"?: {
|
|
46770
|
+
max_attempts?: number | undefined;
|
|
46771
|
+
rate?: number | undefined;
|
|
46772
|
+
} | undefined;
|
|
46773
|
+
"pre-login"?: {
|
|
46774
|
+
max_attempts?: number | undefined;
|
|
46775
|
+
rate?: number | undefined;
|
|
46776
|
+
} | undefined;
|
|
46777
|
+
} | undefined;
|
|
46778
|
+
} | undefined;
|
|
46779
|
+
} | undefined;
|
|
45548
46780
|
mfa?: {
|
|
45549
46781
|
policy?: "never" | "always" | undefined;
|
|
45550
46782
|
factors?: {
|
|
@@ -46791,113 +48023,17 @@ export declare const emailProviderSchema: z.ZodObject<{
|
|
|
46791
48023
|
name: z.ZodString;
|
|
46792
48024
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
46793
48025
|
default_from_address: z.ZodOptional<z.ZodString>;
|
|
46794
|
-
credentials: z.
|
|
46795
|
-
z.ZodObject<{
|
|
46796
|
-
accessKeyId: z.ZodString;
|
|
46797
|
-
secretAccessKey: z.ZodString;
|
|
46798
|
-
region: z.ZodString;
|
|
46799
|
-
}, "strip", z.ZodTypeAny, {
|
|
46800
|
-
region: string;
|
|
46801
|
-
accessKeyId: string;
|
|
46802
|
-
secretAccessKey: string;
|
|
46803
|
-
}, {
|
|
46804
|
-
region: string;
|
|
46805
|
-
accessKeyId: string;
|
|
46806
|
-
secretAccessKey: string;
|
|
46807
|
-
}>,
|
|
46808
|
-
z.ZodObject<{
|
|
46809
|
-
smtp_host: z.ZodArray<z.ZodString, "many">;
|
|
46810
|
-
smtp_port: z.ZodNumber;
|
|
46811
|
-
smtp_user: z.ZodString;
|
|
46812
|
-
smtp_pass: z.ZodString;
|
|
46813
|
-
}, "strip", z.ZodTypeAny, {
|
|
46814
|
-
smtp_host: string[];
|
|
46815
|
-
smtp_port: number;
|
|
46816
|
-
smtp_user: string;
|
|
46817
|
-
smtp_pass: string;
|
|
46818
|
-
}, {
|
|
46819
|
-
smtp_host: string[];
|
|
46820
|
-
smtp_port: number;
|
|
46821
|
-
smtp_user: string;
|
|
46822
|
-
smtp_pass: string;
|
|
46823
|
-
}>,
|
|
46824
|
-
z.ZodObject<{
|
|
46825
|
-
api_key: z.ZodString;
|
|
46826
|
-
domain: z.ZodOptional<z.ZodString>;
|
|
46827
|
-
}, "strip", z.ZodTypeAny, {
|
|
46828
|
-
api_key: string;
|
|
46829
|
-
domain?: string | undefined;
|
|
46830
|
-
}, {
|
|
46831
|
-
api_key: string;
|
|
46832
|
-
domain?: string | undefined;
|
|
46833
|
-
}>,
|
|
46834
|
-
z.ZodObject<{
|
|
46835
|
-
connectionString: z.ZodString;
|
|
46836
|
-
}, "strip", z.ZodTypeAny, {
|
|
46837
|
-
connectionString: string;
|
|
46838
|
-
}, {
|
|
46839
|
-
connectionString: string;
|
|
46840
|
-
}>,
|
|
46841
|
-
z.ZodObject<{
|
|
46842
|
-
tenantId: z.ZodString;
|
|
46843
|
-
clientId: z.ZodString;
|
|
46844
|
-
clientSecret: z.ZodString;
|
|
46845
|
-
}, "strip", z.ZodTypeAny, {
|
|
46846
|
-
tenantId: string;
|
|
46847
|
-
clientId: string;
|
|
46848
|
-
clientSecret: string;
|
|
46849
|
-
}, {
|
|
46850
|
-
tenantId: string;
|
|
46851
|
-
clientId: string;
|
|
46852
|
-
clientSecret: string;
|
|
46853
|
-
}>
|
|
46854
|
-
]>;
|
|
48026
|
+
credentials: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
46855
48027
|
settings: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
46856
48028
|
}, "strip", z.ZodTypeAny, {
|
|
46857
48029
|
name: string;
|
|
46858
48030
|
enabled: boolean;
|
|
46859
|
-
credentials:
|
|
46860
|
-
region: string;
|
|
46861
|
-
accessKeyId: string;
|
|
46862
|
-
secretAccessKey: string;
|
|
46863
|
-
} | {
|
|
46864
|
-
smtp_host: string[];
|
|
46865
|
-
smtp_port: number;
|
|
46866
|
-
smtp_user: string;
|
|
46867
|
-
smtp_pass: string;
|
|
46868
|
-
} | {
|
|
46869
|
-
api_key: string;
|
|
46870
|
-
domain?: string | undefined;
|
|
46871
|
-
} | {
|
|
46872
|
-
connectionString: string;
|
|
46873
|
-
} | {
|
|
46874
|
-
tenantId: string;
|
|
46875
|
-
clientId: string;
|
|
46876
|
-
clientSecret: string;
|
|
46877
|
-
};
|
|
48031
|
+
credentials: Record<string, unknown>;
|
|
46878
48032
|
default_from_address?: string | undefined;
|
|
46879
48033
|
settings?: {} | undefined;
|
|
46880
48034
|
}, {
|
|
46881
48035
|
name: string;
|
|
46882
|
-
credentials:
|
|
46883
|
-
region: string;
|
|
46884
|
-
accessKeyId: string;
|
|
46885
|
-
secretAccessKey: string;
|
|
46886
|
-
} | {
|
|
46887
|
-
smtp_host: string[];
|
|
46888
|
-
smtp_port: number;
|
|
46889
|
-
smtp_user: string;
|
|
46890
|
-
smtp_pass: string;
|
|
46891
|
-
} | {
|
|
46892
|
-
api_key: string;
|
|
46893
|
-
domain?: string | undefined;
|
|
46894
|
-
} | {
|
|
46895
|
-
connectionString: string;
|
|
46896
|
-
} | {
|
|
46897
|
-
tenantId: string;
|
|
46898
|
-
clientId: string;
|
|
46899
|
-
clientSecret: string;
|
|
46900
|
-
};
|
|
48036
|
+
credentials: Record<string, unknown>;
|
|
46901
48037
|
enabled?: boolean | undefined;
|
|
46902
48038
|
default_from_address?: string | undefined;
|
|
46903
48039
|
settings?: {} | undefined;
|
|
@@ -46944,10 +48080,16 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
46944
48080
|
audience: string;
|
|
46945
48081
|
}>, "many">;
|
|
46946
48082
|
rotating: z.ZodBoolean;
|
|
48083
|
+
token_lookup: z.ZodOptional<z.ZodString>;
|
|
48084
|
+
token_hash: z.ZodOptional<z.ZodString>;
|
|
48085
|
+
family_id: z.ZodOptional<z.ZodString>;
|
|
48086
|
+
rotated_to: z.ZodOptional<z.ZodString>;
|
|
48087
|
+
rotated_at: z.ZodOptional<z.ZodString>;
|
|
46947
48088
|
}, "strip", z.ZodTypeAny, {
|
|
46948
48089
|
id: string;
|
|
46949
48090
|
client_id: string;
|
|
46950
48091
|
user_id: string;
|
|
48092
|
+
rotating: boolean;
|
|
46951
48093
|
login_id: string;
|
|
46952
48094
|
device: {
|
|
46953
48095
|
last_ip: string;
|
|
@@ -46961,14 +48103,19 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
46961
48103
|
scopes: string;
|
|
46962
48104
|
audience: string;
|
|
46963
48105
|
}[];
|
|
46964
|
-
|
|
48106
|
+
token_hash?: string | undefined;
|
|
46965
48107
|
expires_at?: string | undefined;
|
|
46966
48108
|
idle_expires_at?: string | undefined;
|
|
46967
48109
|
last_exchanged_at?: string | undefined;
|
|
48110
|
+
token_lookup?: string | undefined;
|
|
48111
|
+
family_id?: string | undefined;
|
|
48112
|
+
rotated_to?: string | undefined;
|
|
48113
|
+
rotated_at?: string | undefined;
|
|
46968
48114
|
}, {
|
|
46969
48115
|
id: string;
|
|
46970
48116
|
client_id: string;
|
|
46971
48117
|
user_id: string;
|
|
48118
|
+
rotating: boolean;
|
|
46972
48119
|
login_id: string;
|
|
46973
48120
|
device: {
|
|
46974
48121
|
last_ip: string;
|
|
@@ -46982,10 +48129,14 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
|
46982
48129
|
scopes: string;
|
|
46983
48130
|
audience: string;
|
|
46984
48131
|
}[];
|
|
46985
|
-
|
|
48132
|
+
token_hash?: string | undefined;
|
|
46986
48133
|
expires_at?: string | undefined;
|
|
46987
48134
|
idle_expires_at?: string | undefined;
|
|
46988
48135
|
last_exchanged_at?: string | undefined;
|
|
48136
|
+
token_lookup?: string | undefined;
|
|
48137
|
+
family_id?: string | undefined;
|
|
48138
|
+
rotated_to?: string | undefined;
|
|
48139
|
+
rotated_at?: string | undefined;
|
|
46989
48140
|
}>;
|
|
46990
48141
|
export type RefreshTokenInsert = z.infer<typeof refreshTokenInsertSchema>;
|
|
46991
48142
|
export declare const refreshTokenSchema: z.ZodObject<{
|
|
@@ -47029,6 +48180,11 @@ export declare const refreshTokenSchema: z.ZodObject<{
|
|
|
47029
48180
|
audience: string;
|
|
47030
48181
|
}>, "many">;
|
|
47031
48182
|
rotating: z.ZodBoolean;
|
|
48183
|
+
token_lookup: z.ZodOptional<z.ZodString>;
|
|
48184
|
+
token_hash: z.ZodOptional<z.ZodString>;
|
|
48185
|
+
family_id: z.ZodOptional<z.ZodString>;
|
|
48186
|
+
rotated_to: z.ZodOptional<z.ZodString>;
|
|
48187
|
+
rotated_at: z.ZodOptional<z.ZodString>;
|
|
47032
48188
|
created_at: z.ZodString;
|
|
47033
48189
|
revoked_at: z.ZodOptional<z.ZodString>;
|
|
47034
48190
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -47036,6 +48192,7 @@ export declare const refreshTokenSchema: z.ZodObject<{
|
|
|
47036
48192
|
id: string;
|
|
47037
48193
|
client_id: string;
|
|
47038
48194
|
user_id: string;
|
|
48195
|
+
rotating: boolean;
|
|
47039
48196
|
login_id: string;
|
|
47040
48197
|
device: {
|
|
47041
48198
|
last_ip: string;
|
|
@@ -47049,16 +48206,21 @@ export declare const refreshTokenSchema: z.ZodObject<{
|
|
|
47049
48206
|
scopes: string;
|
|
47050
48207
|
audience: string;
|
|
47051
48208
|
}[];
|
|
47052
|
-
|
|
48209
|
+
token_hash?: string | undefined;
|
|
47053
48210
|
expires_at?: string | undefined;
|
|
47054
48211
|
revoked_at?: string | undefined;
|
|
47055
48212
|
idle_expires_at?: string | undefined;
|
|
47056
48213
|
last_exchanged_at?: string | undefined;
|
|
48214
|
+
token_lookup?: string | undefined;
|
|
48215
|
+
family_id?: string | undefined;
|
|
48216
|
+
rotated_to?: string | undefined;
|
|
48217
|
+
rotated_at?: string | undefined;
|
|
47057
48218
|
}, {
|
|
47058
48219
|
created_at: string;
|
|
47059
48220
|
id: string;
|
|
47060
48221
|
client_id: string;
|
|
47061
48222
|
user_id: string;
|
|
48223
|
+
rotating: boolean;
|
|
47062
48224
|
login_id: string;
|
|
47063
48225
|
device: {
|
|
47064
48226
|
last_ip: string;
|
|
@@ -47072,11 +48234,15 @@ export declare const refreshTokenSchema: z.ZodObject<{
|
|
|
47072
48234
|
scopes: string;
|
|
47073
48235
|
audience: string;
|
|
47074
48236
|
}[];
|
|
47075
|
-
|
|
48237
|
+
token_hash?: string | undefined;
|
|
47076
48238
|
expires_at?: string | undefined;
|
|
47077
48239
|
revoked_at?: string | undefined;
|
|
47078
48240
|
idle_expires_at?: string | undefined;
|
|
47079
48241
|
last_exchanged_at?: string | undefined;
|
|
48242
|
+
token_lookup?: string | undefined;
|
|
48243
|
+
family_id?: string | undefined;
|
|
48244
|
+
rotated_to?: string | undefined;
|
|
48245
|
+
rotated_at?: string | undefined;
|
|
47080
48246
|
}>;
|
|
47081
48247
|
export type RefreshToken = z.infer<typeof refreshTokenSchema>;
|
|
47082
48248
|
export declare const smsSendParamsSchema: z.ZodObject<{
|
|
@@ -47214,8 +48380,8 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
|
|
|
47214
48380
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
47215
48381
|
}, "strip", z.ZodTypeAny, {
|
|
47216
48382
|
name: string;
|
|
47217
|
-
identifier: string;
|
|
47218
48383
|
token_lifetime: number;
|
|
48384
|
+
identifier: string;
|
|
47219
48385
|
token_lifetime_for_web: number;
|
|
47220
48386
|
options?: {
|
|
47221
48387
|
mtls?: {
|
|
@@ -47259,11 +48425,11 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
|
|
|
47259
48425
|
value: string;
|
|
47260
48426
|
description?: string | undefined;
|
|
47261
48427
|
}[] | undefined;
|
|
48428
|
+
token_lifetime?: number | undefined;
|
|
47262
48429
|
is_system?: boolean | undefined;
|
|
47263
48430
|
metadata?: Record<string, any> | undefined;
|
|
47264
48431
|
signing_alg?: string | undefined;
|
|
47265
48432
|
signing_secret?: string | undefined;
|
|
47266
|
-
token_lifetime?: number | undefined;
|
|
47267
48433
|
token_lifetime_for_web?: number | undefined;
|
|
47268
48434
|
skip_consent_for_verifiable_first_party_clients?: boolean | undefined;
|
|
47269
48435
|
allow_offline_access?: boolean | undefined;
|
|
@@ -47335,8 +48501,8 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
47335
48501
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
47336
48502
|
}, "strip", z.ZodTypeAny, {
|
|
47337
48503
|
name: string;
|
|
47338
|
-
identifier: string;
|
|
47339
48504
|
token_lifetime: number;
|
|
48505
|
+
identifier: string;
|
|
47340
48506
|
token_lifetime_for_web: number;
|
|
47341
48507
|
created_at?: string | undefined;
|
|
47342
48508
|
updated_at?: string | undefined;
|
|
@@ -47384,11 +48550,11 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
47384
48550
|
value: string;
|
|
47385
48551
|
description?: string | undefined;
|
|
47386
48552
|
}[] | undefined;
|
|
48553
|
+
token_lifetime?: number | undefined;
|
|
47387
48554
|
is_system?: boolean | undefined;
|
|
47388
48555
|
metadata?: Record<string, any> | undefined;
|
|
47389
48556
|
signing_alg?: string | undefined;
|
|
47390
48557
|
signing_secret?: string | undefined;
|
|
47391
|
-
token_lifetime?: number | undefined;
|
|
47392
48558
|
token_lifetime_for_web?: number | undefined;
|
|
47393
48559
|
skip_consent_for_verifiable_first_party_clients?: boolean | undefined;
|
|
47394
48560
|
allow_offline_access?: boolean | undefined;
|
|
@@ -47460,8 +48626,8 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
47460
48626
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
47461
48627
|
}, "strip", z.ZodTypeAny, {
|
|
47462
48628
|
name: string;
|
|
47463
|
-
identifier: string;
|
|
47464
48629
|
token_lifetime: number;
|
|
48630
|
+
identifier: string;
|
|
47465
48631
|
token_lifetime_for_web: number;
|
|
47466
48632
|
created_at?: string | undefined;
|
|
47467
48633
|
updated_at?: string | undefined;
|
|
@@ -47509,11 +48675,11 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
47509
48675
|
value: string;
|
|
47510
48676
|
description?: string | undefined;
|
|
47511
48677
|
}[] | undefined;
|
|
48678
|
+
token_lifetime?: number | undefined;
|
|
47512
48679
|
is_system?: boolean | undefined;
|
|
47513
48680
|
metadata?: Record<string, any> | undefined;
|
|
47514
48681
|
signing_alg?: string | undefined;
|
|
47515
48682
|
signing_secret?: string | undefined;
|
|
47516
|
-
token_lifetime?: number | undefined;
|
|
47517
48683
|
token_lifetime_for_web?: number | undefined;
|
|
47518
48684
|
skip_consent_for_verifiable_first_party_clients?: boolean | undefined;
|
|
47519
48685
|
allow_offline_access?: boolean | undefined;
|
|
@@ -48135,6 +49301,105 @@ export declare const organizationSchema: z.ZodObject<{
|
|
|
48135
49301
|
}[] | undefined;
|
|
48136
49302
|
}>;
|
|
48137
49303
|
export type Organization = z.infer<typeof organizationSchema>;
|
|
49304
|
+
export declare const organizationConnectionInsertSchema: z.ZodObject<{
|
|
49305
|
+
connection_id: z.ZodString;
|
|
49306
|
+
assign_membership_on_login: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
49307
|
+
show_as_button: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
49308
|
+
is_signup_enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
49309
|
+
}, "strip", z.ZodTypeAny, {
|
|
49310
|
+
connection_id: string;
|
|
49311
|
+
show_as_button: boolean;
|
|
49312
|
+
assign_membership_on_login: boolean;
|
|
49313
|
+
is_signup_enabled: boolean;
|
|
49314
|
+
}, {
|
|
49315
|
+
connection_id: string;
|
|
49316
|
+
show_as_button?: boolean | undefined;
|
|
49317
|
+
assign_membership_on_login?: boolean | undefined;
|
|
49318
|
+
is_signup_enabled?: boolean | undefined;
|
|
49319
|
+
}>;
|
|
49320
|
+
export type OrganizationConnectionInsert = z.input<typeof organizationConnectionInsertSchema>;
|
|
49321
|
+
export declare const organizationConnectionSchema: z.ZodObject<{
|
|
49322
|
+
connection: z.ZodOptional<z.ZodObject<{
|
|
49323
|
+
name: z.ZodOptional<z.ZodString>;
|
|
49324
|
+
strategy: z.ZodOptional<z.ZodString>;
|
|
49325
|
+
}, "strip", z.ZodTypeAny, {
|
|
49326
|
+
name?: string | undefined;
|
|
49327
|
+
strategy?: string | undefined;
|
|
49328
|
+
}, {
|
|
49329
|
+
name?: string | undefined;
|
|
49330
|
+
strategy?: string | undefined;
|
|
49331
|
+
}>>;
|
|
49332
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
49333
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
49334
|
+
connection_id: z.ZodString;
|
|
49335
|
+
assign_membership_on_login: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
49336
|
+
show_as_button: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
49337
|
+
is_signup_enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
49338
|
+
}, "strip", z.ZodTypeAny, {
|
|
49339
|
+
connection_id: string;
|
|
49340
|
+
show_as_button: boolean;
|
|
49341
|
+
assign_membership_on_login: boolean;
|
|
49342
|
+
is_signup_enabled: boolean;
|
|
49343
|
+
created_at?: string | undefined;
|
|
49344
|
+
updated_at?: string | undefined;
|
|
49345
|
+
connection?: {
|
|
49346
|
+
name?: string | undefined;
|
|
49347
|
+
strategy?: string | undefined;
|
|
49348
|
+
} | undefined;
|
|
49349
|
+
}, {
|
|
49350
|
+
connection_id: string;
|
|
49351
|
+
created_at?: string | undefined;
|
|
49352
|
+
updated_at?: string | undefined;
|
|
49353
|
+
connection?: {
|
|
49354
|
+
name?: string | undefined;
|
|
49355
|
+
strategy?: string | undefined;
|
|
49356
|
+
} | undefined;
|
|
49357
|
+
show_as_button?: boolean | undefined;
|
|
49358
|
+
assign_membership_on_login?: boolean | undefined;
|
|
49359
|
+
is_signup_enabled?: boolean | undefined;
|
|
49360
|
+
}>;
|
|
49361
|
+
export type OrganizationConnection = z.infer<typeof organizationConnectionSchema>;
|
|
49362
|
+
export declare const organizationConnectionListSchema: z.ZodArray<z.ZodObject<{
|
|
49363
|
+
connection: z.ZodOptional<z.ZodObject<{
|
|
49364
|
+
name: z.ZodOptional<z.ZodString>;
|
|
49365
|
+
strategy: z.ZodOptional<z.ZodString>;
|
|
49366
|
+
}, "strip", z.ZodTypeAny, {
|
|
49367
|
+
name?: string | undefined;
|
|
49368
|
+
strategy?: string | undefined;
|
|
49369
|
+
}, {
|
|
49370
|
+
name?: string | undefined;
|
|
49371
|
+
strategy?: string | undefined;
|
|
49372
|
+
}>>;
|
|
49373
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
49374
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
49375
|
+
connection_id: z.ZodString;
|
|
49376
|
+
assign_membership_on_login: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
49377
|
+
show_as_button: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
49378
|
+
is_signup_enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
49379
|
+
}, "strip", z.ZodTypeAny, {
|
|
49380
|
+
connection_id: string;
|
|
49381
|
+
show_as_button: boolean;
|
|
49382
|
+
assign_membership_on_login: boolean;
|
|
49383
|
+
is_signup_enabled: boolean;
|
|
49384
|
+
created_at?: string | undefined;
|
|
49385
|
+
updated_at?: string | undefined;
|
|
49386
|
+
connection?: {
|
|
49387
|
+
name?: string | undefined;
|
|
49388
|
+
strategy?: string | undefined;
|
|
49389
|
+
} | undefined;
|
|
49390
|
+
}, {
|
|
49391
|
+
connection_id: string;
|
|
49392
|
+
created_at?: string | undefined;
|
|
49393
|
+
updated_at?: string | undefined;
|
|
49394
|
+
connection?: {
|
|
49395
|
+
name?: string | undefined;
|
|
49396
|
+
strategy?: string | undefined;
|
|
49397
|
+
} | undefined;
|
|
49398
|
+
show_as_button?: boolean | undefined;
|
|
49399
|
+
assign_membership_on_login?: boolean | undefined;
|
|
49400
|
+
is_signup_enabled?: boolean | undefined;
|
|
49401
|
+
}>, "many">;
|
|
49402
|
+
export type OrganizationConnectionList = z.infer<typeof organizationConnectionListSchema>;
|
|
48138
49403
|
export declare const userOrganizationInsertSchema: z.ZodObject<{
|
|
48139
49404
|
user_id: z.ZodString;
|
|
48140
49405
|
organization_id: z.ZodString;
|
|
@@ -49219,6 +50484,13 @@ export interface LogsDataAdapter {
|
|
|
49219
50484
|
list(tenantId: string, params?: ListParams): Promise<ListLogsResponse>;
|
|
49220
50485
|
get(tenantId: string, logId: string): Promise<Log | null>;
|
|
49221
50486
|
}
|
|
50487
|
+
export interface LogStreamsAdapter {
|
|
50488
|
+
create(tenant_id: string, params: LogStreamInsert): Promise<LogStream>;
|
|
50489
|
+
get(tenant_id: string, id: string): Promise<LogStream | null>;
|
|
50490
|
+
list(tenant_id: string): Promise<LogStream[]>;
|
|
50491
|
+
update(tenant_id: string, id: string, params: Partial<LogStream>): Promise<boolean>;
|
|
50492
|
+
remove(tenant_id: string, id: string): Promise<boolean>;
|
|
50493
|
+
}
|
|
49222
50494
|
export interface ListConnectionsResponse extends Totals {
|
|
49223
50495
|
connections: Connection[];
|
|
49224
50496
|
}
|
|
@@ -49305,10 +50577,22 @@ export interface UpdateRefreshTokenOptions {
|
|
|
49305
50577
|
export interface RefreshTokensAdapter {
|
|
49306
50578
|
create: (tenant_id: string, refresh_token: RefreshTokenInsert) => Promise<RefreshToken>;
|
|
49307
50579
|
get: (tenant_id: string, id: string) => Promise<RefreshToken | null>;
|
|
50580
|
+
/**
|
|
50581
|
+
* Look up a refresh token by its plaintext `token_lookup` slice (extracted
|
|
50582
|
+
* from the wire format `rt_<lookup>.<secret>`). Returns null if no row
|
|
50583
|
+
* matches. Callers must verify the secret hash before trusting the row.
|
|
50584
|
+
*/
|
|
50585
|
+
getByLookup: (tenant_id: string, token_lookup: string) => Promise<RefreshToken | null>;
|
|
49308
50586
|
list(tenant_id: string, params?: ListParams): Promise<ListRefreshTokenResponse>;
|
|
49309
50587
|
update: (tenant_id: string, id: string, refresh_token: Partial<RefreshToken>, options?: UpdateRefreshTokenOptions) => Promise<boolean>;
|
|
49310
50588
|
remove: (tenant_id: string, id: string) => Promise<boolean>;
|
|
49311
50589
|
revokeByLoginSession: (tenant_id: string, login_session_id: string, revoked_at: string) => Promise<number>;
|
|
50590
|
+
/**
|
|
50591
|
+
* Soft-revoke every refresh token that shares `family_id` and isn't already
|
|
50592
|
+
* revoked. Used for reuse detection (entire rotation chain torched) and for
|
|
50593
|
+
* admin revocations that should propagate to descendants.
|
|
50594
|
+
*/
|
|
50595
|
+
revokeFamily: (tenant_id: string, family_id: string, revoked_at: string) => Promise<number>;
|
|
49312
50596
|
}
|
|
49313
50597
|
export interface ListFormsResponse extends Totals {
|
|
49314
50598
|
forms: Form[];
|
|
@@ -49371,6 +50655,13 @@ export interface OrganizationsAdapter {
|
|
|
49371
50655
|
list(tenant_id: string, params?: ListParams): Promise<ListOrganizationsResponse>;
|
|
49372
50656
|
update(tenant_id: string, id: string, params: Partial<OrganizationInsert>): Promise<boolean>;
|
|
49373
50657
|
}
|
|
50658
|
+
export interface OrganizationConnectionsAdapter {
|
|
50659
|
+
create(tenant_id: string, organization_id: string, params: OrganizationConnectionInsert): Promise<OrganizationConnection>;
|
|
50660
|
+
list(tenant_id: string, organization_id: string): Promise<OrganizationConnection[]>;
|
|
50661
|
+
get(tenant_id: string, organization_id: string, connection_id: string): Promise<OrganizationConnection | null>;
|
|
50662
|
+
update(tenant_id: string, organization_id: string, connection_id: string, params: Partial<Omit<OrganizationConnectionInsert, "connection_id">>): Promise<OrganizationConnection | null>;
|
|
50663
|
+
remove(tenant_id: string, organization_id: string, connection_id: string): Promise<boolean>;
|
|
50664
|
+
}
|
|
49374
50665
|
export interface UserOrganizationsAdapter {
|
|
49375
50666
|
create(tenantId: string, params: UserOrganizationInsert): Promise<UserOrganization>;
|
|
49376
50667
|
get(tenantId: string, id: string): Promise<UserOrganization | null>;
|
|
@@ -49619,6 +50910,7 @@ export interface DataAdapters {
|
|
|
49619
50910
|
keys: KeysAdapter;
|
|
49620
50911
|
loginSessions: LoginSessionsAdapter;
|
|
49621
50912
|
logs: LogsDataAdapter;
|
|
50913
|
+
logStreams?: LogStreamsAdapter;
|
|
49622
50914
|
passwords: PasswordsAdapter;
|
|
49623
50915
|
promptSettings: PromptSettingsAdapter;
|
|
49624
50916
|
refreshTokens: RefreshTokensAdapter;
|
|
@@ -49635,6 +50927,7 @@ export interface DataAdapters {
|
|
|
49635
50927
|
users: UserDataAdapter;
|
|
49636
50928
|
userRoles: UserRolesAdapter;
|
|
49637
50929
|
organizations: OrganizationsAdapter;
|
|
50930
|
+
organizationConnections: OrganizationConnectionsAdapter;
|
|
49638
50931
|
authenticationMethods: AuthenticationMethodsAdapter;
|
|
49639
50932
|
userOrganizations: UserOrganizationsAdapter;
|
|
49640
50933
|
emailService?: EmailServiceAdapter;
|