@authhero/kysely-adapter 10.132.0 → 10.132.2

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.
@@ -29,13 +29,13 @@ declare const actionInsertSchema: z.ZodObject<{
29
29
  }>, "many">>;
30
30
  secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
31
31
  name: z.ZodString;
32
- value: z.ZodString;
32
+ value: z.ZodOptional<z.ZodString>;
33
33
  }, "strip", z.ZodTypeAny, {
34
- value: string;
35
34
  name: string;
35
+ value?: string | undefined;
36
36
  }, {
37
- value: string;
38
37
  name: string;
38
+ value?: string | undefined;
39
39
  }>, "many">>;
40
40
  }, "strip", z.ZodTypeAny, {
41
41
  code: string;
@@ -50,8 +50,8 @@ declare const actionInsertSchema: z.ZodObject<{
50
50
  name: string;
51
51
  }[] | undefined;
52
52
  secrets?: {
53
- value: string;
54
53
  name: string;
54
+ value?: string | undefined;
55
55
  }[] | undefined;
56
56
  }, {
57
57
  code: string;
@@ -66,8 +66,8 @@ declare const actionInsertSchema: z.ZodObject<{
66
66
  name: string;
67
67
  }[] | undefined;
68
68
  secrets?: {
69
- value: string;
70
69
  name: string;
70
+ value?: string | undefined;
71
71
  }[] | undefined;
72
72
  }>;
73
73
  export type ActionInsert = z.infer<typeof actionInsertSchema>;
@@ -97,13 +97,13 @@ declare const actionUpdateSchema: z.ZodObject<{
97
97
  }>, "many">>>;
98
98
  secrets: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
99
99
  name: z.ZodString;
100
- value: z.ZodString;
100
+ value: z.ZodOptional<z.ZodString>;
101
101
  }, "strip", z.ZodTypeAny, {
102
- value: string;
103
102
  name: string;
103
+ value?: string | undefined;
104
104
  }, {
105
- value: string;
106
105
  name: string;
106
+ value?: string | undefined;
107
107
  }>, "many">>>;
108
108
  } & {
109
109
  status: z.ZodOptional<z.ZodEnum<[
@@ -125,8 +125,8 @@ declare const actionUpdateSchema: z.ZodObject<{
125
125
  name: string;
126
126
  }[] | undefined;
127
127
  secrets?: {
128
- value: string;
129
128
  name: string;
129
+ value?: string | undefined;
130
130
  }[] | undefined;
131
131
  deployed_at?: string | undefined;
132
132
  }, {
@@ -143,8 +143,8 @@ declare const actionUpdateSchema: z.ZodObject<{
143
143
  name: string;
144
144
  }[] | undefined;
145
145
  secrets?: {
146
- value: string;
147
146
  name: string;
147
+ value?: string | undefined;
148
148
  }[] | undefined;
149
149
  deployed_at?: string | undefined;
150
150
  }>;
@@ -1843,7 +1843,9 @@ declare const clientInsertSchema: z.ZodObject<{
1843
1843
  token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
1844
1844
  "none",
1845
1845
  "client_secret_post",
1846
- "client_secret_basic"
1846
+ "client_secret_basic",
1847
+ "client_secret_jwt",
1848
+ "private_key_jwt"
1847
1849
  ]>>>;
1848
1850
  client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
1849
1851
  mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -1959,7 +1961,7 @@ declare const clientInsertSchema: z.ZodObject<{
1959
1961
  custom_login_page_preview?: string | undefined;
1960
1962
  form_template?: string | undefined;
1961
1963
  addons?: Record<string, any> | undefined;
1962
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
1964
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
1963
1965
  client_metadata?: Record<string, string> | undefined;
1964
1966
  mobile?: Record<string, any> | undefined;
1965
1967
  initiate_login_uri?: string | undefined;
@@ -2018,7 +2020,7 @@ declare const clientInsertSchema: z.ZodObject<{
2018
2020
  custom_login_page_preview?: string | undefined;
2019
2021
  form_template?: string | undefined;
2020
2022
  addons?: Record<string, any> | undefined;
2021
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
2023
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
2022
2024
  client_metadata?: Record<string, string> | undefined;
2023
2025
  mobile?: Record<string, any> | undefined;
2024
2026
  initiate_login_uri?: string | undefined;
@@ -2101,7 +2103,9 @@ declare const clientSchema: z.ZodObject<{
2101
2103
  token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
2102
2104
  "none",
2103
2105
  "client_secret_post",
2104
- "client_secret_basic"
2106
+ "client_secret_basic",
2107
+ "client_secret_jwt",
2108
+ "private_key_jwt"
2105
2109
  ]>>>;
2106
2110
  client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
2107
2111
  mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -2221,7 +2225,7 @@ declare const clientSchema: z.ZodObject<{
2221
2225
  custom_login_page_preview?: string | undefined;
2222
2226
  form_template?: string | undefined;
2223
2227
  addons?: Record<string, any> | undefined;
2224
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
2228
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
2225
2229
  client_metadata?: Record<string, string> | undefined;
2226
2230
  mobile?: Record<string, any> | undefined;
2227
2231
  initiate_login_uri?: string | undefined;
@@ -2282,7 +2286,7 @@ declare const clientSchema: z.ZodObject<{
2282
2286
  custom_login_page_preview?: string | undefined;
2283
2287
  form_template?: string | undefined;
2284
2288
  addons?: Record<string, any> | undefined;
2285
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
2289
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
2286
2290
  client_metadata?: Record<string, string> | undefined;
2287
2291
  mobile?: Record<string, any> | undefined;
2288
2292
  initiate_login_uri?: string | undefined;
@@ -2711,6 +2715,7 @@ declare const connectionInsertSchema: z.ZodObject<{
2711
2715
  twilio_sid: z.ZodOptional<z.ZodString>;
2712
2716
  twilio_token: z.ZodOptional<z.ZodString>;
2713
2717
  icon_url: z.ZodOptional<z.ZodString>;
2718
+ domain_aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2714
2719
  passwordPolicy: z.ZodOptional<z.ZodEnum<[
2715
2720
  "none",
2716
2721
  "low",
@@ -3137,6 +3142,7 @@ declare const connectionInsertSchema: z.ZodObject<{
3137
3142
  twilio_sid?: string | undefined;
3138
3143
  twilio_token?: string | undefined;
3139
3144
  icon_url?: string | undefined;
3145
+ domain_aliases?: string[] | undefined;
3140
3146
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
3141
3147
  password_complexity_options?: {
3142
3148
  min_length?: number | undefined;
@@ -3240,6 +3246,7 @@ declare const connectionInsertSchema: z.ZodObject<{
3240
3246
  twilio_sid?: string | undefined;
3241
3247
  twilio_token?: string | undefined;
3242
3248
  icon_url?: string | undefined;
3249
+ domain_aliases?: string[] | undefined;
3243
3250
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
3244
3251
  password_complexity_options?: {
3245
3252
  min_length?: number | undefined;
@@ -3343,6 +3350,7 @@ declare const connectionInsertSchema: z.ZodObject<{
3343
3350
  twilio_sid?: string | undefined;
3344
3351
  twilio_token?: string | undefined;
3345
3352
  icon_url?: string | undefined;
3353
+ domain_aliases?: string[] | undefined;
3346
3354
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
3347
3355
  password_complexity_options?: {
3348
3356
  min_length?: number | undefined;
@@ -3455,6 +3463,7 @@ declare const connectionInsertSchema: z.ZodObject<{
3455
3463
  twilio_sid?: string | undefined;
3456
3464
  twilio_token?: string | undefined;
3457
3465
  icon_url?: string | undefined;
3466
+ domain_aliases?: string[] | undefined;
3458
3467
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
3459
3468
  password_complexity_options?: {
3460
3469
  min_length?: number | undefined;
@@ -3587,6 +3596,7 @@ declare const connectionSchema: z.ZodObject<{
3587
3596
  twilio_sid: z.ZodOptional<z.ZodString>;
3588
3597
  twilio_token: z.ZodOptional<z.ZodString>;
3589
3598
  icon_url: z.ZodOptional<z.ZodString>;
3599
+ domain_aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3590
3600
  passwordPolicy: z.ZodOptional<z.ZodEnum<[
3591
3601
  "none",
3592
3602
  "low",
@@ -4013,6 +4023,7 @@ declare const connectionSchema: z.ZodObject<{
4013
4023
  twilio_sid?: string | undefined;
4014
4024
  twilio_token?: string | undefined;
4015
4025
  icon_url?: string | undefined;
4026
+ domain_aliases?: string[] | undefined;
4016
4027
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
4017
4028
  password_complexity_options?: {
4018
4029
  min_length?: number | undefined;
@@ -4116,6 +4127,7 @@ declare const connectionSchema: z.ZodObject<{
4116
4127
  twilio_sid?: string | undefined;
4117
4128
  twilio_token?: string | undefined;
4118
4129
  icon_url?: string | undefined;
4130
+ domain_aliases?: string[] | undefined;
4119
4131
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
4120
4132
  password_complexity_options?: {
4121
4133
  min_length?: number | undefined;
@@ -4219,6 +4231,7 @@ declare const connectionSchema: z.ZodObject<{
4219
4231
  twilio_sid?: string | undefined;
4220
4232
  twilio_token?: string | undefined;
4221
4233
  icon_url?: string | undefined;
4234
+ domain_aliases?: string[] | undefined;
4222
4235
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
4223
4236
  password_complexity_options?: {
4224
4237
  min_length?: number | undefined;
@@ -4333,6 +4346,7 @@ declare const connectionSchema: z.ZodObject<{
4333
4346
  twilio_sid?: string | undefined;
4334
4347
  twilio_token?: string | undefined;
4335
4348
  icon_url?: string | undefined;
4349
+ domain_aliases?: string[] | undefined;
4336
4350
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
4337
4351
  password_complexity_options?: {
4338
4352
  min_length?: number | undefined;
@@ -16351,7 +16365,7 @@ declare const loginSessionSchema: z.ZodObject<{
16351
16365
  }>;
16352
16366
  export type LoginSession = z.infer<typeof loginSessionSchema>;
16353
16367
  declare const logInsertSchema: z.ZodObject<{
16354
- type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
16368
+ type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
16355
16369
  date: z.ZodString;
16356
16370
  description: z.ZodOptional<z.ZodString>;
16357
16371
  ip: z.ZodOptional<z.ZodString>;
@@ -16416,7 +16430,7 @@ declare const logInsertSchema: z.ZodObject<{
16416
16430
  continent_code: string;
16417
16431
  }>>;
16418
16432
  }, "strip", z.ZodTypeAny, {
16419
- type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16433
+ type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16420
16434
  date: string;
16421
16435
  isMobile: boolean;
16422
16436
  description?: string | undefined;
@@ -16489,7 +16503,7 @@ declare const logInsertSchema: z.ZodObject<{
16489
16503
  export type LogInsert = z.infer<typeof logInsertSchema>;
16490
16504
  declare const logSchema: z.ZodObject<{
16491
16505
  log_id: z.ZodString;
16492
- type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
16506
+ type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
16493
16507
  date: z.ZodString;
16494
16508
  description: z.ZodOptional<z.ZodString>;
16495
16509
  ip: z.ZodOptional<z.ZodString>;
@@ -16553,7 +16567,7 @@ declare const logSchema: z.ZodObject<{
16553
16567
  continent_code: string;
16554
16568
  }>>;
16555
16569
  }, "strip", z.ZodTypeAny, {
16556
- type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16570
+ type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
16557
16571
  date: string;
16558
16572
  isMobile: boolean;
16559
16573
  log_id: string;
@@ -17006,6 +17020,7 @@ declare const tenantSchema: z.ZodObject<{
17006
17020
  }>>;
17007
17021
  allowed_logout_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17008
17022
  default_redirection_uri: z.ZodOptional<z.ZodString>;
17023
+ default_client_id: z.ZodOptional<z.ZodString>;
17009
17024
  enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17010
17025
  default_directory: z.ZodOptional<z.ZodString>;
17011
17026
  error_page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -17600,6 +17615,7 @@ declare const tenantSchema: z.ZodObject<{
17600
17615
  mode?: "persistent" | "non-persistent" | undefined;
17601
17616
  } | undefined;
17602
17617
  default_redirection_uri?: string | undefined;
17618
+ default_client_id?: string | undefined;
17603
17619
  enabled_locales?: string[] | undefined;
17604
17620
  default_directory?: string | undefined;
17605
17621
  error_page?: {
@@ -17767,6 +17783,7 @@ declare const tenantSchema: z.ZodObject<{
17767
17783
  mode?: "persistent" | "non-persistent" | undefined;
17768
17784
  } | undefined;
17769
17785
  default_redirection_uri?: string | undefined;
17786
+ default_client_id?: string | undefined;
17770
17787
  enabled_locales?: string[] | undefined;
17771
17788
  default_directory?: string | undefined;
17772
17789
  error_page?: {
@@ -18150,14 +18167,29 @@ declare const themeInsertSchema: z.ZodObject<{
18150
18167
  "left",
18151
18168
  "right"
18152
18169
  ]>;
18170
+ /**
18171
+ * Where the tenant logo renders on the page.
18172
+ * - "widget" (default): inside the widget card via the widget's own header.
18173
+ * - "chip": as a floating pill in the top-left page corner. The widget's
18174
+ * internal logo is suppressed when this is selected.
18175
+ * - "none": no logo on the page or in the widget.
18176
+ * Optional for backwards compatibility; absent values mean "widget".
18177
+ */
18178
+ logo_placement: z.ZodOptional<z.ZodEnum<[
18179
+ "widget",
18180
+ "chip",
18181
+ "none"
18182
+ ]>>;
18153
18183
  }, "strip", z.ZodTypeAny, {
18154
18184
  background_color: string;
18155
18185
  background_image_url: string;
18156
18186
  page_layout: "center" | "left" | "right";
18187
+ logo_placement?: "none" | "widget" | "chip" | undefined;
18157
18188
  }, {
18158
18189
  background_color: string;
18159
18190
  background_image_url: string;
18160
18191
  page_layout: "center" | "left" | "right";
18192
+ logo_placement?: "none" | "widget" | "chip" | undefined;
18161
18193
  }>;
18162
18194
  widget: z.ZodObject<{
18163
18195
  header_text_alignment: z.ZodEnum<[
@@ -18195,6 +18227,7 @@ declare const themeInsertSchema: z.ZodObject<{
18195
18227
  background_color: string;
18196
18228
  background_image_url: string;
18197
18229
  page_layout: "center" | "left" | "right";
18230
+ logo_placement?: "none" | "widget" | "chip" | undefined;
18198
18231
  };
18199
18232
  colors: {
18200
18233
  error: string;
@@ -18217,6 +18250,13 @@ declare const themeInsertSchema: z.ZodObject<{
18217
18250
  widget_background: string;
18218
18251
  widget_border: string;
18219
18252
  };
18253
+ widget: {
18254
+ logo_url: string;
18255
+ header_text_alignment: "center" | "left" | "right";
18256
+ logo_height: number;
18257
+ logo_position: "none" | "center" | "left" | "right";
18258
+ social_buttons_layout: "bottom" | "top";
18259
+ };
18220
18260
  borders: {
18221
18261
  button_border_radius: number;
18222
18262
  button_border_weight: number;
@@ -18258,18 +18298,12 @@ declare const themeInsertSchema: z.ZodObject<{
18258
18298
  bold: boolean;
18259
18299
  };
18260
18300
  };
18261
- widget: {
18262
- logo_url: string;
18263
- header_text_alignment: "center" | "left" | "right";
18264
- logo_height: number;
18265
- logo_position: "none" | "center" | "left" | "right";
18266
- social_buttons_layout: "bottom" | "top";
18267
- };
18268
18301
  }, {
18269
18302
  page_background: {
18270
18303
  background_color: string;
18271
18304
  background_image_url: string;
18272
18305
  page_layout: "center" | "left" | "right";
18306
+ logo_placement?: "none" | "widget" | "chip" | undefined;
18273
18307
  };
18274
18308
  colors: {
18275
18309
  error: string;
@@ -18292,6 +18326,13 @@ declare const themeInsertSchema: z.ZodObject<{
18292
18326
  widget_background: string;
18293
18327
  widget_border: string;
18294
18328
  };
18329
+ widget: {
18330
+ logo_url: string;
18331
+ header_text_alignment: "center" | "left" | "right";
18332
+ logo_height: number;
18333
+ logo_position: "none" | "center" | "left" | "right";
18334
+ social_buttons_layout: "bottom" | "top";
18335
+ };
18295
18336
  borders: {
18296
18337
  button_border_radius: number;
18297
18338
  button_border_weight: number;
@@ -18333,13 +18374,6 @@ declare const themeInsertSchema: z.ZodObject<{
18333
18374
  bold: boolean;
18334
18375
  };
18335
18376
  };
18336
- widget: {
18337
- logo_url: string;
18338
- header_text_alignment: "center" | "left" | "right";
18339
- logo_height: number;
18340
- logo_position: "none" | "center" | "left" | "right";
18341
- social_buttons_layout: "bottom" | "top";
18342
- };
18343
18377
  }>;
18344
18378
  export type ThemeInsert = z.input<typeof themeInsertSchema>;
18345
18379
  declare const themeSchema: z.ZodObject<{
@@ -18580,14 +18614,29 @@ declare const themeSchema: z.ZodObject<{
18580
18614
  "left",
18581
18615
  "right"
18582
18616
  ]>;
18617
+ /**
18618
+ * Where the tenant logo renders on the page.
18619
+ * - "widget" (default): inside the widget card via the widget's own header.
18620
+ * - "chip": as a floating pill in the top-left page corner. The widget's
18621
+ * internal logo is suppressed when this is selected.
18622
+ * - "none": no logo on the page or in the widget.
18623
+ * Optional for backwards compatibility; absent values mean "widget".
18624
+ */
18625
+ logo_placement: z.ZodOptional<z.ZodEnum<[
18626
+ "widget",
18627
+ "chip",
18628
+ "none"
18629
+ ]>>;
18583
18630
  }, "strip", z.ZodTypeAny, {
18584
18631
  background_color: string;
18585
18632
  background_image_url: string;
18586
18633
  page_layout: "center" | "left" | "right";
18634
+ logo_placement?: "none" | "widget" | "chip" | undefined;
18587
18635
  }, {
18588
18636
  background_color: string;
18589
18637
  background_image_url: string;
18590
18638
  page_layout: "center" | "left" | "right";
18639
+ logo_placement?: "none" | "widget" | "chip" | undefined;
18591
18640
  }>;
18592
18641
  widget: z.ZodObject<{
18593
18642
  header_text_alignment: z.ZodEnum<[
@@ -18627,6 +18676,7 @@ declare const themeSchema: z.ZodObject<{
18627
18676
  background_color: string;
18628
18677
  background_image_url: string;
18629
18678
  page_layout: "center" | "left" | "right";
18679
+ logo_placement?: "none" | "widget" | "chip" | undefined;
18630
18680
  };
18631
18681
  colors: {
18632
18682
  error: string;
@@ -18649,6 +18699,13 @@ declare const themeSchema: z.ZodObject<{
18649
18699
  widget_background: string;
18650
18700
  widget_border: string;
18651
18701
  };
18702
+ widget: {
18703
+ logo_url: string;
18704
+ header_text_alignment: "center" | "left" | "right";
18705
+ logo_height: number;
18706
+ logo_position: "none" | "center" | "left" | "right";
18707
+ social_buttons_layout: "bottom" | "top";
18708
+ };
18652
18709
  borders: {
18653
18710
  button_border_radius: number;
18654
18711
  button_border_weight: number;
@@ -18690,19 +18747,13 @@ declare const themeSchema: z.ZodObject<{
18690
18747
  bold: boolean;
18691
18748
  };
18692
18749
  };
18693
- widget: {
18694
- logo_url: string;
18695
- header_text_alignment: "center" | "left" | "right";
18696
- logo_height: number;
18697
- logo_position: "none" | "center" | "left" | "right";
18698
- social_buttons_layout: "bottom" | "top";
18699
- };
18700
18750
  themeId: string;
18701
18751
  }, {
18702
18752
  page_background: {
18703
18753
  background_color: string;
18704
18754
  background_image_url: string;
18705
18755
  page_layout: "center" | "left" | "right";
18756
+ logo_placement?: "none" | "widget" | "chip" | undefined;
18706
18757
  };
18707
18758
  colors: {
18708
18759
  error: string;
@@ -18725,6 +18776,13 @@ declare const themeSchema: z.ZodObject<{
18725
18776
  widget_background: string;
18726
18777
  widget_border: string;
18727
18778
  };
18779
+ widget: {
18780
+ logo_url: string;
18781
+ header_text_alignment: "center" | "left" | "right";
18782
+ logo_height: number;
18783
+ logo_position: "none" | "center" | "left" | "right";
18784
+ social_buttons_layout: "bottom" | "top";
18785
+ };
18728
18786
  borders: {
18729
18787
  button_border_radius: number;
18730
18788
  button_border_weight: number;
@@ -18766,13 +18824,6 @@ declare const themeSchema: z.ZodObject<{
18766
18824
  bold: boolean;
18767
18825
  };
18768
18826
  };
18769
- widget: {
18770
- logo_url: string;
18771
- header_text_alignment: "center" | "left" | "right";
18772
- logo_height: number;
18773
- logo_position: "none" | "center" | "left" | "right";
18774
- social_buttons_layout: "bottom" | "top";
18775
- };
18776
18827
  themeId: string;
18777
18828
  }>;
18778
18829
  export type Theme = z.infer<typeof themeSchema>;
@@ -20492,6 +20543,33 @@ export interface OutboxAdapter {
20492
20543
  /** Delete processed events older than the given ISO date. Returns count deleted. */
20493
20544
  cleanup(olderThan: string): Promise<number>;
20494
20545
  }
20546
+ /**
20547
+ * Logical buckets that consumers can rate-limit against. Backends decide
20548
+ * how each scope is enforced (e.g. mapping to a separate Cloudflare Workers
20549
+ * Rate Limiter binding with its own deploy-time limit/period).
20550
+ */
20551
+ export type RateLimitScope = "pre-login" | "pre-user-registration" | "brute-force";
20552
+ export interface RateLimitDecision {
20553
+ /** True if the request is allowed; false if the limit was exceeded. */
20554
+ allowed: boolean;
20555
+ /** Optional retry-after hint in seconds (omitted if the backend can't tell). */
20556
+ retryAfterSeconds?: number;
20557
+ }
20558
+ export interface RateLimitAdapter {
20559
+ /**
20560
+ * Consume one unit of quota for the given scope and key.
20561
+ *
20562
+ * The numeric threshold and window are backend-specific; the
20563
+ * Cloudflare Workers Rate Limiter binding bakes them in at deploy
20564
+ * time and cannot honor a per-tenant override. Callers that need
20565
+ * per-tenant `max_attempts` should layer their own counter on top.
20566
+ *
20567
+ * Returns `{ allowed: true }` if the scope is not configured, so
20568
+ * callers can opt in by configuring backends without changing call
20569
+ * sites.
20570
+ */
20571
+ consume(scope: RateLimitScope, key: string): Promise<RateLimitDecision>;
20572
+ }
20495
20573
  /**
20496
20574
  * Parameters for cleaning up expired sessions
20497
20575
  */
@@ -20546,6 +20624,13 @@ export interface DataAdapters {
20546
20624
  smsService?: SmsServiceAdapter;
20547
20625
  /** Optional outbox adapter for transactional audit event capture */
20548
20626
  outbox?: OutboxAdapter;
20627
+ /**
20628
+ * Optional rate-limit adapter for short-window abuse protection
20629
+ * (e.g. backed by the Cloudflare Workers Rate Limiter binding).
20630
+ * Auth flows treat this as opt-in: when undefined, no extra
20631
+ * throttling is applied.
20632
+ */
20633
+ rateLimit?: RateLimitAdapter;
20549
20634
  /**
20550
20635
  * Execute a callback within a database transaction.
20551
20636
  * The callback receives a set of adapters scoped to the transaction.
@@ -21567,7 +21652,7 @@ declare const sqlLogSchema: z.ZodObject<{
21567
21652
  time_zone: z.ZodOptional<z.ZodString>;
21568
21653
  continent_code: z.ZodOptional<z.ZodString>;
21569
21654
  log_id: z.ZodString;
21570
- type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
21655
+ type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
21571
21656
  date: z.ZodString;
21572
21657
  description: z.ZodOptional<z.ZodString>;
21573
21658
  ip: z.ZodOptional<z.ZodString>;
@@ -21605,7 +21690,7 @@ declare const sqlLogSchema: z.ZodObject<{
21605
21690
  continent_code: string;
21606
21691
  }>>;
21607
21692
  }, "strip", z.ZodTypeAny, {
21608
- type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
21693
+ type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
21609
21694
  date: string;
21610
21695
  tenant_id: string;
21611
21696
  log_id: string;
@@ -21790,6 +21875,7 @@ declare const sqlTenantSchema: z.ZodObject<{
21790
21875
  }>>;
21791
21876
  allowed_logout_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21792
21877
  default_redirection_uri: z.ZodOptional<z.ZodString>;
21878
+ default_client_id: z.ZodOptional<z.ZodString>;
21793
21879
  enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21794
21880
  default_directory: z.ZodOptional<z.ZodString>;
21795
21881
  error_page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -22380,6 +22466,7 @@ declare const sqlTenantSchema: z.ZodObject<{
22380
22466
  } | undefined;
22381
22467
  allowed_logout_urls?: string[] | undefined;
22382
22468
  default_redirection_uri?: string | undefined;
22469
+ default_client_id?: string | undefined;
22383
22470
  enabled_locales?: string[] | undefined;
22384
22471
  default_directory?: string | undefined;
22385
22472
  error_page?: {
@@ -22547,6 +22634,7 @@ declare const sqlTenantSchema: z.ZodObject<{
22547
22634
  } | undefined;
22548
22635
  allowed_logout_urls?: string[] | undefined;
22549
22636
  default_redirection_uri?: string | undefined;
22637
+ default_client_id?: string | undefined;
22550
22638
  enabled_locales?: string[] | undefined;
22551
22639
  default_directory?: string | undefined;
22552
22640
  error_page?: {
@@ -22979,7 +23067,9 @@ declare const sqlClientSchema: z.ZodObject<{
22979
23067
  token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
22980
23068
  "none",
22981
23069
  "client_secret_post",
22982
- "client_secret_basic"
23070
+ "client_secret_basic",
23071
+ "client_secret_jwt",
23072
+ "private_key_jwt"
22983
23073
  ]>>>;
22984
23074
  initiate_login_uri: z.ZodOptional<z.ZodString>;
22985
23075
  organization_usage: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
@@ -23056,7 +23146,7 @@ declare const sqlClientSchema: z.ZodObject<{
23056
23146
  custom_login_page?: string | undefined;
23057
23147
  custom_login_page_preview?: string | undefined;
23058
23148
  form_template?: string | undefined;
23059
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
23149
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
23060
23150
  initiate_login_uri?: string | undefined;
23061
23151
  organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
23062
23152
  compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
@@ -23112,7 +23202,7 @@ declare const sqlClientSchema: z.ZodObject<{
23112
23202
  custom_login_page?: string | undefined;
23113
23203
  custom_login_page_preview?: string | undefined;
23114
23204
  form_template?: string | undefined;
23115
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
23205
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
23116
23206
  initiate_login_uri?: string | undefined;
23117
23207
  organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
23118
23208
  compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;