authhero 9.40.0 → 9.42.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.
Files changed (84) hide show
  1. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  2. package/dist/assets/u/widget/index.esm.js +1 -1
  3. package/dist/assets/u/widget/p-6774edd2.entry.js +1 -0
  4. package/dist/authhero.cjs +114 -111
  5. package/dist/authhero.d.ts +707 -431
  6. package/dist/authhero.mjs +16567 -12663
  7. package/dist/{mfa-BlaRHQgI.js → mfa-C8qBEQeH.js} +2 -2
  8. package/dist/{mfa-Ddp9JT1l.mjs → mfa-CVF4Wbdz.mjs} +106 -106
  9. package/dist/mfa-attempts-CzGjIGzD.js +395 -0
  10. package/dist/{mfa-attempts-YsmteBp0.mjs → mfa-attempts-sV0Xs59R.mjs} +5651 -5026
  11. package/dist/{passkey-enrollment-CLg7RteL.js → passkey-enrollment-CAb2zWEF.js} +1 -1
  12. package/dist/tsconfig.types.tsbuildinfo +1 -1
  13. package/dist/types/authentication-flows/mfa-attempts.d.ts +7 -0
  14. package/dist/types/authentication-flows/passwordless.d.ts +2 -2
  15. package/dist/types/generated/locale-types.d.ts +6 -0
  16. package/dist/types/helpers/client.d.ts +26 -0
  17. package/dist/types/helpers/login-migration.d.ts +56 -0
  18. package/dist/types/helpers/login-version.d.ts +18 -0
  19. package/dist/types/helpers/management-audience.d.ts +11 -0
  20. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  21. package/dist/types/helpers/saml-connection-options.d.ts +24 -0
  22. package/dist/types/helpers/saml-request-signature.d.ts +36 -0
  23. package/dist/types/hooks/codehooks.d.ts +45 -0
  24. package/dist/types/hooks/lifecycle-codehooks.d.ts +1 -1
  25. package/dist/types/index.d.ts +426 -207
  26. package/dist/types/routes/auth-api/authorize.d.ts +13 -13
  27. package/dist/types/routes/auth-api/callback.d.ts +42 -6
  28. package/dist/types/routes/auth-api/device.d.ts +13 -13
  29. package/dist/types/routes/auth-api/index.d.ts +103 -67
  30. package/dist/types/routes/auth-api/logout.d.ts +2 -2
  31. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  32. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  33. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  34. package/dist/types/routes/auth-api/token.d.ts +12 -12
  35. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  36. package/dist/types/routes/management-api/action-triggers.d.ts +25 -25
  37. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  38. package/dist/types/routes/management-api/branding.d.ts +3 -3
  39. package/dist/types/routes/management-api/clients.d.ts +30 -0
  40. package/dist/types/routes/management-api/connections.d.ts +91 -1
  41. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  42. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  43. package/dist/types/routes/management-api/failed-events.d.ts +2 -2
  44. package/dist/types/routes/management-api/forms.d.ts +152 -152
  45. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  46. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  47. package/dist/types/routes/management-api/hooks.d.ts +21 -21
  48. package/dist/types/routes/management-api/index.d.ts +233 -113
  49. package/dist/types/routes/management-api/keys.d.ts +16 -16
  50. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  51. package/dist/types/routes/management-api/logs.d.ts +4 -4
  52. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  53. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  54. package/dist/types/routes/management-api/prompts.d.ts +6 -6
  55. package/dist/types/routes/management-api/roles.d.ts +1 -1
  56. package/dist/types/routes/management-api/rollouts.d.ts +6 -6
  57. package/dist/types/routes/management-api/self-service-profiles.d.ts +7 -7
  58. package/dist/types/routes/management-api/tenant-operations.d.ts +5 -5
  59. package/dist/types/routes/management-api/tenants.d.ts +13 -9
  60. package/dist/types/routes/management-api/users.d.ts +35 -35
  61. package/dist/types/routes/saml/index.d.ts +72 -9
  62. package/dist/types/routes/saml/samlp.d.ts +72 -9
  63. package/dist/types/routes/universal-login/common.d.ts +2 -0
  64. package/dist/types/routes/universal-login/continue.d.ts +4 -4
  65. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  66. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  67. package/dist/types/routes/universal-login/impersonate.d.ts +4 -4
  68. package/dist/types/routes/universal-login/index.d.ts +8 -8
  69. package/dist/types/routes/universal-login/screens/login-otp.d.ts +79 -5
  70. package/dist/types/routes/universal-login/screens/magic-link-sent.d.ts +8 -1
  71. package/dist/types/routes/universal-login/u2-index.d.ts +9 -9
  72. package/dist/types/routes/universal-login/u2-routes.d.ts +8 -7
  73. package/dist/types/state-machines/login-session-data.d.ts +36 -1
  74. package/dist/types/state-machines/login-session.d.ts +17 -1
  75. package/dist/types/strategies/index.d.ts +2 -0
  76. package/dist/types/strategies/samlp.d.ts +58 -0
  77. package/dist/types/types/AuthHeroConfig.d.ts +15 -1
  78. package/dist/types/types/Bindings.d.ts +2 -1
  79. package/dist/types/types/Variables.d.ts +2 -0
  80. package/dist/types/utils/ssrf-fetch.d.ts +2 -0
  81. package/dist/types/variables.d.ts +7 -6
  82. package/package.json +9 -6
  83. package/dist/assets/u/widget/p-d0eb5acc.entry.js +0 -1
  84. package/dist/mfa-attempts-bPJnyu2c.js +0 -385
@@ -83,6 +83,7 @@ export declare const tenantRoutes: OpenAPIHono<{
83
83
  use_scope_descriptions_for_consent?: boolean | undefined;
84
84
  inherit_global_permissions_in_organizations?: boolean | undefined;
85
85
  restrict_undefined_scopes?: boolean | undefined;
86
+ universal_login_version?: "1" | "2" | undefined;
86
87
  } | undefined;
87
88
  sandbox_version?: string | undefined;
88
89
  legacy_sandbox_version?: string | undefined;
@@ -218,17 +219,15 @@ export declare const tenantRoutes: OpenAPIHono<{
218
219
  };
219
220
  } & {
220
221
  json: {
221
- allowed_logout_urls?: string[] | undefined;
222
- oidc_logout?: {
223
- rp_logout_end_session_endpoint_discovery?: boolean | undefined;
224
- } | undefined;
225
- default_organization?: string | undefined;
226
- audience?: string | undefined;
227
222
  id?: string | undefined;
223
+ mtls?: {
224
+ enable_endpoint_aliases?: boolean | undefined;
225
+ } | null | undefined;
228
226
  parent_tenant_id?: string | null | undefined;
229
227
  config_sync?: "inherit-on-read" | "synced" | "detached" | null | undefined;
230
228
  config_sync_hash?: string | null | undefined;
231
229
  config_synced_at?: string | null | undefined;
230
+ audience?: string | undefined;
232
231
  friendly_name?: string | undefined;
233
232
  picture_url?: string | undefined;
234
233
  support_email?: string | undefined;
@@ -242,6 +241,7 @@ export declare const tenantRoutes: OpenAPIHono<{
242
241
  session_cookie?: {
243
242
  mode?: "persistent" | "non-persistent" | undefined;
244
243
  } | undefined;
244
+ allowed_logout_urls?: string[] | undefined;
245
245
  default_redirection_uri?: string | undefined;
246
246
  default_client_id?: string | undefined;
247
247
  enabled_locales?: string[] | undefined;
@@ -290,6 +290,7 @@ export declare const tenantRoutes: OpenAPIHono<{
290
290
  use_scope_descriptions_for_consent?: boolean | undefined;
291
291
  inherit_global_permissions_in_organizations?: boolean | undefined;
292
292
  restrict_undefined_scopes?: boolean | undefined;
293
+ universal_login_version?: "1" | "2" | undefined;
293
294
  } | undefined;
294
295
  sandbox_version?: string | undefined;
295
296
  legacy_sandbox_version?: string | undefined;
@@ -315,15 +316,16 @@ export declare const tenantRoutes: OpenAPIHono<{
315
316
  } | undefined;
316
317
  } | null | undefined;
317
318
  default_audience?: string | undefined;
319
+ default_organization?: string | undefined;
318
320
  sessions?: {
319
321
  oidc_logout_prompt_enabled?: boolean | undefined;
320
322
  } | undefined;
323
+ oidc_logout?: {
324
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
325
+ } | undefined;
321
326
  allow_organization_name_in_authentication_api?: boolean | undefined;
322
327
  customize_mfa_in_postlogin_action?: boolean | undefined;
323
328
  acr_values_supported?: string[] | undefined;
324
- mtls?: {
325
- enable_endpoint_aliases?: boolean | undefined;
326
- } | null | undefined;
327
329
  pushed_authorization_requests_supported?: boolean | undefined;
328
330
  authorization_response_iss_parameter_supported?: boolean | undefined;
329
331
  deployment_type?: "shared" | "wfp" | undefined;
@@ -473,6 +475,7 @@ export declare const tenantRoutes: OpenAPIHono<{
473
475
  use_scope_descriptions_for_consent?: boolean | undefined;
474
476
  inherit_global_permissions_in_organizations?: boolean | undefined;
475
477
  restrict_undefined_scopes?: boolean | undefined;
478
+ universal_login_version?: "1" | "2" | undefined;
476
479
  } | undefined;
477
480
  sandbox_version?: string | undefined;
478
481
  legacy_sandbox_version?: string | undefined;
@@ -682,6 +685,7 @@ export declare const tenantRoutes: OpenAPIHono<{
682
685
  use_scope_descriptions_for_consent?: boolean | undefined;
683
686
  inherit_global_permissions_in_organizations?: boolean | undefined;
684
687
  restrict_undefined_scopes?: boolean | undefined;
688
+ universal_login_version?: "1" | "2" | undefined;
685
689
  } | undefined;
686
690
  sandbox_version?: string | undefined;
687
691
  legacy_sandbox_version?: string | undefined;
@@ -890,10 +890,10 @@ export declare const userRoutes: OpenAPIHono<{
890
890
  };
891
891
  };
892
892
  output: {
893
- user_id: string;
894
- id: string;
895
893
  created_at: string;
894
+ id: string;
896
895
  client_id: string;
896
+ user_id: string;
897
897
  rotating: boolean;
898
898
  login_id: string;
899
899
  device: {
@@ -908,6 +908,12 @@ export declare const userRoutes: OpenAPIHono<{
908
908
  audience: string;
909
909
  scopes: string;
910
910
  }[];
911
+ revoked_at?: string | undefined;
912
+ session_transfer?: {
913
+ client_id: string;
914
+ family_id: string;
915
+ cascade_revocation: boolean;
916
+ } | undefined;
911
917
  expires_at?: string | undefined;
912
918
  session_id?: string | undefined;
913
919
  auth_connection?: string | undefined;
@@ -915,24 +921,15 @@ export declare const userRoutes: OpenAPIHono<{
915
921
  strategy: string;
916
922
  strategy_type: string;
917
923
  } | undefined;
918
- session_transfer?: {
919
- client_id: string;
920
- family_id: string;
921
- cascade_revocation: boolean;
922
- } | undefined;
923
924
  organization?: string | undefined;
924
- revoked_at?: string | undefined;
925
925
  idle_expires_at?: string | undefined;
926
926
  last_exchanged_at?: string | undefined;
927
927
  }[] | {
928
- start: number;
929
- limit: number;
930
- length: number;
931
928
  tokens: {
932
- user_id: string;
933
- id: string;
934
929
  created_at: string;
930
+ id: string;
935
931
  client_id: string;
932
+ user_id: string;
936
933
  rotating: boolean;
937
934
  login_id: string;
938
935
  device: {
@@ -947,6 +944,12 @@ export declare const userRoutes: OpenAPIHono<{
947
944
  audience: string;
948
945
  scopes: string;
949
946
  }[];
947
+ revoked_at?: string | undefined;
948
+ session_transfer?: {
949
+ client_id: string;
950
+ family_id: string;
951
+ cascade_revocation: boolean;
952
+ } | undefined;
950
953
  expires_at?: string | undefined;
951
954
  session_id?: string | undefined;
952
955
  auth_connection?: string | undefined;
@@ -954,24 +957,20 @@ export declare const userRoutes: OpenAPIHono<{
954
957
  strategy: string;
955
958
  strategy_type: string;
956
959
  } | undefined;
957
- session_transfer?: {
958
- client_id: string;
959
- family_id: string;
960
- cascade_revocation: boolean;
961
- } | undefined;
962
960
  organization?: string | undefined;
963
- revoked_at?: string | undefined;
964
961
  idle_expires_at?: string | undefined;
965
962
  last_exchanged_at?: string | undefined;
966
963
  }[];
967
- total?: number | undefined;
968
964
  next?: string | undefined;
969
965
  } | {
966
+ start: number;
967
+ limit: number;
968
+ length: number;
970
969
  tokens: {
971
- user_id: string;
972
- id: string;
973
970
  created_at: string;
971
+ id: string;
974
972
  client_id: string;
973
+ user_id: string;
975
974
  rotating: boolean;
976
975
  login_id: string;
977
976
  device: {
@@ -986,6 +985,12 @@ export declare const userRoutes: OpenAPIHono<{
986
985
  audience: string;
987
986
  scopes: string;
988
987
  }[];
988
+ revoked_at?: string | undefined;
989
+ session_transfer?: {
990
+ client_id: string;
991
+ family_id: string;
992
+ cascade_revocation: boolean;
993
+ } | undefined;
989
994
  expires_at?: string | undefined;
990
995
  session_id?: string | undefined;
991
996
  auth_connection?: string | undefined;
@@ -993,16 +998,11 @@ export declare const userRoutes: OpenAPIHono<{
993
998
  strategy: string;
994
999
  strategy_type: string;
995
1000
  } | undefined;
996
- session_transfer?: {
997
- client_id: string;
998
- family_id: string;
999
- cascade_revocation: boolean;
1000
- } | undefined;
1001
1001
  organization?: string | undefined;
1002
- revoked_at?: string | undefined;
1003
1002
  idle_expires_at?: string | undefined;
1004
1003
  last_exchanged_at?: string | undefined;
1005
1004
  }[];
1005
+ total?: number | undefined;
1006
1006
  next?: string | undefined;
1007
1007
  };
1008
1008
  outputFormat: "json";
@@ -1081,7 +1081,7 @@ export declare const userRoutes: OpenAPIHono<{
1081
1081
  };
1082
1082
  };
1083
1083
  output: {
1084
- type: "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "depnote" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "fh" | "fimp" | "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" | "i" | "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" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
1084
+ type: "fc" | "fd" | "fn" | "i" | "sapi" | "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" | "cfgdiff" | "cfgdrift" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "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";
1085
1085
  date: string;
1086
1086
  isMobile: boolean;
1087
1087
  log_id: string;
@@ -1116,8 +1116,11 @@ export declare const userRoutes: OpenAPIHono<{
1116
1116
  continent_code: string;
1117
1117
  } | undefined;
1118
1118
  }[] | {
1119
+ start: number;
1120
+ limit: number;
1121
+ length: number;
1119
1122
  logs: {
1120
- type: "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "depnote" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "fh" | "fimp" | "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" | "i" | "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" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
1123
+ type: "fc" | "fd" | "fn" | "i" | "sapi" | "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" | "cfgdiff" | "cfgdrift" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "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";
1121
1124
  date: string;
1122
1125
  isMobile: boolean;
1123
1126
  log_id: string;
@@ -1152,13 +1155,11 @@ export declare const userRoutes: OpenAPIHono<{
1152
1155
  continent_code: string;
1153
1156
  } | undefined;
1154
1157
  }[];
1158
+ total?: number | undefined;
1155
1159
  next?: string | undefined;
1156
1160
  } | {
1157
- start: number;
1158
- limit: number;
1159
- length: number;
1160
1161
  logs: {
1161
- type: "cs" | "fi" | "sv" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "depnote" | "cfgdiff" | "cfgdrift" | "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" | "festft" | "fh" | "fimp" | "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" | "i" | "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" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
1162
+ type: "fc" | "fd" | "fn" | "i" | "sapi" | "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" | "cfgdiff" | "cfgdrift" | "f" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "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" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "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";
1162
1163
  date: string;
1163
1164
  isMobile: boolean;
1164
1165
  log_id: string;
@@ -1193,7 +1194,6 @@ export declare const userRoutes: OpenAPIHono<{
1193
1194
  continent_code: string;
1194
1195
  } | undefined;
1195
1196
  }[];
1196
- total?: number | undefined;
1197
1197
  next?: string | undefined;
1198
1198
  };
1199
1199
  outputFormat: "json";
@@ -4,6 +4,37 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
4
4
  Bindings: Bindings;
5
5
  Variables: Variables;
6
6
  }, import("hono/types").MergeSchemaPath<{
7
+ "/metadata": {
8
+ $get: {
9
+ input: {
10
+ query: {
11
+ connection: string;
12
+ };
13
+ };
14
+ output: Response;
15
+ outputFormat: "json";
16
+ status: import("hono/utils/http-status").StatusCode;
17
+ } | {
18
+ input: {
19
+ query: {
20
+ connection: string;
21
+ };
22
+ };
23
+ output: {};
24
+ outputFormat: string;
25
+ status: 400;
26
+ } | {
27
+ input: {
28
+ query: {
29
+ connection: string;
30
+ };
31
+ };
32
+ output: {};
33
+ outputFormat: string;
34
+ status: 404;
35
+ };
36
+ };
37
+ } & {
7
38
  "/metadata/:client_id": {
8
39
  $get: {
9
40
  input: {
@@ -40,9 +71,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
40
71
  Signature?: string | undefined;
41
72
  };
42
73
  };
43
- output: Response;
44
- outputFormat: "json";
45
- status: import("hono/utils/http-status").StatusCode;
74
+ output: {};
75
+ outputFormat: string;
76
+ status: 400;
46
77
  } | {
47
78
  input: {
48
79
  param: {
@@ -58,7 +89,39 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
58
89
  };
59
90
  output: {};
60
91
  outputFormat: string;
92
+ status: 302;
93
+ };
94
+ };
95
+ } & {
96
+ "/:client_id": {
97
+ $post: {
98
+ input: {
99
+ param: {
100
+ client_id: string;
101
+ };
102
+ } & {
103
+ form: {
104
+ SAMLRequest: string;
105
+ RelayState?: string | undefined;
106
+ };
107
+ };
108
+ output: {};
109
+ outputFormat: string;
61
110
  status: 400;
111
+ } | {
112
+ input: {
113
+ param: {
114
+ client_id: string;
115
+ };
116
+ } & {
117
+ form: {
118
+ SAMLRequest: string;
119
+ RelayState?: string | undefined;
120
+ };
121
+ };
122
+ output: {};
123
+ outputFormat: string;
124
+ status: 302;
62
125
  };
63
126
  };
64
127
  } & {
@@ -78,7 +141,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
78
141
  };
79
142
  output: {};
80
143
  outputFormat: string;
81
- status: 200;
144
+ status: 400;
82
145
  } | {
83
146
  input: {
84
147
  param: {
@@ -94,7 +157,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
94
157
  };
95
158
  output: {};
96
159
  outputFormat: string;
97
- status: 302;
160
+ status: 200;
98
161
  } | {
99
162
  input: {
100
163
  param: {
@@ -110,7 +173,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
110
173
  };
111
174
  output: {};
112
175
  outputFormat: string;
113
- status: 400;
176
+ status: 302;
114
177
  };
115
178
  };
116
179
  } & {
@@ -128,7 +191,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
128
191
  };
129
192
  output: {};
130
193
  outputFormat: string;
131
- status: 200;
194
+ status: 400;
132
195
  } | {
133
196
  input: {
134
197
  param: {
@@ -142,7 +205,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
142
205
  };
143
206
  output: {};
144
207
  outputFormat: string;
145
- status: 302;
208
+ status: 200;
146
209
  } | {
147
210
  input: {
148
211
  param: {
@@ -156,7 +219,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
156
219
  };
157
220
  output: {};
158
221
  outputFormat: string;
159
- status: 400;
222
+ status: 302;
160
223
  };
161
224
  };
162
225
  }, "/">, "/">;
@@ -4,6 +4,37 @@ export declare const samlpRoutes: OpenAPIHono<{
4
4
  Bindings: Bindings;
5
5
  Variables: Variables;
6
6
  }, {
7
+ "/metadata": {
8
+ $get: {
9
+ input: {
10
+ query: {
11
+ connection: string;
12
+ };
13
+ };
14
+ output: Response;
15
+ outputFormat: "json";
16
+ status: import("hono/utils/http-status").StatusCode;
17
+ } | {
18
+ input: {
19
+ query: {
20
+ connection: string;
21
+ };
22
+ };
23
+ output: {};
24
+ outputFormat: string;
25
+ status: 400;
26
+ } | {
27
+ input: {
28
+ query: {
29
+ connection: string;
30
+ };
31
+ };
32
+ output: {};
33
+ outputFormat: string;
34
+ status: 404;
35
+ };
36
+ };
37
+ } & {
7
38
  "/metadata/:client_id": {
8
39
  $get: {
9
40
  input: {
@@ -40,9 +71,9 @@ export declare const samlpRoutes: OpenAPIHono<{
40
71
  Signature?: string | undefined;
41
72
  };
42
73
  };
43
- output: Response;
44
- outputFormat: "json";
45
- status: import("hono/utils/http-status").StatusCode;
74
+ output: {};
75
+ outputFormat: string;
76
+ status: 400;
46
77
  } | {
47
78
  input: {
48
79
  param: {
@@ -58,7 +89,39 @@ export declare const samlpRoutes: OpenAPIHono<{
58
89
  };
59
90
  output: {};
60
91
  outputFormat: string;
92
+ status: 302;
93
+ };
94
+ };
95
+ } & {
96
+ "/:client_id": {
97
+ $post: {
98
+ input: {
99
+ param: {
100
+ client_id: string;
101
+ };
102
+ } & {
103
+ form: {
104
+ SAMLRequest: string;
105
+ RelayState?: string | undefined;
106
+ };
107
+ };
108
+ output: {};
109
+ outputFormat: string;
61
110
  status: 400;
111
+ } | {
112
+ input: {
113
+ param: {
114
+ client_id: string;
115
+ };
116
+ } & {
117
+ form: {
118
+ SAMLRequest: string;
119
+ RelayState?: string | undefined;
120
+ };
121
+ };
122
+ output: {};
123
+ outputFormat: string;
124
+ status: 302;
62
125
  };
63
126
  };
64
127
  } & {
@@ -78,7 +141,7 @@ export declare const samlpRoutes: OpenAPIHono<{
78
141
  };
79
142
  output: {};
80
143
  outputFormat: string;
81
- status: 200;
144
+ status: 400;
82
145
  } | {
83
146
  input: {
84
147
  param: {
@@ -94,7 +157,7 @@ export declare const samlpRoutes: OpenAPIHono<{
94
157
  };
95
158
  output: {};
96
159
  outputFormat: string;
97
- status: 302;
160
+ status: 200;
98
161
  } | {
99
162
  input: {
100
163
  param: {
@@ -110,7 +173,7 @@ export declare const samlpRoutes: OpenAPIHono<{
110
173
  };
111
174
  output: {};
112
175
  outputFormat: string;
113
- status: 400;
176
+ status: 302;
114
177
  };
115
178
  };
116
179
  } & {
@@ -128,7 +191,7 @@ export declare const samlpRoutes: OpenAPIHono<{
128
191
  };
129
192
  output: {};
130
193
  outputFormat: string;
131
- status: 200;
194
+ status: 400;
132
195
  } | {
133
196
  input: {
134
197
  param: {
@@ -142,7 +205,7 @@ export declare const samlpRoutes: OpenAPIHono<{
142
205
  };
143
206
  output: {};
144
207
  outputFormat: string;
145
- status: 302;
208
+ status: 200;
146
209
  } | {
147
210
  input: {
148
211
  param: {
@@ -156,7 +219,7 @@ export declare const samlpRoutes: OpenAPIHono<{
156
219
  };
157
220
  output: {};
158
221
  outputFormat: string;
159
- status: 400;
222
+ status: 302;
160
223
  };
161
224
  };
162
225
  }, "/">;
@@ -202,6 +202,7 @@ export declare function initJSXRoute(ctx: Context<{
202
202
  use_scope_descriptions_for_consent?: boolean | undefined;
203
203
  inherit_global_permissions_in_organizations?: boolean | undefined;
204
204
  restrict_undefined_scopes?: boolean | undefined;
205
+ universal_login_version?: "1" | "2" | undefined;
205
206
  } | undefined;
206
207
  sandbox_version?: string | undefined;
207
208
  legacy_sandbox_version?: string | undefined;
@@ -656,6 +657,7 @@ export declare function initJSXRouteWithSession(ctx: Context<{
656
657
  use_scope_descriptions_for_consent?: boolean | undefined;
657
658
  inherit_global_permissions_in_organizations?: boolean | undefined;
658
659
  restrict_undefined_scopes?: boolean | undefined;
660
+ universal_login_version?: "1" | "2" | undefined;
659
661
  } | undefined;
660
662
  sandbox_version?: string | undefined;
661
663
  legacy_sandbox_version?: string | undefined;
@@ -13,7 +13,7 @@ export declare const continueRoutes: OpenAPIHono<{
13
13
  };
14
14
  output: {};
15
15
  outputFormat: string;
16
- status: 302;
16
+ status: 400;
17
17
  } | {
18
18
  input: {
19
19
  query: {
@@ -22,7 +22,7 @@ export declare const continueRoutes: OpenAPIHono<{
22
22
  };
23
23
  output: {};
24
24
  outputFormat: string;
25
- status: 400;
25
+ status: 302;
26
26
  } | {
27
27
  input: {
28
28
  query: {
@@ -48,7 +48,7 @@ export declare const u2ContinueRoutes: OpenAPIHono<{
48
48
  };
49
49
  output: {};
50
50
  outputFormat: string;
51
- status: 302;
51
+ status: 400;
52
52
  } | {
53
53
  input: {
54
54
  query: {
@@ -57,7 +57,7 @@ export declare const u2ContinueRoutes: OpenAPIHono<{
57
57
  };
58
58
  output: {};
59
59
  outputFormat: string;
60
- status: 400;
60
+ status: 302;
61
61
  } | {
62
62
  input: {
63
63
  query: {