"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from outpost_sdk.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class PortalRedirectTypedDict(TypedDict):
    redirect_url: NotRequired[str]
    r"""Redirect URL containing a JWT to authenticate the user with the portal."""


class PortalRedirect(BaseModel):
    redirect_url: Optional[str] = None
    r"""Redirect URL containing a JWT to authenticate the user with the portal."""
