authhero 9.41.0 → 9.43.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 (74) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +114 -111
  3. package/dist/authhero.d.ts +534 -272
  4. package/dist/authhero.mjs +16200 -12462
  5. package/dist/{mfa-Dx8-AJ6U.js → mfa-C8qBEQeH.js} +2 -2
  6. package/dist/{mfa-CdC-9ysu.mjs → mfa-CVF4Wbdz.mjs} +115 -115
  7. package/dist/mfa-attempts-CzGjIGzD.js +395 -0
  8. package/dist/{mfa-attempts-mBkfX0wf.mjs → mfa-attempts-sV0Xs59R.mjs} +5151 -4696
  9. package/dist/{passkey-enrollment-KQcVF_QM.js → passkey-enrollment-CAb2zWEF.js} +1 -1
  10. package/dist/tsconfig.types.tsbuildinfo +1 -1
  11. package/dist/types/authentication-flows/passwordless.d.ts +2 -2
  12. package/dist/types/helpers/client.d.ts +26 -0
  13. package/dist/types/helpers/login-migration.d.ts +56 -0
  14. package/dist/types/helpers/login-version.d.ts +18 -0
  15. package/dist/types/helpers/management-audience.d.ts +11 -0
  16. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  17. package/dist/types/helpers/saml-connection-options.d.ts +24 -0
  18. package/dist/types/helpers/saml-request-signature.d.ts +36 -0
  19. package/dist/types/hooks/lifecycle-codehooks.d.ts +1 -1
  20. package/dist/types/index.d.ts +490 -271
  21. package/dist/types/routes/auth-api/authorize.d.ts +13 -13
  22. package/dist/types/routes/auth-api/callback.d.ts +42 -6
  23. package/dist/types/routes/auth-api/device.d.ts +21 -21
  24. package/dist/types/routes/auth-api/index.d.ts +113 -77
  25. package/dist/types/routes/auth-api/logout.d.ts +2 -2
  26. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  27. package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
  28. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  29. package/dist/types/routes/auth-api/token.d.ts +12 -12
  30. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  31. package/dist/types/routes/management-api/action-triggers.d.ts +2 -2
  32. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  33. package/dist/types/routes/management-api/branding-uploads.d.ts +4 -4
  34. package/dist/types/routes/management-api/branding.d.ts +19 -19
  35. package/dist/types/routes/management-api/client-registration-tokens.d.ts +3 -3
  36. package/dist/types/routes/management-api/clients.d.ts +38 -8
  37. package/dist/types/routes/management-api/connections.d.ts +90 -0
  38. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  39. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  40. package/dist/types/routes/management-api/failed-events.d.ts +4 -4
  41. package/dist/types/routes/management-api/forms.d.ts +8 -8
  42. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  43. package/dist/types/routes/management-api/hooks.d.ts +21 -21
  44. package/dist/types/routes/management-api/index.d.ts +287 -167
  45. package/dist/types/routes/management-api/keys.d.ts +12 -12
  46. package/dist/types/routes/management-api/log-streams.d.ts +12 -12
  47. package/dist/types/routes/management-api/logs.d.ts +4 -4
  48. package/dist/types/routes/management-api/organizations.d.ts +6 -6
  49. package/dist/types/routes/management-api/prompts.d.ts +6 -6
  50. package/dist/types/routes/management-api/self-service-profiles.d.ts +8 -8
  51. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  52. package/dist/types/routes/management-api/tenant-operations.d.ts +5 -5
  53. package/dist/types/routes/management-api/tenants.d.ts +27 -23
  54. package/dist/types/routes/management-api/themes.d.ts +9 -9
  55. package/dist/types/routes/management-api/users.d.ts +26 -26
  56. package/dist/types/routes/saml/index.d.ts +72 -9
  57. package/dist/types/routes/saml/samlp.d.ts +72 -9
  58. package/dist/types/routes/universal-login/common.d.ts +12 -10
  59. package/dist/types/routes/universal-login/continue.d.ts +4 -4
  60. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  61. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  62. package/dist/types/routes/universal-login/impersonate.d.ts +4 -4
  63. package/dist/types/routes/universal-login/index.d.ts +8 -8
  64. package/dist/types/routes/universal-login/u2-index.d.ts +9 -9
  65. package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
  66. package/dist/types/state-machines/login-session.d.ts +1 -1
  67. package/dist/types/strategies/index.d.ts +2 -0
  68. package/dist/types/strategies/samlp.d.ts +58 -0
  69. package/dist/types/types/AuthHeroConfig.d.ts +15 -1
  70. package/dist/types/types/Bindings.d.ts +2 -1
  71. package/dist/types/utils/ssrf-fetch.d.ts +2 -0
  72. package/dist/types/variables.d.ts +7 -6
  73. package/package.json +9 -6
  74. package/dist/mfa-attempts-CtWWceg2.js +0 -393
@@ -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;
@@ -128,7 +129,7 @@ export declare const tenantRoutes: OpenAPIHono<{
128
129
  pushed_authorization_requests_supported?: boolean | undefined;
129
130
  authorization_response_iss_parameter_supported?: boolean | undefined;
130
131
  deployment_type?: "shared" | "wfp" | undefined;
131
- provisioning_state?: "pending" | "failed" | "ready" | undefined;
132
+ provisioning_state?: "pending" | "ready" | "failed" | undefined;
132
133
  provisioning_error?: string | undefined;
133
134
  provisioning_state_changed_at?: string | undefined;
134
135
  bundle_configuration?: string | undefined;
@@ -200,7 +201,7 @@ export declare const tenantRoutes: OpenAPIHono<{
200
201
  } | undefined;
201
202
  allow_remember_browser?: boolean | undefined;
202
203
  remember_browser_lifetime_in_days?: number | undefined;
203
- policy?: "always" | "never" | "all-applications" | "confidence-score" | undefined;
204
+ policy?: "never" | "always" | "all-applications" | "confidence-score" | undefined;
204
205
  } | undefined;
205
206
  is_control_plane?: boolean | undefined;
206
207
  has_children?: boolean | undefined;
@@ -219,22 +220,14 @@ export declare const tenantRoutes: OpenAPIHono<{
219
220
  } & {
220
221
  json: {
221
222
  id?: string | undefined;
222
- session_cookie?: {
223
- mode?: "persistent" | "non-persistent" | undefined;
224
- } | undefined;
225
- sessions?: {
226
- oidc_logout_prompt_enabled?: boolean | undefined;
227
- } | undefined;
228
- allowed_logout_urls?: string[] | undefined;
229
- oidc_logout?: {
230
- rp_logout_end_session_endpoint_discovery?: boolean | undefined;
231
- } | undefined;
232
- default_organization?: string | undefined;
233
- audience?: string | undefined;
223
+ mtls?: {
224
+ enable_endpoint_aliases?: boolean | undefined;
225
+ } | null | undefined;
234
226
  parent_tenant_id?: string | null | undefined;
235
227
  config_sync?: "inherit-on-read" | "synced" | "detached" | null | undefined;
236
228
  config_sync_hash?: string | null | undefined;
237
229
  config_synced_at?: string | null | undefined;
230
+ audience?: string | undefined;
238
231
  friendly_name?: string | undefined;
239
232
  picture_url?: string | undefined;
240
233
  support_email?: string | undefined;
@@ -245,6 +238,10 @@ export declare const tenantRoutes: OpenAPIHono<{
245
238
  idle_session_lifetime?: number | undefined;
246
239
  ephemeral_session_lifetime?: number | undefined;
247
240
  idle_ephemeral_session_lifetime?: number | undefined;
241
+ session_cookie?: {
242
+ mode?: "persistent" | "non-persistent" | undefined;
243
+ } | undefined;
244
+ allowed_logout_urls?: string[] | undefined;
248
245
  default_redirection_uri?: string | undefined;
249
246
  default_client_id?: string | undefined;
250
247
  enabled_locales?: string[] | undefined;
@@ -293,6 +290,7 @@ export declare const tenantRoutes: OpenAPIHono<{
293
290
  use_scope_descriptions_for_consent?: boolean | undefined;
294
291
  inherit_global_permissions_in_organizations?: boolean | undefined;
295
292
  restrict_undefined_scopes?: boolean | undefined;
293
+ universal_login_version?: "1" | "2" | undefined;
296
294
  } | undefined;
297
295
  sandbox_version?: string | undefined;
298
296
  legacy_sandbox_version?: string | undefined;
@@ -318,16 +316,20 @@ export declare const tenantRoutes: OpenAPIHono<{
318
316
  } | undefined;
319
317
  } | null | undefined;
320
318
  default_audience?: string | undefined;
319
+ default_organization?: string | undefined;
320
+ sessions?: {
321
+ oidc_logout_prompt_enabled?: boolean | undefined;
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;
330
- provisioning_state?: "pending" | "failed" | "ready" | undefined;
332
+ provisioning_state?: "pending" | "ready" | "failed" | undefined;
331
333
  provisioning_error?: string | undefined;
332
334
  provisioning_state_changed_at?: string | undefined;
333
335
  bundle_configuration?: string | undefined;
@@ -374,7 +376,7 @@ export declare const tenantRoutes: OpenAPIHono<{
374
376
  } | undefined;
375
377
  } | undefined;
376
378
  mfa?: {
377
- policy?: "always" | "never" | "all-applications" | "confidence-score" | undefined;
379
+ policy?: "never" | "always" | "all-applications" | "confidence-score" | undefined;
378
380
  factors?: {
379
381
  sms?: boolean | undefined;
380
382
  otp?: boolean | 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;
@@ -518,7 +521,7 @@ export declare const tenantRoutes: OpenAPIHono<{
518
521
  pushed_authorization_requests_supported?: boolean | undefined;
519
522
  authorization_response_iss_parameter_supported?: boolean | undefined;
520
523
  deployment_type?: "shared" | "wfp" | undefined;
521
- provisioning_state?: "pending" | "failed" | "ready" | undefined;
524
+ provisioning_state?: "pending" | "ready" | "failed" | undefined;
522
525
  provisioning_error?: string | undefined;
523
526
  provisioning_state_changed_at?: string | undefined;
524
527
  bundle_configuration?: string | undefined;
@@ -590,7 +593,7 @@ export declare const tenantRoutes: OpenAPIHono<{
590
593
  } | undefined;
591
594
  allow_remember_browser?: boolean | undefined;
592
595
  remember_browser_lifetime_in_days?: number | undefined;
593
- policy?: "always" | "never" | "all-applications" | "confidence-score" | undefined;
596
+ policy?: "never" | "always" | "all-applications" | "confidence-score" | undefined;
594
597
  } | undefined;
595
598
  is_control_plane?: boolean | undefined;
596
599
  has_children?: boolean | 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;
@@ -727,7 +731,7 @@ export declare const tenantRoutes: OpenAPIHono<{
727
731
  pushed_authorization_requests_supported?: boolean | undefined;
728
732
  authorization_response_iss_parameter_supported?: boolean | undefined;
729
733
  deployment_type?: "shared" | "wfp" | undefined;
730
- provisioning_state?: "pending" | "failed" | "ready" | undefined;
734
+ provisioning_state?: "pending" | "ready" | "failed" | undefined;
731
735
  provisioning_error?: string | undefined;
732
736
  provisioning_state_changed_at?: string | undefined;
733
737
  bundle_configuration?: string | undefined;
@@ -799,7 +803,7 @@ export declare const tenantRoutes: OpenAPIHono<{
799
803
  } | undefined;
800
804
  allow_remember_browser?: boolean | undefined;
801
805
  remember_browser_lifetime_in_days?: number | undefined;
802
- policy?: "always" | "never" | "all-applications" | "confidence-score" | undefined;
806
+ policy?: "never" | "always" | "all-applications" | "confidence-score" | undefined;
803
807
  } | undefined;
804
808
  is_control_plane?: boolean | undefined;
805
809
  has_children?: boolean | undefined;
@@ -77,15 +77,15 @@ export declare const themesRoutes: OpenAPIHono<{
77
77
  page_background: {
78
78
  background_color: string;
79
79
  background_image_url: string;
80
- page_layout: "left" | "right" | "center";
80
+ page_layout: "center" | "left" | "right";
81
81
  background_color_dark?: string | undefined;
82
82
  background_image_url_dark?: string | undefined;
83
83
  logo_placement?: "none" | "widget" | "chip" | undefined;
84
84
  };
85
85
  widget: {
86
- header_text_alignment: "left" | "right" | "center";
86
+ header_text_alignment: "center" | "left" | "right";
87
87
  logo_height: number;
88
- logo_position: "none" | "left" | "right" | "center";
88
+ logo_position: "none" | "center" | "left" | "right";
89
89
  logo_url: string;
90
90
  social_buttons_layout: "bottom" | "top";
91
91
  logo_url_dark?: string | undefined;
@@ -190,15 +190,15 @@ export declare const themesRoutes: OpenAPIHono<{
190
190
  page_background: {
191
191
  background_color: string;
192
192
  background_image_url: string;
193
- page_layout: "left" | "right" | "center";
193
+ page_layout: "center" | "left" | "right";
194
194
  background_color_dark?: string | undefined;
195
195
  background_image_url_dark?: string | undefined;
196
196
  logo_placement?: "none" | "widget" | "chip" | undefined;
197
197
  };
198
198
  widget: {
199
- header_text_alignment: "left" | "right" | "center";
199
+ header_text_alignment: "center" | "left" | "right";
200
200
  logo_height: number;
201
- logo_position: "none" | "left" | "right" | "center";
201
+ logo_position: "none" | "center" | "left" | "right";
202
202
  logo_url: string;
203
203
  social_buttons_layout: "bottom" | "top";
204
204
  logo_url_dark?: string | undefined;
@@ -292,15 +292,15 @@ export declare const themesRoutes: OpenAPIHono<{
292
292
  page_background: {
293
293
  background_color: string;
294
294
  background_image_url: string;
295
- page_layout: "left" | "right" | "center";
295
+ page_layout: "center" | "left" | "right";
296
296
  background_color_dark?: string | undefined;
297
297
  background_image_url_dark?: string | undefined;
298
298
  logo_placement?: "none" | "widget" | "chip" | undefined;
299
299
  };
300
300
  widget: {
301
- header_text_alignment: "left" | "right" | "center";
301
+ header_text_alignment: "center" | "left" | "right";
302
302
  logo_height: number;
303
- logo_position: "none" | "left" | "right" | "center";
303
+ logo_position: "none" | "center" | "left" | "right";
304
304
  logo_url: string;
305
305
  social_buttons_layout: "bottom" | "top";
306
306
  logo_url_dark?: string | undefined;
@@ -890,11 +890,12 @@ export declare const userRoutes: OpenAPIHono<{
890
890
  };
891
891
  };
892
892
  output: {
893
- id: string;
894
- user_id: string;
895
893
  created_at: string;
894
+ id: string;
896
895
  client_id: string;
896
+ user_id: string;
897
897
  rotating: boolean;
898
+ login_id: string;
898
899
  device: {
899
900
  initial_user_agent: string;
900
901
  initial_ip: string;
@@ -903,17 +904,16 @@ export declare const userRoutes: OpenAPIHono<{
903
904
  last_ip: string;
904
905
  last_asn: string;
905
906
  };
906
- login_id: string;
907
907
  resource_servers: {
908
908
  audience: string;
909
909
  scopes: string;
910
910
  }[];
911
+ revoked_at?: string | undefined;
911
912
  session_transfer?: {
912
913
  client_id: string;
913
914
  family_id: string;
914
915
  cascade_revocation: boolean;
915
916
  } | undefined;
916
- organization?: string | undefined;
917
917
  expires_at?: string | undefined;
918
918
  session_id?: string | undefined;
919
919
  auth_connection?: string | undefined;
@@ -921,19 +921,17 @@ export declare const userRoutes: OpenAPIHono<{
921
921
  strategy: string;
922
922
  strategy_type: string;
923
923
  } | undefined;
924
- revoked_at?: string | undefined;
924
+ organization?: 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
- id: string;
933
- user_id: string;
934
929
  created_at: string;
930
+ id: string;
935
931
  client_id: string;
932
+ user_id: string;
936
933
  rotating: boolean;
934
+ login_id: string;
937
935
  device: {
938
936
  initial_user_agent: string;
939
937
  initial_ip: string;
@@ -942,17 +940,16 @@ export declare const userRoutes: OpenAPIHono<{
942
940
  last_ip: string;
943
941
  last_asn: string;
944
942
  };
945
- login_id: string;
946
943
  resource_servers: {
947
944
  audience: string;
948
945
  scopes: string;
949
946
  }[];
947
+ revoked_at?: string | undefined;
950
948
  session_transfer?: {
951
949
  client_id: string;
952
950
  family_id: string;
953
951
  cascade_revocation: boolean;
954
952
  } | undefined;
955
- organization?: string | undefined;
956
953
  expires_at?: string | undefined;
957
954
  session_id?: string | undefined;
958
955
  auth_connection?: string | undefined;
@@ -960,19 +957,22 @@ export declare const userRoutes: OpenAPIHono<{
960
957
  strategy: string;
961
958
  strategy_type: string;
962
959
  } | undefined;
963
- revoked_at?: string | undefined;
960
+ organization?: 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
- id: string;
972
- user_id: string;
973
970
  created_at: string;
971
+ id: string;
974
972
  client_id: string;
973
+ user_id: string;
975
974
  rotating: boolean;
975
+ login_id: string;
976
976
  device: {
977
977
  initial_user_agent: string;
978
978
  initial_ip: string;
@@ -981,17 +981,16 @@ export declare const userRoutes: OpenAPIHono<{
981
981
  last_ip: string;
982
982
  last_asn: string;
983
983
  };
984
- login_id: string;
985
984
  resource_servers: {
986
985
  audience: string;
987
986
  scopes: string;
988
987
  }[];
988
+ revoked_at?: string | undefined;
989
989
  session_transfer?: {
990
990
  client_id: string;
991
991
  family_id: string;
992
992
  cascade_revocation: boolean;
993
993
  } | undefined;
994
- organization?: string | undefined;
995
994
  expires_at?: string | undefined;
996
995
  session_id?: string | undefined;
997
996
  auth_connection?: string | undefined;
@@ -999,10 +998,11 @@ export declare const userRoutes: OpenAPIHono<{
999
998
  strategy: string;
1000
999
  strategy_type: string;
1001
1000
  } | undefined;
1002
- revoked_at?: string | undefined;
1001
+ organization?: 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: "i" | "fs" | "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" | "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" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "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" | "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";
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: "i" | "fs" | "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" | "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" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "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" | "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";
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: "i" | "fs" | "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" | "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" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "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" | "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
+ 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
  }, "/">, "/">;