authhero 9.13.1 → 9.15.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 (67) 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-1471c0f2.entry.js → p-1eb7f287.entry.js} +1 -1
  4. package/dist/assets/u/widget/p-398d72df.entry.js +1 -0
  5. package/dist/authhero.cjs +144 -144
  6. package/dist/authhero.d.ts +469 -288
  7. package/dist/authhero.mjs +14662 -13647
  8. package/dist/tsconfig.types.tsbuildinfo +1 -1
  9. package/dist/types/authentication-flows/custom-token-exchange.d.ts +21 -0
  10. package/dist/types/authentication-flows/passwordless.d.ts +5 -2
  11. package/dist/types/authentication-flows/token-exchange.d.ts +19 -0
  12. package/dist/types/emails/index.d.ts +8 -9
  13. package/dist/types/emails/render.d.ts +2 -6
  14. package/dist/types/generated/locale-types.d.ts +2 -0
  15. package/dist/types/helpers/client-assertion-replay.d.ts +17 -0
  16. package/dist/types/helpers/client-keys.d.ts +9 -0
  17. package/dist/types/helpers/client.d.ts +3 -0
  18. package/dist/types/helpers/connection.d.ts +2 -6
  19. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  20. package/dist/types/helpers/logging.d.ts +2 -5
  21. package/dist/types/helpers/organization-branding.d.ts +18 -0
  22. package/dist/types/helpers/reserved-claims.d.ts +4 -8
  23. package/dist/types/helpers/service-token.d.ts +2 -5
  24. package/dist/types/helpers/wait-until.d.ts +3 -1
  25. package/dist/types/index.d.ts +430 -282
  26. package/dist/types/routes/auth-api/index.d.ts +129 -19
  27. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  28. package/dist/types/routes/auth-api/token.d.ts +110 -0
  29. package/dist/types/routes/auth-api/well-known.d.ts +1 -1
  30. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  31. package/dist/types/routes/management-api/actions.d.ts +3 -3
  32. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  33. package/dist/types/routes/management-api/client-grants.d.ts +9 -9
  34. package/dist/types/routes/management-api/clients.d.ts +24 -0
  35. package/dist/types/routes/management-api/email-templates.d.ts +20 -20
  36. package/dist/types/routes/management-api/emails.d.ts +2 -2
  37. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  38. package/dist/types/routes/management-api/forms.d.ts +14 -0
  39. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  40. package/dist/types/routes/management-api/hooks.d.ts +4 -4
  41. package/dist/types/routes/management-api/index.d.ts +288 -250
  42. package/dist/types/routes/management-api/keys.d.ts +12 -12
  43. package/dist/types/routes/management-api/logs.d.ts +4 -4
  44. package/dist/types/routes/management-api/organizations.d.ts +7 -7
  45. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  46. package/dist/types/routes/management-api/tenants.d.ts +6 -6
  47. package/dist/types/routes/management-api/token-exchange-profiles.d.ts +321 -0
  48. package/dist/types/routes/management-api/users.d.ts +14 -14
  49. package/dist/types/routes/proxy-control-plane/tenant-members.d.ts +9 -2
  50. package/dist/types/routes/proxy-control-plane/verify.d.ts +15 -0
  51. package/dist/types/routes/universal-login/common.d.ts +6 -0
  52. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  53. package/dist/types/routes/universal-login/form-node.d.ts +4 -4
  54. package/dist/types/routes/universal-login/index.d.ts +6 -6
  55. package/dist/types/routes/universal-login/screens/login-otp.d.ts +17 -0
  56. package/dist/types/routes/universal-login/screens/types.d.ts +6 -0
  57. package/dist/types/routes/universal-login/u2-form-node.d.ts +2 -2
  58. package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
  59. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  60. package/dist/types/state-machines/login-session.d.ts +1 -1
  61. package/dist/types/tenant-members/local-backend.d.ts +11 -3
  62. package/dist/types/types/RequestContext.d.ts +16 -0
  63. package/dist/types/types/index.d.ts +1 -0
  64. package/dist/types/utils/jwks.d.ts +2 -2
  65. package/dist/types/utils/jws-verify.d.ts +46 -0
  66. package/package.json +6 -6
  67. package/dist/assets/u/widget/p-c2744f87.entry.js +0 -1
@@ -17,19 +17,19 @@ export declare const keyRoutes: OpenAPIHono<{
17
17
  };
18
18
  output: {
19
19
  kid: string;
20
+ type: "jwt_signing" | "saml_encryption";
20
21
  cert: string;
21
22
  fingerprint: string;
22
23
  thumbprint: string;
23
- type: "jwt_signing" | "saml_encryption";
24
- tenant_id?: string | undefined;
25
24
  connection?: string | undefined;
25
+ revoked_at?: string | undefined;
26
+ tenant_id?: string | undefined;
26
27
  current?: boolean | undefined;
27
28
  next?: boolean | undefined;
28
29
  previous?: boolean | undefined;
29
30
  current_since?: string | undefined;
30
31
  current_until?: string | undefined;
31
32
  revoked?: boolean | undefined;
32
- revoked_at?: string | undefined;
33
33
  expires_at?: string | undefined;
34
34
  expired?: boolean | undefined;
35
35
  inherited?: boolean | undefined;
@@ -56,19 +56,19 @@ export declare const keyRoutes: OpenAPIHono<{
56
56
  };
57
57
  output: {
58
58
  kid: string;
59
+ type: "jwt_signing" | "saml_encryption";
59
60
  cert: string;
60
61
  fingerprint: string;
61
62
  thumbprint: string;
62
- type: "jwt_signing" | "saml_encryption";
63
- tenant_id?: string | undefined;
64
63
  connection?: string | undefined;
64
+ revoked_at?: string | undefined;
65
+ tenant_id?: string | undefined;
65
66
  current?: boolean | undefined;
66
67
  next?: boolean | undefined;
67
68
  previous?: boolean | undefined;
68
69
  current_since?: string | undefined;
69
70
  current_until?: string | undefined;
70
71
  revoked?: boolean | undefined;
71
- revoked_at?: string | undefined;
72
72
  expires_at?: string | undefined;
73
73
  expired?: boolean | undefined;
74
74
  inherited?: boolean | undefined;
@@ -94,19 +94,19 @@ export declare const keyRoutes: OpenAPIHono<{
94
94
  };
95
95
  output: {
96
96
  kid: string;
97
+ type: "jwt_signing" | "saml_encryption";
97
98
  cert: string;
98
99
  fingerprint: string;
99
100
  thumbprint: string;
100
- type: "jwt_signing" | "saml_encryption";
101
- tenant_id?: string | undefined;
102
101
  connection?: string | undefined;
102
+ revoked_at?: string | undefined;
103
+ tenant_id?: string | undefined;
103
104
  current?: boolean | undefined;
104
105
  next?: boolean | undefined;
105
106
  previous?: boolean | undefined;
106
107
  current_since?: string | undefined;
107
108
  current_until?: string | undefined;
108
109
  revoked?: boolean | undefined;
109
- revoked_at?: string | undefined;
110
110
  expires_at?: string | undefined;
111
111
  expired?: boolean | undefined;
112
112
  inherited?: boolean | undefined;
@@ -134,19 +134,19 @@ export declare const keyRoutes: OpenAPIHono<{
134
134
  };
135
135
  output: {
136
136
  kid: string;
137
+ type: "jwt_signing" | "saml_encryption";
137
138
  cert: string;
138
139
  fingerprint: string;
139
140
  thumbprint: string;
140
- type: "jwt_signing" | "saml_encryption";
141
- tenant_id?: string | undefined;
142
141
  connection?: string | undefined;
142
+ revoked_at?: string | undefined;
143
+ tenant_id?: string | undefined;
143
144
  current?: boolean | undefined;
144
145
  next?: boolean | undefined;
145
146
  previous?: boolean | undefined;
146
147
  current_since?: string | undefined;
147
148
  current_until?: string | undefined;
148
149
  revoked?: boolean | undefined;
149
- revoked_at?: string | undefined;
150
150
  expires_at?: string | undefined;
151
151
  expired?: boolean | undefined;
152
152
  inherited?: boolean | undefined;
@@ -24,7 +24,7 @@ export declare const logRoutes: OpenAPIHono<{
24
24
  };
25
25
  };
26
26
  output: {
27
- type: "sapi" | "fn" | "i" | "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" | "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";
27
+ type: "cs" | "fi" | "sv" | "fn" | "sapi" | "i" | "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" | "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" | "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" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
28
28
  date: string;
29
29
  isMobile: boolean;
30
30
  log_id: string;
@@ -63,7 +63,7 @@ export declare const logRoutes: OpenAPIHono<{
63
63
  limit: number;
64
64
  length: number;
65
65
  logs: {
66
- type: "sapi" | "fn" | "i" | "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" | "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";
66
+ type: "cs" | "fi" | "sv" | "fn" | "sapi" | "i" | "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" | "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" | "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" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
67
67
  date: string;
68
68
  isMobile: boolean;
69
69
  log_id: string;
@@ -102,7 +102,7 @@ export declare const logRoutes: OpenAPIHono<{
102
102
  next?: string | undefined;
103
103
  } | {
104
104
  logs: {
105
- type: "sapi" | "fn" | "i" | "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" | "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";
105
+ type: "cs" | "fi" | "sv" | "fn" | "sapi" | "i" | "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" | "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" | "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" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
106
106
  date: string;
107
107
  isMobile: boolean;
108
108
  log_id: string;
@@ -156,7 +156,7 @@ export declare const logRoutes: OpenAPIHono<{
156
156
  };
157
157
  };
158
158
  output: {
159
- type: "sapi" | "fn" | "i" | "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" | "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";
159
+ type: "cs" | "fi" | "sv" | "fn" | "sapi" | "i" | "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" | "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" | "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" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
160
160
  date: string;
161
161
  isMobile: boolean;
162
162
  log_id: string;
@@ -729,19 +729,19 @@ export declare const organizationRoutes: OpenAPIHono<{
729
729
  } & {
730
730
  json: {
731
731
  client_id: string;
732
- inviter: {
733
- name?: string | undefined;
734
- };
735
732
  invitee: {
736
733
  email?: string | undefined;
737
734
  };
735
+ inviter: {
736
+ name?: string | undefined;
737
+ };
738
738
  id?: string | undefined;
739
+ connection_id?: string | undefined;
739
740
  app_metadata?: Record<string, any> | undefined;
740
741
  user_metadata?: Record<string, any> | undefined;
741
- connection_id?: string | undefined;
742
742
  roles?: string[] | undefined;
743
- ttl_sec?: number | undefined;
744
743
  send_invitation_email?: boolean | undefined;
744
+ ttl_sec?: number | undefined;
745
745
  };
746
746
  };
747
747
  output: {
@@ -788,7 +788,7 @@ export declare const organizationRoutes: OpenAPIHono<{
788
788
  };
789
789
  output: {};
790
790
  outputFormat: string;
791
- status: 204;
791
+ status: 404;
792
792
  } | {
793
793
  input: {
794
794
  param: {
@@ -802,7 +802,7 @@ export declare const organizationRoutes: OpenAPIHono<{
802
802
  };
803
803
  output: {};
804
804
  outputFormat: string;
805
- status: 404;
805
+ status: 204;
806
806
  };
807
807
  };
808
808
  } & {
@@ -52,7 +52,7 @@ export declare const promptsRoutes: OpenAPIHono<{
52
52
  };
53
53
  };
54
54
  output: {
55
- prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
55
+ prompt: "mfa" | "organizations" | "signup" | "status" | "login-password" | "common" | "email-otp-challenge" | "login-id" | "login" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
56
56
  language: string;
57
57
  }[];
58
58
  outputFormat: "json";
@@ -90,7 +90,7 @@ export declare const promptsRoutes: OpenAPIHono<{
90
90
  $get: {
91
91
  input: {
92
92
  param: {
93
- prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
93
+ prompt: "mfa" | "organizations" | "signup" | "status" | "login-password" | "common" | "email-otp-challenge" | "login-id" | "login" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
94
94
  language: string;
95
95
  };
96
96
  } & {
@@ -112,7 +112,7 @@ export declare const promptsRoutes: OpenAPIHono<{
112
112
  $put: {
113
113
  input: {
114
114
  param: {
115
- prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
115
+ prompt: "mfa" | "organizations" | "signup" | "status" | "login-password" | "common" | "email-otp-challenge" | "login-id" | "login" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
116
116
  language: string;
117
117
  };
118
118
  } & {
@@ -136,7 +136,7 @@ export declare const promptsRoutes: OpenAPIHono<{
136
136
  $delete: {
137
137
  input: {
138
138
  param: {
139
- prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "login" | "login-id" | "login-password" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "email-otp-challenge" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
139
+ prompt: "mfa" | "organizations" | "signup" | "status" | "login-password" | "common" | "email-otp-challenge" | "login-id" | "login" | "signup-id" | "signup-password" | "reset-password" | "consent" | "mfa-push" | "mfa-otp" | "mfa-voice" | "mfa-phone" | "mfa-webauthn" | "mfa-email" | "mfa-recovery-code" | "device-flow" | "email-verification" | "invitation" | "passkeys" | "captcha" | "custom-form" | "login-passwordless" | "mfa-login-options";
140
140
  language: string;
141
141
  };
142
142
  } & {
@@ -210,13 +210,7 @@ export declare const tenantRoutes: OpenAPIHono<{
210
210
  };
211
211
  } & {
212
212
  json: {
213
- id?: string | undefined;
214
213
  audience?: string | undefined;
215
- allowed_logout_urls?: string[] | undefined;
216
- oidc_logout?: {
217
- rp_logout_end_session_endpoint_discovery?: boolean | undefined;
218
- } | undefined;
219
- default_organization?: string | undefined;
220
214
  friendly_name?: string | undefined;
221
215
  picture_url?: string | undefined;
222
216
  support_email?: string | undefined;
@@ -230,6 +224,7 @@ export declare const tenantRoutes: OpenAPIHono<{
230
224
  session_cookie?: {
231
225
  mode?: "persistent" | "non-persistent" | undefined;
232
226
  } | undefined;
227
+ allowed_logout_urls?: string[] | undefined;
233
228
  default_redirection_uri?: string | undefined;
234
229
  default_client_id?: string | undefined;
235
230
  enabled_locales?: string[] | undefined;
@@ -303,9 +298,13 @@ export declare const tenantRoutes: OpenAPIHono<{
303
298
  } | undefined;
304
299
  } | null | undefined;
305
300
  default_audience?: string | undefined;
301
+ default_organization?: string | undefined;
306
302
  sessions?: {
307
303
  oidc_logout_prompt_enabled?: boolean | undefined;
308
304
  } | undefined;
305
+ oidc_logout?: {
306
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
307
+ } | undefined;
309
308
  allow_organization_name_in_authentication_api?: boolean | undefined;
310
309
  customize_mfa_in_postlogin_action?: boolean | undefined;
311
310
  acr_values_supported?: string[] | undefined;
@@ -386,6 +385,7 @@ export declare const tenantRoutes: OpenAPIHono<{
386
385
  message?: string | undefined;
387
386
  } | undefined;
388
387
  } | undefined;
388
+ id?: string | undefined;
389
389
  };
390
390
  };
391
391
  output: {
@@ -0,0 +1,321 @@
1
+ import { OpenAPIHono } from "@hono/zod-openapi";
2
+ import { Bindings, Variables } from "../../types";
3
+ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
4
+ Bindings: Bindings;
5
+ Variables: Variables;
6
+ }, {
7
+ "/": {
8
+ $get: {
9
+ input: {
10
+ query: {
11
+ from?: string | undefined;
12
+ take?: unknown;
13
+ };
14
+ } & {
15
+ header: {
16
+ "tenant-id"?: string | undefined;
17
+ };
18
+ };
19
+ output: {
20
+ token_exchange_profiles: {
21
+ name: string;
22
+ subject_token_type: string;
23
+ type: "custom_authentication";
24
+ id: string;
25
+ created_at: string;
26
+ updated_at: string;
27
+ action_id?: string | undefined;
28
+ jwt_verification?: {
29
+ issuer: string;
30
+ max_lifetime_seconds: number;
31
+ require_jti: boolean;
32
+ user_mapping: {
33
+ type: "connection";
34
+ connection: string;
35
+ create_if_not_exists: boolean;
36
+ trust_email_verified: boolean;
37
+ } | {
38
+ type: "user_id";
39
+ };
40
+ jwks?: {
41
+ keys: {
42
+ kty: "EC" | "RSA" | "oct";
43
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
44
+ kid?: string | undefined;
45
+ use?: "sig" | "enc" | undefined;
46
+ n?: string | undefined;
47
+ e?: string | undefined;
48
+ crv?: string | undefined;
49
+ x?: string | undefined;
50
+ y?: string | undefined;
51
+ x5t?: string | undefined;
52
+ x5c?: string[] | undefined;
53
+ }[];
54
+ } | undefined;
55
+ jwks_uri?: string | undefined;
56
+ audience?: string[] | undefined;
57
+ algorithms?: ("RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512")[] | undefined;
58
+ } | undefined;
59
+ }[];
60
+ next?: string | undefined;
61
+ };
62
+ outputFormat: "json";
63
+ status: 200;
64
+ };
65
+ };
66
+ } & {
67
+ "/:id": {
68
+ $get: {
69
+ input: {
70
+ param: {
71
+ id: string;
72
+ };
73
+ } & {
74
+ header: {
75
+ "tenant-id"?: string | undefined;
76
+ };
77
+ };
78
+ output: {
79
+ name: string;
80
+ subject_token_type: string;
81
+ type: "custom_authentication";
82
+ id: string;
83
+ created_at: string;
84
+ updated_at: string;
85
+ action_id?: string | undefined;
86
+ jwt_verification?: {
87
+ issuer: string;
88
+ max_lifetime_seconds: number;
89
+ require_jti: boolean;
90
+ user_mapping: {
91
+ type: "connection";
92
+ connection: string;
93
+ create_if_not_exists: boolean;
94
+ trust_email_verified: boolean;
95
+ } | {
96
+ type: "user_id";
97
+ };
98
+ jwks?: {
99
+ keys: {
100
+ kty: "EC" | "RSA" | "oct";
101
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
102
+ kid?: string | undefined;
103
+ use?: "sig" | "enc" | undefined;
104
+ n?: string | undefined;
105
+ e?: string | undefined;
106
+ crv?: string | undefined;
107
+ x?: string | undefined;
108
+ y?: string | undefined;
109
+ x5t?: string | undefined;
110
+ x5c?: string[] | undefined;
111
+ }[];
112
+ } | undefined;
113
+ jwks_uri?: string | undefined;
114
+ audience?: string[] | undefined;
115
+ algorithms?: ("RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512")[] | undefined;
116
+ } | undefined;
117
+ };
118
+ outputFormat: "json";
119
+ status: 200;
120
+ };
121
+ };
122
+ } & {
123
+ "/": {
124
+ $post: {
125
+ input: {
126
+ header: {
127
+ "tenant-id"?: string | undefined;
128
+ };
129
+ } & {
130
+ json: {
131
+ name: string;
132
+ subject_token_type: string;
133
+ type: "custom_authentication";
134
+ action_id?: string | undefined;
135
+ jwt_verification?: {
136
+ issuer: string;
137
+ user_mapping: {
138
+ type: "connection";
139
+ connection: string;
140
+ create_if_not_exists?: boolean | undefined;
141
+ trust_email_verified?: boolean | undefined;
142
+ } | {
143
+ type: "user_id";
144
+ };
145
+ jwks?: {
146
+ keys: {
147
+ kty: "EC" | "RSA" | "oct";
148
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
149
+ kid?: string | undefined;
150
+ use?: "sig" | "enc" | undefined;
151
+ n?: string | undefined;
152
+ e?: string | undefined;
153
+ crv?: string | undefined;
154
+ x?: string | undefined;
155
+ y?: string | undefined;
156
+ x5t?: string | undefined;
157
+ x5c?: string[] | undefined;
158
+ }[];
159
+ } | undefined;
160
+ jwks_uri?: string | undefined;
161
+ audience?: string[] | undefined;
162
+ algorithms?: ("RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512")[] | undefined;
163
+ max_lifetime_seconds?: number | undefined;
164
+ require_jti?: boolean | undefined;
165
+ } | undefined;
166
+ };
167
+ };
168
+ output: {
169
+ name: string;
170
+ subject_token_type: string;
171
+ type: "custom_authentication";
172
+ id: string;
173
+ created_at: string;
174
+ updated_at: string;
175
+ action_id?: string | undefined;
176
+ jwt_verification?: {
177
+ issuer: string;
178
+ max_lifetime_seconds: number;
179
+ require_jti: boolean;
180
+ user_mapping: {
181
+ type: "connection";
182
+ connection: string;
183
+ create_if_not_exists: boolean;
184
+ trust_email_verified: boolean;
185
+ } | {
186
+ type: "user_id";
187
+ };
188
+ jwks?: {
189
+ keys: {
190
+ kty: "EC" | "RSA" | "oct";
191
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
192
+ kid?: string | undefined;
193
+ use?: "sig" | "enc" | undefined;
194
+ n?: string | undefined;
195
+ e?: string | undefined;
196
+ crv?: string | undefined;
197
+ x?: string | undefined;
198
+ y?: string | undefined;
199
+ x5t?: string | undefined;
200
+ x5c?: string[] | undefined;
201
+ }[];
202
+ } | undefined;
203
+ jwks_uri?: string | undefined;
204
+ audience?: string[] | undefined;
205
+ algorithms?: ("RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512")[] | undefined;
206
+ } | undefined;
207
+ };
208
+ outputFormat: "json";
209
+ status: 201;
210
+ };
211
+ };
212
+ } & {
213
+ "/:id": {
214
+ $patch: {
215
+ input: {
216
+ param: {
217
+ id: string;
218
+ };
219
+ } & {
220
+ header: {
221
+ "tenant-id"?: string | undefined;
222
+ };
223
+ } & {
224
+ json: {
225
+ name?: string | undefined;
226
+ subject_token_type?: string | undefined;
227
+ jwt_verification?: {
228
+ issuer: string;
229
+ user_mapping: {
230
+ type: "connection";
231
+ connection: string;
232
+ create_if_not_exists?: boolean | undefined;
233
+ trust_email_verified?: boolean | undefined;
234
+ } | {
235
+ type: "user_id";
236
+ };
237
+ jwks?: {
238
+ keys: {
239
+ kty: "EC" | "RSA" | "oct";
240
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
241
+ kid?: string | undefined;
242
+ use?: "sig" | "enc" | undefined;
243
+ n?: string | undefined;
244
+ e?: string | undefined;
245
+ crv?: string | undefined;
246
+ x?: string | undefined;
247
+ y?: string | undefined;
248
+ x5t?: string | undefined;
249
+ x5c?: string[] | undefined;
250
+ }[];
251
+ } | undefined;
252
+ jwks_uri?: string | undefined;
253
+ audience?: string[] | undefined;
254
+ algorithms?: ("RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512")[] | undefined;
255
+ max_lifetime_seconds?: number | undefined;
256
+ require_jti?: boolean | undefined;
257
+ } | undefined;
258
+ };
259
+ };
260
+ output: {
261
+ name: string;
262
+ subject_token_type: string;
263
+ type: "custom_authentication";
264
+ id: string;
265
+ created_at: string;
266
+ updated_at: string;
267
+ action_id?: string | undefined;
268
+ jwt_verification?: {
269
+ issuer: string;
270
+ max_lifetime_seconds: number;
271
+ require_jti: boolean;
272
+ user_mapping: {
273
+ type: "connection";
274
+ connection: string;
275
+ create_if_not_exists: boolean;
276
+ trust_email_verified: boolean;
277
+ } | {
278
+ type: "user_id";
279
+ };
280
+ jwks?: {
281
+ keys: {
282
+ kty: "EC" | "RSA" | "oct";
283
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
284
+ kid?: string | undefined;
285
+ use?: "sig" | "enc" | undefined;
286
+ n?: string | undefined;
287
+ e?: string | undefined;
288
+ crv?: string | undefined;
289
+ x?: string | undefined;
290
+ y?: string | undefined;
291
+ x5t?: string | undefined;
292
+ x5c?: string[] | undefined;
293
+ }[];
294
+ } | undefined;
295
+ jwks_uri?: string | undefined;
296
+ audience?: string[] | undefined;
297
+ algorithms?: ("RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512")[] | undefined;
298
+ } | undefined;
299
+ };
300
+ outputFormat: "json";
301
+ status: 200;
302
+ };
303
+ };
304
+ } & {
305
+ "/:id": {
306
+ $delete: {
307
+ input: {
308
+ param: {
309
+ id: string;
310
+ };
311
+ } & {
312
+ header: {
313
+ "tenant-id"?: string | undefined;
314
+ };
315
+ };
316
+ output: {};
317
+ outputFormat: string;
318
+ status: 204;
319
+ };
320
+ };
321
+ }, "/">;