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

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


class OrganizationPreferencesTypedDict(TypedDict):
    ai_opt_in: NotRequired[bool]
    r"""Whether the organization has opted into AI features."""
    ai_training: NotRequired[bool]
    r"""Whether the organization has opted into AI training."""
    mfa_required: NotRequired[bool]
    r"""Whether the organization has opted into multi-factor authentication."""


class OrganizationPreferences(BaseModel):
    ai_opt_in: Optional[bool] = None
    r"""Whether the organization has opted into AI features."""

    ai_training: Optional[bool] = None
    r"""Whether the organization has opted into AI training."""

    mfa_required: Optional[bool] = None
    r"""Whether the organization has opted into multi-factor authentication."""
