authhero 5.8.1 → 5.9.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 (386) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +97 -97
  3. package/dist/authhero.d.ts +17622 -72311
  4. package/dist/authhero.mjs +5587 -5593
  5. package/dist/stats.html +1 -1
  6. package/dist/tsconfig.types.tsbuildinfo +1 -0
  7. package/dist/types/adapters/cache/in-memory.d.ts +52 -0
  8. package/dist/types/adapters/cache/index.d.ts +2 -0
  9. package/dist/types/adapters/index.d.ts +1 -0
  10. package/dist/types/authentication-flows/auth0-migration.d.ts +53 -0
  11. package/dist/types/authentication-flows/authorization-code.d.ts +23 -0
  12. package/dist/types/authentication-flows/client-credentials.d.ts +16 -0
  13. package/dist/types/authentication-flows/common.d.ts +253 -0
  14. package/dist/types/authentication-flows/connection.d.ts +17 -0
  15. package/dist/types/authentication-flows/mfa.d.ts +49 -0
  16. package/dist/types/authentication-flows/passkey-enrollment.d.ts +19 -0
  17. package/dist/types/authentication-flows/password.d.ts +24 -0
  18. package/dist/types/authentication-flows/passwordless.d.ts +571 -0
  19. package/dist/types/authentication-flows/refresh-token-migration.d.ts +17 -0
  20. package/dist/types/authentication-flows/refresh-token.d.ts +15 -0
  21. package/dist/types/authentication-flows/resume.d.ts +22 -0
  22. package/dist/types/authentication-flows/silent.d.ts +25 -0
  23. package/dist/types/authentication-flows/ticket.d.ts +7 -0
  24. package/dist/types/authentication-flows/try-connection.d.ts +33 -0
  25. package/dist/types/authentication-flows/universal.d.ts +19 -0
  26. package/dist/types/build-hash.d.ts +7 -0
  27. package/dist/types/client/client-bundle.d.ts +1 -0
  28. package/dist/types/client/form-handler.d.ts +9 -0
  29. package/dist/types/client/incognito-handler.d.ts +5 -0
  30. package/dist/types/client/index.d.ts +1 -0
  31. package/dist/types/client/input-otp.d.ts +12 -0
  32. package/dist/types/client/password-toggle.d.ts +10 -0
  33. package/dist/types/client/user-agent-detector.d.ts +22 -0
  34. package/dist/types/components/AccountChangeEmailPage.d.ts +14 -0
  35. package/dist/types/components/AccountForm.d.ts +17 -0
  36. package/dist/types/components/AccountPage.d.ts +15 -0
  37. package/dist/types/components/AppLogo.d.ts +8 -0
  38. package/dist/types/components/AuthLayout.d.ts +18 -0
  39. package/dist/types/components/Button.d.ts +12 -0
  40. package/dist/types/components/ChangeEmailForm.d.ts +14 -0
  41. package/dist/types/components/ChangeEmailPage.d.ts +15 -0
  42. package/dist/types/components/ContinueForm.d.ts +13 -0
  43. package/dist/types/components/EmailValidatedForm.d.ts +12 -0
  44. package/dist/types/components/EmailValidatedPage.d.ts +11 -0
  45. package/dist/types/components/EnterCodeForm.d.ts +13 -0
  46. package/dist/types/components/EnterCodePage.d.ts +14 -0
  47. package/dist/types/components/EnterPasswordForm.d.ts +14 -0
  48. package/dist/types/components/EnterPasswordPage.d.ts +13 -0
  49. package/dist/types/components/ErrorMessage.d.ts +6 -0
  50. package/dist/types/components/Footer.d.ts +9 -0
  51. package/dist/types/components/ForgotPasswordForm.d.ts +14 -0
  52. package/dist/types/components/ForgotPasswordPage.d.ts +13 -0
  53. package/dist/types/components/ForgotPasswordSentPage.d.ts +11 -0
  54. package/dist/types/components/Form.d.ts +6 -0
  55. package/dist/types/components/FormNodePage.d.ts +16 -0
  56. package/dist/types/components/GoBack.d.ts +5 -0
  57. package/dist/types/components/GoogleLogo.d.ts +4 -0
  58. package/dist/types/components/Icon.d.ts +8 -0
  59. package/dist/types/components/IconEye.d.ts +8 -0
  60. package/dist/types/components/IconEyeSlash.d.ts +8 -0
  61. package/dist/types/components/IconPen.d.ts +7 -0
  62. package/dist/types/components/IdentifierForm.d.ts +16 -0
  63. package/dist/types/components/IdentifierPage.d.ts +15 -0
  64. package/dist/types/components/ImpersonateForm.d.ts +14 -0
  65. package/dist/types/components/ImpersonationPage.d.ts +13 -0
  66. package/dist/types/components/InvalidSessionPage.d.ts +11 -0
  67. package/dist/types/components/Layout.d.ts +11 -0
  68. package/dist/types/components/LoginForm.d.ts +15 -0
  69. package/dist/types/components/MessagePage.d.ts +13 -0
  70. package/dist/types/components/PasswordInput.d.ts +6 -0
  71. package/dist/types/components/PreSignUpConfirmationPage.d.ts +12 -0
  72. package/dist/types/components/PreSignUpPage.d.ts +12 -0
  73. package/dist/types/components/ResetPasswordForm.d.ts +14 -0
  74. package/dist/types/components/ResetPasswordPage.d.ts +12 -0
  75. package/dist/types/components/SignUpForm.d.ts +15 -0
  76. package/dist/types/components/SignUpPage.d.ts +14 -0
  77. package/dist/types/components/SocialButton.d.ts +10 -0
  78. package/dist/types/components/Spinner.d.ts +6 -0
  79. package/dist/types/components/Trans.d.ts +8 -0
  80. package/dist/types/components/UnverifiedEmailPage.d.ts +11 -0
  81. package/dist/types/components/UserNotFoundPage.d.ts +12 -0
  82. package/dist/types/components/VippsLogo.d.ts +4 -0
  83. package/dist/types/components/index.d.ts +34 -0
  84. package/dist/types/components/stories/AccountForm.stories.d.ts +13 -0
  85. package/dist/types/components/stories/AuthLayout.stories.d.ts +27 -0
  86. package/dist/types/components/stories/ChangeEmailForm.stories.d.ts +11 -0
  87. package/dist/types/components/stories/ContinueForm.stories.d.ts +10 -0
  88. package/dist/types/components/stories/EnterCodeForm.stories.d.ts +9 -0
  89. package/dist/types/components/stories/EnterPasswordForm.stories.d.ts +22 -0
  90. package/dist/types/components/stories/IdentifierForm.stories.d.ts +42 -0
  91. package/dist/types/components/stories/IdentifierPage.stories.d.ts +33 -0
  92. package/dist/types/components/stories/ImpersonateForm.stories.d.ts +11 -0
  93. package/dist/types/components/stories/LoginForm.stories.d.ts +12 -0
  94. package/dist/types/components/ui/button.d.ts +12 -0
  95. package/dist/types/components/ui/card.d.ts +30 -0
  96. package/dist/types/components/ui/input-otp.d.ts +31 -0
  97. package/dist/types/components/ui/input.d.ts +15 -0
  98. package/dist/types/components/ui/label.d.ts +9 -0
  99. package/dist/types/constants/defaultBranding.d.ts +2 -0
  100. package/dist/types/constants/defaultTheme.d.ts +2 -0
  101. package/dist/types/constants/index.d.ts +2 -0
  102. package/dist/types/constants.d.ts +15 -0
  103. package/dist/types/email-services/index.d.ts +3 -0
  104. package/dist/types/email-services/mailgun.d.ts +18 -0
  105. package/dist/types/email-services/postmark.d.ts +14 -0
  106. package/dist/types/email-services/resend.d.ts +14 -0
  107. package/dist/types/emails/defaults/Layout.d.ts +12 -0
  108. package/dist/types/emails/defaults/PrimaryButton.d.ts +11 -0
  109. package/dist/types/emails/defaults/ResetEmail.d.ts +1 -0
  110. package/dist/types/emails/defaults/ResetEmailByCode.d.ts +1 -0
  111. package/dist/types/emails/defaults/UserInvitation.d.ts +1 -0
  112. package/dist/types/emails/defaults/VerifyEmail.d.ts +1 -0
  113. package/dist/types/emails/defaults/VerifyEmailByCode.d.ts +1 -0
  114. package/dist/types/emails/defaults/WelcomeEmail.d.ts +1 -0
  115. package/dist/types/emails/defaults/compiled.d.ts +2 -0
  116. package/dist/types/emails/defaults/index.d.ts +6 -0
  117. package/dist/types/emails/defaults/subjects.d.ts +2 -0
  118. package/dist/types/emails/index.d.ts +70 -0
  119. package/dist/types/emails/render.d.ts +41 -0
  120. package/dist/types/errors/is-unique-constraint-error.d.ts +8 -0
  121. package/dist/types/errors/json-http-exception.d.ts +5 -0
  122. package/dist/types/errors/redirect-exception.d.ts +6 -0
  123. package/dist/types/generated/locale-types.d.ts +690 -0
  124. package/dist/types/helpers/cache-wrapper.d.ts +23 -0
  125. package/dist/types/helpers/client-assertion.d.ts +49 -0
  126. package/dist/types/helpers/client-keys.d.ts +27 -0
  127. package/dist/types/helpers/client.d.ts +496 -0
  128. package/dist/types/helpers/dcr/constraint-enforcement.d.ts +24 -0
  129. package/dist/types/helpers/dcr/metadata-mapping.d.ts +83 -0
  130. package/dist/types/helpers/dcr/mint-iat.d.ts +14 -0
  131. package/dist/types/helpers/dcr/mint-token.d.ts +7 -0
  132. package/dist/types/helpers/dcr/validate-connect-origin.d.ts +20 -0
  133. package/dist/types/helpers/dcr/verify-token.d.ts +8 -0
  134. package/dist/types/helpers/default-destinations.d.ts +55 -0
  135. package/dist/types/helpers/entity-hooks-wrapper.d.ts +43 -0
  136. package/dist/types/helpers/hook-events.d.ts +20 -0
  137. package/dist/types/helpers/hook-user-payload.d.ts +8 -0
  138. package/dist/types/helpers/hrd.d.ts +3 -0
  139. package/dist/types/helpers/logging.d.ts +65 -0
  140. package/dist/types/helpers/outbox-cleanup.d.ts +10 -0
  141. package/dist/types/helpers/outbox-destinations/index.d.ts +2 -0
  142. package/dist/types/helpers/outbox-destinations/log-streams.d.ts +66 -0
  143. package/dist/types/helpers/outbox-destinations/logs.d.ts +20 -0
  144. package/dist/types/helpers/outbox-destinations/registration-finalizer.d.ts +29 -0
  145. package/dist/types/helpers/outbox-destinations/webhooks.d.ts +57 -0
  146. package/dist/types/helpers/outbox-relay.d.ts +34 -0
  147. package/dist/types/helpers/password-policy.d.ts +54 -0
  148. package/dist/types/helpers/request-object.d.ts +40 -0
  149. package/dist/types/helpers/run-outbox-relay.d.ts +58 -0
  150. package/dist/types/helpers/saml.d.ts +1 -0
  151. package/dist/types/helpers/scope-claims.d.ts +4 -0
  152. package/dist/types/helpers/scopes-permissions.d.ts +38 -0
  153. package/dist/types/helpers/server-timing.d.ts +12 -0
  154. package/dist/types/helpers/service-token.d.ts +54 -0
  155. package/dist/types/helpers/set-tenant-id.d.ts +15 -0
  156. package/dist/types/helpers/signing-keys.d.ts +16 -0
  157. package/dist/types/helpers/try-connection-client.d.ts +15 -0
  158. package/dist/types/helpers/user-linking.d.ts +14 -0
  159. package/dist/types/helpers/user-session-cleanup.d.ts +21 -0
  160. package/dist/types/helpers/users.d.ts +46 -0
  161. package/dist/types/helpers/wait-until.d.ts +21 -0
  162. package/dist/types/hooks/addDataHooks.d.ts +16 -0
  163. package/dist/types/hooks/code-executor/local.d.ts +13 -0
  164. package/dist/types/hooks/codehooks.d.ts +70 -0
  165. package/dist/types/hooks/formhooks.d.ts +99 -0
  166. package/dist/types/hooks/helpers/token-api.d.ts +17 -0
  167. package/dist/types/hooks/index.d.ts +20 -0
  168. package/dist/types/hooks/link-users.d.ts +29 -0
  169. package/dist/types/hooks/pagehooks.d.ts +16 -0
  170. package/dist/types/hooks/post-user-login.d.ts +29 -0
  171. package/dist/types/hooks/pre-defined/account-linking.d.ts +73 -0
  172. package/dist/types/hooks/pre-defined/ensure-username.d.ts +86 -0
  173. package/dist/types/hooks/pre-defined/index.d.ts +23 -0
  174. package/dist/types/hooks/pre-defined/set-preferred-username.d.ts +26 -0
  175. package/dist/types/hooks/templatehooks.d.ts +29 -0
  176. package/dist/types/hooks/user-deletion.d.ts +14 -0
  177. package/dist/types/hooks/user-registration.d.ts +88 -0
  178. package/dist/types/hooks/user-update.d.ts +16 -0
  179. package/dist/types/hooks/validate-signup.d.ts +34 -0
  180. package/dist/types/hooks/webhooks.d.ts +35 -0
  181. package/dist/types/i18n/index.d.ts +77 -0
  182. package/dist/types/index.d.ts +15791 -0
  183. package/dist/types/locales/index.d.ts +9 -0
  184. package/dist/types/middlewares/apply-config.d.ts +14 -0
  185. package/dist/types/middlewares/authentication.d.ts +26 -0
  186. package/dist/types/middlewares/client-info.d.ts +8 -0
  187. package/dist/types/middlewares/index.d.ts +6 -0
  188. package/dist/types/middlewares/outbox.d.ts +24 -0
  189. package/dist/types/middlewares/register-component.d.ts +10 -0
  190. package/dist/types/middlewares/tenant.d.ts +12 -0
  191. package/dist/types/migration-providers/auth0.d.ts +3 -0
  192. package/dist/types/migration-providers/index.d.ts +5 -0
  193. package/dist/types/migration-providers/types.d.ts +32 -0
  194. package/dist/types/routes/auth-api/account.d.ts +36 -0
  195. package/dist/types/routes/auth-api/authenticate.d.ts +31 -0
  196. package/dist/types/routes/auth-api/authorize.d.ts +239 -0
  197. package/dist/types/routes/auth-api/callback.d.ts +234 -0
  198. package/dist/types/routes/auth-api/connect-start.d.ts +52 -0
  199. package/dist/types/routes/auth-api/dbconnections.d.ts +43 -0
  200. package/dist/types/routes/auth-api/index.d.ts +1580 -0
  201. package/dist/types/routes/auth-api/logout.d.ts +20 -0
  202. package/dist/types/routes/auth-api/oidc-logout.d.ts +52 -0
  203. package/dist/types/routes/auth-api/passwordless.d.ts +154 -0
  204. package/dist/types/routes/auth-api/register/index.d.ts +159 -0
  205. package/dist/types/routes/auth-api/register/shared.d.ts +30 -0
  206. package/dist/types/routes/auth-api/revoke.d.ts +73 -0
  207. package/dist/types/routes/auth-api/token.d.ts +412 -0
  208. package/dist/types/routes/auth-api/userinfo.d.ts +84 -0
  209. package/dist/types/routes/auth-api/well-known.d.ts +74 -0
  210. package/dist/types/routes/management-api/action-executions.d.ts +90 -0
  211. package/dist/types/routes/management-api/action-triggers.d.ts +118 -0
  212. package/dist/types/routes/management-api/actions.d.ts +673 -0
  213. package/dist/types/routes/management-api/analytics.d.ts +18 -0
  214. package/dist/types/routes/management-api/attack-protection.d.ts +189 -0
  215. package/dist/types/routes/management-api/authentication-methods.d.ts +115 -0
  216. package/dist/types/routes/management-api/branding.d.ts +402 -0
  217. package/dist/types/routes/management-api/client-grants.d.ts +183 -0
  218. package/dist/types/routes/management-api/client-registration-tokens.d.ts +35 -0
  219. package/dist/types/routes/management-api/clients.d.ts +995 -0
  220. package/dist/types/routes/management-api/connections.d.ts +872 -0
  221. package/dist/types/routes/management-api/custom-domains.d.ts +266 -0
  222. package/dist/types/routes/management-api/email-templates.d.ts +205 -0
  223. package/dist/types/routes/management-api/emails.d.ts +124 -0
  224. package/dist/types/routes/management-api/failed-events.d.ts +146 -0
  225. package/dist/types/routes/management-api/flows.d.ts +438 -0
  226. package/dist/types/routes/management-api/forms.d.ts +4090 -0
  227. package/dist/types/routes/management-api/guardian.d.ts +211 -0
  228. package/dist/types/routes/management-api/hook-code.d.ts +142 -0
  229. package/dist/types/routes/management-api/hooks.d.ts +405 -0
  230. package/dist/types/routes/management-api/index.d.ts +13210 -0
  231. package/dist/types/routes/management-api/keys.d.ts +98 -0
  232. package/dist/types/routes/management-api/log-streams.d.ts +170 -0
  233. package/dist/types/routes/management-api/logs.d.ts +159 -0
  234. package/dist/types/routes/management-api/migration-sources.d.ts +173 -0
  235. package/dist/types/routes/management-api/organizations.d.ts +896 -0
  236. package/dist/types/routes/management-api/prompts.d.ts +150 -0
  237. package/dist/types/routes/management-api/refresh_tokens.d.ts +66 -0
  238. package/dist/types/routes/management-api/resource-servers.d.ts +321 -0
  239. package/dist/types/routes/management-api/roles.d.ts +260 -0
  240. package/dist/types/routes/management-api/sessions.d.ts +78 -0
  241. package/dist/types/routes/management-api/stats.d.ts +44 -0
  242. package/dist/types/routes/management-api/tenants.d.ts +546 -0
  243. package/dist/types/routes/management-api/themes.d.ts +265 -0
  244. package/dist/types/routes/management-api/tickets.d.ts +75 -0
  245. package/dist/types/routes/management-api/users-by-email.d.ts +23 -0
  246. package/dist/types/routes/management-api/users.d.ts +1085 -0
  247. package/dist/types/routes/saml/index.d.ts +64 -0
  248. package/dist/types/routes/saml/samlp.d.ts +64 -0
  249. package/dist/types/routes/setup.d.ts +6 -0
  250. package/dist/types/routes/universal-login/account-change-email-confirmation.d.ts +30 -0
  251. package/dist/types/routes/universal-login/account-change-email-verify.d.ts +66 -0
  252. package/dist/types/routes/universal-login/account-change-email.d.ts +58 -0
  253. package/dist/types/routes/universal-login/account.d.ts +64 -0
  254. package/dist/types/routes/universal-login/common.d.ts +1482 -0
  255. package/dist/types/routes/universal-login/continue.d.ts +37 -0
  256. package/dist/types/routes/universal-login/enter-password.d.ts +49 -0
  257. package/dist/types/routes/universal-login/error-handler.d.ts +14 -0
  258. package/dist/types/routes/universal-login/error-page.d.ts +32 -0
  259. package/dist/types/routes/universal-login/error.d.ts +20 -0
  260. package/dist/types/routes/universal-login/flow-api.d.ts +381 -0
  261. package/dist/types/routes/universal-login/flow-widget.d.ts +23 -0
  262. package/dist/types/routes/universal-login/forgot-password.d.ts +32 -0
  263. package/dist/types/routes/universal-login/form-node.d.ts +74 -0
  264. package/dist/types/routes/universal-login/identifier.d.ts +55 -0
  265. package/dist/types/routes/universal-login/impersonate.d.ts +71 -0
  266. package/dist/types/routes/universal-login/index.d.ts +748 -0
  267. package/dist/types/routes/universal-login/info.d.ts +20 -0
  268. package/dist/types/routes/universal-login/invalid-session.d.ts +19 -0
  269. package/dist/types/routes/universal-login/otp-challenge.d.ts +54 -0
  270. package/dist/types/routes/universal-login/pre-signup-sent.d.ts +19 -0
  271. package/dist/types/routes/universal-login/pre-signup.d.ts +32 -0
  272. package/dist/types/routes/universal-login/reset-password.d.ts +39 -0
  273. package/dist/types/routes/universal-login/sanitization-utils.d.ts +55 -0
  274. package/dist/types/routes/universal-login/screen-api.d.ts +20 -0
  275. package/dist/types/routes/universal-login/screens/accept-invitation.d.ts +13 -0
  276. package/dist/types/routes/universal-login/screens/account-delete.d.ts +14 -0
  277. package/dist/types/routes/universal-login/screens/account-helpers.d.ts +13 -0
  278. package/dist/types/routes/universal-login/screens/account-linked.d.ts +14 -0
  279. package/dist/types/routes/universal-login/screens/account-mfa-phone-enrollment.d.ts +10 -0
  280. package/dist/types/routes/universal-login/screens/account-mfa-totp-enrollment.d.ts +10 -0
  281. package/dist/types/routes/universal-login/screens/account-passkeys.d.ts +10 -0
  282. package/dist/types/routes/universal-login/screens/account-profile.d.ts +14 -0
  283. package/dist/types/routes/universal-login/screens/account-security.d.ts +14 -0
  284. package/dist/types/routes/universal-login/screens/account.d.ts +14 -0
  285. package/dist/types/routes/universal-login/screens/connect-consent.d.ts +9 -0
  286. package/dist/types/routes/universal-login/screens/connect-tenant-select.d.ts +13 -0
  287. package/dist/types/routes/universal-login/screens/email-otp-challenge.d.ts +14 -0
  288. package/dist/types/routes/universal-login/screens/enter-password.d.ts +14 -0
  289. package/dist/types/routes/universal-login/screens/forgot-password.d.ts +11 -0
  290. package/dist/types/routes/universal-login/screens/identifier.d.ts +14 -0
  291. package/dist/types/routes/universal-login/screens/impersonate.d.ts +15 -0
  292. package/dist/types/routes/universal-login/screens/index.d.ts +29 -0
  293. package/dist/types/routes/universal-login/screens/login-passwordless-identifier.d.ts +17 -0
  294. package/dist/types/routes/universal-login/screens/login.d.ts +17 -0
  295. package/dist/types/routes/universal-login/screens/magic-link-sent.d.ts +11 -0
  296. package/dist/types/routes/universal-login/screens/mfa-login-options.d.ts +21 -0
  297. package/dist/types/routes/universal-login/screens/mfa-phone-challenge.d.ts +14 -0
  298. package/dist/types/routes/universal-login/screens/mfa-phone-enrollment.d.ts +14 -0
  299. package/dist/types/routes/universal-login/screens/mfa-totp-challenge.d.ts +14 -0
  300. package/dist/types/routes/universal-login/screens/mfa-totp-enrollment.d.ts +17 -0
  301. package/dist/types/routes/universal-login/screens/passkey-challenge.d.ts +16 -0
  302. package/dist/types/routes/universal-login/screens/passkey-enrollment-nudge.d.ts +17 -0
  303. package/dist/types/routes/universal-login/screens/passkey-enrollment.d.ts +11 -0
  304. package/dist/types/routes/universal-login/screens/passkey-utils.d.ts +100 -0
  305. package/dist/types/routes/universal-login/screens/registry.d.ts +28 -0
  306. package/dist/types/routes/universal-login/screens/reset-password-code.d.ts +18 -0
  307. package/dist/types/routes/universal-login/screens/reset-password.d.ts +36 -0
  308. package/dist/types/routes/universal-login/screens/signup.d.ts +14 -0
  309. package/dist/types/routes/universal-login/screens/sms-otp-challenge.d.ts +14 -0
  310. package/dist/types/routes/universal-login/screens/try-connection-result.d.ts +12 -0
  311. package/dist/types/routes/universal-login/screens/types.d.ts +167 -0
  312. package/dist/types/routes/universal-login/signup.d.ts +54 -0
  313. package/dist/types/routes/universal-login/u2-form-node.d.ts +93 -0
  314. package/dist/types/routes/universal-login/u2-index.d.ts +173 -0
  315. package/dist/types/routes/universal-login/u2-routes.d.ts +98 -0
  316. package/dist/types/routes/universal-login/u2-widget-page.d.ts +187 -0
  317. package/dist/types/routes/universal-login/universal-login-template.d.ts +55 -0
  318. package/dist/types/routes/universal-login/validate-email.d.ts +20 -0
  319. package/dist/types/routes/universal-login/widget-routes.d.ts +81 -0
  320. package/dist/types/seed.d.ts +86 -0
  321. package/dist/types/state-machines/index.d.ts +1 -0
  322. package/dist/types/state-machines/login-session.d.ts +173 -0
  323. package/dist/types/storybook-utils/HonoJSXWrapper.d.ts +43 -0
  324. package/dist/types/strategies/apple.d.ts +24 -0
  325. package/dist/types/strategies/facebook.d.ts +20 -0
  326. package/dist/types/strategies/github.d.ts +23 -0
  327. package/dist/types/strategies/google-oauth2.d.ts +43 -0
  328. package/dist/types/strategies/index.d.ts +69 -0
  329. package/dist/types/strategies/internal-oauth2.d.ts +17 -0
  330. package/dist/types/strategies/microsoft.d.ts +24 -0
  331. package/dist/types/strategies/oauth2.d.ts +38 -0
  332. package/dist/types/strategies/oidc.d.ts +38 -0
  333. package/dist/types/strategies/saml.d.ts +9 -0
  334. package/dist/types/strategies/vipps.d.ts +16 -0
  335. package/dist/types/styles/index.d.ts +9 -0
  336. package/dist/types/styles/tailwind.d.ts +1 -0
  337. package/dist/types/types/Auth0Client.d.ts +9 -0
  338. package/dist/types/types/AuthError.d.ts +14 -0
  339. package/dist/types/types/AuthHeroConfig.d.ts +415 -0
  340. package/dist/types/types/Bindings.d.ts +51 -0
  341. package/dist/types/types/GrantFlowResult.d.ts +22 -0
  342. package/dist/types/types/Hooks.d.ts +240 -0
  343. package/dist/types/types/IdToken.d.ts +30 -0
  344. package/dist/types/types/UserInfo.d.ts +8 -0
  345. package/dist/types/types/Variables.d.ts +33 -0
  346. package/dist/types/types/auth0/Query.d.ts +12 -0
  347. package/dist/types/types/auth0/Totals.d.ts +11 -0
  348. package/dist/types/types/auth0/UserResponse.d.ts +46 -0
  349. package/dist/types/types/auth0/index.d.ts +3 -0
  350. package/dist/types/types/index.d.ts +6 -0
  351. package/dist/types/types/saml.d.ts +1 -0
  352. package/dist/types/utils/append-log.d.ts +10 -0
  353. package/dist/types/utils/auth-header.d.ts +18 -0
  354. package/dist/types/utils/auth0-upstream.d.ts +60 -0
  355. package/dist/types/utils/authIframe.d.ts +11 -0
  356. package/dist/types/utils/client-info.d.ts +47 -0
  357. package/dist/types/utils/color.d.ts +23 -0
  358. package/dist/types/utils/connections.d.ts +11 -0
  359. package/dist/types/utils/cookies.d.ts +28 -0
  360. package/dist/types/utils/crypto.d.ts +2 -0
  361. package/dist/types/utils/deep-merge.d.ts +6 -0
  362. package/dist/types/utils/encryption.d.ts +22 -0
  363. package/dist/types/utils/entity-id.d.ts +13 -0
  364. package/dist/types/utils/fetchAll.d.ts +60 -0
  365. package/dist/types/utils/form-post.d.ts +1 -0
  366. package/dist/types/utils/id-token-hash.d.ts +1 -0
  367. package/dist/types/utils/incognito.d.ts +11 -0
  368. package/dist/types/utils/instance-to-json.d.ts +8 -0
  369. package/dist/types/utils/ip.d.ts +8 -0
  370. package/dist/types/utils/is-valid-redirect-url.d.ts +4 -0
  371. package/dist/types/utils/jwk-alg.d.ts +20 -0
  372. package/dist/types/utils/jwks.d.ts +41 -0
  373. package/dist/types/utils/jwt.d.ts +15 -0
  374. package/dist/types/utils/organization-id.d.ts +2 -0
  375. package/dist/types/utils/otp.d.ts +1 -0
  376. package/dist/types/utils/refresh-token-format.d.ts +20 -0
  377. package/dist/types/utils/safe-compare.d.ts +1 -0
  378. package/dist/types/utils/sort.d.ts +4 -0
  379. package/dist/types/utils/ssrf-fetch.d.ts +44 -0
  380. package/dist/types/utils/ulid.d.ts +1 -0
  381. package/dist/types/utils/url.d.ts +16 -0
  382. package/dist/types/utils/user-id.d.ts +2 -0
  383. package/dist/types/utils/username-password-provider.d.ts +67 -0
  384. package/dist/types/utils/username.d.ts +11 -0
  385. package/dist/types/variables.d.ts +4 -0
  386. package/package.json +11 -11
@@ -0,0 +1,189 @@
1
+ import { OpenAPIHono } from "@hono/zod-openapi";
2
+ import { Bindings, Variables } from "../../types";
3
+ export declare const attackProtectionRoutes: OpenAPIHono<{
4
+ Bindings: Bindings;
5
+ Variables: Variables;
6
+ }, {
7
+ "/breached-password-detection": {
8
+ $get: {
9
+ input: {
10
+ header: {
11
+ "tenant-id"?: string | undefined;
12
+ };
13
+ };
14
+ output: {
15
+ enabled?: boolean | undefined;
16
+ shields?: string[] | undefined;
17
+ admin_notification_frequency?: string[] | undefined;
18
+ method?: string | undefined;
19
+ stage?: {
20
+ "pre-user-registration"?: {
21
+ shields?: string[] | undefined;
22
+ } | undefined;
23
+ "pre-change-password"?: {
24
+ shields?: string[] | undefined;
25
+ } | undefined;
26
+ } | undefined;
27
+ };
28
+ outputFormat: "json";
29
+ status: 200;
30
+ };
31
+ };
32
+ } & {
33
+ "/breached-password-detection": {
34
+ $patch: {
35
+ input: {
36
+ header: {
37
+ "tenant-id"?: string | undefined;
38
+ };
39
+ } & {
40
+ json: {
41
+ enabled?: boolean | undefined;
42
+ shields?: string[] | undefined;
43
+ admin_notification_frequency?: string[] | undefined;
44
+ method?: string | undefined;
45
+ stage?: {
46
+ "pre-user-registration"?: {
47
+ shields?: string[] | undefined;
48
+ } | undefined;
49
+ "pre-change-password"?: {
50
+ shields?: string[] | undefined;
51
+ } | undefined;
52
+ } | undefined;
53
+ };
54
+ };
55
+ output: {
56
+ enabled?: boolean | undefined;
57
+ shields?: string[] | undefined;
58
+ admin_notification_frequency?: string[] | undefined;
59
+ method?: string | undefined;
60
+ stage?: {
61
+ "pre-user-registration"?: {
62
+ shields?: string[] | undefined;
63
+ } | undefined;
64
+ "pre-change-password"?: {
65
+ shields?: string[] | undefined;
66
+ } | undefined;
67
+ } | undefined;
68
+ };
69
+ outputFormat: "json";
70
+ status: 200;
71
+ };
72
+ };
73
+ } & {
74
+ "/brute-force-protection": {
75
+ $get: {
76
+ input: {
77
+ header: {
78
+ "tenant-id"?: string | undefined;
79
+ };
80
+ };
81
+ output: {
82
+ enabled?: boolean | undefined;
83
+ shields?: string[] | undefined;
84
+ allowlist?: string[] | undefined;
85
+ mode?: string | undefined;
86
+ max_attempts?: number | undefined;
87
+ };
88
+ outputFormat: "json";
89
+ status: 200;
90
+ };
91
+ };
92
+ } & {
93
+ "/brute-force-protection": {
94
+ $patch: {
95
+ input: {
96
+ header: {
97
+ "tenant-id"?: string | undefined;
98
+ };
99
+ } & {
100
+ json: {
101
+ enabled?: boolean | undefined;
102
+ shields?: string[] | undefined;
103
+ allowlist?: string[] | undefined;
104
+ mode?: string | undefined;
105
+ max_attempts?: number | undefined;
106
+ };
107
+ };
108
+ output: {
109
+ enabled?: boolean | undefined;
110
+ shields?: string[] | undefined;
111
+ allowlist?: string[] | undefined;
112
+ mode?: string | undefined;
113
+ max_attempts?: number | undefined;
114
+ };
115
+ outputFormat: "json";
116
+ status: 200;
117
+ };
118
+ };
119
+ } & {
120
+ "/suspicious-ip-throttling": {
121
+ $get: {
122
+ input: {
123
+ header: {
124
+ "tenant-id"?: string | undefined;
125
+ };
126
+ };
127
+ output: {
128
+ enabled?: boolean | undefined;
129
+ shields?: string[] | undefined;
130
+ allowlist?: string[] | undefined;
131
+ stage?: {
132
+ "pre-login"?: {
133
+ max_attempts?: number | undefined;
134
+ rate?: number | undefined;
135
+ } | undefined;
136
+ "pre-user-registration"?: {
137
+ max_attempts?: number | undefined;
138
+ rate?: number | undefined;
139
+ } | undefined;
140
+ } | undefined;
141
+ };
142
+ outputFormat: "json";
143
+ status: 200;
144
+ };
145
+ };
146
+ } & {
147
+ "/suspicious-ip-throttling": {
148
+ $patch: {
149
+ input: {
150
+ header: {
151
+ "tenant-id"?: string | undefined;
152
+ };
153
+ } & {
154
+ json: {
155
+ enabled?: boolean | undefined;
156
+ shields?: string[] | undefined;
157
+ allowlist?: string[] | undefined;
158
+ stage?: {
159
+ "pre-login"?: {
160
+ max_attempts?: number | undefined;
161
+ rate?: number | undefined;
162
+ } | undefined;
163
+ "pre-user-registration"?: {
164
+ max_attempts?: number | undefined;
165
+ rate?: number | undefined;
166
+ } | undefined;
167
+ } | undefined;
168
+ };
169
+ };
170
+ output: {
171
+ enabled?: boolean | undefined;
172
+ shields?: string[] | undefined;
173
+ allowlist?: string[] | undefined;
174
+ stage?: {
175
+ "pre-login"?: {
176
+ max_attempts?: number | undefined;
177
+ rate?: number | undefined;
178
+ } | undefined;
179
+ "pre-user-registration"?: {
180
+ max_attempts?: number | undefined;
181
+ rate?: number | undefined;
182
+ } | undefined;
183
+ } | undefined;
184
+ };
185
+ outputFormat: "json";
186
+ status: 200;
187
+ };
188
+ };
189
+ }, "/">;
@@ -0,0 +1,115 @@
1
+ import { Bindings, Variables } from "../../types";
2
+ import { OpenAPIHono } from "@hono/zod-openapi";
3
+ export declare const authenticationMethodsRoutes: OpenAPIHono<{
4
+ Bindings: Bindings;
5
+ Variables: Variables;
6
+ }, {
7
+ "/": {
8
+ $get: {
9
+ input: {
10
+ header: {
11
+ "tenant-id"?: string | undefined;
12
+ };
13
+ };
14
+ output: {
15
+ id: string;
16
+ type: string;
17
+ confirmed: boolean;
18
+ created_at: string;
19
+ phone_number?: string | undefined;
20
+ credential_id?: string | undefined;
21
+ public_key?: string | undefined;
22
+ sign_count?: number | undefined;
23
+ credential_backed_up?: boolean | undefined;
24
+ transports?: string[] | undefined;
25
+ friendly_name?: string | undefined;
26
+ }[];
27
+ outputFormat: "json";
28
+ status: 200;
29
+ };
30
+ };
31
+ } & {
32
+ "/": {
33
+ $post: {
34
+ input: {
35
+ header: {
36
+ "tenant-id"?: string | undefined;
37
+ };
38
+ } & {
39
+ json: {
40
+ type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
41
+ phone_number?: string | undefined;
42
+ totp_secret?: string | undefined;
43
+ credential_id?: string | undefined;
44
+ public_key?: string | undefined;
45
+ sign_count?: number | undefined;
46
+ credential_backed_up?: boolean | undefined;
47
+ transports?: string[] | undefined;
48
+ friendly_name?: string | undefined;
49
+ confirmed?: boolean | undefined;
50
+ };
51
+ };
52
+ output: {
53
+ id: string;
54
+ type: string;
55
+ confirmed: boolean;
56
+ created_at: string;
57
+ phone_number?: string | undefined;
58
+ credential_id?: string | undefined;
59
+ public_key?: string | undefined;
60
+ sign_count?: number | undefined;
61
+ credential_backed_up?: boolean | undefined;
62
+ transports?: string[] | undefined;
63
+ friendly_name?: string | undefined;
64
+ };
65
+ outputFormat: "json";
66
+ status: 201;
67
+ };
68
+ };
69
+ } & {
70
+ "/:method_id": {
71
+ $get: {
72
+ input: {
73
+ param: {
74
+ method_id: string;
75
+ };
76
+ } & {
77
+ header: {
78
+ "tenant-id"?: string | undefined;
79
+ };
80
+ };
81
+ output: {
82
+ id: string;
83
+ type: string;
84
+ confirmed: boolean;
85
+ created_at: string;
86
+ phone_number?: string | undefined;
87
+ credential_id?: string | undefined;
88
+ public_key?: string | undefined;
89
+ sign_count?: number | undefined;
90
+ credential_backed_up?: boolean | undefined;
91
+ transports?: string[] | undefined;
92
+ friendly_name?: string | undefined;
93
+ };
94
+ outputFormat: "json";
95
+ status: 200;
96
+ };
97
+ };
98
+ } & {
99
+ "/:method_id": {
100
+ $delete: {
101
+ input: {
102
+ param: {
103
+ method_id: string;
104
+ };
105
+ } & {
106
+ header: {
107
+ "tenant-id"?: string | undefined;
108
+ };
109
+ };
110
+ output: {};
111
+ outputFormat: string;
112
+ status: 204;
113
+ };
114
+ };
115
+ }, "/">;
@@ -0,0 +1,402 @@
1
+ import { Bindings, Variables } from "../../types";
2
+ import { OpenAPIHono } from "@hono/zod-openapi";
3
+ export declare const brandingRoutes: OpenAPIHono<{
4
+ Bindings: Bindings;
5
+ Variables: Variables;
6
+ }, import("hono/types").MergeSchemaPath<{
7
+ "/default": {
8
+ $get: {
9
+ input: {
10
+ header: {
11
+ "tenant-id"?: string | undefined;
12
+ };
13
+ };
14
+ output: {
15
+ borders: {
16
+ button_border_radius: number;
17
+ button_border_weight: number;
18
+ buttons_style: "pill" | "rounded" | "sharp";
19
+ input_border_radius: number;
20
+ input_border_weight: number;
21
+ inputs_style: "pill" | "rounded" | "sharp";
22
+ show_widget_shadow: boolean;
23
+ widget_border_weight: number;
24
+ widget_corner_radius: number;
25
+ };
26
+ colors: {
27
+ base_focus_color: string;
28
+ base_hover_color: string;
29
+ body_text: string;
30
+ captcha_widget_theme: "dark" | "light" | "auto";
31
+ error: string;
32
+ header: string;
33
+ icons: string;
34
+ input_background: string;
35
+ input_border: string;
36
+ input_filled_text: string;
37
+ input_labels_placeholders: string;
38
+ links_focused_components: string;
39
+ primary_button: string;
40
+ primary_button_label: string;
41
+ secondary_button_border: string;
42
+ secondary_button_label: string;
43
+ success: string;
44
+ widget_background: string;
45
+ widget_border: string;
46
+ };
47
+ displayName: string;
48
+ fonts: {
49
+ body_text: {
50
+ bold: boolean;
51
+ size: number;
52
+ };
53
+ buttons_text: {
54
+ bold: boolean;
55
+ size: number;
56
+ };
57
+ font_url: string;
58
+ input_labels: {
59
+ bold: boolean;
60
+ size: number;
61
+ };
62
+ links: {
63
+ bold: boolean;
64
+ size: number;
65
+ };
66
+ links_style: "normal" | "underlined";
67
+ reference_text_size: number;
68
+ subtitle: {
69
+ bold: boolean;
70
+ size: number;
71
+ };
72
+ title: {
73
+ bold: boolean;
74
+ size: number;
75
+ };
76
+ };
77
+ page_background: {
78
+ background_color: string;
79
+ background_image_url: string;
80
+ page_layout: "center" | "left" | "right";
81
+ logo_placement?: "none" | "widget" | "chip" | undefined;
82
+ };
83
+ widget: {
84
+ header_text_alignment: "center" | "left" | "right";
85
+ logo_height: number;
86
+ logo_position: "none" | "center" | "left" | "right";
87
+ logo_url: string;
88
+ social_buttons_layout: "bottom" | "top";
89
+ };
90
+ themeId: string;
91
+ };
92
+ outputFormat: "json";
93
+ status: 200;
94
+ };
95
+ };
96
+ } & {
97
+ "/default": {
98
+ $patch: {
99
+ input: {
100
+ header: {
101
+ "tenant-id"?: string | undefined;
102
+ };
103
+ } & {
104
+ json: {
105
+ borders: {
106
+ button_border_radius: number;
107
+ button_border_weight: number;
108
+ buttons_style: "pill" | "rounded" | "sharp";
109
+ input_border_radius: number;
110
+ input_border_weight: number;
111
+ inputs_style: "pill" | "rounded" | "sharp";
112
+ show_widget_shadow: boolean;
113
+ widget_border_weight: number;
114
+ widget_corner_radius: number;
115
+ };
116
+ colors: {
117
+ base_focus_color: string;
118
+ base_hover_color: string;
119
+ body_text: string;
120
+ captcha_widget_theme: "dark" | "light" | "auto";
121
+ error: string;
122
+ header: string;
123
+ icons: string;
124
+ input_background: string;
125
+ input_border: string;
126
+ input_filled_text: string;
127
+ input_labels_placeholders: string;
128
+ links_focused_components: string;
129
+ primary_button: string;
130
+ primary_button_label: string;
131
+ secondary_button_border: string;
132
+ secondary_button_label: string;
133
+ success: string;
134
+ widget_background: string;
135
+ widget_border: string;
136
+ };
137
+ displayName: string;
138
+ fonts: {
139
+ body_text: {
140
+ bold: boolean;
141
+ size: number;
142
+ };
143
+ buttons_text: {
144
+ bold: boolean;
145
+ size: number;
146
+ };
147
+ font_url: string;
148
+ input_labels: {
149
+ bold: boolean;
150
+ size: number;
151
+ };
152
+ links: {
153
+ bold: boolean;
154
+ size: number;
155
+ };
156
+ links_style: "normal" | "underlined";
157
+ reference_text_size: number;
158
+ subtitle: {
159
+ bold: boolean;
160
+ size: number;
161
+ };
162
+ title: {
163
+ bold: boolean;
164
+ size: number;
165
+ };
166
+ };
167
+ page_background: {
168
+ background_color: string;
169
+ background_image_url: string;
170
+ page_layout: "center" | "left" | "right";
171
+ logo_placement?: "none" | "widget" | "chip" | undefined;
172
+ };
173
+ widget: {
174
+ header_text_alignment: "center" | "left" | "right";
175
+ logo_height: number;
176
+ logo_position: "none" | "center" | "left" | "right";
177
+ logo_url: string;
178
+ social_buttons_layout: "bottom" | "top";
179
+ };
180
+ themeId: string;
181
+ };
182
+ };
183
+ output: {
184
+ borders: {
185
+ button_border_radius: number;
186
+ button_border_weight: number;
187
+ buttons_style: "pill" | "rounded" | "sharp";
188
+ input_border_radius: number;
189
+ input_border_weight: number;
190
+ inputs_style: "pill" | "rounded" | "sharp";
191
+ show_widget_shadow: boolean;
192
+ widget_border_weight: number;
193
+ widget_corner_radius: number;
194
+ };
195
+ colors: {
196
+ base_focus_color: string;
197
+ base_hover_color: string;
198
+ body_text: string;
199
+ captcha_widget_theme: "dark" | "light" | "auto";
200
+ error: string;
201
+ header: string;
202
+ icons: string;
203
+ input_background: string;
204
+ input_border: string;
205
+ input_filled_text: string;
206
+ input_labels_placeholders: string;
207
+ links_focused_components: string;
208
+ primary_button: string;
209
+ primary_button_label: string;
210
+ secondary_button_border: string;
211
+ secondary_button_label: string;
212
+ success: string;
213
+ widget_background: string;
214
+ widget_border: string;
215
+ };
216
+ displayName: string;
217
+ fonts: {
218
+ body_text: {
219
+ bold: boolean;
220
+ size: number;
221
+ };
222
+ buttons_text: {
223
+ bold: boolean;
224
+ size: number;
225
+ };
226
+ font_url: string;
227
+ input_labels: {
228
+ bold: boolean;
229
+ size: number;
230
+ };
231
+ links: {
232
+ bold: boolean;
233
+ size: number;
234
+ };
235
+ links_style: "normal" | "underlined";
236
+ reference_text_size: number;
237
+ subtitle: {
238
+ bold: boolean;
239
+ size: number;
240
+ };
241
+ title: {
242
+ bold: boolean;
243
+ size: number;
244
+ };
245
+ };
246
+ page_background: {
247
+ background_color: string;
248
+ background_image_url: string;
249
+ page_layout: "center" | "left" | "right";
250
+ logo_placement?: "none" | "widget" | "chip" | undefined;
251
+ };
252
+ widget: {
253
+ header_text_alignment: "center" | "left" | "right";
254
+ logo_height: number;
255
+ logo_position: "none" | "center" | "left" | "right";
256
+ logo_url: string;
257
+ social_buttons_layout: "bottom" | "top";
258
+ };
259
+ themeId: string;
260
+ };
261
+ outputFormat: "json";
262
+ status: 200;
263
+ };
264
+ };
265
+ }, "/themes"> & {
266
+ "/": {
267
+ $get: {
268
+ input: {
269
+ header: {
270
+ "tenant-id"?: string | undefined;
271
+ };
272
+ };
273
+ output: {
274
+ colors?: {
275
+ primary: string;
276
+ page_background?: string | {
277
+ type?: string | undefined;
278
+ start?: string | undefined;
279
+ end?: string | undefined;
280
+ angle_deg?: number | undefined;
281
+ } | undefined;
282
+ } | undefined;
283
+ logo_url?: string | undefined;
284
+ favicon_url?: string | undefined;
285
+ powered_by_logo_url?: string | undefined;
286
+ font?: {
287
+ url: string;
288
+ } | undefined;
289
+ dark_mode?: "dark" | "light" | "auto" | undefined;
290
+ };
291
+ outputFormat: "json";
292
+ status: 200;
293
+ };
294
+ };
295
+ } & {
296
+ "/": {
297
+ $patch: {
298
+ input: {
299
+ header: {
300
+ "tenant-id"?: string | undefined;
301
+ };
302
+ } & {
303
+ json: {
304
+ colors?: {
305
+ primary: string;
306
+ page_background?: string | {
307
+ type?: string | undefined;
308
+ start?: string | undefined;
309
+ end?: string | undefined;
310
+ angle_deg?: number | undefined;
311
+ } | undefined;
312
+ } | undefined;
313
+ logo_url?: string | undefined;
314
+ favicon_url?: string | undefined;
315
+ powered_by_logo_url?: string | undefined;
316
+ font?: {
317
+ url: string;
318
+ } | undefined;
319
+ dark_mode?: "dark" | "light" | "auto" | undefined;
320
+ };
321
+ };
322
+ output: {
323
+ colors?: {
324
+ primary: string;
325
+ page_background?: string | {
326
+ type?: string | undefined;
327
+ start?: string | undefined;
328
+ end?: string | undefined;
329
+ angle_deg?: number | undefined;
330
+ } | undefined;
331
+ } | undefined;
332
+ logo_url?: string | undefined;
333
+ favicon_url?: string | undefined;
334
+ powered_by_logo_url?: string | undefined;
335
+ font?: {
336
+ url: string;
337
+ } | undefined;
338
+ dark_mode?: "dark" | "light" | "auto" | undefined;
339
+ };
340
+ outputFormat: "json";
341
+ status: 200;
342
+ };
343
+ };
344
+ } & {
345
+ "/templates/universal-login": {
346
+ $get: {
347
+ input: {
348
+ header: {
349
+ "tenant-id"?: string | undefined;
350
+ };
351
+ };
352
+ output: {
353
+ body: string;
354
+ };
355
+ outputFormat: "json";
356
+ status: 200;
357
+ };
358
+ };
359
+ } & {
360
+ "/templates/universal-login": {
361
+ $put: {
362
+ input: {
363
+ header: {
364
+ "tenant-id"?: string | undefined;
365
+ };
366
+ } & {
367
+ json: {
368
+ body: string;
369
+ };
370
+ };
371
+ output: {};
372
+ outputFormat: string;
373
+ status: 204;
374
+ } | {
375
+ input: {
376
+ header: {
377
+ "tenant-id"?: string | undefined;
378
+ };
379
+ } & {
380
+ json: {
381
+ body: string;
382
+ };
383
+ };
384
+ output: {};
385
+ outputFormat: string;
386
+ status: 400;
387
+ };
388
+ };
389
+ } & {
390
+ "/templates/universal-login": {
391
+ $delete: {
392
+ input: {
393
+ header: {
394
+ "tenant-id"?: string | undefined;
395
+ };
396
+ };
397
+ output: {};
398
+ outputFormat: string;
399
+ status: 204;
400
+ };
401
+ };
402
+ }, "/">;