authhero 4.108.0 → 4.109.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.
@@ -3002,7 +3002,7 @@ export declare const userResponseSchema: z.ZodObject<{
3002
3002
  }, z.ZodAny, "strip">>;
3003
3003
  export type UserResponse = z.infer<typeof userResponseSchema>;
3004
3004
  export declare const clientInsertSchema: z.ZodObject<{
3005
- client_id: z.ZodString;
3005
+ client_id: z.ZodOptional<z.ZodString>;
3006
3006
  name: z.ZodString;
3007
3007
  description: z.ZodOptional<z.ZodString>;
3008
3008
  global: z.ZodDefault<z.ZodBoolean>;
@@ -3069,7 +3069,37 @@ export declare const clientInsertSchema: z.ZodObject<{
3069
3069
  mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3070
3070
  initiate_login_uri: z.ZodOptional<z.ZodString>;
3071
3071
  native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3072
- refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3072
+ refresh_token: z.ZodOptional<z.ZodDefault<z.ZodObject<{
3073
+ rotation_type: z.ZodOptional<z.ZodEnum<[
3074
+ "rotating",
3075
+ "non-rotating"
3076
+ ]>>;
3077
+ leeway: z.ZodOptional<z.ZodNumber>;
3078
+ expiration_type: z.ZodOptional<z.ZodEnum<[
3079
+ "expiring",
3080
+ "non-expiring"
3081
+ ]>>;
3082
+ token_lifetime: z.ZodOptional<z.ZodNumber>;
3083
+ infinite_token_lifetime: z.ZodOptional<z.ZodBoolean>;
3084
+ idle_token_lifetime: z.ZodOptional<z.ZodNumber>;
3085
+ infinite_idle_token_lifetime: z.ZodOptional<z.ZodBoolean>;
3086
+ }, "strip", z.ZodTypeAny, {
3087
+ rotation_type?: "rotating" | "non-rotating" | undefined;
3088
+ leeway?: number | undefined;
3089
+ expiration_type?: "expiring" | "non-expiring" | undefined;
3090
+ token_lifetime?: number | undefined;
3091
+ infinite_token_lifetime?: boolean | undefined;
3092
+ idle_token_lifetime?: number | undefined;
3093
+ infinite_idle_token_lifetime?: boolean | undefined;
3094
+ }, {
3095
+ rotation_type?: "rotating" | "non-rotating" | undefined;
3096
+ leeway?: number | undefined;
3097
+ expiration_type?: "expiring" | "non-expiring" | undefined;
3098
+ token_lifetime?: number | undefined;
3099
+ infinite_token_lifetime?: boolean | undefined;
3100
+ idle_token_lifetime?: number | undefined;
3101
+ infinite_idle_token_lifetime?: boolean | undefined;
3102
+ }>>>;
3073
3103
  default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3074
3104
  organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
3075
3105
  "deny",
@@ -3107,7 +3137,6 @@ export declare const clientInsertSchema: z.ZodObject<{
3107
3137
  ]>>;
3108
3138
  }, "strip", z.ZodTypeAny, {
3109
3139
  name: string;
3110
- client_id: string;
3111
3140
  global: boolean;
3112
3141
  is_first_party: boolean;
3113
3142
  oidc_conformant: boolean;
@@ -3119,7 +3148,16 @@ export declare const clientInsertSchema: z.ZodObject<{
3119
3148
  require_pushed_authorization_requests: boolean;
3120
3149
  require_proof_of_possession: boolean;
3121
3150
  description?: string | undefined;
3122
- refresh_token?: Record<string, any> | undefined;
3151
+ client_id?: string | undefined;
3152
+ refresh_token?: {
3153
+ rotation_type?: "rotating" | "non-rotating" | undefined;
3154
+ leeway?: number | undefined;
3155
+ expiration_type?: "expiring" | "non-expiring" | undefined;
3156
+ token_lifetime?: number | undefined;
3157
+ infinite_token_lifetime?: boolean | undefined;
3158
+ idle_token_lifetime?: number | undefined;
3159
+ infinite_idle_token_lifetime?: boolean | undefined;
3160
+ } | undefined;
3123
3161
  client_secret?: string | undefined;
3124
3162
  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;
3125
3163
  logo_uri?: string | undefined;
@@ -3160,9 +3198,17 @@ export declare const clientInsertSchema: z.ZodObject<{
3160
3198
  user_linking_mode?: "builtin" | "off" | undefined;
3161
3199
  }, {
3162
3200
  name: string;
3163
- client_id: string;
3164
3201
  description?: string | undefined;
3165
- refresh_token?: Record<string, any> | undefined;
3202
+ client_id?: string | undefined;
3203
+ refresh_token?: {
3204
+ rotation_type?: "rotating" | "non-rotating" | undefined;
3205
+ leeway?: number | undefined;
3206
+ expiration_type?: "expiring" | "non-expiring" | undefined;
3207
+ token_lifetime?: number | undefined;
3208
+ infinite_token_lifetime?: boolean | undefined;
3209
+ idle_token_lifetime?: number | undefined;
3210
+ infinite_idle_token_lifetime?: boolean | undefined;
3211
+ } | undefined;
3166
3212
  global?: boolean | undefined;
3167
3213
  client_secret?: string | undefined;
3168
3214
  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;
@@ -3281,7 +3327,37 @@ export declare const clientSchema: z.ZodObject<{
3281
3327
  mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3282
3328
  initiate_login_uri: z.ZodOptional<z.ZodString>;
3283
3329
  native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3284
- refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3330
+ refresh_token: z.ZodOptional<z.ZodDefault<z.ZodObject<{
3331
+ rotation_type: z.ZodOptional<z.ZodEnum<[
3332
+ "rotating",
3333
+ "non-rotating"
3334
+ ]>>;
3335
+ leeway: z.ZodOptional<z.ZodNumber>;
3336
+ expiration_type: z.ZodOptional<z.ZodEnum<[
3337
+ "expiring",
3338
+ "non-expiring"
3339
+ ]>>;
3340
+ token_lifetime: z.ZodOptional<z.ZodNumber>;
3341
+ infinite_token_lifetime: z.ZodOptional<z.ZodBoolean>;
3342
+ idle_token_lifetime: z.ZodOptional<z.ZodNumber>;
3343
+ infinite_idle_token_lifetime: z.ZodOptional<z.ZodBoolean>;
3344
+ }, "strip", z.ZodTypeAny, {
3345
+ rotation_type?: "rotating" | "non-rotating" | undefined;
3346
+ leeway?: number | undefined;
3347
+ expiration_type?: "expiring" | "non-expiring" | undefined;
3348
+ token_lifetime?: number | undefined;
3349
+ infinite_token_lifetime?: boolean | undefined;
3350
+ idle_token_lifetime?: number | undefined;
3351
+ infinite_idle_token_lifetime?: boolean | undefined;
3352
+ }, {
3353
+ rotation_type?: "rotating" | "non-rotating" | undefined;
3354
+ leeway?: number | undefined;
3355
+ expiration_type?: "expiring" | "non-expiring" | undefined;
3356
+ token_lifetime?: number | undefined;
3357
+ infinite_token_lifetime?: boolean | undefined;
3358
+ idle_token_lifetime?: number | undefined;
3359
+ infinite_idle_token_lifetime?: boolean | undefined;
3360
+ }>>>;
3285
3361
  default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3286
3362
  organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
3287
3363
  "deny",
@@ -3335,7 +3411,15 @@ export declare const clientSchema: z.ZodObject<{
3335
3411
  require_pushed_authorization_requests: boolean;
3336
3412
  require_proof_of_possession: boolean;
3337
3413
  description?: string | undefined;
3338
- refresh_token?: Record<string, any> | undefined;
3414
+ refresh_token?: {
3415
+ rotation_type?: "rotating" | "non-rotating" | undefined;
3416
+ leeway?: number | undefined;
3417
+ expiration_type?: "expiring" | "non-expiring" | undefined;
3418
+ token_lifetime?: number | undefined;
3419
+ infinite_token_lifetime?: boolean | undefined;
3420
+ idle_token_lifetime?: number | undefined;
3421
+ infinite_idle_token_lifetime?: boolean | undefined;
3422
+ } | undefined;
3339
3423
  client_secret?: string | undefined;
3340
3424
  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;
3341
3425
  logo_uri?: string | undefined;
@@ -3380,7 +3464,15 @@ export declare const clientSchema: z.ZodObject<{
3380
3464
  name: string;
3381
3465
  client_id: string;
3382
3466
  description?: string | undefined;
3383
- refresh_token?: Record<string, any> | undefined;
3467
+ refresh_token?: {
3468
+ rotation_type?: "rotating" | "non-rotating" | undefined;
3469
+ leeway?: number | undefined;
3470
+ expiration_type?: "expiring" | "non-expiring" | undefined;
3471
+ token_lifetime?: number | undefined;
3472
+ infinite_token_lifetime?: boolean | undefined;
3473
+ idle_token_lifetime?: number | undefined;
3474
+ infinite_idle_token_lifetime?: boolean | undefined;
3475
+ } | undefined;
3384
3476
  global?: boolean | undefined;
3385
3477
  client_secret?: string | undefined;
3386
3478
  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;
@@ -11377,25 +11469,28 @@ export type AuthParams = z.infer<typeof authParamsSchema>;
11377
11469
  export declare const brandingSchema: z.ZodObject<{
11378
11470
  colors: z.ZodOptional<z.ZodObject<{
11379
11471
  primary: z.ZodString;
11380
- page_background: z.ZodOptional<z.ZodObject<{
11381
- type: z.ZodOptional<z.ZodString>;
11382
- start: z.ZodOptional<z.ZodString>;
11383
- end: z.ZodOptional<z.ZodString>;
11384
- angle_deg: z.ZodOptional<z.ZodNumber>;
11385
- }, "strip", z.ZodTypeAny, {
11386
- type?: string | undefined;
11387
- start?: string | undefined;
11388
- end?: string | undefined;
11389
- angle_deg?: number | undefined;
11390
- }, {
11391
- type?: string | undefined;
11392
- start?: string | undefined;
11393
- end?: string | undefined;
11394
- angle_deg?: number | undefined;
11395
- }>>;
11472
+ page_background: z.ZodOptional<z.ZodUnion<[
11473
+ z.ZodString,
11474
+ z.ZodObject<{
11475
+ type: z.ZodOptional<z.ZodString>;
11476
+ start: z.ZodOptional<z.ZodString>;
11477
+ end: z.ZodOptional<z.ZodString>;
11478
+ angle_deg: z.ZodOptional<z.ZodNumber>;
11479
+ }, "strip", z.ZodTypeAny, {
11480
+ type?: string | undefined;
11481
+ start?: string | undefined;
11482
+ end?: string | undefined;
11483
+ angle_deg?: number | undefined;
11484
+ }, {
11485
+ type?: string | undefined;
11486
+ start?: string | undefined;
11487
+ end?: string | undefined;
11488
+ angle_deg?: number | undefined;
11489
+ }>
11490
+ ]>>;
11396
11491
  }, "strip", z.ZodTypeAny, {
11397
11492
  primary: string;
11398
- page_background?: {
11493
+ page_background?: string | {
11399
11494
  type?: string | undefined;
11400
11495
  start?: string | undefined;
11401
11496
  end?: string | undefined;
@@ -11403,7 +11498,7 @@ export declare const brandingSchema: z.ZodObject<{
11403
11498
  } | undefined;
11404
11499
  }, {
11405
11500
  primary: string;
11406
- page_background?: {
11501
+ page_background?: string | {
11407
11502
  type?: string | undefined;
11408
11503
  start?: string | undefined;
11409
11504
  end?: string | undefined;
@@ -11423,7 +11518,7 @@ export declare const brandingSchema: z.ZodObject<{
11423
11518
  }, "strip", z.ZodTypeAny, {
11424
11519
  colors?: {
11425
11520
  primary: string;
11426
- page_background?: {
11521
+ page_background?: string | {
11427
11522
  type?: string | undefined;
11428
11523
  start?: string | undefined;
11429
11524
  end?: string | undefined;
@@ -11439,7 +11534,7 @@ export declare const brandingSchema: z.ZodObject<{
11439
11534
  }, {
11440
11535
  colors?: {
11441
11536
  primary: string;
11442
- page_background?: {
11537
+ page_background?: string | {
11443
11538
  type?: string | undefined;
11444
11539
  start?: string | undefined;
11445
11540
  end?: string | undefined;
@@ -12215,7 +12310,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
12215
12310
  name: z.ZodString;
12216
12311
  display_name: z.ZodOptional<z.ZodString>;
12217
12312
  strategy: z.ZodString;
12218
- options: z.ZodDefault<z.ZodObject<{
12313
+ options: z.ZodDefault<z.ZodEffects<z.ZodObject<{
12219
12314
  kid: z.ZodOptional<z.ZodString>;
12220
12315
  team_id: z.ZodOptional<z.ZodString>;
12221
12316
  realms: z.ZodOptional<z.ZodString>;
@@ -12841,16 +12936,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
12841
12936
  } | undefined;
12842
12937
  requires_username?: boolean | undefined;
12843
12938
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
12844
- }>>;
12845
- enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
12846
- response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
12847
- response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
12848
- is_domain_connection: z.ZodOptional<z.ZodBoolean>;
12849
- show_as_button: z.ZodOptional<z.ZodBoolean>;
12850
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
12851
- is_system: z.ZodOptional<z.ZodBoolean>;
12852
- }, "strip", z.ZodTypeAny, {
12853
- options: {
12939
+ }>, {
12854
12940
  validation?: {
12855
12941
  username?: {
12856
12942
  min?: number | undefined;
@@ -12953,22 +13039,16 @@ export declare const connectionInsertSchema: z.ZodObject<{
12953
13039
  } | undefined;
12954
13040
  requires_username?: boolean | undefined;
12955
13041
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
12956
- };
12957
- name: string;
12958
- strategy: string;
12959
- id?: string | undefined;
12960
- is_system?: boolean | undefined;
12961
- response_type?: AuthorizationResponseType | undefined;
12962
- response_mode?: AuthorizationResponseMode | undefined;
12963
- display_name?: string | undefined;
12964
- enabled_clients?: string[] | undefined;
12965
- is_domain_connection?: boolean | undefined;
12966
- show_as_button?: boolean | undefined;
12967
- metadata?: Record<string, any> | undefined;
12968
- }, {
12969
- name: string;
12970
- strategy: string;
12971
- options?: {
13042
+ }, unknown>>;
13043
+ enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
13044
+ response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
13045
+ response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
13046
+ is_domain_connection: z.ZodOptional<z.ZodBoolean>;
13047
+ show_as_button: z.ZodOptional<z.ZodBoolean>;
13048
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13049
+ is_system: z.ZodOptional<z.ZodBoolean>;
13050
+ }, "strip", z.ZodTypeAny, {
13051
+ options: {
12972
13052
  validation?: {
12973
13053
  username?: {
12974
13054
  min?: number | undefined;
@@ -13071,7 +13151,22 @@ export declare const connectionInsertSchema: z.ZodObject<{
13071
13151
  } | undefined;
13072
13152
  requires_username?: boolean | undefined;
13073
13153
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
13074
- } | undefined;
13154
+ };
13155
+ name: string;
13156
+ strategy: string;
13157
+ id?: string | undefined;
13158
+ is_system?: boolean | undefined;
13159
+ response_type?: AuthorizationResponseType | undefined;
13160
+ response_mode?: AuthorizationResponseMode | undefined;
13161
+ display_name?: string | undefined;
13162
+ enabled_clients?: string[] | undefined;
13163
+ is_domain_connection?: boolean | undefined;
13164
+ show_as_button?: boolean | undefined;
13165
+ metadata?: Record<string, any> | undefined;
13166
+ }, {
13167
+ name: string;
13168
+ strategy: string;
13169
+ options?: unknown;
13075
13170
  id?: string | undefined;
13076
13171
  is_system?: boolean | undefined;
13077
13172
  response_type?: AuthorizationResponseType | undefined;
@@ -13091,7 +13186,7 @@ export declare const connectionSchema: z.ZodObject<{
13091
13186
  name: z.ZodString;
13092
13187
  display_name: z.ZodOptional<z.ZodString>;
13093
13188
  strategy: z.ZodString;
13094
- options: z.ZodDefault<z.ZodObject<{
13189
+ options: z.ZodDefault<z.ZodEffects<z.ZodObject<{
13095
13190
  kid: z.ZodOptional<z.ZodString>;
13096
13191
  team_id: z.ZodOptional<z.ZodString>;
13097
13192
  realms: z.ZodOptional<z.ZodString>;
@@ -13717,18 +13812,7 @@ export declare const connectionSchema: z.ZodObject<{
13717
13812
  } | undefined;
13718
13813
  requires_username?: boolean | undefined;
13719
13814
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
13720
- }>>;
13721
- enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
13722
- response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
13723
- response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
13724
- is_domain_connection: z.ZodOptional<z.ZodBoolean>;
13725
- show_as_button: z.ZodOptional<z.ZodBoolean>;
13726
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13727
- is_system: z.ZodOptional<z.ZodBoolean>;
13728
- }, "strip", z.ZodTypeAny, {
13729
- created_at: string;
13730
- updated_at: string;
13731
- options: {
13815
+ }>, {
13732
13816
  validation?: {
13733
13817
  username?: {
13734
13818
  min?: number | undefined;
@@ -13831,24 +13915,18 @@ export declare const connectionSchema: z.ZodObject<{
13831
13915
  } | undefined;
13832
13916
  requires_username?: boolean | undefined;
13833
13917
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
13834
- };
13835
- name: string;
13836
- strategy: string;
13837
- id?: string | undefined;
13838
- is_system?: boolean | undefined;
13839
- response_type?: AuthorizationResponseType | undefined;
13840
- response_mode?: AuthorizationResponseMode | undefined;
13841
- display_name?: string | undefined;
13842
- enabled_clients?: string[] | undefined;
13843
- is_domain_connection?: boolean | undefined;
13844
- show_as_button?: boolean | undefined;
13845
- metadata?: Record<string, any> | undefined;
13846
- }, {
13918
+ }, unknown>>;
13919
+ enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
13920
+ response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
13921
+ response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
13922
+ is_domain_connection: z.ZodOptional<z.ZodBoolean>;
13923
+ show_as_button: z.ZodOptional<z.ZodBoolean>;
13924
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13925
+ is_system: z.ZodOptional<z.ZodBoolean>;
13926
+ }, "strip", z.ZodTypeAny, {
13847
13927
  created_at: string;
13848
13928
  updated_at: string;
13849
- name: string;
13850
- strategy: string;
13851
- options?: {
13929
+ options: {
13852
13930
  validation?: {
13853
13931
  username?: {
13854
13932
  min?: number | undefined;
@@ -13951,7 +14029,24 @@ export declare const connectionSchema: z.ZodObject<{
13951
14029
  } | undefined;
13952
14030
  requires_username?: boolean | undefined;
13953
14031
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
13954
- } | undefined;
14032
+ };
14033
+ name: string;
14034
+ strategy: string;
14035
+ id?: string | undefined;
14036
+ is_system?: boolean | undefined;
14037
+ response_type?: AuthorizationResponseType | undefined;
14038
+ response_mode?: AuthorizationResponseMode | undefined;
14039
+ display_name?: string | undefined;
14040
+ enabled_clients?: string[] | undefined;
14041
+ is_domain_connection?: boolean | undefined;
14042
+ show_as_button?: boolean | undefined;
14043
+ metadata?: Record<string, any> | undefined;
14044
+ }, {
14045
+ created_at: string;
14046
+ updated_at: string;
14047
+ name: string;
14048
+ strategy: string;
14049
+ options?: unknown;
13955
14050
  id?: string | undefined;
13956
14051
  is_system?: boolean | undefined;
13957
14052
  response_type?: AuthorizationResponseType | undefined;
@@ -44089,6 +44184,525 @@ export declare const logSchema: z.ZodObject<{
44089
44184
  } | undefined;
44090
44185
  }>;
44091
44186
  export type Log = z.infer<typeof logSchema>;
44187
+ export declare const logStreamTypeSchema: z.ZodEnum<[
44188
+ "http",
44189
+ "eventbridge",
44190
+ "eventgrid",
44191
+ "splunk",
44192
+ "datadog",
44193
+ "sumo"
44194
+ ]>;
44195
+ export declare const logStreamStatusSchema: z.ZodEnum<[
44196
+ "active",
44197
+ "paused",
44198
+ "suspended"
44199
+ ]>;
44200
+ export declare const logStreamFilterSchema: z.ZodObject<{
44201
+ type: z.ZodString;
44202
+ name: z.ZodString;
44203
+ }, "strip", z.ZodTypeAny, {
44204
+ type: string;
44205
+ name: string;
44206
+ }, {
44207
+ type: string;
44208
+ name: string;
44209
+ }>;
44210
+ export declare const logStreamInsertSchema: z.ZodObject<{
44211
+ name: z.ZodString;
44212
+ type: z.ZodEnum<[
44213
+ "http",
44214
+ "eventbridge",
44215
+ "eventgrid",
44216
+ "splunk",
44217
+ "datadog",
44218
+ "sumo"
44219
+ ]>;
44220
+ status: z.ZodOptional<z.ZodEnum<[
44221
+ "active",
44222
+ "paused",
44223
+ "suspended"
44224
+ ]>>;
44225
+ sink: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44226
+ filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
44227
+ type: z.ZodString;
44228
+ name: z.ZodString;
44229
+ }, "strip", z.ZodTypeAny, {
44230
+ type: string;
44231
+ name: string;
44232
+ }, {
44233
+ type: string;
44234
+ name: string;
44235
+ }>, "many">>;
44236
+ isPriority: z.ZodOptional<z.ZodBoolean>;
44237
+ }, "strip", z.ZodTypeAny, {
44238
+ type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
44239
+ name: string;
44240
+ sink: Record<string, unknown>;
44241
+ status?: "active" | "paused" | "suspended" | undefined;
44242
+ filters?: {
44243
+ type: string;
44244
+ name: string;
44245
+ }[] | undefined;
44246
+ isPriority?: boolean | undefined;
44247
+ }, {
44248
+ type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
44249
+ name: string;
44250
+ sink: Record<string, unknown>;
44251
+ status?: "active" | "paused" | "suspended" | undefined;
44252
+ filters?: {
44253
+ type: string;
44254
+ name: string;
44255
+ }[] | undefined;
44256
+ isPriority?: boolean | undefined;
44257
+ }>;
44258
+ export type LogStreamInsert = z.infer<typeof logStreamInsertSchema>;
44259
+ export declare const logStreamSchema: z.ZodObject<{
44260
+ name: z.ZodString;
44261
+ type: z.ZodEnum<[
44262
+ "http",
44263
+ "eventbridge",
44264
+ "eventgrid",
44265
+ "splunk",
44266
+ "datadog",
44267
+ "sumo"
44268
+ ]>;
44269
+ sink: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44270
+ filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
44271
+ type: z.ZodString;
44272
+ name: z.ZodString;
44273
+ }, "strip", z.ZodTypeAny, {
44274
+ type: string;
44275
+ name: string;
44276
+ }, {
44277
+ type: string;
44278
+ name: string;
44279
+ }>, "many">>;
44280
+ isPriority: z.ZodOptional<z.ZodBoolean>;
44281
+ } & {
44282
+ id: z.ZodString;
44283
+ status: z.ZodEnum<[
44284
+ "active",
44285
+ "paused",
44286
+ "suspended"
44287
+ ]>;
44288
+ created_at: z.ZodOptional<z.ZodString>;
44289
+ updated_at: z.ZodOptional<z.ZodString>;
44290
+ }, "strip", z.ZodTypeAny, {
44291
+ type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
44292
+ status: "active" | "paused" | "suspended";
44293
+ id: string;
44294
+ name: string;
44295
+ sink: Record<string, unknown>;
44296
+ created_at?: string | undefined;
44297
+ updated_at?: string | undefined;
44298
+ filters?: {
44299
+ type: string;
44300
+ name: string;
44301
+ }[] | undefined;
44302
+ isPriority?: boolean | undefined;
44303
+ }, {
44304
+ type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
44305
+ status: "active" | "paused" | "suspended";
44306
+ id: string;
44307
+ name: string;
44308
+ sink: Record<string, unknown>;
44309
+ created_at?: string | undefined;
44310
+ updated_at?: string | undefined;
44311
+ filters?: {
44312
+ type: string;
44313
+ name: string;
44314
+ }[] | undefined;
44315
+ isPriority?: boolean | undefined;
44316
+ }>;
44317
+ export type LogStream = z.infer<typeof logStreamSchema>;
44318
+ export declare const breachedPasswordDetectionSchema: z.ZodObject<{
44319
+ enabled: z.ZodOptional<z.ZodBoolean>;
44320
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44321
+ admin_notification_frequency: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44322
+ method: z.ZodOptional<z.ZodString>;
44323
+ stage: z.ZodOptional<z.ZodObject<{
44324
+ "pre-user-registration": z.ZodOptional<z.ZodObject<{
44325
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44326
+ }, "strip", z.ZodTypeAny, {
44327
+ shields?: string[] | undefined;
44328
+ }, {
44329
+ shields?: string[] | undefined;
44330
+ }>>;
44331
+ "pre-change-password": z.ZodOptional<z.ZodObject<{
44332
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44333
+ }, "strip", z.ZodTypeAny, {
44334
+ shields?: string[] | undefined;
44335
+ }, {
44336
+ shields?: string[] | undefined;
44337
+ }>>;
44338
+ }, "strip", z.ZodTypeAny, {
44339
+ "pre-user-registration"?: {
44340
+ shields?: string[] | undefined;
44341
+ } | undefined;
44342
+ "pre-change-password"?: {
44343
+ shields?: string[] | undefined;
44344
+ } | undefined;
44345
+ }, {
44346
+ "pre-user-registration"?: {
44347
+ shields?: string[] | undefined;
44348
+ } | undefined;
44349
+ "pre-change-password"?: {
44350
+ shields?: string[] | undefined;
44351
+ } | undefined;
44352
+ }>>;
44353
+ }, "strip", z.ZodTypeAny, {
44354
+ method?: string | undefined;
44355
+ enabled?: boolean | undefined;
44356
+ shields?: string[] | undefined;
44357
+ admin_notification_frequency?: string[] | undefined;
44358
+ stage?: {
44359
+ "pre-user-registration"?: {
44360
+ shields?: string[] | undefined;
44361
+ } | undefined;
44362
+ "pre-change-password"?: {
44363
+ shields?: string[] | undefined;
44364
+ } | undefined;
44365
+ } | undefined;
44366
+ }, {
44367
+ method?: string | undefined;
44368
+ enabled?: boolean | undefined;
44369
+ shields?: string[] | undefined;
44370
+ admin_notification_frequency?: string[] | undefined;
44371
+ stage?: {
44372
+ "pre-user-registration"?: {
44373
+ shields?: string[] | undefined;
44374
+ } | undefined;
44375
+ "pre-change-password"?: {
44376
+ shields?: string[] | undefined;
44377
+ } | undefined;
44378
+ } | undefined;
44379
+ }>;
44380
+ export type BreachedPasswordDetection = z.infer<typeof breachedPasswordDetectionSchema>;
44381
+ export declare const bruteForceProtectionSchema: z.ZodObject<{
44382
+ enabled: z.ZodOptional<z.ZodBoolean>;
44383
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44384
+ allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44385
+ mode: z.ZodOptional<z.ZodString>;
44386
+ max_attempts: z.ZodOptional<z.ZodNumber>;
44387
+ }, "strip", z.ZodTypeAny, {
44388
+ allowlist?: string[] | undefined;
44389
+ enabled?: boolean | undefined;
44390
+ shields?: string[] | undefined;
44391
+ mode?: string | undefined;
44392
+ max_attempts?: number | undefined;
44393
+ }, {
44394
+ allowlist?: string[] | undefined;
44395
+ enabled?: boolean | undefined;
44396
+ shields?: string[] | undefined;
44397
+ mode?: string | undefined;
44398
+ max_attempts?: number | undefined;
44399
+ }>;
44400
+ export type BruteForceProtection = z.infer<typeof bruteForceProtectionSchema>;
44401
+ export declare const suspiciousIpThrottlingSchema: z.ZodObject<{
44402
+ enabled: z.ZodOptional<z.ZodBoolean>;
44403
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44404
+ allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44405
+ stage: z.ZodOptional<z.ZodObject<{
44406
+ "pre-login": z.ZodOptional<z.ZodObject<{
44407
+ max_attempts: z.ZodOptional<z.ZodNumber>;
44408
+ rate: z.ZodOptional<z.ZodNumber>;
44409
+ }, "strip", z.ZodTypeAny, {
44410
+ max_attempts?: number | undefined;
44411
+ rate?: number | undefined;
44412
+ }, {
44413
+ max_attempts?: number | undefined;
44414
+ rate?: number | undefined;
44415
+ }>>;
44416
+ "pre-user-registration": z.ZodOptional<z.ZodObject<{
44417
+ max_attempts: z.ZodOptional<z.ZodNumber>;
44418
+ rate: z.ZodOptional<z.ZodNumber>;
44419
+ }, "strip", z.ZodTypeAny, {
44420
+ max_attempts?: number | undefined;
44421
+ rate?: number | undefined;
44422
+ }, {
44423
+ max_attempts?: number | undefined;
44424
+ rate?: number | undefined;
44425
+ }>>;
44426
+ }, "strip", z.ZodTypeAny, {
44427
+ "pre-user-registration"?: {
44428
+ max_attempts?: number | undefined;
44429
+ rate?: number | undefined;
44430
+ } | undefined;
44431
+ "pre-login"?: {
44432
+ max_attempts?: number | undefined;
44433
+ rate?: number | undefined;
44434
+ } | undefined;
44435
+ }, {
44436
+ "pre-user-registration"?: {
44437
+ max_attempts?: number | undefined;
44438
+ rate?: number | undefined;
44439
+ } | undefined;
44440
+ "pre-login"?: {
44441
+ max_attempts?: number | undefined;
44442
+ rate?: number | undefined;
44443
+ } | undefined;
44444
+ }>>;
44445
+ }, "strip", z.ZodTypeAny, {
44446
+ allowlist?: string[] | undefined;
44447
+ enabled?: boolean | undefined;
44448
+ shields?: string[] | undefined;
44449
+ stage?: {
44450
+ "pre-user-registration"?: {
44451
+ max_attempts?: number | undefined;
44452
+ rate?: number | undefined;
44453
+ } | undefined;
44454
+ "pre-login"?: {
44455
+ max_attempts?: number | undefined;
44456
+ rate?: number | undefined;
44457
+ } | undefined;
44458
+ } | undefined;
44459
+ }, {
44460
+ allowlist?: string[] | undefined;
44461
+ enabled?: boolean | undefined;
44462
+ shields?: string[] | undefined;
44463
+ stage?: {
44464
+ "pre-user-registration"?: {
44465
+ max_attempts?: number | undefined;
44466
+ rate?: number | undefined;
44467
+ } | undefined;
44468
+ "pre-login"?: {
44469
+ max_attempts?: number | undefined;
44470
+ rate?: number | undefined;
44471
+ } | undefined;
44472
+ } | undefined;
44473
+ }>;
44474
+ export type SuspiciousIpThrottling = z.infer<typeof suspiciousIpThrottlingSchema>;
44475
+ export declare const attackProtectionSchema: z.ZodObject<{
44476
+ breached_password_detection: z.ZodOptional<z.ZodObject<{
44477
+ enabled: z.ZodOptional<z.ZodBoolean>;
44478
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44479
+ admin_notification_frequency: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44480
+ method: z.ZodOptional<z.ZodString>;
44481
+ stage: z.ZodOptional<z.ZodObject<{
44482
+ "pre-user-registration": z.ZodOptional<z.ZodObject<{
44483
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44484
+ }, "strip", z.ZodTypeAny, {
44485
+ shields?: string[] | undefined;
44486
+ }, {
44487
+ shields?: string[] | undefined;
44488
+ }>>;
44489
+ "pre-change-password": z.ZodOptional<z.ZodObject<{
44490
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44491
+ }, "strip", z.ZodTypeAny, {
44492
+ shields?: string[] | undefined;
44493
+ }, {
44494
+ shields?: string[] | undefined;
44495
+ }>>;
44496
+ }, "strip", z.ZodTypeAny, {
44497
+ "pre-user-registration"?: {
44498
+ shields?: string[] | undefined;
44499
+ } | undefined;
44500
+ "pre-change-password"?: {
44501
+ shields?: string[] | undefined;
44502
+ } | undefined;
44503
+ }, {
44504
+ "pre-user-registration"?: {
44505
+ shields?: string[] | undefined;
44506
+ } | undefined;
44507
+ "pre-change-password"?: {
44508
+ shields?: string[] | undefined;
44509
+ } | undefined;
44510
+ }>>;
44511
+ }, "strip", z.ZodTypeAny, {
44512
+ method?: string | undefined;
44513
+ enabled?: boolean | undefined;
44514
+ shields?: string[] | undefined;
44515
+ admin_notification_frequency?: string[] | undefined;
44516
+ stage?: {
44517
+ "pre-user-registration"?: {
44518
+ shields?: string[] | undefined;
44519
+ } | undefined;
44520
+ "pre-change-password"?: {
44521
+ shields?: string[] | undefined;
44522
+ } | undefined;
44523
+ } | undefined;
44524
+ }, {
44525
+ method?: string | undefined;
44526
+ enabled?: boolean | undefined;
44527
+ shields?: string[] | undefined;
44528
+ admin_notification_frequency?: string[] | undefined;
44529
+ stage?: {
44530
+ "pre-user-registration"?: {
44531
+ shields?: string[] | undefined;
44532
+ } | undefined;
44533
+ "pre-change-password"?: {
44534
+ shields?: string[] | undefined;
44535
+ } | undefined;
44536
+ } | undefined;
44537
+ }>>;
44538
+ brute_force_protection: z.ZodOptional<z.ZodObject<{
44539
+ enabled: z.ZodOptional<z.ZodBoolean>;
44540
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44541
+ allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44542
+ mode: z.ZodOptional<z.ZodString>;
44543
+ max_attempts: z.ZodOptional<z.ZodNumber>;
44544
+ }, "strip", z.ZodTypeAny, {
44545
+ allowlist?: string[] | undefined;
44546
+ enabled?: boolean | undefined;
44547
+ shields?: string[] | undefined;
44548
+ mode?: string | undefined;
44549
+ max_attempts?: number | undefined;
44550
+ }, {
44551
+ allowlist?: string[] | undefined;
44552
+ enabled?: boolean | undefined;
44553
+ shields?: string[] | undefined;
44554
+ mode?: string | undefined;
44555
+ max_attempts?: number | undefined;
44556
+ }>>;
44557
+ suspicious_ip_throttling: z.ZodOptional<z.ZodObject<{
44558
+ enabled: z.ZodOptional<z.ZodBoolean>;
44559
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44560
+ allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44561
+ stage: z.ZodOptional<z.ZodObject<{
44562
+ "pre-login": z.ZodOptional<z.ZodObject<{
44563
+ max_attempts: z.ZodOptional<z.ZodNumber>;
44564
+ rate: z.ZodOptional<z.ZodNumber>;
44565
+ }, "strip", z.ZodTypeAny, {
44566
+ max_attempts?: number | undefined;
44567
+ rate?: number | undefined;
44568
+ }, {
44569
+ max_attempts?: number | undefined;
44570
+ rate?: number | undefined;
44571
+ }>>;
44572
+ "pre-user-registration": z.ZodOptional<z.ZodObject<{
44573
+ max_attempts: z.ZodOptional<z.ZodNumber>;
44574
+ rate: z.ZodOptional<z.ZodNumber>;
44575
+ }, "strip", z.ZodTypeAny, {
44576
+ max_attempts?: number | undefined;
44577
+ rate?: number | undefined;
44578
+ }, {
44579
+ max_attempts?: number | undefined;
44580
+ rate?: number | undefined;
44581
+ }>>;
44582
+ }, "strip", z.ZodTypeAny, {
44583
+ "pre-user-registration"?: {
44584
+ max_attempts?: number | undefined;
44585
+ rate?: number | undefined;
44586
+ } | undefined;
44587
+ "pre-login"?: {
44588
+ max_attempts?: number | undefined;
44589
+ rate?: number | undefined;
44590
+ } | undefined;
44591
+ }, {
44592
+ "pre-user-registration"?: {
44593
+ max_attempts?: number | undefined;
44594
+ rate?: number | undefined;
44595
+ } | undefined;
44596
+ "pre-login"?: {
44597
+ max_attempts?: number | undefined;
44598
+ rate?: number | undefined;
44599
+ } | undefined;
44600
+ }>>;
44601
+ }, "strip", z.ZodTypeAny, {
44602
+ allowlist?: string[] | undefined;
44603
+ enabled?: boolean | undefined;
44604
+ shields?: string[] | undefined;
44605
+ stage?: {
44606
+ "pre-user-registration"?: {
44607
+ max_attempts?: number | undefined;
44608
+ rate?: number | undefined;
44609
+ } | undefined;
44610
+ "pre-login"?: {
44611
+ max_attempts?: number | undefined;
44612
+ rate?: number | undefined;
44613
+ } | undefined;
44614
+ } | undefined;
44615
+ }, {
44616
+ allowlist?: string[] | undefined;
44617
+ enabled?: boolean | undefined;
44618
+ shields?: string[] | undefined;
44619
+ stage?: {
44620
+ "pre-user-registration"?: {
44621
+ max_attempts?: number | undefined;
44622
+ rate?: number | undefined;
44623
+ } | undefined;
44624
+ "pre-login"?: {
44625
+ max_attempts?: number | undefined;
44626
+ rate?: number | undefined;
44627
+ } | undefined;
44628
+ } | undefined;
44629
+ }>>;
44630
+ }, "strip", z.ZodTypeAny, {
44631
+ brute_force_protection?: {
44632
+ allowlist?: string[] | undefined;
44633
+ enabled?: boolean | undefined;
44634
+ shields?: string[] | undefined;
44635
+ mode?: string | undefined;
44636
+ max_attempts?: number | undefined;
44637
+ } | undefined;
44638
+ breached_password_detection?: {
44639
+ method?: string | undefined;
44640
+ enabled?: boolean | undefined;
44641
+ shields?: string[] | undefined;
44642
+ admin_notification_frequency?: string[] | undefined;
44643
+ stage?: {
44644
+ "pre-user-registration"?: {
44645
+ shields?: string[] | undefined;
44646
+ } | undefined;
44647
+ "pre-change-password"?: {
44648
+ shields?: string[] | undefined;
44649
+ } | undefined;
44650
+ } | undefined;
44651
+ } | undefined;
44652
+ suspicious_ip_throttling?: {
44653
+ allowlist?: string[] | undefined;
44654
+ enabled?: boolean | undefined;
44655
+ shields?: string[] | undefined;
44656
+ stage?: {
44657
+ "pre-user-registration"?: {
44658
+ max_attempts?: number | undefined;
44659
+ rate?: number | undefined;
44660
+ } | undefined;
44661
+ "pre-login"?: {
44662
+ max_attempts?: number | undefined;
44663
+ rate?: number | undefined;
44664
+ } | undefined;
44665
+ } | undefined;
44666
+ } | undefined;
44667
+ }, {
44668
+ brute_force_protection?: {
44669
+ allowlist?: string[] | undefined;
44670
+ enabled?: boolean | undefined;
44671
+ shields?: string[] | undefined;
44672
+ mode?: string | undefined;
44673
+ max_attempts?: number | undefined;
44674
+ } | undefined;
44675
+ breached_password_detection?: {
44676
+ method?: string | undefined;
44677
+ enabled?: boolean | undefined;
44678
+ shields?: string[] | undefined;
44679
+ admin_notification_frequency?: string[] | undefined;
44680
+ stage?: {
44681
+ "pre-user-registration"?: {
44682
+ shields?: string[] | undefined;
44683
+ } | undefined;
44684
+ "pre-change-password"?: {
44685
+ shields?: string[] | undefined;
44686
+ } | undefined;
44687
+ } | undefined;
44688
+ } | undefined;
44689
+ suspicious_ip_throttling?: {
44690
+ allowlist?: string[] | undefined;
44691
+ enabled?: boolean | undefined;
44692
+ shields?: string[] | undefined;
44693
+ stage?: {
44694
+ "pre-user-registration"?: {
44695
+ max_attempts?: number | undefined;
44696
+ rate?: number | undefined;
44697
+ } | undefined;
44698
+ "pre-login"?: {
44699
+ max_attempts?: number | undefined;
44700
+ rate?: number | undefined;
44701
+ } | undefined;
44702
+ } | undefined;
44703
+ } | undefined;
44704
+ }>;
44705
+ export type AttackProtection = z.infer<typeof attackProtectionSchema>;
44092
44706
  export declare const passwordInsertSchema: z.ZodObject<{
44093
44707
  id: z.ZodOptional<z.ZodString>;
44094
44708
  user_id: z.ZodString;
@@ -44365,7 +44979,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
44365
44979
  default_redirection_uri: z.ZodOptional<z.ZodString>;
44366
44980
  enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44367
44981
  default_directory: z.ZodOptional<z.ZodString>;
44368
- error_page: z.ZodOptional<z.ZodObject<{
44982
+ error_page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
44369
44983
  html: z.ZodOptional<z.ZodString>;
44370
44984
  show_log_link: z.ZodOptional<z.ZodBoolean>;
44371
44985
  url: z.ZodOptional<z.ZodString>;
@@ -44377,7 +44991,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
44377
44991
  url?: string | undefined;
44378
44992
  html?: string | undefined;
44379
44993
  show_log_link?: boolean | undefined;
44380
- }>>;
44994
+ }>>>;
44381
44995
  flags: z.ZodOptional<z.ZodObject<{
44382
44996
  allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
44383
44997
  allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
@@ -44526,7 +45140,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
44526
45140
  charset?: "base20" | "digits" | undefined;
44527
45141
  mask?: string | undefined;
44528
45142
  }>>;
44529
- default_token_quota: z.ZodOptional<z.ZodObject<{
45143
+ default_token_quota: z.ZodOptional<z.ZodNullable<z.ZodObject<{
44530
45144
  clients: z.ZodOptional<z.ZodObject<{
44531
45145
  client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
44532
45146
  }, "strip", z.ZodTypeAny, {
@@ -44555,7 +45169,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
44555
45169
  organizations?: {
44556
45170
  client_credentials?: Record<string, any> | undefined;
44557
45171
  } | undefined;
44558
- }>>;
45172
+ }>>>;
44559
45173
  default_audience: z.ZodOptional<z.ZodString>;
44560
45174
  default_organization: z.ZodOptional<z.ZodString>;
44561
45175
  sessions: z.ZodOptional<z.ZodObject<{
@@ -44575,15 +45189,245 @@ export declare const tenantInsertSchema: z.ZodObject<{
44575
45189
  allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
44576
45190
  customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
44577
45191
  acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44578
- mtls: z.ZodOptional<z.ZodObject<{
45192
+ mtls: z.ZodOptional<z.ZodNullable<z.ZodObject<{
44579
45193
  enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
44580
45194
  }, "strip", z.ZodTypeAny, {
44581
45195
  enable_endpoint_aliases?: boolean | undefined;
44582
45196
  }, {
44583
45197
  enable_endpoint_aliases?: boolean | undefined;
44584
- }>>;
45198
+ }>>>;
44585
45199
  pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
44586
45200
  authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
45201
+ attack_protection: z.ZodOptional<z.ZodObject<{
45202
+ breached_password_detection: z.ZodOptional<z.ZodObject<{
45203
+ enabled: z.ZodOptional<z.ZodBoolean>;
45204
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45205
+ admin_notification_frequency: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45206
+ method: z.ZodOptional<z.ZodString>;
45207
+ stage: z.ZodOptional<z.ZodObject<{
45208
+ "pre-user-registration": z.ZodOptional<z.ZodObject<{
45209
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45210
+ }, "strip", z.ZodTypeAny, {
45211
+ shields?: string[] | undefined;
45212
+ }, {
45213
+ shields?: string[] | undefined;
45214
+ }>>;
45215
+ "pre-change-password": z.ZodOptional<z.ZodObject<{
45216
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45217
+ }, "strip", z.ZodTypeAny, {
45218
+ shields?: string[] | undefined;
45219
+ }, {
45220
+ shields?: string[] | undefined;
45221
+ }>>;
45222
+ }, "strip", z.ZodTypeAny, {
45223
+ "pre-user-registration"?: {
45224
+ shields?: string[] | undefined;
45225
+ } | undefined;
45226
+ "pre-change-password"?: {
45227
+ shields?: string[] | undefined;
45228
+ } | undefined;
45229
+ }, {
45230
+ "pre-user-registration"?: {
45231
+ shields?: string[] | undefined;
45232
+ } | undefined;
45233
+ "pre-change-password"?: {
45234
+ shields?: string[] | undefined;
45235
+ } | undefined;
45236
+ }>>;
45237
+ }, "strip", z.ZodTypeAny, {
45238
+ method?: string | undefined;
45239
+ enabled?: boolean | undefined;
45240
+ shields?: string[] | undefined;
45241
+ admin_notification_frequency?: string[] | undefined;
45242
+ stage?: {
45243
+ "pre-user-registration"?: {
45244
+ shields?: string[] | undefined;
45245
+ } | undefined;
45246
+ "pre-change-password"?: {
45247
+ shields?: string[] | undefined;
45248
+ } | undefined;
45249
+ } | undefined;
45250
+ }, {
45251
+ method?: string | undefined;
45252
+ enabled?: boolean | undefined;
45253
+ shields?: string[] | undefined;
45254
+ admin_notification_frequency?: string[] | undefined;
45255
+ stage?: {
45256
+ "pre-user-registration"?: {
45257
+ shields?: string[] | undefined;
45258
+ } | undefined;
45259
+ "pre-change-password"?: {
45260
+ shields?: string[] | undefined;
45261
+ } | undefined;
45262
+ } | undefined;
45263
+ }>>;
45264
+ brute_force_protection: z.ZodOptional<z.ZodObject<{
45265
+ enabled: z.ZodOptional<z.ZodBoolean>;
45266
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45267
+ allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45268
+ mode: z.ZodOptional<z.ZodString>;
45269
+ max_attempts: z.ZodOptional<z.ZodNumber>;
45270
+ }, "strip", z.ZodTypeAny, {
45271
+ allowlist?: string[] | undefined;
45272
+ enabled?: boolean | undefined;
45273
+ shields?: string[] | undefined;
45274
+ mode?: string | undefined;
45275
+ max_attempts?: number | undefined;
45276
+ }, {
45277
+ allowlist?: string[] | undefined;
45278
+ enabled?: boolean | undefined;
45279
+ shields?: string[] | undefined;
45280
+ mode?: string | undefined;
45281
+ max_attempts?: number | undefined;
45282
+ }>>;
45283
+ suspicious_ip_throttling: z.ZodOptional<z.ZodObject<{
45284
+ enabled: z.ZodOptional<z.ZodBoolean>;
45285
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45286
+ allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45287
+ stage: z.ZodOptional<z.ZodObject<{
45288
+ "pre-login": z.ZodOptional<z.ZodObject<{
45289
+ max_attempts: z.ZodOptional<z.ZodNumber>;
45290
+ rate: z.ZodOptional<z.ZodNumber>;
45291
+ }, "strip", z.ZodTypeAny, {
45292
+ max_attempts?: number | undefined;
45293
+ rate?: number | undefined;
45294
+ }, {
45295
+ max_attempts?: number | undefined;
45296
+ rate?: number | undefined;
45297
+ }>>;
45298
+ "pre-user-registration": z.ZodOptional<z.ZodObject<{
45299
+ max_attempts: z.ZodOptional<z.ZodNumber>;
45300
+ rate: z.ZodOptional<z.ZodNumber>;
45301
+ }, "strip", z.ZodTypeAny, {
45302
+ max_attempts?: number | undefined;
45303
+ rate?: number | undefined;
45304
+ }, {
45305
+ max_attempts?: number | undefined;
45306
+ rate?: number | undefined;
45307
+ }>>;
45308
+ }, "strip", z.ZodTypeAny, {
45309
+ "pre-user-registration"?: {
45310
+ max_attempts?: number | undefined;
45311
+ rate?: number | undefined;
45312
+ } | undefined;
45313
+ "pre-login"?: {
45314
+ max_attempts?: number | undefined;
45315
+ rate?: number | undefined;
45316
+ } | undefined;
45317
+ }, {
45318
+ "pre-user-registration"?: {
45319
+ max_attempts?: number | undefined;
45320
+ rate?: number | undefined;
45321
+ } | undefined;
45322
+ "pre-login"?: {
45323
+ max_attempts?: number | undefined;
45324
+ rate?: number | undefined;
45325
+ } | undefined;
45326
+ }>>;
45327
+ }, "strip", z.ZodTypeAny, {
45328
+ allowlist?: string[] | undefined;
45329
+ enabled?: boolean | undefined;
45330
+ shields?: string[] | undefined;
45331
+ stage?: {
45332
+ "pre-user-registration"?: {
45333
+ max_attempts?: number | undefined;
45334
+ rate?: number | undefined;
45335
+ } | undefined;
45336
+ "pre-login"?: {
45337
+ max_attempts?: number | undefined;
45338
+ rate?: number | undefined;
45339
+ } | undefined;
45340
+ } | undefined;
45341
+ }, {
45342
+ allowlist?: string[] | undefined;
45343
+ enabled?: boolean | undefined;
45344
+ shields?: string[] | undefined;
45345
+ stage?: {
45346
+ "pre-user-registration"?: {
45347
+ max_attempts?: number | undefined;
45348
+ rate?: number | undefined;
45349
+ } | undefined;
45350
+ "pre-login"?: {
45351
+ max_attempts?: number | undefined;
45352
+ rate?: number | undefined;
45353
+ } | undefined;
45354
+ } | undefined;
45355
+ }>>;
45356
+ }, "strip", z.ZodTypeAny, {
45357
+ brute_force_protection?: {
45358
+ allowlist?: string[] | undefined;
45359
+ enabled?: boolean | undefined;
45360
+ shields?: string[] | undefined;
45361
+ mode?: string | undefined;
45362
+ max_attempts?: number | undefined;
45363
+ } | undefined;
45364
+ breached_password_detection?: {
45365
+ method?: string | undefined;
45366
+ enabled?: boolean | undefined;
45367
+ shields?: string[] | undefined;
45368
+ admin_notification_frequency?: string[] | undefined;
45369
+ stage?: {
45370
+ "pre-user-registration"?: {
45371
+ shields?: string[] | undefined;
45372
+ } | undefined;
45373
+ "pre-change-password"?: {
45374
+ shields?: string[] | undefined;
45375
+ } | undefined;
45376
+ } | undefined;
45377
+ } | undefined;
45378
+ suspicious_ip_throttling?: {
45379
+ allowlist?: string[] | undefined;
45380
+ enabled?: boolean | undefined;
45381
+ shields?: string[] | undefined;
45382
+ stage?: {
45383
+ "pre-user-registration"?: {
45384
+ max_attempts?: number | undefined;
45385
+ rate?: number | undefined;
45386
+ } | undefined;
45387
+ "pre-login"?: {
45388
+ max_attempts?: number | undefined;
45389
+ rate?: number | undefined;
45390
+ } | undefined;
45391
+ } | undefined;
45392
+ } | undefined;
45393
+ }, {
45394
+ brute_force_protection?: {
45395
+ allowlist?: string[] | undefined;
45396
+ enabled?: boolean | undefined;
45397
+ shields?: string[] | undefined;
45398
+ mode?: string | undefined;
45399
+ max_attempts?: number | undefined;
45400
+ } | undefined;
45401
+ breached_password_detection?: {
45402
+ method?: string | undefined;
45403
+ enabled?: boolean | undefined;
45404
+ shields?: string[] | undefined;
45405
+ admin_notification_frequency?: string[] | undefined;
45406
+ stage?: {
45407
+ "pre-user-registration"?: {
45408
+ shields?: string[] | undefined;
45409
+ } | undefined;
45410
+ "pre-change-password"?: {
45411
+ shields?: string[] | undefined;
45412
+ } | undefined;
45413
+ } | undefined;
45414
+ } | undefined;
45415
+ suspicious_ip_throttling?: {
45416
+ allowlist?: string[] | undefined;
45417
+ enabled?: boolean | undefined;
45418
+ shields?: string[] | undefined;
45419
+ stage?: {
45420
+ "pre-user-registration"?: {
45421
+ max_attempts?: number | undefined;
45422
+ rate?: number | undefined;
45423
+ } | undefined;
45424
+ "pre-login"?: {
45425
+ max_attempts?: number | undefined;
45426
+ rate?: number | undefined;
45427
+ } | undefined;
45428
+ } | undefined;
45429
+ } | undefined;
45430
+ }>>;
44587
45431
  mfa: z.ZodOptional<z.ZodObject<{
44588
45432
  policy: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
44589
45433
  "never",
@@ -44729,7 +45573,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
44729
45573
  url?: string | undefined;
44730
45574
  html?: string | undefined;
44731
45575
  show_log_link?: boolean | undefined;
44732
- } | undefined;
45576
+ } | null | undefined;
44733
45577
  flags?: {
44734
45578
  allow_changing_enable_sso?: boolean | undefined;
44735
45579
  allow_legacy_delegation_grant_types?: boolean | undefined;
@@ -44790,7 +45634,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
44790
45634
  organizations?: {
44791
45635
  client_credentials?: Record<string, any> | undefined;
44792
45636
  } | undefined;
44793
- } | undefined;
45637
+ } | null | undefined;
44794
45638
  default_audience?: string | undefined;
44795
45639
  sessions?: {
44796
45640
  oidc_logout_prompt_enabled?: boolean | undefined;
@@ -44800,9 +45644,47 @@ export declare const tenantInsertSchema: z.ZodObject<{
44800
45644
  acr_values_supported?: string[] | undefined;
44801
45645
  mtls?: {
44802
45646
  enable_endpoint_aliases?: boolean | undefined;
44803
- } | undefined;
45647
+ } | null | undefined;
44804
45648
  pushed_authorization_requests_supported?: boolean | undefined;
44805
45649
  authorization_response_iss_parameter_supported?: boolean | undefined;
45650
+ attack_protection?: {
45651
+ brute_force_protection?: {
45652
+ allowlist?: string[] | undefined;
45653
+ enabled?: boolean | undefined;
45654
+ shields?: string[] | undefined;
45655
+ mode?: string | undefined;
45656
+ max_attempts?: number | undefined;
45657
+ } | undefined;
45658
+ breached_password_detection?: {
45659
+ method?: string | undefined;
45660
+ enabled?: boolean | undefined;
45661
+ shields?: string[] | undefined;
45662
+ admin_notification_frequency?: string[] | undefined;
45663
+ stage?: {
45664
+ "pre-user-registration"?: {
45665
+ shields?: string[] | undefined;
45666
+ } | undefined;
45667
+ "pre-change-password"?: {
45668
+ shields?: string[] | undefined;
45669
+ } | undefined;
45670
+ } | undefined;
45671
+ } | undefined;
45672
+ suspicious_ip_throttling?: {
45673
+ allowlist?: string[] | undefined;
45674
+ enabled?: boolean | undefined;
45675
+ shields?: string[] | undefined;
45676
+ stage?: {
45677
+ "pre-user-registration"?: {
45678
+ max_attempts?: number | undefined;
45679
+ rate?: number | undefined;
45680
+ } | undefined;
45681
+ "pre-login"?: {
45682
+ max_attempts?: number | undefined;
45683
+ rate?: number | undefined;
45684
+ } | undefined;
45685
+ } | undefined;
45686
+ } | undefined;
45687
+ } | undefined;
44806
45688
  mfa?: {
44807
45689
  policy?: "never" | "always" | undefined;
44808
45690
  factors?: {
@@ -44856,7 +45738,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
44856
45738
  url?: string | undefined;
44857
45739
  html?: string | undefined;
44858
45740
  show_log_link?: boolean | undefined;
44859
- } | undefined;
45741
+ } | null | undefined;
44860
45742
  flags?: {
44861
45743
  allow_changing_enable_sso?: boolean | undefined;
44862
45744
  allow_legacy_delegation_grant_types?: boolean | undefined;
@@ -44917,7 +45799,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
44917
45799
  organizations?: {
44918
45800
  client_credentials?: Record<string, any> | undefined;
44919
45801
  } | undefined;
44920
- } | undefined;
45802
+ } | null | undefined;
44921
45803
  default_audience?: string | undefined;
44922
45804
  sessions?: {
44923
45805
  oidc_logout_prompt_enabled?: boolean | undefined;
@@ -44927,9 +45809,47 @@ export declare const tenantInsertSchema: z.ZodObject<{
44927
45809
  acr_values_supported?: string[] | undefined;
44928
45810
  mtls?: {
44929
45811
  enable_endpoint_aliases?: boolean | undefined;
44930
- } | undefined;
45812
+ } | null | undefined;
44931
45813
  pushed_authorization_requests_supported?: boolean | undefined;
44932
45814
  authorization_response_iss_parameter_supported?: boolean | undefined;
45815
+ attack_protection?: {
45816
+ brute_force_protection?: {
45817
+ allowlist?: string[] | undefined;
45818
+ enabled?: boolean | undefined;
45819
+ shields?: string[] | undefined;
45820
+ mode?: string | undefined;
45821
+ max_attempts?: number | undefined;
45822
+ } | undefined;
45823
+ breached_password_detection?: {
45824
+ method?: string | undefined;
45825
+ enabled?: boolean | undefined;
45826
+ shields?: string[] | undefined;
45827
+ admin_notification_frequency?: string[] | undefined;
45828
+ stage?: {
45829
+ "pre-user-registration"?: {
45830
+ shields?: string[] | undefined;
45831
+ } | undefined;
45832
+ "pre-change-password"?: {
45833
+ shields?: string[] | undefined;
45834
+ } | undefined;
45835
+ } | undefined;
45836
+ } | undefined;
45837
+ suspicious_ip_throttling?: {
45838
+ allowlist?: string[] | undefined;
45839
+ enabled?: boolean | undefined;
45840
+ shields?: string[] | undefined;
45841
+ stage?: {
45842
+ "pre-user-registration"?: {
45843
+ max_attempts?: number | undefined;
45844
+ rate?: number | undefined;
45845
+ } | undefined;
45846
+ "pre-login"?: {
45847
+ max_attempts?: number | undefined;
45848
+ rate?: number | undefined;
45849
+ } | undefined;
45850
+ } | undefined;
45851
+ } | undefined;
45852
+ } | undefined;
44933
45853
  mfa?: {
44934
45854
  policy?: "never" | "always" | undefined;
44935
45855
  factors?: {
@@ -44983,7 +45903,7 @@ export declare const tenantSchema: z.ZodObject<{
44983
45903
  default_redirection_uri: z.ZodOptional<z.ZodString>;
44984
45904
  enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44985
45905
  default_directory: z.ZodOptional<z.ZodString>;
44986
- error_page: z.ZodOptional<z.ZodObject<{
45906
+ error_page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
44987
45907
  html: z.ZodOptional<z.ZodString>;
44988
45908
  show_log_link: z.ZodOptional<z.ZodBoolean>;
44989
45909
  url: z.ZodOptional<z.ZodString>;
@@ -44995,7 +45915,7 @@ export declare const tenantSchema: z.ZodObject<{
44995
45915
  url?: string | undefined;
44996
45916
  html?: string | undefined;
44997
45917
  show_log_link?: boolean | undefined;
44998
- }>>;
45918
+ }>>>;
44999
45919
  flags: z.ZodOptional<z.ZodObject<{
45000
45920
  allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
45001
45921
  allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
@@ -45144,7 +46064,7 @@ export declare const tenantSchema: z.ZodObject<{
45144
46064
  charset?: "base20" | "digits" | undefined;
45145
46065
  mask?: string | undefined;
45146
46066
  }>>;
45147
- default_token_quota: z.ZodOptional<z.ZodObject<{
46067
+ default_token_quota: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45148
46068
  clients: z.ZodOptional<z.ZodObject<{
45149
46069
  client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
45150
46070
  }, "strip", z.ZodTypeAny, {
@@ -45173,7 +46093,7 @@ export declare const tenantSchema: z.ZodObject<{
45173
46093
  organizations?: {
45174
46094
  client_credentials?: Record<string, any> | undefined;
45175
46095
  } | undefined;
45176
- }>>;
46096
+ }>>>;
45177
46097
  default_audience: z.ZodOptional<z.ZodString>;
45178
46098
  default_organization: z.ZodOptional<z.ZodString>;
45179
46099
  sessions: z.ZodOptional<z.ZodObject<{
@@ -45193,15 +46113,245 @@ export declare const tenantSchema: z.ZodObject<{
45193
46113
  allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
45194
46114
  customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
45195
46115
  acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45196
- mtls: z.ZodOptional<z.ZodObject<{
46116
+ mtls: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45197
46117
  enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
45198
46118
  }, "strip", z.ZodTypeAny, {
45199
46119
  enable_endpoint_aliases?: boolean | undefined;
45200
46120
  }, {
45201
46121
  enable_endpoint_aliases?: boolean | undefined;
45202
- }>>;
46122
+ }>>>;
45203
46123
  pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
45204
46124
  authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
46125
+ attack_protection: z.ZodOptional<z.ZodObject<{
46126
+ breached_password_detection: z.ZodOptional<z.ZodObject<{
46127
+ enabled: z.ZodOptional<z.ZodBoolean>;
46128
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
46129
+ admin_notification_frequency: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
46130
+ method: z.ZodOptional<z.ZodString>;
46131
+ stage: z.ZodOptional<z.ZodObject<{
46132
+ "pre-user-registration": z.ZodOptional<z.ZodObject<{
46133
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
46134
+ }, "strip", z.ZodTypeAny, {
46135
+ shields?: string[] | undefined;
46136
+ }, {
46137
+ shields?: string[] | undefined;
46138
+ }>>;
46139
+ "pre-change-password": z.ZodOptional<z.ZodObject<{
46140
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
46141
+ }, "strip", z.ZodTypeAny, {
46142
+ shields?: string[] | undefined;
46143
+ }, {
46144
+ shields?: string[] | undefined;
46145
+ }>>;
46146
+ }, "strip", z.ZodTypeAny, {
46147
+ "pre-user-registration"?: {
46148
+ shields?: string[] | undefined;
46149
+ } | undefined;
46150
+ "pre-change-password"?: {
46151
+ shields?: string[] | undefined;
46152
+ } | undefined;
46153
+ }, {
46154
+ "pre-user-registration"?: {
46155
+ shields?: string[] | undefined;
46156
+ } | undefined;
46157
+ "pre-change-password"?: {
46158
+ shields?: string[] | undefined;
46159
+ } | undefined;
46160
+ }>>;
46161
+ }, "strip", z.ZodTypeAny, {
46162
+ method?: string | undefined;
46163
+ enabled?: boolean | undefined;
46164
+ shields?: string[] | undefined;
46165
+ admin_notification_frequency?: string[] | undefined;
46166
+ stage?: {
46167
+ "pre-user-registration"?: {
46168
+ shields?: string[] | undefined;
46169
+ } | undefined;
46170
+ "pre-change-password"?: {
46171
+ shields?: string[] | undefined;
46172
+ } | undefined;
46173
+ } | undefined;
46174
+ }, {
46175
+ method?: string | undefined;
46176
+ enabled?: boolean | undefined;
46177
+ shields?: string[] | undefined;
46178
+ admin_notification_frequency?: string[] | undefined;
46179
+ stage?: {
46180
+ "pre-user-registration"?: {
46181
+ shields?: string[] | undefined;
46182
+ } | undefined;
46183
+ "pre-change-password"?: {
46184
+ shields?: string[] | undefined;
46185
+ } | undefined;
46186
+ } | undefined;
46187
+ }>>;
46188
+ brute_force_protection: z.ZodOptional<z.ZodObject<{
46189
+ enabled: z.ZodOptional<z.ZodBoolean>;
46190
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
46191
+ allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
46192
+ mode: z.ZodOptional<z.ZodString>;
46193
+ max_attempts: z.ZodOptional<z.ZodNumber>;
46194
+ }, "strip", z.ZodTypeAny, {
46195
+ allowlist?: string[] | undefined;
46196
+ enabled?: boolean | undefined;
46197
+ shields?: string[] | undefined;
46198
+ mode?: string | undefined;
46199
+ max_attempts?: number | undefined;
46200
+ }, {
46201
+ allowlist?: string[] | undefined;
46202
+ enabled?: boolean | undefined;
46203
+ shields?: string[] | undefined;
46204
+ mode?: string | undefined;
46205
+ max_attempts?: number | undefined;
46206
+ }>>;
46207
+ suspicious_ip_throttling: z.ZodOptional<z.ZodObject<{
46208
+ enabled: z.ZodOptional<z.ZodBoolean>;
46209
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
46210
+ allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
46211
+ stage: z.ZodOptional<z.ZodObject<{
46212
+ "pre-login": z.ZodOptional<z.ZodObject<{
46213
+ max_attempts: z.ZodOptional<z.ZodNumber>;
46214
+ rate: z.ZodOptional<z.ZodNumber>;
46215
+ }, "strip", z.ZodTypeAny, {
46216
+ max_attempts?: number | undefined;
46217
+ rate?: number | undefined;
46218
+ }, {
46219
+ max_attempts?: number | undefined;
46220
+ rate?: number | undefined;
46221
+ }>>;
46222
+ "pre-user-registration": z.ZodOptional<z.ZodObject<{
46223
+ max_attempts: z.ZodOptional<z.ZodNumber>;
46224
+ rate: z.ZodOptional<z.ZodNumber>;
46225
+ }, "strip", z.ZodTypeAny, {
46226
+ max_attempts?: number | undefined;
46227
+ rate?: number | undefined;
46228
+ }, {
46229
+ max_attempts?: number | undefined;
46230
+ rate?: number | undefined;
46231
+ }>>;
46232
+ }, "strip", z.ZodTypeAny, {
46233
+ "pre-user-registration"?: {
46234
+ max_attempts?: number | undefined;
46235
+ rate?: number | undefined;
46236
+ } | undefined;
46237
+ "pre-login"?: {
46238
+ max_attempts?: number | undefined;
46239
+ rate?: number | undefined;
46240
+ } | undefined;
46241
+ }, {
46242
+ "pre-user-registration"?: {
46243
+ max_attempts?: number | undefined;
46244
+ rate?: number | undefined;
46245
+ } | undefined;
46246
+ "pre-login"?: {
46247
+ max_attempts?: number | undefined;
46248
+ rate?: number | undefined;
46249
+ } | undefined;
46250
+ }>>;
46251
+ }, "strip", z.ZodTypeAny, {
46252
+ allowlist?: string[] | undefined;
46253
+ enabled?: boolean | undefined;
46254
+ shields?: string[] | undefined;
46255
+ stage?: {
46256
+ "pre-user-registration"?: {
46257
+ max_attempts?: number | undefined;
46258
+ rate?: number | undefined;
46259
+ } | undefined;
46260
+ "pre-login"?: {
46261
+ max_attempts?: number | undefined;
46262
+ rate?: number | undefined;
46263
+ } | undefined;
46264
+ } | undefined;
46265
+ }, {
46266
+ allowlist?: string[] | undefined;
46267
+ enabled?: boolean | undefined;
46268
+ shields?: string[] | undefined;
46269
+ stage?: {
46270
+ "pre-user-registration"?: {
46271
+ max_attempts?: number | undefined;
46272
+ rate?: number | undefined;
46273
+ } | undefined;
46274
+ "pre-login"?: {
46275
+ max_attempts?: number | undefined;
46276
+ rate?: number | undefined;
46277
+ } | undefined;
46278
+ } | undefined;
46279
+ }>>;
46280
+ }, "strip", z.ZodTypeAny, {
46281
+ brute_force_protection?: {
46282
+ allowlist?: string[] | undefined;
46283
+ enabled?: boolean | undefined;
46284
+ shields?: string[] | undefined;
46285
+ mode?: string | undefined;
46286
+ max_attempts?: number | undefined;
46287
+ } | undefined;
46288
+ breached_password_detection?: {
46289
+ method?: string | undefined;
46290
+ enabled?: boolean | undefined;
46291
+ shields?: string[] | undefined;
46292
+ admin_notification_frequency?: string[] | undefined;
46293
+ stage?: {
46294
+ "pre-user-registration"?: {
46295
+ shields?: string[] | undefined;
46296
+ } | undefined;
46297
+ "pre-change-password"?: {
46298
+ shields?: string[] | undefined;
46299
+ } | undefined;
46300
+ } | undefined;
46301
+ } | undefined;
46302
+ suspicious_ip_throttling?: {
46303
+ allowlist?: string[] | undefined;
46304
+ enabled?: boolean | undefined;
46305
+ shields?: string[] | undefined;
46306
+ stage?: {
46307
+ "pre-user-registration"?: {
46308
+ max_attempts?: number | undefined;
46309
+ rate?: number | undefined;
46310
+ } | undefined;
46311
+ "pre-login"?: {
46312
+ max_attempts?: number | undefined;
46313
+ rate?: number | undefined;
46314
+ } | undefined;
46315
+ } | undefined;
46316
+ } | undefined;
46317
+ }, {
46318
+ brute_force_protection?: {
46319
+ allowlist?: string[] | undefined;
46320
+ enabled?: boolean | undefined;
46321
+ shields?: string[] | undefined;
46322
+ mode?: string | undefined;
46323
+ max_attempts?: number | undefined;
46324
+ } | undefined;
46325
+ breached_password_detection?: {
46326
+ method?: string | undefined;
46327
+ enabled?: boolean | undefined;
46328
+ shields?: string[] | undefined;
46329
+ admin_notification_frequency?: string[] | undefined;
46330
+ stage?: {
46331
+ "pre-user-registration"?: {
46332
+ shields?: string[] | undefined;
46333
+ } | undefined;
46334
+ "pre-change-password"?: {
46335
+ shields?: string[] | undefined;
46336
+ } | undefined;
46337
+ } | undefined;
46338
+ } | undefined;
46339
+ suspicious_ip_throttling?: {
46340
+ allowlist?: string[] | undefined;
46341
+ enabled?: boolean | undefined;
46342
+ shields?: string[] | undefined;
46343
+ stage?: {
46344
+ "pre-user-registration"?: {
46345
+ max_attempts?: number | undefined;
46346
+ rate?: number | undefined;
46347
+ } | undefined;
46348
+ "pre-login"?: {
46349
+ max_attempts?: number | undefined;
46350
+ rate?: number | undefined;
46351
+ } | undefined;
46352
+ } | undefined;
46353
+ } | undefined;
46354
+ }>>;
45205
46355
  mfa: z.ZodOptional<z.ZodObject<{
45206
46356
  policy: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
45207
46357
  "never",
@@ -45351,7 +46501,7 @@ export declare const tenantSchema: z.ZodObject<{
45351
46501
  url?: string | undefined;
45352
46502
  html?: string | undefined;
45353
46503
  show_log_link?: boolean | undefined;
45354
- } | undefined;
46504
+ } | null | undefined;
45355
46505
  flags?: {
45356
46506
  allow_changing_enable_sso?: boolean | undefined;
45357
46507
  allow_legacy_delegation_grant_types?: boolean | undefined;
@@ -45412,7 +46562,7 @@ export declare const tenantSchema: z.ZodObject<{
45412
46562
  organizations?: {
45413
46563
  client_credentials?: Record<string, any> | undefined;
45414
46564
  } | undefined;
45415
- } | undefined;
46565
+ } | null | undefined;
45416
46566
  default_audience?: string | undefined;
45417
46567
  sessions?: {
45418
46568
  oidc_logout_prompt_enabled?: boolean | undefined;
@@ -45422,9 +46572,47 @@ export declare const tenantSchema: z.ZodObject<{
45422
46572
  acr_values_supported?: string[] | undefined;
45423
46573
  mtls?: {
45424
46574
  enable_endpoint_aliases?: boolean | undefined;
45425
- } | undefined;
46575
+ } | null | undefined;
45426
46576
  pushed_authorization_requests_supported?: boolean | undefined;
45427
46577
  authorization_response_iss_parameter_supported?: boolean | undefined;
46578
+ attack_protection?: {
46579
+ brute_force_protection?: {
46580
+ allowlist?: string[] | undefined;
46581
+ enabled?: boolean | undefined;
46582
+ shields?: string[] | undefined;
46583
+ mode?: string | undefined;
46584
+ max_attempts?: number | undefined;
46585
+ } | undefined;
46586
+ breached_password_detection?: {
46587
+ method?: string | undefined;
46588
+ enabled?: boolean | undefined;
46589
+ shields?: string[] | undefined;
46590
+ admin_notification_frequency?: string[] | undefined;
46591
+ stage?: {
46592
+ "pre-user-registration"?: {
46593
+ shields?: string[] | undefined;
46594
+ } | undefined;
46595
+ "pre-change-password"?: {
46596
+ shields?: string[] | undefined;
46597
+ } | undefined;
46598
+ } | undefined;
46599
+ } | undefined;
46600
+ suspicious_ip_throttling?: {
46601
+ allowlist?: string[] | undefined;
46602
+ enabled?: boolean | undefined;
46603
+ shields?: string[] | undefined;
46604
+ stage?: {
46605
+ "pre-user-registration"?: {
46606
+ max_attempts?: number | undefined;
46607
+ rate?: number | undefined;
46608
+ } | undefined;
46609
+ "pre-login"?: {
46610
+ max_attempts?: number | undefined;
46611
+ rate?: number | undefined;
46612
+ } | undefined;
46613
+ } | undefined;
46614
+ } | undefined;
46615
+ } | undefined;
45428
46616
  mfa?: {
45429
46617
  policy?: "never" | "always" | undefined;
45430
46618
  factors?: {
@@ -45480,7 +46668,7 @@ export declare const tenantSchema: z.ZodObject<{
45480
46668
  url?: string | undefined;
45481
46669
  html?: string | undefined;
45482
46670
  show_log_link?: boolean | undefined;
45483
- } | undefined;
46671
+ } | null | undefined;
45484
46672
  flags?: {
45485
46673
  allow_changing_enable_sso?: boolean | undefined;
45486
46674
  allow_legacy_delegation_grant_types?: boolean | undefined;
@@ -45541,7 +46729,7 @@ export declare const tenantSchema: z.ZodObject<{
45541
46729
  organizations?: {
45542
46730
  client_credentials?: Record<string, any> | undefined;
45543
46731
  } | undefined;
45544
- } | undefined;
46732
+ } | null | undefined;
45545
46733
  default_audience?: string | undefined;
45546
46734
  sessions?: {
45547
46735
  oidc_logout_prompt_enabled?: boolean | undefined;
@@ -45551,9 +46739,47 @@ export declare const tenantSchema: z.ZodObject<{
45551
46739
  acr_values_supported?: string[] | undefined;
45552
46740
  mtls?: {
45553
46741
  enable_endpoint_aliases?: boolean | undefined;
45554
- } | undefined;
46742
+ } | null | undefined;
45555
46743
  pushed_authorization_requests_supported?: boolean | undefined;
45556
46744
  authorization_response_iss_parameter_supported?: boolean | undefined;
46745
+ attack_protection?: {
46746
+ brute_force_protection?: {
46747
+ allowlist?: string[] | undefined;
46748
+ enabled?: boolean | undefined;
46749
+ shields?: string[] | undefined;
46750
+ mode?: string | undefined;
46751
+ max_attempts?: number | undefined;
46752
+ } | undefined;
46753
+ breached_password_detection?: {
46754
+ method?: string | undefined;
46755
+ enabled?: boolean | undefined;
46756
+ shields?: string[] | undefined;
46757
+ admin_notification_frequency?: string[] | undefined;
46758
+ stage?: {
46759
+ "pre-user-registration"?: {
46760
+ shields?: string[] | undefined;
46761
+ } | undefined;
46762
+ "pre-change-password"?: {
46763
+ shields?: string[] | undefined;
46764
+ } | undefined;
46765
+ } | undefined;
46766
+ } | undefined;
46767
+ suspicious_ip_throttling?: {
46768
+ allowlist?: string[] | undefined;
46769
+ enabled?: boolean | undefined;
46770
+ shields?: string[] | undefined;
46771
+ stage?: {
46772
+ "pre-user-registration"?: {
46773
+ max_attempts?: number | undefined;
46774
+ rate?: number | undefined;
46775
+ } | undefined;
46776
+ "pre-login"?: {
46777
+ max_attempts?: number | undefined;
46778
+ rate?: number | undefined;
46779
+ } | undefined;
46780
+ } | undefined;
46781
+ } | undefined;
46782
+ } | undefined;
45557
46783
  mfa?: {
45558
46784
  policy?: "never" | "always" | undefined;
45559
46785
  factors?: {
@@ -46800,113 +48026,17 @@ export declare const emailProviderSchema: z.ZodObject<{
46800
48026
  name: z.ZodString;
46801
48027
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
46802
48028
  default_from_address: z.ZodOptional<z.ZodString>;
46803
- credentials: z.ZodUnion<[
46804
- z.ZodObject<{
46805
- accessKeyId: z.ZodString;
46806
- secretAccessKey: z.ZodString;
46807
- region: z.ZodString;
46808
- }, "strip", z.ZodTypeAny, {
46809
- region: string;
46810
- accessKeyId: string;
46811
- secretAccessKey: string;
46812
- }, {
46813
- region: string;
46814
- accessKeyId: string;
46815
- secretAccessKey: string;
46816
- }>,
46817
- z.ZodObject<{
46818
- smtp_host: z.ZodArray<z.ZodString, "many">;
46819
- smtp_port: z.ZodNumber;
46820
- smtp_user: z.ZodString;
46821
- smtp_pass: z.ZodString;
46822
- }, "strip", z.ZodTypeAny, {
46823
- smtp_host: string[];
46824
- smtp_port: number;
46825
- smtp_user: string;
46826
- smtp_pass: string;
46827
- }, {
46828
- smtp_host: string[];
46829
- smtp_port: number;
46830
- smtp_user: string;
46831
- smtp_pass: string;
46832
- }>,
46833
- z.ZodObject<{
46834
- api_key: z.ZodString;
46835
- domain: z.ZodOptional<z.ZodString>;
46836
- }, "strip", z.ZodTypeAny, {
46837
- api_key: string;
46838
- domain?: string | undefined;
46839
- }, {
46840
- api_key: string;
46841
- domain?: string | undefined;
46842
- }>,
46843
- z.ZodObject<{
46844
- connectionString: z.ZodString;
46845
- }, "strip", z.ZodTypeAny, {
46846
- connectionString: string;
46847
- }, {
46848
- connectionString: string;
46849
- }>,
46850
- z.ZodObject<{
46851
- tenantId: z.ZodString;
46852
- clientId: z.ZodString;
46853
- clientSecret: z.ZodString;
46854
- }, "strip", z.ZodTypeAny, {
46855
- tenantId: string;
46856
- clientId: string;
46857
- clientSecret: string;
46858
- }, {
46859
- tenantId: string;
46860
- clientId: string;
46861
- clientSecret: string;
46862
- }>
46863
- ]>;
48029
+ credentials: z.ZodRecord<z.ZodString, z.ZodUnknown>;
46864
48030
  settings: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
46865
48031
  }, "strip", z.ZodTypeAny, {
46866
48032
  name: string;
46867
48033
  enabled: boolean;
46868
- credentials: {
46869
- region: string;
46870
- accessKeyId: string;
46871
- secretAccessKey: string;
46872
- } | {
46873
- smtp_host: string[];
46874
- smtp_port: number;
46875
- smtp_user: string;
46876
- smtp_pass: string;
46877
- } | {
46878
- api_key: string;
46879
- domain?: string | undefined;
46880
- } | {
46881
- connectionString: string;
46882
- } | {
46883
- tenantId: string;
46884
- clientId: string;
46885
- clientSecret: string;
46886
- };
48034
+ credentials: Record<string, unknown>;
46887
48035
  default_from_address?: string | undefined;
46888
48036
  settings?: {} | undefined;
46889
48037
  }, {
46890
48038
  name: string;
46891
- credentials: {
46892
- region: string;
46893
- accessKeyId: string;
46894
- secretAccessKey: string;
46895
- } | {
46896
- smtp_host: string[];
46897
- smtp_port: number;
46898
- smtp_user: string;
46899
- smtp_pass: string;
46900
- } | {
46901
- api_key: string;
46902
- domain?: string | undefined;
46903
- } | {
46904
- connectionString: string;
46905
- } | {
46906
- tenantId: string;
46907
- clientId: string;
46908
- clientSecret: string;
46909
- };
48039
+ credentials: Record<string, unknown>;
46910
48040
  enabled?: boolean | undefined;
46911
48041
  default_from_address?: string | undefined;
46912
48042
  settings?: {} | undefined;
@@ -46953,10 +48083,16 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
46953
48083
  audience: string;
46954
48084
  }>, "many">;
46955
48085
  rotating: z.ZodBoolean;
48086
+ token_lookup: z.ZodOptional<z.ZodString>;
48087
+ token_hash: z.ZodOptional<z.ZodString>;
48088
+ family_id: z.ZodOptional<z.ZodString>;
48089
+ rotated_to: z.ZodOptional<z.ZodString>;
48090
+ rotated_at: z.ZodOptional<z.ZodString>;
46956
48091
  }, "strip", z.ZodTypeAny, {
46957
48092
  id: string;
46958
48093
  client_id: string;
46959
48094
  user_id: string;
48095
+ rotating: boolean;
46960
48096
  login_id: string;
46961
48097
  device: {
46962
48098
  last_ip: string;
@@ -46970,14 +48106,19 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
46970
48106
  scopes: string;
46971
48107
  audience: string;
46972
48108
  }[];
46973
- rotating: boolean;
48109
+ token_hash?: string | undefined;
46974
48110
  expires_at?: string | undefined;
46975
48111
  idle_expires_at?: string | undefined;
46976
48112
  last_exchanged_at?: string | undefined;
48113
+ token_lookup?: string | undefined;
48114
+ family_id?: string | undefined;
48115
+ rotated_to?: string | undefined;
48116
+ rotated_at?: string | undefined;
46977
48117
  }, {
46978
48118
  id: string;
46979
48119
  client_id: string;
46980
48120
  user_id: string;
48121
+ rotating: boolean;
46981
48122
  login_id: string;
46982
48123
  device: {
46983
48124
  last_ip: string;
@@ -46991,10 +48132,14 @@ export declare const refreshTokenInsertSchema: z.ZodObject<{
46991
48132
  scopes: string;
46992
48133
  audience: string;
46993
48134
  }[];
46994
- rotating: boolean;
48135
+ token_hash?: string | undefined;
46995
48136
  expires_at?: string | undefined;
46996
48137
  idle_expires_at?: string | undefined;
46997
48138
  last_exchanged_at?: string | undefined;
48139
+ token_lookup?: string | undefined;
48140
+ family_id?: string | undefined;
48141
+ rotated_to?: string | undefined;
48142
+ rotated_at?: string | undefined;
46998
48143
  }>;
46999
48144
  export type RefreshTokenInsert = z.infer<typeof refreshTokenInsertSchema>;
47000
48145
  export declare const refreshTokenSchema: z.ZodObject<{
@@ -47038,6 +48183,11 @@ export declare const refreshTokenSchema: z.ZodObject<{
47038
48183
  audience: string;
47039
48184
  }>, "many">;
47040
48185
  rotating: z.ZodBoolean;
48186
+ token_lookup: z.ZodOptional<z.ZodString>;
48187
+ token_hash: z.ZodOptional<z.ZodString>;
48188
+ family_id: z.ZodOptional<z.ZodString>;
48189
+ rotated_to: z.ZodOptional<z.ZodString>;
48190
+ rotated_at: z.ZodOptional<z.ZodString>;
47041
48191
  created_at: z.ZodString;
47042
48192
  revoked_at: z.ZodOptional<z.ZodString>;
47043
48193
  }, "strip", z.ZodTypeAny, {
@@ -47045,6 +48195,7 @@ export declare const refreshTokenSchema: z.ZodObject<{
47045
48195
  id: string;
47046
48196
  client_id: string;
47047
48197
  user_id: string;
48198
+ rotating: boolean;
47048
48199
  login_id: string;
47049
48200
  device: {
47050
48201
  last_ip: string;
@@ -47058,16 +48209,21 @@ export declare const refreshTokenSchema: z.ZodObject<{
47058
48209
  scopes: string;
47059
48210
  audience: string;
47060
48211
  }[];
47061
- rotating: boolean;
48212
+ token_hash?: string | undefined;
47062
48213
  expires_at?: string | undefined;
47063
48214
  revoked_at?: string | undefined;
47064
48215
  idle_expires_at?: string | undefined;
47065
48216
  last_exchanged_at?: string | undefined;
48217
+ token_lookup?: string | undefined;
48218
+ family_id?: string | undefined;
48219
+ rotated_to?: string | undefined;
48220
+ rotated_at?: string | undefined;
47066
48221
  }, {
47067
48222
  created_at: string;
47068
48223
  id: string;
47069
48224
  client_id: string;
47070
48225
  user_id: string;
48226
+ rotating: boolean;
47071
48227
  login_id: string;
47072
48228
  device: {
47073
48229
  last_ip: string;
@@ -47081,11 +48237,15 @@ export declare const refreshTokenSchema: z.ZodObject<{
47081
48237
  scopes: string;
47082
48238
  audience: string;
47083
48239
  }[];
47084
- rotating: boolean;
48240
+ token_hash?: string | undefined;
47085
48241
  expires_at?: string | undefined;
47086
48242
  revoked_at?: string | undefined;
47087
48243
  idle_expires_at?: string | undefined;
47088
48244
  last_exchanged_at?: string | undefined;
48245
+ token_lookup?: string | undefined;
48246
+ family_id?: string | undefined;
48247
+ rotated_to?: string | undefined;
48248
+ rotated_at?: string | undefined;
47089
48249
  }>;
47090
48250
  export type RefreshToken = z.infer<typeof refreshTokenSchema>;
47091
48251
  export declare const smsSendParamsSchema: z.ZodObject<{
@@ -47223,8 +48383,8 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
47223
48383
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
47224
48384
  }, "strip", z.ZodTypeAny, {
47225
48385
  name: string;
47226
- identifier: string;
47227
48386
  token_lifetime: number;
48387
+ identifier: string;
47228
48388
  token_lifetime_for_web: number;
47229
48389
  options?: {
47230
48390
  mtls?: {
@@ -47268,11 +48428,11 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
47268
48428
  value: string;
47269
48429
  description?: string | undefined;
47270
48430
  }[] | undefined;
48431
+ token_lifetime?: number | undefined;
47271
48432
  is_system?: boolean | undefined;
47272
48433
  metadata?: Record<string, any> | undefined;
47273
48434
  signing_alg?: string | undefined;
47274
48435
  signing_secret?: string | undefined;
47275
- token_lifetime?: number | undefined;
47276
48436
  token_lifetime_for_web?: number | undefined;
47277
48437
  skip_consent_for_verifiable_first_party_clients?: boolean | undefined;
47278
48438
  allow_offline_access?: boolean | undefined;
@@ -47344,8 +48504,8 @@ export declare const resourceServerSchema: z.ZodObject<{
47344
48504
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
47345
48505
  }, "strip", z.ZodTypeAny, {
47346
48506
  name: string;
47347
- identifier: string;
47348
48507
  token_lifetime: number;
48508
+ identifier: string;
47349
48509
  token_lifetime_for_web: number;
47350
48510
  created_at?: string | undefined;
47351
48511
  updated_at?: string | undefined;
@@ -47393,11 +48553,11 @@ export declare const resourceServerSchema: z.ZodObject<{
47393
48553
  value: string;
47394
48554
  description?: string | undefined;
47395
48555
  }[] | undefined;
48556
+ token_lifetime?: number | undefined;
47396
48557
  is_system?: boolean | undefined;
47397
48558
  metadata?: Record<string, any> | undefined;
47398
48559
  signing_alg?: string | undefined;
47399
48560
  signing_secret?: string | undefined;
47400
- token_lifetime?: number | undefined;
47401
48561
  token_lifetime_for_web?: number | undefined;
47402
48562
  skip_consent_for_verifiable_first_party_clients?: boolean | undefined;
47403
48563
  allow_offline_access?: boolean | undefined;
@@ -47469,8 +48629,8 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
47469
48629
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
47470
48630
  }, "strip", z.ZodTypeAny, {
47471
48631
  name: string;
47472
- identifier: string;
47473
48632
  token_lifetime: number;
48633
+ identifier: string;
47474
48634
  token_lifetime_for_web: number;
47475
48635
  created_at?: string | undefined;
47476
48636
  updated_at?: string | undefined;
@@ -47518,11 +48678,11 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
47518
48678
  value: string;
47519
48679
  description?: string | undefined;
47520
48680
  }[] | undefined;
48681
+ token_lifetime?: number | undefined;
47521
48682
  is_system?: boolean | undefined;
47522
48683
  metadata?: Record<string, any> | undefined;
47523
48684
  signing_alg?: string | undefined;
47524
48685
  signing_secret?: string | undefined;
47525
- token_lifetime?: number | undefined;
47526
48686
  token_lifetime_for_web?: number | undefined;
47527
48687
  skip_consent_for_verifiable_first_party_clients?: boolean | undefined;
47528
48688
  allow_offline_access?: boolean | undefined;
@@ -48144,6 +49304,105 @@ export declare const organizationSchema: z.ZodObject<{
48144
49304
  }[] | undefined;
48145
49305
  }>;
48146
49306
  export type Organization = z.infer<typeof organizationSchema>;
49307
+ export declare const organizationConnectionInsertSchema: z.ZodObject<{
49308
+ connection_id: z.ZodString;
49309
+ assign_membership_on_login: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
49310
+ show_as_button: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
49311
+ is_signup_enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
49312
+ }, "strip", z.ZodTypeAny, {
49313
+ connection_id: string;
49314
+ show_as_button: boolean;
49315
+ assign_membership_on_login: boolean;
49316
+ is_signup_enabled: boolean;
49317
+ }, {
49318
+ connection_id: string;
49319
+ show_as_button?: boolean | undefined;
49320
+ assign_membership_on_login?: boolean | undefined;
49321
+ is_signup_enabled?: boolean | undefined;
49322
+ }>;
49323
+ export type OrganizationConnectionInsert = z.input<typeof organizationConnectionInsertSchema>;
49324
+ export declare const organizationConnectionSchema: z.ZodObject<{
49325
+ connection: z.ZodOptional<z.ZodObject<{
49326
+ name: z.ZodOptional<z.ZodString>;
49327
+ strategy: z.ZodOptional<z.ZodString>;
49328
+ }, "strip", z.ZodTypeAny, {
49329
+ name?: string | undefined;
49330
+ strategy?: string | undefined;
49331
+ }, {
49332
+ name?: string | undefined;
49333
+ strategy?: string | undefined;
49334
+ }>>;
49335
+ created_at: z.ZodOptional<z.ZodString>;
49336
+ updated_at: z.ZodOptional<z.ZodString>;
49337
+ connection_id: z.ZodString;
49338
+ assign_membership_on_login: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
49339
+ show_as_button: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
49340
+ is_signup_enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
49341
+ }, "strip", z.ZodTypeAny, {
49342
+ connection_id: string;
49343
+ show_as_button: boolean;
49344
+ assign_membership_on_login: boolean;
49345
+ is_signup_enabled: boolean;
49346
+ created_at?: string | undefined;
49347
+ updated_at?: string | undefined;
49348
+ connection?: {
49349
+ name?: string | undefined;
49350
+ strategy?: string | undefined;
49351
+ } | undefined;
49352
+ }, {
49353
+ connection_id: string;
49354
+ created_at?: string | undefined;
49355
+ updated_at?: string | undefined;
49356
+ connection?: {
49357
+ name?: string | undefined;
49358
+ strategy?: string | undefined;
49359
+ } | undefined;
49360
+ show_as_button?: boolean | undefined;
49361
+ assign_membership_on_login?: boolean | undefined;
49362
+ is_signup_enabled?: boolean | undefined;
49363
+ }>;
49364
+ export type OrganizationConnection = z.infer<typeof organizationConnectionSchema>;
49365
+ export declare const organizationConnectionListSchema: z.ZodArray<z.ZodObject<{
49366
+ connection: z.ZodOptional<z.ZodObject<{
49367
+ name: z.ZodOptional<z.ZodString>;
49368
+ strategy: z.ZodOptional<z.ZodString>;
49369
+ }, "strip", z.ZodTypeAny, {
49370
+ name?: string | undefined;
49371
+ strategy?: string | undefined;
49372
+ }, {
49373
+ name?: string | undefined;
49374
+ strategy?: string | undefined;
49375
+ }>>;
49376
+ created_at: z.ZodOptional<z.ZodString>;
49377
+ updated_at: z.ZodOptional<z.ZodString>;
49378
+ connection_id: z.ZodString;
49379
+ assign_membership_on_login: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
49380
+ show_as_button: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
49381
+ is_signup_enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
49382
+ }, "strip", z.ZodTypeAny, {
49383
+ connection_id: string;
49384
+ show_as_button: boolean;
49385
+ assign_membership_on_login: boolean;
49386
+ is_signup_enabled: boolean;
49387
+ created_at?: string | undefined;
49388
+ updated_at?: string | undefined;
49389
+ connection?: {
49390
+ name?: string | undefined;
49391
+ strategy?: string | undefined;
49392
+ } | undefined;
49393
+ }, {
49394
+ connection_id: string;
49395
+ created_at?: string | undefined;
49396
+ updated_at?: string | undefined;
49397
+ connection?: {
49398
+ name?: string | undefined;
49399
+ strategy?: string | undefined;
49400
+ } | undefined;
49401
+ show_as_button?: boolean | undefined;
49402
+ assign_membership_on_login?: boolean | undefined;
49403
+ is_signup_enabled?: boolean | undefined;
49404
+ }>, "many">;
49405
+ export type OrganizationConnectionList = z.infer<typeof organizationConnectionListSchema>;
48147
49406
  export declare const userOrganizationInsertSchema: z.ZodObject<{
48148
49407
  user_id: z.ZodString;
48149
49408
  organization_id: z.ZodString;
@@ -49228,6 +50487,13 @@ export interface LogsDataAdapter {
49228
50487
  list(tenantId: string, params?: ListParams): Promise<ListLogsResponse>;
49229
50488
  get(tenantId: string, logId: string): Promise<Log | null>;
49230
50489
  }
50490
+ export interface LogStreamsAdapter {
50491
+ create(tenant_id: string, params: LogStreamInsert): Promise<LogStream>;
50492
+ get(tenant_id: string, id: string): Promise<LogStream | null>;
50493
+ list(tenant_id: string): Promise<LogStream[]>;
50494
+ update(tenant_id: string, id: string, params: Partial<LogStream>): Promise<boolean>;
50495
+ remove(tenant_id: string, id: string): Promise<boolean>;
50496
+ }
49231
50497
  export interface ListConnectionsResponse extends Totals {
49232
50498
  connections: Connection[];
49233
50499
  }
@@ -49314,10 +50580,22 @@ export interface UpdateRefreshTokenOptions {
49314
50580
  export interface RefreshTokensAdapter {
49315
50581
  create: (tenant_id: string, refresh_token: RefreshTokenInsert) => Promise<RefreshToken>;
49316
50582
  get: (tenant_id: string, id: string) => Promise<RefreshToken | null>;
50583
+ /**
50584
+ * Look up a refresh token by its plaintext `token_lookup` slice (extracted
50585
+ * from the wire format `rt_<lookup>.<secret>`). Returns null if no row
50586
+ * matches. Callers must verify the secret hash before trusting the row.
50587
+ */
50588
+ getByLookup: (tenant_id: string, token_lookup: string) => Promise<RefreshToken | null>;
49317
50589
  list(tenant_id: string, params?: ListParams): Promise<ListRefreshTokenResponse>;
49318
50590
  update: (tenant_id: string, id: string, refresh_token: Partial<RefreshToken>, options?: UpdateRefreshTokenOptions) => Promise<boolean>;
49319
50591
  remove: (tenant_id: string, id: string) => Promise<boolean>;
49320
50592
  revokeByLoginSession: (tenant_id: string, login_session_id: string, revoked_at: string) => Promise<number>;
50593
+ /**
50594
+ * Soft-revoke every refresh token that shares `family_id` and isn't already
50595
+ * revoked. Used for reuse detection (entire rotation chain torched) and for
50596
+ * admin revocations that should propagate to descendants.
50597
+ */
50598
+ revokeFamily: (tenant_id: string, family_id: string, revoked_at: string) => Promise<number>;
49321
50599
  }
49322
50600
  export interface ListFormsResponse extends Totals {
49323
50601
  forms: Form[];
@@ -49380,6 +50658,13 @@ export interface OrganizationsAdapter {
49380
50658
  list(tenant_id: string, params?: ListParams): Promise<ListOrganizationsResponse>;
49381
50659
  update(tenant_id: string, id: string, params: Partial<OrganizationInsert>): Promise<boolean>;
49382
50660
  }
50661
+ export interface OrganizationConnectionsAdapter {
50662
+ create(tenant_id: string, organization_id: string, params: OrganizationConnectionInsert): Promise<OrganizationConnection>;
50663
+ list(tenant_id: string, organization_id: string): Promise<OrganizationConnection[]>;
50664
+ get(tenant_id: string, organization_id: string, connection_id: string): Promise<OrganizationConnection | null>;
50665
+ update(tenant_id: string, organization_id: string, connection_id: string, params: Partial<Omit<OrganizationConnectionInsert, "connection_id">>): Promise<OrganizationConnection | null>;
50666
+ remove(tenant_id: string, organization_id: string, connection_id: string): Promise<boolean>;
50667
+ }
49383
50668
  export interface UserOrganizationsAdapter {
49384
50669
  create(tenantId: string, params: UserOrganizationInsert): Promise<UserOrganization>;
49385
50670
  get(tenantId: string, id: string): Promise<UserOrganization | null>;
@@ -49628,6 +50913,7 @@ export interface DataAdapters {
49628
50913
  keys: KeysAdapter;
49629
50914
  loginSessions: LoginSessionsAdapter;
49630
50915
  logs: LogsDataAdapter;
50916
+ logStreams?: LogStreamsAdapter;
49631
50917
  passwords: PasswordsAdapter;
49632
50918
  promptSettings: PromptSettingsAdapter;
49633
50919
  refreshTokens: RefreshTokensAdapter;
@@ -49644,6 +50930,7 @@ export interface DataAdapters {
49644
50930
  users: UserDataAdapter;
49645
50931
  userRoles: UserRolesAdapter;
49646
50932
  organizations: OrganizationsAdapter;
50933
+ organizationConnections: OrganizationConnectionsAdapter;
49647
50934
  authenticationMethods: AuthenticationMethodsAdapter;
49648
50935
  userOrganizations: UserOrganizationsAdapter;
49649
50936
  emailService?: EmailServiceAdapter;
@@ -49773,7 +51060,7 @@ declare const enrichedClientSchema: z.ZodObject<{
49773
51060
  default_redirection_uri: z.ZodOptional<z.ZodString>;
49774
51061
  enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
49775
51062
  default_directory: z.ZodOptional<z.ZodString>;
49776
- error_page: z.ZodOptional<z.ZodObject<{
51063
+ error_page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49777
51064
  html: z.ZodOptional<z.ZodString>;
49778
51065
  show_log_link: z.ZodOptional<z.ZodBoolean>;
49779
51066
  url: z.ZodOptional<z.ZodString>;
@@ -49785,7 +51072,7 @@ declare const enrichedClientSchema: z.ZodObject<{
49785
51072
  url?: string | undefined;
49786
51073
  html?: string | undefined;
49787
51074
  show_log_link?: boolean | undefined;
49788
- }>>;
51075
+ }>>>;
49789
51076
  flags: z.ZodOptional<z.ZodObject<{
49790
51077
  allow_changing_enable_sso: z.ZodOptional<z.ZodBoolean>;
49791
51078
  allow_legacy_delegation_grant_types: z.ZodOptional<z.ZodBoolean>;
@@ -49934,7 +51221,7 @@ declare const enrichedClientSchema: z.ZodObject<{
49934
51221
  charset?: "base20" | "digits" | undefined;
49935
51222
  mask?: string | undefined;
49936
51223
  }>>;
49937
- default_token_quota: z.ZodOptional<z.ZodObject<{
51224
+ default_token_quota: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49938
51225
  clients: z.ZodOptional<z.ZodObject<{
49939
51226
  client_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
49940
51227
  }, "strip", z.ZodTypeAny, {
@@ -49963,7 +51250,7 @@ declare const enrichedClientSchema: z.ZodObject<{
49963
51250
  organizations?: {
49964
51251
  client_credentials?: Record<string, any> | undefined;
49965
51252
  } | undefined;
49966
- }>>;
51253
+ }>>>;
49967
51254
  default_audience: z.ZodOptional<z.ZodString>;
49968
51255
  default_organization: z.ZodOptional<z.ZodString>;
49969
51256
  sessions: z.ZodOptional<z.ZodObject<{
@@ -49983,15 +51270,245 @@ declare const enrichedClientSchema: z.ZodObject<{
49983
51270
  allow_organization_name_in_authentication_api: z.ZodOptional<z.ZodBoolean>;
49984
51271
  customize_mfa_in_postlogin_action: z.ZodOptional<z.ZodBoolean>;
49985
51272
  acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
49986
- mtls: z.ZodOptional<z.ZodObject<{
51273
+ mtls: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49987
51274
  enable_endpoint_aliases: z.ZodOptional<z.ZodBoolean>;
49988
51275
  }, "strip", z.ZodTypeAny, {
49989
51276
  enable_endpoint_aliases?: boolean | undefined;
49990
51277
  }, {
49991
51278
  enable_endpoint_aliases?: boolean | undefined;
49992
- }>>;
51279
+ }>>>;
49993
51280
  pushed_authorization_requests_supported: z.ZodOptional<z.ZodBoolean>;
49994
51281
  authorization_response_iss_parameter_supported: z.ZodOptional<z.ZodBoolean>;
51282
+ attack_protection: z.ZodOptional<z.ZodObject<{
51283
+ breached_password_detection: z.ZodOptional<z.ZodObject<{
51284
+ enabled: z.ZodOptional<z.ZodBoolean>;
51285
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
51286
+ admin_notification_frequency: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
51287
+ method: z.ZodOptional<z.ZodString>;
51288
+ stage: z.ZodOptional<z.ZodObject<{
51289
+ "pre-user-registration": z.ZodOptional<z.ZodObject<{
51290
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
51291
+ }, "strip", z.ZodTypeAny, {
51292
+ shields?: string[] | undefined;
51293
+ }, {
51294
+ shields?: string[] | undefined;
51295
+ }>>;
51296
+ "pre-change-password": z.ZodOptional<z.ZodObject<{
51297
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
51298
+ }, "strip", z.ZodTypeAny, {
51299
+ shields?: string[] | undefined;
51300
+ }, {
51301
+ shields?: string[] | undefined;
51302
+ }>>;
51303
+ }, "strip", z.ZodTypeAny, {
51304
+ "pre-user-registration"?: {
51305
+ shields?: string[] | undefined;
51306
+ } | undefined;
51307
+ "pre-change-password"?: {
51308
+ shields?: string[] | undefined;
51309
+ } | undefined;
51310
+ }, {
51311
+ "pre-user-registration"?: {
51312
+ shields?: string[] | undefined;
51313
+ } | undefined;
51314
+ "pre-change-password"?: {
51315
+ shields?: string[] | undefined;
51316
+ } | undefined;
51317
+ }>>;
51318
+ }, "strip", z.ZodTypeAny, {
51319
+ method?: string | undefined;
51320
+ enabled?: boolean | undefined;
51321
+ shields?: string[] | undefined;
51322
+ admin_notification_frequency?: string[] | undefined;
51323
+ stage?: {
51324
+ "pre-user-registration"?: {
51325
+ shields?: string[] | undefined;
51326
+ } | undefined;
51327
+ "pre-change-password"?: {
51328
+ shields?: string[] | undefined;
51329
+ } | undefined;
51330
+ } | undefined;
51331
+ }, {
51332
+ method?: string | undefined;
51333
+ enabled?: boolean | undefined;
51334
+ shields?: string[] | undefined;
51335
+ admin_notification_frequency?: string[] | undefined;
51336
+ stage?: {
51337
+ "pre-user-registration"?: {
51338
+ shields?: string[] | undefined;
51339
+ } | undefined;
51340
+ "pre-change-password"?: {
51341
+ shields?: string[] | undefined;
51342
+ } | undefined;
51343
+ } | undefined;
51344
+ }>>;
51345
+ brute_force_protection: z.ZodOptional<z.ZodObject<{
51346
+ enabled: z.ZodOptional<z.ZodBoolean>;
51347
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
51348
+ allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
51349
+ mode: z.ZodOptional<z.ZodString>;
51350
+ max_attempts: z.ZodOptional<z.ZodNumber>;
51351
+ }, "strip", z.ZodTypeAny, {
51352
+ allowlist?: string[] | undefined;
51353
+ enabled?: boolean | undefined;
51354
+ shields?: string[] | undefined;
51355
+ mode?: string | undefined;
51356
+ max_attempts?: number | undefined;
51357
+ }, {
51358
+ allowlist?: string[] | undefined;
51359
+ enabled?: boolean | undefined;
51360
+ shields?: string[] | undefined;
51361
+ mode?: string | undefined;
51362
+ max_attempts?: number | undefined;
51363
+ }>>;
51364
+ suspicious_ip_throttling: z.ZodOptional<z.ZodObject<{
51365
+ enabled: z.ZodOptional<z.ZodBoolean>;
51366
+ shields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
51367
+ allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
51368
+ stage: z.ZodOptional<z.ZodObject<{
51369
+ "pre-login": z.ZodOptional<z.ZodObject<{
51370
+ max_attempts: z.ZodOptional<z.ZodNumber>;
51371
+ rate: z.ZodOptional<z.ZodNumber>;
51372
+ }, "strip", z.ZodTypeAny, {
51373
+ max_attempts?: number | undefined;
51374
+ rate?: number | undefined;
51375
+ }, {
51376
+ max_attempts?: number | undefined;
51377
+ rate?: number | undefined;
51378
+ }>>;
51379
+ "pre-user-registration": z.ZodOptional<z.ZodObject<{
51380
+ max_attempts: z.ZodOptional<z.ZodNumber>;
51381
+ rate: z.ZodOptional<z.ZodNumber>;
51382
+ }, "strip", z.ZodTypeAny, {
51383
+ max_attempts?: number | undefined;
51384
+ rate?: number | undefined;
51385
+ }, {
51386
+ max_attempts?: number | undefined;
51387
+ rate?: number | undefined;
51388
+ }>>;
51389
+ }, "strip", z.ZodTypeAny, {
51390
+ "pre-user-registration"?: {
51391
+ max_attempts?: number | undefined;
51392
+ rate?: number | undefined;
51393
+ } | undefined;
51394
+ "pre-login"?: {
51395
+ max_attempts?: number | undefined;
51396
+ rate?: number | undefined;
51397
+ } | undefined;
51398
+ }, {
51399
+ "pre-user-registration"?: {
51400
+ max_attempts?: number | undefined;
51401
+ rate?: number | undefined;
51402
+ } | undefined;
51403
+ "pre-login"?: {
51404
+ max_attempts?: number | undefined;
51405
+ rate?: number | undefined;
51406
+ } | undefined;
51407
+ }>>;
51408
+ }, "strip", z.ZodTypeAny, {
51409
+ allowlist?: string[] | undefined;
51410
+ enabled?: boolean | undefined;
51411
+ shields?: string[] | undefined;
51412
+ stage?: {
51413
+ "pre-user-registration"?: {
51414
+ max_attempts?: number | undefined;
51415
+ rate?: number | undefined;
51416
+ } | undefined;
51417
+ "pre-login"?: {
51418
+ max_attempts?: number | undefined;
51419
+ rate?: number | undefined;
51420
+ } | undefined;
51421
+ } | undefined;
51422
+ }, {
51423
+ allowlist?: string[] | undefined;
51424
+ enabled?: boolean | undefined;
51425
+ shields?: string[] | undefined;
51426
+ stage?: {
51427
+ "pre-user-registration"?: {
51428
+ max_attempts?: number | undefined;
51429
+ rate?: number | undefined;
51430
+ } | undefined;
51431
+ "pre-login"?: {
51432
+ max_attempts?: number | undefined;
51433
+ rate?: number | undefined;
51434
+ } | undefined;
51435
+ } | undefined;
51436
+ }>>;
51437
+ }, "strip", z.ZodTypeAny, {
51438
+ brute_force_protection?: {
51439
+ allowlist?: string[] | undefined;
51440
+ enabled?: boolean | undefined;
51441
+ shields?: string[] | undefined;
51442
+ mode?: string | undefined;
51443
+ max_attempts?: number | undefined;
51444
+ } | undefined;
51445
+ breached_password_detection?: {
51446
+ method?: string | undefined;
51447
+ enabled?: boolean | undefined;
51448
+ shields?: string[] | undefined;
51449
+ admin_notification_frequency?: string[] | undefined;
51450
+ stage?: {
51451
+ "pre-user-registration"?: {
51452
+ shields?: string[] | undefined;
51453
+ } | undefined;
51454
+ "pre-change-password"?: {
51455
+ shields?: string[] | undefined;
51456
+ } | undefined;
51457
+ } | undefined;
51458
+ } | undefined;
51459
+ suspicious_ip_throttling?: {
51460
+ allowlist?: string[] | undefined;
51461
+ enabled?: boolean | undefined;
51462
+ shields?: string[] | undefined;
51463
+ stage?: {
51464
+ "pre-user-registration"?: {
51465
+ max_attempts?: number | undefined;
51466
+ rate?: number | undefined;
51467
+ } | undefined;
51468
+ "pre-login"?: {
51469
+ max_attempts?: number | undefined;
51470
+ rate?: number | undefined;
51471
+ } | undefined;
51472
+ } | undefined;
51473
+ } | undefined;
51474
+ }, {
51475
+ brute_force_protection?: {
51476
+ allowlist?: string[] | undefined;
51477
+ enabled?: boolean | undefined;
51478
+ shields?: string[] | undefined;
51479
+ mode?: string | undefined;
51480
+ max_attempts?: number | undefined;
51481
+ } | undefined;
51482
+ breached_password_detection?: {
51483
+ method?: string | undefined;
51484
+ enabled?: boolean | undefined;
51485
+ shields?: string[] | undefined;
51486
+ admin_notification_frequency?: string[] | undefined;
51487
+ stage?: {
51488
+ "pre-user-registration"?: {
51489
+ shields?: string[] | undefined;
51490
+ } | undefined;
51491
+ "pre-change-password"?: {
51492
+ shields?: string[] | undefined;
51493
+ } | undefined;
51494
+ } | undefined;
51495
+ } | undefined;
51496
+ suspicious_ip_throttling?: {
51497
+ allowlist?: string[] | undefined;
51498
+ enabled?: boolean | undefined;
51499
+ shields?: string[] | undefined;
51500
+ stage?: {
51501
+ "pre-user-registration"?: {
51502
+ max_attempts?: number | undefined;
51503
+ rate?: number | undefined;
51504
+ } | undefined;
51505
+ "pre-login"?: {
51506
+ max_attempts?: number | undefined;
51507
+ rate?: number | undefined;
51508
+ } | undefined;
51509
+ } | undefined;
51510
+ } | undefined;
51511
+ }>>;
49995
51512
  mfa: z.ZodOptional<z.ZodObject<{
49996
51513
  policy: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
49997
51514
  "never",
@@ -50141,7 +51658,7 @@ declare const enrichedClientSchema: z.ZodObject<{
50141
51658
  url?: string | undefined;
50142
51659
  html?: string | undefined;
50143
51660
  show_log_link?: boolean | undefined;
50144
- } | undefined;
51661
+ } | null | undefined;
50145
51662
  flags?: {
50146
51663
  allow_changing_enable_sso?: boolean | undefined;
50147
51664
  allow_legacy_delegation_grant_types?: boolean | undefined;
@@ -50202,7 +51719,7 @@ declare const enrichedClientSchema: z.ZodObject<{
50202
51719
  organizations?: {
50203
51720
  client_credentials?: Record<string, any> | undefined;
50204
51721
  } | undefined;
50205
- } | undefined;
51722
+ } | null | undefined;
50206
51723
  default_audience?: string | undefined;
50207
51724
  sessions?: {
50208
51725
  oidc_logout_prompt_enabled?: boolean | undefined;
@@ -50212,9 +51729,47 @@ declare const enrichedClientSchema: z.ZodObject<{
50212
51729
  acr_values_supported?: string[] | undefined;
50213
51730
  mtls?: {
50214
51731
  enable_endpoint_aliases?: boolean | undefined;
50215
- } | undefined;
51732
+ } | null | undefined;
50216
51733
  pushed_authorization_requests_supported?: boolean | undefined;
50217
51734
  authorization_response_iss_parameter_supported?: boolean | undefined;
51735
+ attack_protection?: {
51736
+ brute_force_protection?: {
51737
+ allowlist?: string[] | undefined;
51738
+ enabled?: boolean | undefined;
51739
+ shields?: string[] | undefined;
51740
+ mode?: string | undefined;
51741
+ max_attempts?: number | undefined;
51742
+ } | undefined;
51743
+ breached_password_detection?: {
51744
+ method?: string | undefined;
51745
+ enabled?: boolean | undefined;
51746
+ shields?: string[] | undefined;
51747
+ admin_notification_frequency?: string[] | undefined;
51748
+ stage?: {
51749
+ "pre-user-registration"?: {
51750
+ shields?: string[] | undefined;
51751
+ } | undefined;
51752
+ "pre-change-password"?: {
51753
+ shields?: string[] | undefined;
51754
+ } | undefined;
51755
+ } | undefined;
51756
+ } | undefined;
51757
+ suspicious_ip_throttling?: {
51758
+ allowlist?: string[] | undefined;
51759
+ enabled?: boolean | undefined;
51760
+ shields?: string[] | undefined;
51761
+ stage?: {
51762
+ "pre-user-registration"?: {
51763
+ max_attempts?: number | undefined;
51764
+ rate?: number | undefined;
51765
+ } | undefined;
51766
+ "pre-login"?: {
51767
+ max_attempts?: number | undefined;
51768
+ rate?: number | undefined;
51769
+ } | undefined;
51770
+ } | undefined;
51771
+ } | undefined;
51772
+ } | undefined;
50218
51773
  mfa?: {
50219
51774
  policy?: "never" | "always" | undefined;
50220
51775
  factors?: {
@@ -50270,7 +51825,7 @@ declare const enrichedClientSchema: z.ZodObject<{
50270
51825
  url?: string | undefined;
50271
51826
  html?: string | undefined;
50272
51827
  show_log_link?: boolean | undefined;
50273
- } | undefined;
51828
+ } | null | undefined;
50274
51829
  flags?: {
50275
51830
  allow_changing_enable_sso?: boolean | undefined;
50276
51831
  allow_legacy_delegation_grant_types?: boolean | undefined;
@@ -50331,7 +51886,7 @@ declare const enrichedClientSchema: z.ZodObject<{
50331
51886
  organizations?: {
50332
51887
  client_credentials?: Record<string, any> | undefined;
50333
51888
  } | undefined;
50334
- } | undefined;
51889
+ } | null | undefined;
50335
51890
  default_audience?: string | undefined;
50336
51891
  sessions?: {
50337
51892
  oidc_logout_prompt_enabled?: boolean | undefined;
@@ -50341,9 +51896,47 @@ declare const enrichedClientSchema: z.ZodObject<{
50341
51896
  acr_values_supported?: string[] | undefined;
50342
51897
  mtls?: {
50343
51898
  enable_endpoint_aliases?: boolean | undefined;
50344
- } | undefined;
51899
+ } | null | undefined;
50345
51900
  pushed_authorization_requests_supported?: boolean | undefined;
50346
51901
  authorization_response_iss_parameter_supported?: boolean | undefined;
51902
+ attack_protection?: {
51903
+ brute_force_protection?: {
51904
+ allowlist?: string[] | undefined;
51905
+ enabled?: boolean | undefined;
51906
+ shields?: string[] | undefined;
51907
+ mode?: string | undefined;
51908
+ max_attempts?: number | undefined;
51909
+ } | undefined;
51910
+ breached_password_detection?: {
51911
+ method?: string | undefined;
51912
+ enabled?: boolean | undefined;
51913
+ shields?: string[] | undefined;
51914
+ admin_notification_frequency?: string[] | undefined;
51915
+ stage?: {
51916
+ "pre-user-registration"?: {
51917
+ shields?: string[] | undefined;
51918
+ } | undefined;
51919
+ "pre-change-password"?: {
51920
+ shields?: string[] | undefined;
51921
+ } | undefined;
51922
+ } | undefined;
51923
+ } | undefined;
51924
+ suspicious_ip_throttling?: {
51925
+ allowlist?: string[] | undefined;
51926
+ enabled?: boolean | undefined;
51927
+ shields?: string[] | undefined;
51928
+ stage?: {
51929
+ "pre-user-registration"?: {
51930
+ max_attempts?: number | undefined;
51931
+ rate?: number | undefined;
51932
+ } | undefined;
51933
+ "pre-login"?: {
51934
+ max_attempts?: number | undefined;
51935
+ rate?: number | undefined;
51936
+ } | undefined;
51937
+ } | undefined;
51938
+ } | undefined;
51939
+ } | undefined;
50347
51940
  mfa?: {
50348
51941
  policy?: "never" | "always" | undefined;
50349
51942
  factors?: {
@@ -50378,7 +51971,7 @@ declare const enrichedClientSchema: z.ZodObject<{
50378
51971
  name: z.ZodString;
50379
51972
  display_name: z.ZodOptional<z.ZodString>;
50380
51973
  strategy: z.ZodString;
50381
- options: z.ZodDefault<z.ZodObject<{
51974
+ options: z.ZodDefault<z.ZodEffects<z.ZodObject<{
50382
51975
  kid: z.ZodOptional<z.ZodString>;
50383
51976
  team_id: z.ZodOptional<z.ZodString>;
50384
51977
  realms: z.ZodOptional<z.ZodString>;
@@ -51004,18 +52597,7 @@ declare const enrichedClientSchema: z.ZodObject<{
51004
52597
  } | undefined;
51005
52598
  requires_username?: boolean | undefined;
51006
52599
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
51007
- }>>;
51008
- enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
51009
- response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
51010
- response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
51011
- is_domain_connection: z.ZodOptional<z.ZodBoolean>;
51012
- show_as_button: z.ZodOptional<z.ZodBoolean>;
51013
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
51014
- is_system: z.ZodOptional<z.ZodBoolean>;
51015
- }, "strip", z.ZodTypeAny, {
51016
- created_at: string;
51017
- updated_at: string;
51018
- options: {
52600
+ }>, {
51019
52601
  validation?: {
51020
52602
  username?: {
51021
52603
  min?: number | undefined;
@@ -51118,24 +52700,18 @@ declare const enrichedClientSchema: z.ZodObject<{
51118
52700
  } | undefined;
51119
52701
  requires_username?: boolean | undefined;
51120
52702
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
51121
- };
51122
- name: string;
51123
- strategy: string;
51124
- id?: string | undefined;
51125
- is_system?: boolean | undefined;
51126
- response_type?: AuthorizationResponseType | undefined;
51127
- response_mode?: AuthorizationResponseMode | undefined;
51128
- display_name?: string | undefined;
51129
- enabled_clients?: string[] | undefined;
51130
- is_domain_connection?: boolean | undefined;
51131
- show_as_button?: boolean | undefined;
51132
- metadata?: Record<string, any> | undefined;
51133
- }, {
52703
+ }, unknown>>;
52704
+ enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
52705
+ response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
52706
+ response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
52707
+ is_domain_connection: z.ZodOptional<z.ZodBoolean>;
52708
+ show_as_button: z.ZodOptional<z.ZodBoolean>;
52709
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
52710
+ is_system: z.ZodOptional<z.ZodBoolean>;
52711
+ }, "strip", z.ZodTypeAny, {
51134
52712
  created_at: string;
51135
52713
  updated_at: string;
51136
- name: string;
51137
- strategy: string;
51138
- options?: {
52714
+ options: {
51139
52715
  validation?: {
51140
52716
  username?: {
51141
52717
  min?: number | undefined;
@@ -51238,7 +52814,24 @@ declare const enrichedClientSchema: z.ZodObject<{
51238
52814
  } | undefined;
51239
52815
  requires_username?: boolean | undefined;
51240
52816
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
51241
- } | undefined;
52817
+ };
52818
+ name: string;
52819
+ strategy: string;
52820
+ id?: string | undefined;
52821
+ is_system?: boolean | undefined;
52822
+ response_type?: AuthorizationResponseType | undefined;
52823
+ response_mode?: AuthorizationResponseMode | undefined;
52824
+ display_name?: string | undefined;
52825
+ enabled_clients?: string[] | undefined;
52826
+ is_domain_connection?: boolean | undefined;
52827
+ show_as_button?: boolean | undefined;
52828
+ metadata?: Record<string, any> | undefined;
52829
+ }, {
52830
+ created_at: string;
52831
+ updated_at: string;
52832
+ name: string;
52833
+ strategy: string;
52834
+ options?: unknown;
51242
52835
  id?: string | undefined;
51243
52836
  is_system?: boolean | undefined;
51244
52837
  response_type?: AuthorizationResponseType | undefined;
@@ -51315,7 +52908,37 @@ declare const enrichedClientSchema: z.ZodObject<{
51315
52908
  mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
51316
52909
  initiate_login_uri: z.ZodOptional<z.ZodString>;
51317
52910
  native_social_login: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
51318
- refresh_token: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
52911
+ refresh_token: z.ZodOptional<z.ZodDefault<z.ZodObject<{
52912
+ rotation_type: z.ZodOptional<z.ZodEnum<[
52913
+ "rotating",
52914
+ "non-rotating"
52915
+ ]>>;
52916
+ leeway: z.ZodOptional<z.ZodNumber>;
52917
+ expiration_type: z.ZodOptional<z.ZodEnum<[
52918
+ "expiring",
52919
+ "non-expiring"
52920
+ ]>>;
52921
+ token_lifetime: z.ZodOptional<z.ZodNumber>;
52922
+ infinite_token_lifetime: z.ZodOptional<z.ZodBoolean>;
52923
+ idle_token_lifetime: z.ZodOptional<z.ZodNumber>;
52924
+ infinite_idle_token_lifetime: z.ZodOptional<z.ZodBoolean>;
52925
+ }, "strip", z.ZodTypeAny, {
52926
+ rotation_type?: "rotating" | "non-rotating" | undefined;
52927
+ leeway?: number | undefined;
52928
+ expiration_type?: "expiring" | "non-expiring" | undefined;
52929
+ token_lifetime?: number | undefined;
52930
+ infinite_token_lifetime?: boolean | undefined;
52931
+ idle_token_lifetime?: number | undefined;
52932
+ infinite_idle_token_lifetime?: boolean | undefined;
52933
+ }, {
52934
+ rotation_type?: "rotating" | "non-rotating" | undefined;
52935
+ leeway?: number | undefined;
52936
+ expiration_type?: "expiring" | "non-expiring" | undefined;
52937
+ token_lifetime?: number | undefined;
52938
+ infinite_token_lifetime?: boolean | undefined;
52939
+ idle_token_lifetime?: number | undefined;
52940
+ infinite_idle_token_lifetime?: boolean | undefined;
52941
+ }>>>;
51319
52942
  default_organization: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
51320
52943
  organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
51321
52944
  "deny",
@@ -51385,7 +53008,7 @@ declare const enrichedClientSchema: z.ZodObject<{
51385
53008
  url?: string | undefined;
51386
53009
  html?: string | undefined;
51387
53010
  show_log_link?: boolean | undefined;
51388
- } | undefined;
53011
+ } | null | undefined;
51389
53012
  flags?: {
51390
53013
  allow_changing_enable_sso?: boolean | undefined;
51391
53014
  allow_legacy_delegation_grant_types?: boolean | undefined;
@@ -51446,7 +53069,7 @@ declare const enrichedClientSchema: z.ZodObject<{
51446
53069
  organizations?: {
51447
53070
  client_credentials?: Record<string, any> | undefined;
51448
53071
  } | undefined;
51449
- } | undefined;
53072
+ } | null | undefined;
51450
53073
  default_audience?: string | undefined;
51451
53074
  sessions?: {
51452
53075
  oidc_logout_prompt_enabled?: boolean | undefined;
@@ -51456,9 +53079,47 @@ declare const enrichedClientSchema: z.ZodObject<{
51456
53079
  acr_values_supported?: string[] | undefined;
51457
53080
  mtls?: {
51458
53081
  enable_endpoint_aliases?: boolean | undefined;
51459
- } | undefined;
53082
+ } | null | undefined;
51460
53083
  pushed_authorization_requests_supported?: boolean | undefined;
51461
53084
  authorization_response_iss_parameter_supported?: boolean | undefined;
53085
+ attack_protection?: {
53086
+ brute_force_protection?: {
53087
+ allowlist?: string[] | undefined;
53088
+ enabled?: boolean | undefined;
53089
+ shields?: string[] | undefined;
53090
+ mode?: string | undefined;
53091
+ max_attempts?: number | undefined;
53092
+ } | undefined;
53093
+ breached_password_detection?: {
53094
+ method?: string | undefined;
53095
+ enabled?: boolean | undefined;
53096
+ shields?: string[] | undefined;
53097
+ admin_notification_frequency?: string[] | undefined;
53098
+ stage?: {
53099
+ "pre-user-registration"?: {
53100
+ shields?: string[] | undefined;
53101
+ } | undefined;
53102
+ "pre-change-password"?: {
53103
+ shields?: string[] | undefined;
53104
+ } | undefined;
53105
+ } | undefined;
53106
+ } | undefined;
53107
+ suspicious_ip_throttling?: {
53108
+ allowlist?: string[] | undefined;
53109
+ enabled?: boolean | undefined;
53110
+ shields?: string[] | undefined;
53111
+ stage?: {
53112
+ "pre-user-registration"?: {
53113
+ max_attempts?: number | undefined;
53114
+ rate?: number | undefined;
53115
+ } | undefined;
53116
+ "pre-login"?: {
53117
+ max_attempts?: number | undefined;
53118
+ rate?: number | undefined;
53119
+ } | undefined;
53120
+ } | undefined;
53121
+ } | undefined;
53122
+ } | undefined;
51462
53123
  mfa?: {
51463
53124
  policy?: "never" | "always" | undefined;
51464
53125
  factors?: {
@@ -51643,7 +53304,15 @@ declare const enrichedClientSchema: z.ZodObject<{
51643
53304
  mobile?: Record<string, any> | undefined;
51644
53305
  initiate_login_uri?: string | undefined;
51645
53306
  native_social_login?: Record<string, any> | undefined;
51646
- refresh_token?: Record<string, any> | undefined;
53307
+ refresh_token?: {
53308
+ rotation_type?: "rotating" | "non-rotating" | undefined;
53309
+ leeway?: number | undefined;
53310
+ expiration_type?: "expiring" | "non-expiring" | undefined;
53311
+ token_lifetime?: number | undefined;
53312
+ infinite_token_lifetime?: boolean | undefined;
53313
+ idle_token_lifetime?: number | undefined;
53314
+ infinite_idle_token_lifetime?: boolean | undefined;
53315
+ } | undefined;
51647
53316
  default_organization?: Record<string, any> | undefined;
51648
53317
  organization_usage?: "deny" | "allow" | "require" | undefined;
51649
53318
  organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
@@ -51688,7 +53357,7 @@ declare const enrichedClientSchema: z.ZodObject<{
51688
53357
  url?: string | undefined;
51689
53358
  html?: string | undefined;
51690
53359
  show_log_link?: boolean | undefined;
51691
- } | undefined;
53360
+ } | null | undefined;
51692
53361
  flags?: {
51693
53362
  allow_changing_enable_sso?: boolean | undefined;
51694
53363
  allow_legacy_delegation_grant_types?: boolean | undefined;
@@ -51749,7 +53418,7 @@ declare const enrichedClientSchema: z.ZodObject<{
51749
53418
  organizations?: {
51750
53419
  client_credentials?: Record<string, any> | undefined;
51751
53420
  } | undefined;
51752
- } | undefined;
53421
+ } | null | undefined;
51753
53422
  default_audience?: string | undefined;
51754
53423
  sessions?: {
51755
53424
  oidc_logout_prompt_enabled?: boolean | undefined;
@@ -51759,9 +53428,47 @@ declare const enrichedClientSchema: z.ZodObject<{
51759
53428
  acr_values_supported?: string[] | undefined;
51760
53429
  mtls?: {
51761
53430
  enable_endpoint_aliases?: boolean | undefined;
51762
- } | undefined;
53431
+ } | null | undefined;
51763
53432
  pushed_authorization_requests_supported?: boolean | undefined;
51764
53433
  authorization_response_iss_parameter_supported?: boolean | undefined;
53434
+ attack_protection?: {
53435
+ brute_force_protection?: {
53436
+ allowlist?: string[] | undefined;
53437
+ enabled?: boolean | undefined;
53438
+ shields?: string[] | undefined;
53439
+ mode?: string | undefined;
53440
+ max_attempts?: number | undefined;
53441
+ } | undefined;
53442
+ breached_password_detection?: {
53443
+ method?: string | undefined;
53444
+ enabled?: boolean | undefined;
53445
+ shields?: string[] | undefined;
53446
+ admin_notification_frequency?: string[] | undefined;
53447
+ stage?: {
53448
+ "pre-user-registration"?: {
53449
+ shields?: string[] | undefined;
53450
+ } | undefined;
53451
+ "pre-change-password"?: {
53452
+ shields?: string[] | undefined;
53453
+ } | undefined;
53454
+ } | undefined;
53455
+ } | undefined;
53456
+ suspicious_ip_throttling?: {
53457
+ allowlist?: string[] | undefined;
53458
+ enabled?: boolean | undefined;
53459
+ shields?: string[] | undefined;
53460
+ stage?: {
53461
+ "pre-user-registration"?: {
53462
+ max_attempts?: number | undefined;
53463
+ rate?: number | undefined;
53464
+ } | undefined;
53465
+ "pre-login"?: {
53466
+ max_attempts?: number | undefined;
53467
+ rate?: number | undefined;
53468
+ } | undefined;
53469
+ } | undefined;
53470
+ } | undefined;
53471
+ } | undefined;
51765
53472
  mfa?: {
51766
53473
  policy?: "never" | "always" | undefined;
51767
53474
  factors?: {
@@ -51793,110 +53500,7 @@ declare const enrichedClientSchema: z.ZodObject<{
51793
53500
  updated_at: string;
51794
53501
  name: string;
51795
53502
  strategy: string;
51796
- options?: {
51797
- validation?: {
51798
- username?: {
51799
- min?: number | undefined;
51800
- max?: number | undefined;
51801
- } | undefined;
51802
- } | undefined;
51803
- client_id?: string | undefined;
51804
- scope?: string | undefined;
51805
- provider?: string | undefined;
51806
- client_secret?: string | undefined;
51807
- kid?: string | undefined;
51808
- team_id?: string | undefined;
51809
- realms?: string | undefined;
51810
- authentication_method?: string | undefined;
51811
- app_secret?: string | undefined;
51812
- authorization_endpoint?: string | undefined;
51813
- token_endpoint?: string | undefined;
51814
- userinfo_endpoint?: string | undefined;
51815
- jwks_uri?: string | undefined;
51816
- discovery_url?: string | undefined;
51817
- issuer?: string | undefined;
51818
- from?: string | undefined;
51819
- twilio_sid?: string | undefined;
51820
- twilio_token?: string | undefined;
51821
- icon_url?: string | undefined;
51822
- passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
51823
- password_complexity_options?: {
51824
- min_length?: number | undefined;
51825
- } | undefined;
51826
- password_history?: {
51827
- enable?: boolean | undefined;
51828
- size?: number | undefined;
51829
- } | undefined;
51830
- password_no_personal_info?: {
51831
- enable?: boolean | undefined;
51832
- } | undefined;
51833
- password_dictionary?: {
51834
- enable?: boolean | undefined;
51835
- dictionary?: string[] | undefined;
51836
- } | undefined;
51837
- disable_signup?: boolean | undefined;
51838
- brute_force_protection?: boolean | undefined;
51839
- import_mode?: boolean | undefined;
51840
- attributes?: {
51841
- email?: {
51842
- validation?: {
51843
- allowed?: boolean | undefined;
51844
- } | undefined;
51845
- identifier?: {
51846
- active?: boolean | undefined;
51847
- } | undefined;
51848
- signup?: {
51849
- status?: "required" | "optional" | "disabled" | undefined;
51850
- verification?: {
51851
- active?: boolean | undefined;
51852
- } | undefined;
51853
- } | undefined;
51854
- unique?: boolean | undefined;
51855
- profile_required?: boolean | undefined;
51856
- verification_method?: "code" | "link" | undefined;
51857
- } | undefined;
51858
- username?: {
51859
- validation?: {
51860
- min_length?: number | undefined;
51861
- max_length?: number | undefined;
51862
- allowed_types?: {
51863
- email?: boolean | undefined;
51864
- phone_number?: boolean | undefined;
51865
- } | undefined;
51866
- } | undefined;
51867
- identifier?: {
51868
- active?: boolean | undefined;
51869
- } | undefined;
51870
- signup?: {
51871
- status?: "required" | "optional" | "disabled" | undefined;
51872
- } | undefined;
51873
- profile_required?: boolean | undefined;
51874
- } | undefined;
51875
- phone_number?: {
51876
- identifier?: {
51877
- active?: boolean | undefined;
51878
- } | undefined;
51879
- signup?: {
51880
- status?: "required" | "optional" | "disabled" | undefined;
51881
- } | undefined;
51882
- } | undefined;
51883
- } | undefined;
51884
- authentication_methods?: {
51885
- password?: {
51886
- enabled?: boolean | undefined;
51887
- } | undefined;
51888
- passkey?: {
51889
- enabled?: boolean | undefined;
51890
- } | undefined;
51891
- } | undefined;
51892
- passkey_options?: {
51893
- challenge_ui?: "both" | "autofill" | "button" | undefined;
51894
- local_enrollment_enabled?: boolean | undefined;
51895
- progressive_enrollment_enabled?: boolean | undefined;
51896
- } | undefined;
51897
- requires_username?: boolean | undefined;
51898
- set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
51899
- } | undefined;
53503
+ options?: unknown;
51900
53504
  id?: string | undefined;
51901
53505
  is_system?: boolean | undefined;
51902
53506
  response_type?: AuthorizationResponseType | undefined;
@@ -51944,7 +53548,15 @@ declare const enrichedClientSchema: z.ZodObject<{
51944
53548
  mobile?: Record<string, any> | undefined;
51945
53549
  initiate_login_uri?: string | undefined;
51946
53550
  native_social_login?: Record<string, any> | undefined;
51947
- refresh_token?: Record<string, any> | undefined;
53551
+ refresh_token?: {
53552
+ rotation_type?: "rotating" | "non-rotating" | undefined;
53553
+ leeway?: number | undefined;
53554
+ expiration_type?: "expiring" | "non-expiring" | undefined;
53555
+ token_lifetime?: number | undefined;
53556
+ infinite_token_lifetime?: boolean | undefined;
53557
+ idle_token_lifetime?: number | undefined;
53558
+ infinite_idle_token_lifetime?: boolean | undefined;
53559
+ } | undefined;
51948
53560
  default_organization?: Record<string, any> | undefined;
51949
53561
  organization_usage?: "deny" | "allow" | "require" | undefined;
51950
53562
  organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
@@ -54570,6 +56182,163 @@ export declare function init(config: AuthHeroConfig): {
54570
56182
  status: 404;
54571
56183
  };
54572
56184
  };
56185
+ } & {
56186
+ "/:id/enabled_connections": {
56187
+ $get: {
56188
+ input: {
56189
+ param: {
56190
+ id: string;
56191
+ };
56192
+ } & {
56193
+ query: {
56194
+ page?: string | undefined;
56195
+ per_page?: string | undefined;
56196
+ include_totals?: string | undefined;
56197
+ };
56198
+ } & {
56199
+ header: {
56200
+ "tenant-id"?: string | undefined;
56201
+ };
56202
+ };
56203
+ output: {
56204
+ length: number;
56205
+ connections: {
56206
+ connection_id: string;
56207
+ show_as_button: boolean;
56208
+ assign_membership_on_login: boolean;
56209
+ is_signup_enabled: boolean;
56210
+ created_at?: string | undefined | undefined;
56211
+ updated_at?: string | undefined | undefined;
56212
+ connection?: {
56213
+ name?: string | undefined | undefined;
56214
+ strategy?: string | undefined | undefined;
56215
+ } | undefined;
56216
+ }[];
56217
+ start: number;
56218
+ limit: number;
56219
+ total?: number | undefined;
56220
+ };
56221
+ outputFormat: "json";
56222
+ status: 200;
56223
+ };
56224
+ };
56225
+ } & {
56226
+ "/:id/enabled_connections": {
56227
+ $post: {
56228
+ input: {
56229
+ param: {
56230
+ id: string;
56231
+ };
56232
+ } & {
56233
+ header: {
56234
+ "tenant-id"?: string | undefined;
56235
+ };
56236
+ } & {
56237
+ json: {
56238
+ connection_id: string;
56239
+ show_as_button?: boolean | undefined;
56240
+ assign_membership_on_login?: boolean | undefined;
56241
+ is_signup_enabled?: boolean | undefined;
56242
+ };
56243
+ };
56244
+ output: {
56245
+ connection_id: string;
56246
+ show_as_button: boolean;
56247
+ assign_membership_on_login: boolean;
56248
+ is_signup_enabled: boolean;
56249
+ created_at?: string | undefined | undefined;
56250
+ updated_at?: string | undefined | undefined;
56251
+ connection?: {
56252
+ name?: string | undefined | undefined;
56253
+ strategy?: string | undefined | undefined;
56254
+ } | undefined;
56255
+ };
56256
+ outputFormat: "json";
56257
+ status: 201;
56258
+ };
56259
+ };
56260
+ } & {
56261
+ "/:id/enabled_connections/:connection_id": {
56262
+ $get: {
56263
+ input: {
56264
+ param: {
56265
+ id: string;
56266
+ connection_id: string;
56267
+ };
56268
+ } & {
56269
+ header: {
56270
+ "tenant-id"?: string | undefined;
56271
+ };
56272
+ };
56273
+ output: {
56274
+ connection_id: string;
56275
+ show_as_button: boolean;
56276
+ assign_membership_on_login: boolean;
56277
+ is_signup_enabled: boolean;
56278
+ created_at?: string | undefined | undefined;
56279
+ updated_at?: string | undefined | undefined;
56280
+ connection?: {
56281
+ name?: string | undefined | undefined;
56282
+ strategy?: string | undefined | undefined;
56283
+ } | undefined;
56284
+ };
56285
+ outputFormat: "json";
56286
+ status: 200;
56287
+ };
56288
+ };
56289
+ } & {
56290
+ "/:id/enabled_connections/:connection_id": {
56291
+ $patch: {
56292
+ input: {
56293
+ param: {
56294
+ id: string;
56295
+ connection_id: string;
56296
+ };
56297
+ } & {
56298
+ header: {
56299
+ "tenant-id"?: string | undefined;
56300
+ };
56301
+ } & {
56302
+ json: {
56303
+ show_as_button?: boolean | undefined;
56304
+ assign_membership_on_login?: boolean | undefined;
56305
+ is_signup_enabled?: boolean | undefined;
56306
+ };
56307
+ };
56308
+ output: {
56309
+ connection_id: string;
56310
+ show_as_button: boolean;
56311
+ assign_membership_on_login: boolean;
56312
+ is_signup_enabled: boolean;
56313
+ created_at?: string | undefined | undefined;
56314
+ updated_at?: string | undefined | undefined;
56315
+ connection?: {
56316
+ name?: string | undefined | undefined;
56317
+ strategy?: string | undefined | undefined;
56318
+ } | undefined;
56319
+ };
56320
+ outputFormat: "json";
56321
+ status: 200;
56322
+ };
56323
+ };
56324
+ } & {
56325
+ "/:id/enabled_connections/:connection_id": {
56326
+ $delete: {
56327
+ input: {
56328
+ param: {
56329
+ id: string;
56330
+ connection_id: string;
56331
+ };
56332
+ } & {
56333
+ header: {
56334
+ "tenant-id"?: string | undefined;
56335
+ };
56336
+ };
56337
+ output: {};
56338
+ outputFormat: string;
56339
+ status: 204;
56340
+ };
56341
+ };
54573
56342
  }, "/organizations"> & import("hono/types").MergeSchemaPath<{
54574
56343
  "/": {
54575
56344
  $get: {
@@ -54590,8 +56359,8 @@ export declare function init(config: AuthHeroConfig): {
54590
56359
  };
54591
56360
  output: {
54592
56361
  name: string;
54593
- identifier: string;
54594
56362
  token_lifetime: number;
56363
+ identifier: string;
54595
56364
  token_lifetime_for_web: number;
54596
56365
  created_at?: string | undefined | undefined;
54597
56366
  updated_at?: string | undefined | undefined;
@@ -54626,8 +56395,8 @@ export declare function init(config: AuthHeroConfig): {
54626
56395
  limit: number;
54627
56396
  resource_servers: {
54628
56397
  name: string;
54629
- identifier: string;
54630
56398
  token_lifetime: number;
56399
+ identifier: string;
54631
56400
  token_lifetime_for_web: number;
54632
56401
  created_at?: string | undefined | undefined;
54633
56402
  updated_at?: string | undefined | undefined;
@@ -54677,8 +56446,8 @@ export declare function init(config: AuthHeroConfig): {
54677
56446
  };
54678
56447
  output: {
54679
56448
  name: string;
54680
- identifier: string;
54681
56449
  token_lifetime: number;
56450
+ identifier: string;
54682
56451
  token_lifetime_for_web: number;
54683
56452
  created_at?: string | undefined | undefined;
54684
56453
  updated_at?: string | undefined | undefined;
@@ -54757,11 +56526,11 @@ export declare function init(config: AuthHeroConfig): {
54757
56526
  id?: string | undefined;
54758
56527
  is_system?: boolean | undefined;
54759
56528
  metadata?: Record<string, any> | undefined;
56529
+ token_lifetime?: number | undefined;
54760
56530
  scopes?: {
54761
56531
  value: string;
54762
56532
  description?: string | undefined;
54763
56533
  }[] | undefined;
54764
- token_lifetime?: number | undefined;
54765
56534
  token_lifetime_for_web?: number | undefined;
54766
56535
  identifier?: string | undefined;
54767
56536
  signing_alg?: string | undefined;
@@ -54773,8 +56542,8 @@ export declare function init(config: AuthHeroConfig): {
54773
56542
  };
54774
56543
  output: {
54775
56544
  name: string;
54776
- identifier: string;
54777
56545
  token_lifetime: number;
56546
+ identifier: string;
54778
56547
  token_lifetime_for_web: number;
54779
56548
  created_at?: string | undefined | undefined;
54780
56549
  updated_at?: string | undefined | undefined;
@@ -54833,11 +56602,11 @@ export declare function init(config: AuthHeroConfig): {
54833
56602
  id?: string | undefined;
54834
56603
  is_system?: boolean | undefined;
54835
56604
  metadata?: Record<string, any> | undefined;
56605
+ token_lifetime?: number | undefined;
54836
56606
  scopes?: {
54837
56607
  value: string;
54838
56608
  description?: string | undefined;
54839
56609
  }[] | undefined;
54840
- token_lifetime?: number | undefined;
54841
56610
  token_lifetime_for_web?: number | undefined;
54842
56611
  signing_alg?: string | undefined;
54843
56612
  signing_secret?: string | undefined;
@@ -54848,8 +56617,8 @@ export declare function init(config: AuthHeroConfig): {
54848
56617
  };
54849
56618
  output: {
54850
56619
  name: string;
54851
- identifier: string;
54852
56620
  token_lifetime: number;
56621
+ identifier: string;
54853
56622
  token_lifetime_for_web: number;
54854
56623
  created_at?: string | undefined | undefined;
54855
56624
  updated_at?: string | undefined | undefined;
@@ -55069,7 +56838,18 @@ export declare function init(config: AuthHeroConfig): {
55069
56838
  role_id: string;
55070
56839
  resource_server_identifier: string;
55071
56840
  permission_name: string;
55072
- }[];
56841
+ }[] | {
56842
+ length: number;
56843
+ start: number;
56844
+ limit: number;
56845
+ permissions: {
56846
+ created_at: string;
56847
+ role_id: string;
56848
+ resource_server_identifier: string;
56849
+ permission_name: string;
56850
+ }[];
56851
+ total?: number | undefined;
56852
+ };
55073
56853
  outputFormat: "json";
55074
56854
  status: 200;
55075
56855
  };
@@ -55095,7 +56875,7 @@ export declare function init(config: AuthHeroConfig): {
55095
56875
  };
55096
56876
  output: {};
55097
56877
  outputFormat: string;
55098
- status: 201;
56878
+ status: 204;
55099
56879
  };
55100
56880
  };
55101
56881
  } & {
@@ -57366,7 +59146,6 @@ export declare function init(config: AuthHeroConfig): {
57366
59146
  sdkSrc?: string | undefined;
57367
59147
  sdk_src?: string | undefined;
57368
59148
  } | undefined;
57369
- translations?: Record<string, any> | undefined;
57370
59149
  nodes?: ({
57371
59150
  type: "FLOW";
57372
59151
  id: string;
@@ -57906,6 +59685,7 @@ export declare function init(config: AuthHeroConfig): {
57906
59685
  custom?: Record<string, any> | undefined;
57907
59686
  errors?: Record<string, any> | undefined;
57908
59687
  } | undefined;
59688
+ translations?: Record<string, any> | undefined;
57909
59689
  };
57910
59690
  };
57911
59691
  output: {
@@ -58514,7 +60294,6 @@ export declare function init(config: AuthHeroConfig): {
58514
60294
  sdkSrc?: string | undefined;
58515
60295
  sdk_src?: string | undefined;
58516
60296
  } | undefined;
58517
- translations?: Record<string, any> | undefined;
58518
60297
  nodes?: ({
58519
60298
  type: "FLOW";
58520
60299
  id: string;
@@ -59054,6 +60833,7 @@ export declare function init(config: AuthHeroConfig): {
59054
60833
  custom?: Record<string, any> | undefined;
59055
60834
  errors?: Record<string, any> | undefined;
59056
60835
  } | undefined;
60836
+ translations?: Record<string, any> | undefined;
59057
60837
  };
59058
60838
  };
59059
60839
  output: {
@@ -59650,6 +61430,7 @@ export declare function init(config: AuthHeroConfig): {
59650
61430
  id: string;
59651
61431
  client_id: string;
59652
61432
  user_id: string;
61433
+ rotating: boolean;
59653
61434
  login_id: string;
59654
61435
  device: {
59655
61436
  last_ip: string;
@@ -59663,10 +61444,14 @@ export declare function init(config: AuthHeroConfig): {
59663
61444
  scopes: string;
59664
61445
  audience: string;
59665
61446
  }[];
59666
- rotating: boolean;
61447
+ token_hash?: string | undefined | undefined;
59667
61448
  expires_at?: string | undefined | undefined;
59668
61449
  idle_expires_at?: string | undefined | undefined;
59669
61450
  last_exchanged_at?: string | undefined | undefined;
61451
+ token_lookup?: string | undefined | undefined;
61452
+ family_id?: string | undefined | undefined;
61453
+ rotated_to?: string | undefined | undefined;
61454
+ rotated_at?: string | undefined | undefined;
59670
61455
  };
59671
61456
  outputFormat: "json";
59672
61457
  status: 200;
@@ -59808,7 +61593,7 @@ export declare function init(config: AuthHeroConfig): {
59808
61593
  };
59809
61594
  };
59810
61595
  output: {
59811
- prompt: "status" | "common" | "organizations" | "mfa" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup" | "signup-id" | "signup-password" | "captcha" | "custom-form";
61596
+ prompt: "status" | "common" | "organizations" | "mfa" | "login" | "login-id" | "login-password" | "signup" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
59812
61597
  language: string;
59813
61598
  }[];
59814
61599
  outputFormat: "json";
@@ -59820,7 +61605,7 @@ export declare function init(config: AuthHeroConfig): {
59820
61605
  $get: {
59821
61606
  input: {
59822
61607
  param: {
59823
- prompt: "status" | "common" | "organizations" | "mfa" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup" | "signup-id" | "signup-password" | "captcha" | "custom-form";
61608
+ prompt: "status" | "common" | "organizations" | "mfa" | "login" | "login-id" | "login-password" | "signup" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
59824
61609
  language: string;
59825
61610
  };
59826
61611
  } & {
@@ -59842,7 +61627,7 @@ export declare function init(config: AuthHeroConfig): {
59842
61627
  $put: {
59843
61628
  input: {
59844
61629
  param: {
59845
- prompt: "status" | "common" | "organizations" | "mfa" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup" | "signup-id" | "signup-password" | "captcha" | "custom-form";
61630
+ prompt: "status" | "common" | "organizations" | "mfa" | "login" | "login-id" | "login-password" | "signup" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
59846
61631
  language: string;
59847
61632
  };
59848
61633
  } & {
@@ -59866,7 +61651,7 @@ export declare function init(config: AuthHeroConfig): {
59866
61651
  $delete: {
59867
61652
  input: {
59868
61653
  param: {
59869
- prompt: "status" | "common" | "organizations" | "mfa" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup" | "signup-id" | "signup-password" | "captcha" | "custom-form";
61654
+ prompt: "status" | "common" | "organizations" | "mfa" | "login" | "login-id" | "login-password" | "signup" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
59870
61655
  language: string;
59871
61656
  };
59872
61657
  } & {
@@ -60316,110 +62101,7 @@ export declare function init(config: AuthHeroConfig): {
60316
62101
  } & {
60317
62102
  json: {
60318
62103
  name?: string | undefined;
60319
- options?: {
60320
- validation?: {
60321
- username?: {
60322
- min?: number | undefined;
60323
- max?: number | undefined;
60324
- } | undefined;
60325
- } | undefined;
60326
- client_id?: string | undefined;
60327
- scope?: string | undefined;
60328
- provider?: string | undefined;
60329
- client_secret?: string | undefined;
60330
- kid?: string | undefined;
60331
- team_id?: string | undefined;
60332
- realms?: string | undefined;
60333
- authentication_method?: string | undefined;
60334
- app_secret?: string | undefined;
60335
- authorization_endpoint?: string | undefined;
60336
- token_endpoint?: string | undefined;
60337
- userinfo_endpoint?: string | undefined;
60338
- jwks_uri?: string | undefined;
60339
- discovery_url?: string | undefined;
60340
- issuer?: string | undefined;
60341
- from?: string | undefined;
60342
- twilio_sid?: string | undefined;
60343
- twilio_token?: string | undefined;
60344
- icon_url?: string | undefined;
60345
- passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
60346
- password_complexity_options?: {
60347
- min_length?: number | undefined;
60348
- } | undefined;
60349
- password_history?: {
60350
- enable?: boolean | undefined;
60351
- size?: number | undefined;
60352
- } | undefined;
60353
- password_no_personal_info?: {
60354
- enable?: boolean | undefined;
60355
- } | undefined;
60356
- password_dictionary?: {
60357
- enable?: boolean | undefined;
60358
- dictionary?: string[] | undefined;
60359
- } | undefined;
60360
- disable_signup?: boolean | undefined;
60361
- brute_force_protection?: boolean | undefined;
60362
- import_mode?: boolean | undefined;
60363
- attributes?: {
60364
- email?: {
60365
- validation?: {
60366
- allowed?: boolean | undefined;
60367
- } | undefined;
60368
- identifier?: {
60369
- active?: boolean | undefined;
60370
- } | undefined;
60371
- signup?: {
60372
- status?: "required" | "optional" | "disabled" | undefined;
60373
- verification?: {
60374
- active?: boolean | undefined;
60375
- } | undefined;
60376
- } | undefined;
60377
- unique?: boolean | undefined;
60378
- profile_required?: boolean | undefined;
60379
- verification_method?: "code" | "link" | undefined;
60380
- } | undefined;
60381
- username?: {
60382
- validation?: {
60383
- min_length?: number | undefined;
60384
- max_length?: number | undefined;
60385
- allowed_types?: {
60386
- email?: boolean | undefined;
60387
- phone_number?: boolean | undefined;
60388
- } | undefined;
60389
- } | undefined;
60390
- identifier?: {
60391
- active?: boolean | undefined;
60392
- } | undefined;
60393
- signup?: {
60394
- status?: "required" | "optional" | "disabled" | undefined;
60395
- } | undefined;
60396
- profile_required?: boolean | undefined;
60397
- } | undefined;
60398
- phone_number?: {
60399
- identifier?: {
60400
- active?: boolean | undefined;
60401
- } | undefined;
60402
- signup?: {
60403
- status?: "required" | "optional" | "disabled" | undefined;
60404
- } | undefined;
60405
- } | undefined;
60406
- } | undefined;
60407
- authentication_methods?: {
60408
- password?: {
60409
- enabled?: boolean | undefined;
60410
- } | undefined;
60411
- passkey?: {
60412
- enabled?: boolean | undefined;
60413
- } | undefined;
60414
- } | undefined;
60415
- passkey_options?: {
60416
- challenge_ui?: "both" | "autofill" | "button" | undefined;
60417
- local_enrollment_enabled?: boolean | undefined;
60418
- progressive_enrollment_enabled?: boolean | undefined;
60419
- } | undefined;
60420
- requires_username?: boolean | undefined;
60421
- set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
60422
- } | undefined;
62104
+ options?: unknown;
60423
62105
  response_mode?: AuthorizationResponseMode | undefined;
60424
62106
  response_type?: AuthorizationResponseType | undefined;
60425
62107
  id?: string | undefined;
@@ -60568,110 +62250,7 @@ export declare function init(config: AuthHeroConfig): {
60568
62250
  json: {
60569
62251
  name: string;
60570
62252
  strategy: string;
60571
- options?: {
60572
- validation?: {
60573
- username?: {
60574
- min?: number | undefined;
60575
- max?: number | undefined;
60576
- } | undefined;
60577
- } | undefined;
60578
- client_id?: string | undefined;
60579
- scope?: string | undefined;
60580
- provider?: string | undefined;
60581
- client_secret?: string | undefined;
60582
- kid?: string | undefined;
60583
- team_id?: string | undefined;
60584
- realms?: string | undefined;
60585
- authentication_method?: string | undefined;
60586
- app_secret?: string | undefined;
60587
- authorization_endpoint?: string | undefined;
60588
- token_endpoint?: string | undefined;
60589
- userinfo_endpoint?: string | undefined;
60590
- jwks_uri?: string | undefined;
60591
- discovery_url?: string | undefined;
60592
- issuer?: string | undefined;
60593
- from?: string | undefined;
60594
- twilio_sid?: string | undefined;
60595
- twilio_token?: string | undefined;
60596
- icon_url?: string | undefined;
60597
- passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
60598
- password_complexity_options?: {
60599
- min_length?: number | undefined;
60600
- } | undefined;
60601
- password_history?: {
60602
- enable?: boolean | undefined;
60603
- size?: number | undefined;
60604
- } | undefined;
60605
- password_no_personal_info?: {
60606
- enable?: boolean | undefined;
60607
- } | undefined;
60608
- password_dictionary?: {
60609
- enable?: boolean | undefined;
60610
- dictionary?: string[] | undefined;
60611
- } | undefined;
60612
- disable_signup?: boolean | undefined;
60613
- brute_force_protection?: boolean | undefined;
60614
- import_mode?: boolean | undefined;
60615
- attributes?: {
60616
- email?: {
60617
- validation?: {
60618
- allowed?: boolean | undefined;
60619
- } | undefined;
60620
- identifier?: {
60621
- active?: boolean | undefined;
60622
- } | undefined;
60623
- signup?: {
60624
- status?: "required" | "optional" | "disabled" | undefined;
60625
- verification?: {
60626
- active?: boolean | undefined;
60627
- } | undefined;
60628
- } | undefined;
60629
- unique?: boolean | undefined;
60630
- profile_required?: boolean | undefined;
60631
- verification_method?: "code" | "link" | undefined;
60632
- } | undefined;
60633
- username?: {
60634
- validation?: {
60635
- min_length?: number | undefined;
60636
- max_length?: number | undefined;
60637
- allowed_types?: {
60638
- email?: boolean | undefined;
60639
- phone_number?: boolean | undefined;
60640
- } | undefined;
60641
- } | undefined;
60642
- identifier?: {
60643
- active?: boolean | undefined;
60644
- } | undefined;
60645
- signup?: {
60646
- status?: "required" | "optional" | "disabled" | undefined;
60647
- } | undefined;
60648
- profile_required?: boolean | undefined;
60649
- } | undefined;
60650
- phone_number?: {
60651
- identifier?: {
60652
- active?: boolean | undefined;
60653
- } | undefined;
60654
- signup?: {
60655
- status?: "required" | "optional" | "disabled" | undefined;
60656
- } | undefined;
60657
- } | undefined;
60658
- } | undefined;
60659
- authentication_methods?: {
60660
- password?: {
60661
- enabled?: boolean | undefined;
60662
- } | undefined;
60663
- passkey?: {
60664
- enabled?: boolean | undefined;
60665
- } | undefined;
60666
- } | undefined;
60667
- passkey_options?: {
60668
- challenge_ui?: "both" | "autofill" | "button" | undefined;
60669
- local_enrollment_enabled?: boolean | undefined;
60670
- progressive_enrollment_enabled?: boolean | undefined;
60671
- } | undefined;
60672
- requires_username?: boolean | undefined;
60673
- set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
60674
- } | undefined;
62253
+ options?: unknown;
60675
62254
  response_mode?: AuthorizationResponseMode | undefined;
60676
62255
  response_type?: AuthorizationResponseType | undefined;
60677
62256
  id?: string | undefined;
@@ -60849,7 +62428,7 @@ export declare function init(config: AuthHeroConfig): {
60849
62428
  };
60850
62429
  output: {};
60851
62430
  outputFormat: string;
60852
- status: 200;
62431
+ status: 204;
60853
62432
  };
60854
62433
  };
60855
62434
  }, "/connections"> & import("hono/types").MergeSchemaPath<{
@@ -61524,6 +63103,353 @@ export declare function init(config: AuthHeroConfig): {
61524
63103
  };
61525
63104
  };
61526
63105
  }, "/failed-events"> & import("hono/types").MergeSchemaPath<{
63106
+ "/breached-password-detection": {
63107
+ $get: {
63108
+ input: {
63109
+ header: {
63110
+ "tenant-id"?: string | undefined;
63111
+ };
63112
+ };
63113
+ output: {
63114
+ method?: string | undefined | undefined;
63115
+ enabled?: boolean | undefined | undefined;
63116
+ shields?: string[] | undefined | undefined;
63117
+ admin_notification_frequency?: string[] | undefined | undefined;
63118
+ stage?: {
63119
+ "pre-user-registration"?: {
63120
+ shields?: string[] | undefined | undefined;
63121
+ } | undefined;
63122
+ "pre-change-password"?: {
63123
+ shields?: string[] | undefined | undefined;
63124
+ } | undefined;
63125
+ } | undefined;
63126
+ };
63127
+ outputFormat: "json";
63128
+ status: 200;
63129
+ };
63130
+ };
63131
+ } & {
63132
+ "/breached-password-detection": {
63133
+ $patch: {
63134
+ input: {
63135
+ header: {
63136
+ "tenant-id"?: string | undefined;
63137
+ };
63138
+ } & {
63139
+ json: {
63140
+ method?: string | undefined;
63141
+ enabled?: boolean | undefined;
63142
+ shields?: string[] | undefined;
63143
+ admin_notification_frequency?: string[] | undefined;
63144
+ stage?: {
63145
+ "pre-user-registration"?: {
63146
+ shields?: string[] | undefined;
63147
+ } | undefined;
63148
+ "pre-change-password"?: {
63149
+ shields?: string[] | undefined;
63150
+ } | undefined;
63151
+ } | undefined;
63152
+ };
63153
+ };
63154
+ output: {
63155
+ method?: string | undefined | undefined;
63156
+ enabled?: boolean | undefined | undefined;
63157
+ shields?: string[] | undefined | undefined;
63158
+ admin_notification_frequency?: string[] | undefined | undefined;
63159
+ stage?: {
63160
+ "pre-user-registration"?: {
63161
+ shields?: string[] | undefined | undefined;
63162
+ } | undefined;
63163
+ "pre-change-password"?: {
63164
+ shields?: string[] | undefined | undefined;
63165
+ } | undefined;
63166
+ } | undefined;
63167
+ };
63168
+ outputFormat: "json";
63169
+ status: 200;
63170
+ };
63171
+ };
63172
+ } & {
63173
+ "/brute-force-protection": {
63174
+ $get: {
63175
+ input: {
63176
+ header: {
63177
+ "tenant-id"?: string | undefined;
63178
+ };
63179
+ };
63180
+ output: {
63181
+ allowlist?: string[] | undefined | undefined;
63182
+ enabled?: boolean | undefined | undefined;
63183
+ shields?: string[] | undefined | undefined;
63184
+ mode?: string | undefined | undefined;
63185
+ max_attempts?: number | undefined | undefined;
63186
+ };
63187
+ outputFormat: "json";
63188
+ status: 200;
63189
+ };
63190
+ };
63191
+ } & {
63192
+ "/brute-force-protection": {
63193
+ $patch: {
63194
+ input: {
63195
+ header: {
63196
+ "tenant-id"?: string | undefined;
63197
+ };
63198
+ } & {
63199
+ json: {
63200
+ allowlist?: string[] | undefined;
63201
+ enabled?: boolean | undefined;
63202
+ shields?: string[] | undefined;
63203
+ mode?: string | undefined;
63204
+ max_attempts?: number | undefined;
63205
+ };
63206
+ };
63207
+ output: {
63208
+ allowlist?: string[] | undefined | undefined;
63209
+ enabled?: boolean | undefined | undefined;
63210
+ shields?: string[] | undefined | undefined;
63211
+ mode?: string | undefined | undefined;
63212
+ max_attempts?: number | undefined | undefined;
63213
+ };
63214
+ outputFormat: "json";
63215
+ status: 200;
63216
+ };
63217
+ };
63218
+ } & {
63219
+ "/suspicious-ip-throttling": {
63220
+ $get: {
63221
+ input: {
63222
+ header: {
63223
+ "tenant-id"?: string | undefined;
63224
+ };
63225
+ };
63226
+ output: {
63227
+ allowlist?: string[] | undefined | undefined;
63228
+ enabled?: boolean | undefined | undefined;
63229
+ shields?: string[] | undefined | undefined;
63230
+ stage?: {
63231
+ "pre-user-registration"?: {
63232
+ max_attempts?: number | undefined | undefined;
63233
+ rate?: number | undefined | undefined;
63234
+ } | undefined;
63235
+ "pre-login"?: {
63236
+ max_attempts?: number | undefined | undefined;
63237
+ rate?: number | undefined | undefined;
63238
+ } | undefined;
63239
+ } | undefined;
63240
+ };
63241
+ outputFormat: "json";
63242
+ status: 200;
63243
+ };
63244
+ };
63245
+ } & {
63246
+ "/suspicious-ip-throttling": {
63247
+ $patch: {
63248
+ input: {
63249
+ header: {
63250
+ "tenant-id"?: string | undefined;
63251
+ };
63252
+ } & {
63253
+ json: {
63254
+ allowlist?: string[] | undefined;
63255
+ enabled?: boolean | undefined;
63256
+ shields?: string[] | undefined;
63257
+ stage?: {
63258
+ "pre-user-registration"?: {
63259
+ max_attempts?: number | undefined;
63260
+ rate?: number | undefined;
63261
+ } | undefined;
63262
+ "pre-login"?: {
63263
+ max_attempts?: number | undefined;
63264
+ rate?: number | undefined;
63265
+ } | undefined;
63266
+ } | undefined;
63267
+ };
63268
+ };
63269
+ output: {
63270
+ allowlist?: string[] | undefined | undefined;
63271
+ enabled?: boolean | undefined | undefined;
63272
+ shields?: string[] | undefined | undefined;
63273
+ stage?: {
63274
+ "pre-user-registration"?: {
63275
+ max_attempts?: number | undefined | undefined;
63276
+ rate?: number | undefined | undefined;
63277
+ } | undefined;
63278
+ "pre-login"?: {
63279
+ max_attempts?: number | undefined | undefined;
63280
+ rate?: number | undefined | undefined;
63281
+ } | undefined;
63282
+ } | undefined;
63283
+ };
63284
+ outputFormat: "json";
63285
+ status: 200;
63286
+ };
63287
+ };
63288
+ }, "/attack-protection"> & import("hono/types").MergeSchemaPath<{
63289
+ "/": {
63290
+ $get: {
63291
+ input: {
63292
+ header: {
63293
+ "tenant-id"?: string | undefined;
63294
+ };
63295
+ };
63296
+ output: {
63297
+ type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
63298
+ status: "active" | "paused" | "suspended";
63299
+ id: string;
63300
+ name: string;
63301
+ sink: {
63302
+ [x: string]: import("hono/utils/types").JSONValue;
63303
+ };
63304
+ created_at?: string | undefined | undefined;
63305
+ updated_at?: string | undefined | undefined;
63306
+ filters?: {
63307
+ type: string;
63308
+ name: string;
63309
+ }[] | undefined;
63310
+ isPriority?: boolean | undefined | undefined;
63311
+ }[];
63312
+ outputFormat: "json";
63313
+ status: 200;
63314
+ };
63315
+ };
63316
+ } & {
63317
+ "/:id": {
63318
+ $get: {
63319
+ input: {
63320
+ param: {
63321
+ id: string;
63322
+ };
63323
+ } & {
63324
+ header: {
63325
+ "tenant-id"?: string | undefined;
63326
+ };
63327
+ };
63328
+ output: {
63329
+ type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
63330
+ status: "active" | "paused" | "suspended";
63331
+ id: string;
63332
+ name: string;
63333
+ sink: {
63334
+ [x: string]: import("hono/utils/types").JSONValue;
63335
+ };
63336
+ created_at?: string | undefined | undefined;
63337
+ updated_at?: string | undefined | undefined;
63338
+ filters?: {
63339
+ type: string;
63340
+ name: string;
63341
+ }[] | undefined;
63342
+ isPriority?: boolean | undefined | undefined;
63343
+ };
63344
+ outputFormat: "json";
63345
+ status: 200;
63346
+ };
63347
+ };
63348
+ } & {
63349
+ "/": {
63350
+ $post: {
63351
+ input: {
63352
+ header: {
63353
+ "tenant-id"?: string | undefined;
63354
+ };
63355
+ } & {
63356
+ json: {
63357
+ name: string;
63358
+ type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
63359
+ sink: Record<string, unknown>;
63360
+ status?: "active" | "paused" | "suspended" | undefined;
63361
+ filters?: {
63362
+ type: string;
63363
+ name: string;
63364
+ }[] | undefined;
63365
+ isPriority?: boolean | undefined;
63366
+ };
63367
+ };
63368
+ output: {
63369
+ type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
63370
+ status: "active" | "paused" | "suspended";
63371
+ id: string;
63372
+ name: string;
63373
+ sink: {
63374
+ [x: string]: import("hono/utils/types").JSONValue;
63375
+ };
63376
+ created_at?: string | undefined | undefined;
63377
+ updated_at?: string | undefined | undefined;
63378
+ filters?: {
63379
+ type: string;
63380
+ name: string;
63381
+ }[] | undefined;
63382
+ isPriority?: boolean | undefined | undefined;
63383
+ };
63384
+ outputFormat: "json";
63385
+ status: 201;
63386
+ };
63387
+ };
63388
+ } & {
63389
+ "/:id": {
63390
+ $patch: {
63391
+ input: {
63392
+ param: {
63393
+ id: string;
63394
+ };
63395
+ } & {
63396
+ header: {
63397
+ "tenant-id"?: string | undefined;
63398
+ };
63399
+ } & {
63400
+ json: {
63401
+ name?: string | undefined;
63402
+ type?: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo" | undefined;
63403
+ status?: "active" | "paused" | "suspended" | undefined;
63404
+ created_at?: string | undefined;
63405
+ updated_at?: string | undefined;
63406
+ id?: string | undefined;
63407
+ sink?: Record<string, unknown> | undefined;
63408
+ filters?: {
63409
+ type: string;
63410
+ name: string;
63411
+ }[] | undefined;
63412
+ isPriority?: boolean | undefined;
63413
+ };
63414
+ };
63415
+ output: {
63416
+ type: "http" | "eventbridge" | "eventgrid" | "splunk" | "datadog" | "sumo";
63417
+ status: "active" | "paused" | "suspended";
63418
+ id: string;
63419
+ name: string;
63420
+ sink: {
63421
+ [x: string]: import("hono/utils/types").JSONValue;
63422
+ };
63423
+ created_at?: string | undefined | undefined;
63424
+ updated_at?: string | undefined | undefined;
63425
+ filters?: {
63426
+ type: string;
63427
+ name: string;
63428
+ }[] | undefined;
63429
+ isPriority?: boolean | undefined | undefined;
63430
+ };
63431
+ outputFormat: "json";
63432
+ status: 200;
63433
+ };
63434
+ };
63435
+ } & {
63436
+ "/:id": {
63437
+ $delete: {
63438
+ input: {
63439
+ param: {
63440
+ id: string;
63441
+ };
63442
+ } & {
63443
+ header: {
63444
+ "tenant-id"?: string | undefined;
63445
+ };
63446
+ };
63447
+ output: {};
63448
+ outputFormat: string;
63449
+ status: 204;
63450
+ };
63451
+ };
63452
+ }, "/log-streams"> & import("hono/types").MergeSchemaPath<{
61527
63453
  "/": {
61528
63454
  $get: {
61529
63455
  input: {
@@ -61915,201 +63841,219 @@ export declare function init(config: AuthHeroConfig): {
61915
63841
  require_proof_of_possession: boolean;
61916
63842
  description?: string | undefined | undefined;
61917
63843
  refresh_token?: {
63844
+ rotation_type?: "rotating" | "non-rotating" | undefined | undefined;
63845
+ leeway?: number | undefined | undefined;
63846
+ expiration_type?: "expiring" | "non-expiring" | undefined | undefined;
63847
+ token_lifetime?: number | undefined | undefined;
63848
+ infinite_token_lifetime?: boolean | undefined | undefined;
63849
+ idle_token_lifetime?: number | undefined | undefined;
63850
+ infinite_idle_token_lifetime?: boolean | undefined | undefined;
63851
+ } | undefined;
63852
+ client_secret?: string | undefined | undefined;
63853
+ 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 | undefined;
63854
+ logo_uri?: string | undefined | undefined;
63855
+ callbacks?: string[] | undefined | undefined;
63856
+ allowed_origins?: string[] | undefined | undefined;
63857
+ web_origins?: string[] | undefined | undefined;
63858
+ client_aliases?: string[] | undefined | undefined;
63859
+ allowed_clients?: string[] | undefined | undefined;
63860
+ connections?: string[] | undefined | undefined;
63861
+ allowed_logout_urls?: string[] | undefined | undefined;
63862
+ session_transfer?: {
63863
+ [x: string]: any;
63864
+ } | undefined;
63865
+ oidc_logout?: {
63866
+ [x: string]: any;
63867
+ } | undefined;
63868
+ grant_types?: string[] | undefined | undefined;
63869
+ jwt_configuration?: {
63870
+ [x: string]: any;
63871
+ } | undefined;
63872
+ signing_keys?: {
63873
+ [x: string]: any;
63874
+ }[] | undefined;
63875
+ encryption_key?: {
63876
+ [x: string]: any;
63877
+ } | undefined;
63878
+ cross_origin_loc?: string | undefined | undefined;
63879
+ custom_login_page?: string | undefined | undefined;
63880
+ custom_login_page_preview?: string | undefined | undefined;
63881
+ form_template?: string | undefined | undefined;
63882
+ addons?: {
63883
+ [x: string]: any;
63884
+ } | undefined;
63885
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined | undefined;
63886
+ client_metadata?: {
63887
+ [x: string]: string;
63888
+ } | undefined;
63889
+ mobile?: {
63890
+ [x: string]: any;
63891
+ } | undefined;
63892
+ initiate_login_uri?: string | undefined | undefined;
63893
+ native_social_login?: {
63894
+ [x: string]: any;
63895
+ } | undefined;
63896
+ default_organization?: {
63897
+ [x: string]: any;
63898
+ } | undefined;
63899
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
63900
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined | undefined;
63901
+ client_authentication_methods?: {
63902
+ [x: string]: any;
63903
+ } | undefined;
63904
+ signed_request_object?: {
63905
+ [x: string]: any;
63906
+ } | undefined;
63907
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined | undefined;
63908
+ par_request_expiry?: number | undefined | undefined;
63909
+ token_quota?: {
63910
+ [x: string]: any;
63911
+ } | undefined;
63912
+ owner_user_id?: string | undefined | undefined;
63913
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
63914
+ registration_metadata?: {
61918
63915
  [x: string]: any;
61919
63916
  } | undefined;
61920
- client_secret?: string | undefined | undefined;
61921
- 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 | undefined;
61922
- logo_uri?: string | undefined | undefined;
61923
- callbacks?: string[] | undefined | undefined;
61924
- allowed_origins?: string[] | undefined | undefined;
61925
- web_origins?: string[] | undefined | undefined;
61926
- client_aliases?: string[] | undefined | undefined;
61927
- allowed_clients?: string[] | undefined | undefined;
61928
- connections?: string[] | undefined | undefined;
61929
- allowed_logout_urls?: string[] | undefined | undefined;
61930
- session_transfer?: {
61931
- [x: string]: any;
61932
- } | undefined;
61933
- oidc_logout?: {
61934
- [x: string]: any;
61935
- } | undefined;
61936
- grant_types?: string[] | undefined | undefined;
61937
- jwt_configuration?: {
61938
- [x: string]: any;
61939
- } | undefined;
61940
- signing_keys?: {
61941
- [x: string]: any;
61942
- }[] | undefined;
61943
- encryption_key?: {
61944
- [x: string]: any;
61945
- } | undefined;
61946
- cross_origin_loc?: string | undefined | undefined;
61947
- custom_login_page?: string | undefined | undefined;
61948
- custom_login_page_preview?: string | undefined | undefined;
61949
- form_template?: string | undefined | undefined;
61950
- addons?: {
61951
- [x: string]: any;
61952
- } | undefined;
61953
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined | undefined;
61954
- client_metadata?: {
61955
- [x: string]: string;
61956
- } | undefined;
61957
- mobile?: {
61958
- [x: string]: any;
61959
- } | undefined;
61960
- initiate_login_uri?: string | undefined | undefined;
61961
- native_social_login?: {
61962
- [x: string]: any;
61963
- } | undefined;
61964
- default_organization?: {
61965
- [x: string]: any;
61966
- } | undefined;
61967
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61968
- organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined | undefined;
61969
- client_authentication_methods?: {
61970
- [x: string]: any;
61971
- } | undefined;
61972
- signed_request_object?: {
61973
- [x: string]: any;
61974
- } | undefined;
61975
- compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined | undefined;
61976
- par_request_expiry?: number | undefined | undefined;
61977
- token_quota?: {
61978
- [x: string]: any;
61979
- } | undefined;
61980
- owner_user_id?: string | undefined | undefined;
61981
- registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
61982
- registration_metadata?: {
61983
- [x: string]: any;
61984
- } | undefined;
61985
- user_linking_mode?: "builtin" | "off" | undefined | undefined;
61986
- }[] | {
61987
- length: number;
61988
- start: number;
61989
- limit: number;
61990
- clients: {
61991
- created_at: string;
61992
- updated_at: string;
61993
- name: string;
61994
- client_id: string;
61995
- global: boolean;
61996
- is_first_party: boolean;
61997
- oidc_conformant: boolean;
61998
- auth0_conformant: boolean;
61999
- sso: boolean;
62000
- sso_disabled: boolean;
62001
- cross_origin_authentication: boolean;
62002
- custom_login_page_on: boolean;
62003
- require_pushed_authorization_requests: boolean;
62004
- require_proof_of_possession: boolean;
62005
- description?: string | undefined | undefined;
62006
- refresh_token?: {
62007
- [x: string]: any;
62008
- } | undefined;
62009
- client_secret?: string | undefined | undefined;
62010
- 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 | undefined;
62011
- logo_uri?: string | undefined | undefined;
62012
- callbacks?: string[] | undefined | undefined;
62013
- allowed_origins?: string[] | undefined | undefined;
62014
- web_origins?: string[] | undefined | undefined;
62015
- client_aliases?: string[] | undefined | undefined;
62016
- allowed_clients?: string[] | undefined | undefined;
62017
- connections?: string[] | undefined | undefined;
62018
- allowed_logout_urls?: string[] | undefined | undefined;
62019
- session_transfer?: {
62020
- [x: string]: any;
62021
- } | undefined;
62022
- oidc_logout?: {
62023
- [x: string]: any;
62024
- } | undefined;
62025
- grant_types?: string[] | undefined | undefined;
62026
- jwt_configuration?: {
62027
- [x: string]: any;
62028
- } | undefined;
62029
- signing_keys?: {
62030
- [x: string]: any;
62031
- }[] | undefined;
62032
- encryption_key?: {
62033
- [x: string]: any;
62034
- } | undefined;
62035
- cross_origin_loc?: string | undefined | undefined;
62036
- custom_login_page?: string | undefined | undefined;
62037
- custom_login_page_preview?: string | undefined | undefined;
62038
- form_template?: string | undefined | undefined;
62039
- addons?: {
62040
- [x: string]: any;
62041
- } | undefined;
62042
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined | undefined;
62043
- client_metadata?: {
62044
- [x: string]: string;
62045
- } | undefined;
62046
- mobile?: {
62047
- [x: string]: any;
62048
- } | undefined;
62049
- initiate_login_uri?: string | undefined | undefined;
62050
- native_social_login?: {
62051
- [x: string]: any;
62052
- } | undefined;
62053
- default_organization?: {
62054
- [x: string]: any;
62055
- } | undefined;
62056
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
62057
- organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined | undefined;
62058
- client_authentication_methods?: {
62059
- [x: string]: any;
62060
- } | undefined;
62061
- signed_request_object?: {
62062
- [x: string]: any;
62063
- } | undefined;
62064
- compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined | undefined;
62065
- par_request_expiry?: number | undefined | undefined;
62066
- token_quota?: {
62067
- [x: string]: any;
62068
- } | undefined;
62069
- owner_user_id?: string | undefined | undefined;
62070
- registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
62071
- registration_metadata?: {
62072
- [x: string]: any;
62073
- } | undefined;
62074
- user_linking_mode?: "builtin" | "off" | undefined | undefined;
62075
- }[];
62076
- total?: number | undefined;
62077
- };
62078
- outputFormat: "json";
62079
- status: 200;
62080
- };
62081
- };
62082
- } & {
62083
- "/:id": {
62084
- $get: {
62085
- input: {
62086
- param: {
62087
- id: string;
62088
- };
62089
- } & {
62090
- header: {
62091
- "tenant-id"?: string | undefined;
62092
- };
62093
- };
62094
- output: {
62095
- created_at: string;
62096
- updated_at: string;
62097
- name: string;
62098
- client_id: string;
62099
- global: boolean;
62100
- is_first_party: boolean;
62101
- oidc_conformant: boolean;
62102
- auth0_conformant: boolean;
62103
- sso: boolean;
62104
- sso_disabled: boolean;
62105
- cross_origin_authentication: boolean;
62106
- custom_login_page_on: boolean;
62107
- require_pushed_authorization_requests: boolean;
62108
- require_proof_of_possession: boolean;
62109
- description?: string | undefined | undefined;
62110
- refresh_token?: {
62111
- [x: string]: any;
62112
- } | undefined;
63917
+ user_linking_mode?: "builtin" | "off" | undefined | undefined;
63918
+ }[] | {
63919
+ length: number;
63920
+ start: number;
63921
+ limit: number;
63922
+ clients: {
63923
+ created_at: string;
63924
+ updated_at: string;
63925
+ name: string;
63926
+ client_id: string;
63927
+ global: boolean;
63928
+ is_first_party: boolean;
63929
+ oidc_conformant: boolean;
63930
+ auth0_conformant: boolean;
63931
+ sso: boolean;
63932
+ sso_disabled: boolean;
63933
+ cross_origin_authentication: boolean;
63934
+ custom_login_page_on: boolean;
63935
+ require_pushed_authorization_requests: boolean;
63936
+ require_proof_of_possession: boolean;
63937
+ description?: string | undefined | undefined;
63938
+ refresh_token?: {
63939
+ rotation_type?: "rotating" | "non-rotating" | undefined | undefined;
63940
+ leeway?: number | undefined | undefined;
63941
+ expiration_type?: "expiring" | "non-expiring" | undefined | undefined;
63942
+ token_lifetime?: number | undefined | undefined;
63943
+ infinite_token_lifetime?: boolean | undefined | undefined;
63944
+ idle_token_lifetime?: number | undefined | undefined;
63945
+ infinite_idle_token_lifetime?: boolean | undefined | undefined;
63946
+ } | undefined;
63947
+ client_secret?: string | undefined | undefined;
63948
+ 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 | undefined;
63949
+ logo_uri?: string | undefined | undefined;
63950
+ callbacks?: string[] | undefined | undefined;
63951
+ allowed_origins?: string[] | undefined | undefined;
63952
+ web_origins?: string[] | undefined | undefined;
63953
+ client_aliases?: string[] | undefined | undefined;
63954
+ allowed_clients?: string[] | undefined | undefined;
63955
+ connections?: string[] | undefined | undefined;
63956
+ allowed_logout_urls?: string[] | undefined | undefined;
63957
+ session_transfer?: {
63958
+ [x: string]: any;
63959
+ } | undefined;
63960
+ oidc_logout?: {
63961
+ [x: string]: any;
63962
+ } | undefined;
63963
+ grant_types?: string[] | undefined | undefined;
63964
+ jwt_configuration?: {
63965
+ [x: string]: any;
63966
+ } | undefined;
63967
+ signing_keys?: {
63968
+ [x: string]: any;
63969
+ }[] | undefined;
63970
+ encryption_key?: {
63971
+ [x: string]: any;
63972
+ } | undefined;
63973
+ cross_origin_loc?: string | undefined | undefined;
63974
+ custom_login_page?: string | undefined | undefined;
63975
+ custom_login_page_preview?: string | undefined | undefined;
63976
+ form_template?: string | undefined | undefined;
63977
+ addons?: {
63978
+ [x: string]: any;
63979
+ } | undefined;
63980
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined | undefined;
63981
+ client_metadata?: {
63982
+ [x: string]: string;
63983
+ } | undefined;
63984
+ mobile?: {
63985
+ [x: string]: any;
63986
+ } | undefined;
63987
+ initiate_login_uri?: string | undefined | undefined;
63988
+ native_social_login?: {
63989
+ [x: string]: any;
63990
+ } | undefined;
63991
+ default_organization?: {
63992
+ [x: string]: any;
63993
+ } | undefined;
63994
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
63995
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined | undefined;
63996
+ client_authentication_methods?: {
63997
+ [x: string]: any;
63998
+ } | undefined;
63999
+ signed_request_object?: {
64000
+ [x: string]: any;
64001
+ } | undefined;
64002
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined | undefined;
64003
+ par_request_expiry?: number | undefined | undefined;
64004
+ token_quota?: {
64005
+ [x: string]: any;
64006
+ } | undefined;
64007
+ owner_user_id?: string | undefined | undefined;
64008
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined | undefined;
64009
+ registration_metadata?: {
64010
+ [x: string]: any;
64011
+ } | undefined;
64012
+ user_linking_mode?: "builtin" | "off" | undefined | undefined;
64013
+ }[];
64014
+ total?: number | undefined;
64015
+ };
64016
+ outputFormat: "json";
64017
+ status: 200;
64018
+ };
64019
+ };
64020
+ } & {
64021
+ "/:id": {
64022
+ $get: {
64023
+ input: {
64024
+ param: {
64025
+ id: string;
64026
+ };
64027
+ } & {
64028
+ header: {
64029
+ "tenant-id"?: string | undefined;
64030
+ };
64031
+ };
64032
+ output: {
64033
+ created_at: string;
64034
+ updated_at: string;
64035
+ name: string;
64036
+ client_id: string;
64037
+ global: boolean;
64038
+ is_first_party: boolean;
64039
+ oidc_conformant: boolean;
64040
+ auth0_conformant: boolean;
64041
+ sso: boolean;
64042
+ sso_disabled: boolean;
64043
+ cross_origin_authentication: boolean;
64044
+ custom_login_page_on: boolean;
64045
+ require_pushed_authorization_requests: boolean;
64046
+ require_proof_of_possession: boolean;
64047
+ description?: string | undefined | undefined;
64048
+ refresh_token?: {
64049
+ rotation_type?: "rotating" | "non-rotating" | undefined | undefined;
64050
+ leeway?: number | undefined | undefined;
64051
+ expiration_type?: "expiring" | "non-expiring" | undefined | undefined;
64052
+ token_lifetime?: number | undefined | undefined;
64053
+ infinite_token_lifetime?: boolean | undefined | undefined;
64054
+ idle_token_lifetime?: number | undefined | undefined;
64055
+ infinite_idle_token_lifetime?: boolean | undefined | undefined;
64056
+ } | undefined;
62113
64057
  client_secret?: string | undefined | undefined;
62114
64058
  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 | undefined;
62115
64059
  logo_uri?: string | undefined | undefined;
@@ -62248,7 +64192,15 @@ export declare function init(config: AuthHeroConfig): {
62248
64192
  mobile?: Record<string, any> | undefined;
62249
64193
  initiate_login_uri?: string | undefined;
62250
64194
  native_social_login?: Record<string, any> | undefined;
62251
- refresh_token?: Record<string, any> | undefined;
64195
+ refresh_token?: {
64196
+ rotation_type?: "rotating" | "non-rotating" | undefined;
64197
+ leeway?: number | undefined;
64198
+ expiration_type?: "expiring" | "non-expiring" | undefined;
64199
+ token_lifetime?: number | undefined;
64200
+ infinite_token_lifetime?: boolean | undefined;
64201
+ idle_token_lifetime?: number | undefined;
64202
+ infinite_idle_token_lifetime?: boolean | undefined;
64203
+ } | undefined;
62252
64204
  default_organization?: Record<string, any> | undefined;
62253
64205
  organization_usage?: "deny" | "allow" | "require" | undefined;
62254
64206
  organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
@@ -62282,7 +64234,13 @@ export declare function init(config: AuthHeroConfig): {
62282
64234
  require_proof_of_possession: boolean;
62283
64235
  description?: string | undefined | undefined;
62284
64236
  refresh_token?: {
62285
- [x: string]: any;
64237
+ rotation_type?: "rotating" | "non-rotating" | undefined | undefined;
64238
+ leeway?: number | undefined | undefined;
64239
+ expiration_type?: "expiring" | "non-expiring" | undefined | undefined;
64240
+ token_lifetime?: number | undefined | undefined;
64241
+ infinite_token_lifetime?: boolean | undefined | undefined;
64242
+ idle_token_lifetime?: number | undefined | undefined;
64243
+ infinite_idle_token_lifetime?: boolean | undefined | undefined;
62286
64244
  } | undefined;
62287
64245
  client_secret?: string | undefined | undefined;
62288
64246
  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 | undefined;
@@ -62365,9 +64323,9 @@ export declare function init(config: AuthHeroConfig): {
62365
64323
  } & {
62366
64324
  json: {
62367
64325
  name: string;
62368
- client_id: string;
62369
64326
  description?: string | undefined;
62370
64327
  connections?: string[] | undefined;
64328
+ client_id?: string | undefined;
62371
64329
  global?: boolean | undefined;
62372
64330
  client_secret?: string | undefined;
62373
64331
  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;
@@ -62401,7 +64359,15 @@ export declare function init(config: AuthHeroConfig): {
62401
64359
  mobile?: Record<string, any> | undefined;
62402
64360
  initiate_login_uri?: string | undefined;
62403
64361
  native_social_login?: Record<string, any> | undefined;
62404
- refresh_token?: Record<string, any> | undefined;
64362
+ refresh_token?: {
64363
+ rotation_type?: "rotating" | "non-rotating" | undefined;
64364
+ leeway?: number | undefined;
64365
+ expiration_type?: "expiring" | "non-expiring" | undefined;
64366
+ token_lifetime?: number | undefined;
64367
+ infinite_token_lifetime?: boolean | undefined;
64368
+ idle_token_lifetime?: number | undefined;
64369
+ infinite_idle_token_lifetime?: boolean | undefined;
64370
+ } | undefined;
62405
64371
  default_organization?: Record<string, any> | undefined;
62406
64372
  organization_usage?: "deny" | "allow" | "require" | undefined;
62407
64373
  organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
@@ -62479,7 +64445,13 @@ export declare function init(config: AuthHeroConfig): {
62479
64445
  [x: string]: any;
62480
64446
  } | undefined;
62481
64447
  refresh_token?: {
62482
- [x: string]: any;
64448
+ rotation_type?: "rotating" | "non-rotating" | undefined | undefined;
64449
+ leeway?: number | undefined | undefined;
64450
+ expiration_type?: "expiring" | "non-expiring" | undefined | undefined;
64451
+ token_lifetime?: number | undefined | undefined;
64452
+ infinite_token_lifetime?: boolean | undefined | undefined;
64453
+ idle_token_lifetime?: number | undefined | undefined;
64454
+ infinite_idle_token_lifetime?: boolean | undefined | undefined;
62483
64455
  } | undefined;
62484
64456
  default_organization?: {
62485
64457
  [x: string]: any;
@@ -63980,23 +65952,7 @@ export declare function init(config: AuthHeroConfig): {
63980
65952
  name: string;
63981
65953
  enabled: boolean;
63982
65954
  credentials: {
63983
- region: string;
63984
- accessKeyId: string;
63985
- secretAccessKey: string;
63986
- } | {
63987
- smtp_host: string[];
63988
- smtp_port: number;
63989
- smtp_user: string;
63990
- smtp_pass: string;
63991
- } | {
63992
- api_key: string;
63993
- domain?: string | undefined | undefined;
63994
- } | {
63995
- connectionString: string;
63996
- } | {
63997
- tenantId: string;
63998
- clientId: string;
63999
- clientSecret: string;
65955
+ [x: string]: import("hono/utils/types").JSONValue;
64000
65956
  };
64001
65957
  default_from_address?: string | undefined | undefined;
64002
65958
  settings?: {} | undefined | undefined;
@@ -64015,35 +65971,104 @@ export declare function init(config: AuthHeroConfig): {
64015
65971
  } & {
64016
65972
  json: {
64017
65973
  name: string;
64018
- credentials: {
64019
- region: string;
64020
- accessKeyId: string;
64021
- secretAccessKey: string;
64022
- } | {
64023
- smtp_host: string[];
64024
- smtp_port: number;
64025
- smtp_user: string;
64026
- smtp_pass: string;
64027
- } | {
64028
- api_key: string;
64029
- domain?: string | undefined;
64030
- } | {
64031
- connectionString: string;
64032
- } | {
64033
- tenantId: string;
64034
- clientId: string;
64035
- clientSecret: string;
64036
- };
65974
+ credentials: Record<string, unknown>;
64037
65975
  settings?: {} | undefined;
64038
65976
  enabled?: boolean | undefined;
64039
65977
  default_from_address?: string | undefined;
64040
65978
  };
64041
65979
  };
64042
- output: {};
64043
- outputFormat: string;
65980
+ output: {
65981
+ name: string;
65982
+ enabled: boolean;
65983
+ credentials: {
65984
+ [x: string]: import("hono/utils/types").JSONValue;
65985
+ };
65986
+ default_from_address?: string | undefined | undefined;
65987
+ settings?: {} | undefined | undefined;
65988
+ };
65989
+ outputFormat: "json";
65990
+ status: 201;
65991
+ };
65992
+ };
65993
+ } & {
65994
+ "/": {
65995
+ $patch: {
65996
+ input: {
65997
+ header: {
65998
+ "tenant-id"?: string | undefined;
65999
+ };
66000
+ } & {
66001
+ json: {
66002
+ name?: string | undefined;
66003
+ credentials?: Record<string, unknown> | undefined;
66004
+ settings?: {} | undefined;
66005
+ enabled?: boolean | undefined;
66006
+ default_from_address?: string | undefined;
66007
+ };
66008
+ };
66009
+ output: {
66010
+ name: string;
66011
+ enabled: boolean;
66012
+ credentials: {
66013
+ [x: string]: import("hono/utils/types").JSONValue;
66014
+ };
66015
+ default_from_address?: string | undefined | undefined;
66016
+ settings?: {} | undefined | undefined;
66017
+ };
66018
+ outputFormat: "json";
66019
+ status: 200;
66020
+ };
66021
+ };
66022
+ }, "/emails/provider"> & import("hono/types").MergeSchemaPath<{
66023
+ "/": {
66024
+ $get: {
66025
+ input: {
66026
+ header: {
66027
+ "tenant-id"?: string | undefined;
66028
+ };
66029
+ };
66030
+ output: {
66031
+ name: string;
66032
+ enabled: boolean;
66033
+ credentials: {
66034
+ [x: string]: import("hono/utils/types").JSONValue;
66035
+ };
66036
+ default_from_address?: string | undefined | undefined;
66037
+ settings?: {} | undefined | undefined;
66038
+ };
66039
+ outputFormat: "json";
64044
66040
  status: 200;
64045
66041
  };
64046
66042
  };
66043
+ } & {
66044
+ "/": {
66045
+ $post: {
66046
+ input: {
66047
+ header: {
66048
+ "tenant-id"?: string | undefined;
66049
+ };
66050
+ } & {
66051
+ json: {
66052
+ name: string;
66053
+ credentials: Record<string, unknown>;
66054
+ settings?: {} | undefined;
66055
+ enabled?: boolean | undefined;
66056
+ default_from_address?: string | undefined;
66057
+ };
66058
+ };
66059
+ output: {
66060
+ name: string;
66061
+ enabled: boolean;
66062
+ credentials: {
66063
+ [x: string]: import("hono/utils/types").JSONValue;
66064
+ };
66065
+ default_from_address?: string | undefined | undefined;
66066
+ settings?: {} | undefined | undefined;
66067
+ };
66068
+ outputFormat: "json";
66069
+ status: 201;
66070
+ };
66071
+ };
64047
66072
  } & {
64048
66073
  "/": {
64049
66074
  $patch: {
@@ -64054,32 +66079,22 @@ export declare function init(config: AuthHeroConfig): {
64054
66079
  } & {
64055
66080
  json: {
64056
66081
  name?: string | undefined;
64057
- credentials?: {
64058
- region: string;
64059
- accessKeyId: string;
64060
- secretAccessKey: string;
64061
- } | {
64062
- smtp_host: string[];
64063
- smtp_port: number;
64064
- smtp_user: string;
64065
- smtp_pass: string;
64066
- } | {
64067
- api_key: string;
64068
- domain?: string | undefined;
64069
- } | {
64070
- connectionString: string;
64071
- } | {
64072
- tenantId: string;
64073
- clientId: string;
64074
- clientSecret: string;
64075
- } | undefined;
66082
+ credentials?: Record<string, unknown> | undefined;
64076
66083
  settings?: {} | undefined;
64077
66084
  enabled?: boolean | undefined;
64078
66085
  default_from_address?: string | undefined;
64079
66086
  };
64080
66087
  };
64081
- output: {};
64082
- outputFormat: string;
66088
+ output: {
66089
+ name: string;
66090
+ enabled: boolean;
66091
+ credentials: {
66092
+ [x: string]: import("hono/utils/types").JSONValue;
66093
+ };
66094
+ default_from_address?: string | undefined | undefined;
66095
+ settings?: {} | undefined | undefined;
66096
+ };
66097
+ outputFormat: "json";
64083
66098
  status: 200;
64084
66099
  };
64085
66100
  };
@@ -64608,7 +66623,7 @@ export declare function init(config: AuthHeroConfig): {
64608
66623
  output: {
64609
66624
  colors?: {
64610
66625
  primary: string;
64611
- page_background?: {
66626
+ page_background?: string | {
64612
66627
  type?: string | undefined | undefined;
64613
66628
  start?: string | undefined | undefined;
64614
66629
  end?: string | undefined | undefined;
@@ -64637,7 +66652,7 @@ export declare function init(config: AuthHeroConfig): {
64637
66652
  json: {
64638
66653
  colors?: {
64639
66654
  primary: string;
64640
- page_background?: {
66655
+ page_background?: string | {
64641
66656
  type?: string | undefined;
64642
66657
  start?: string | undefined;
64643
66658
  end?: string | undefined;
@@ -64655,7 +66670,7 @@ export declare function init(config: AuthHeroConfig): {
64655
66670
  output: {
64656
66671
  colors?: {
64657
66672
  primary: string;
64658
- page_background?: {
66673
+ page_background?: string | {
64659
66674
  type?: string | undefined | undefined;
64660
66675
  start?: string | undefined | undefined;
64661
66676
  end?: string | undefined | undefined;
@@ -64804,6 +66819,8 @@ export declare function init(config: AuthHeroConfig): {
64804
66819
  bindings: {
64805
66820
  ref: {
64806
66821
  name?: string | undefined;
66822
+ value?: string | undefined;
66823
+ type?: "action_id" | "action_name" | undefined;
64807
66824
  id?: string | undefined;
64808
66825
  };
64809
66826
  display_name?: string | undefined;
@@ -66448,10 +68465,10 @@ export declare function init(config: AuthHeroConfig): {
66448
68465
  locale?: string | undefined;
66449
68466
  profile?: string | undefined;
66450
68467
  address?: {
66451
- region?: string | undefined;
66452
68468
  formatted?: string | undefined;
66453
68469
  street_address?: string | undefined;
66454
68470
  locality?: string | undefined;
68471
+ region?: string | undefined;
66455
68472
  postal_code?: string | undefined;
66456
68473
  country?: string | undefined;
66457
68474
  } | undefined;
@@ -66489,10 +68506,10 @@ export declare function init(config: AuthHeroConfig): {
66489
68506
  locale?: string | undefined;
66490
68507
  profile?: string | undefined;
66491
68508
  address?: {
66492
- region?: string | undefined;
66493
68509
  formatted?: string | undefined;
66494
68510
  street_address?: string | undefined;
66495
68511
  locality?: string | undefined;
68512
+ region?: string | undefined;
66496
68513
  postal_code?: string | undefined;
66497
68514
  country?: string | undefined;
66498
68515
  } | undefined;