# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from __future__ import annotations

from typing import Iterable
from typing_extensions import Literal, Required, TypedDict

__all__ = ["ListCreateParams", "Item"]


class ListCreateParams(TypedDict, total=False):
    account_id: Required[object]

    name: Required[str]
    """The name of the list."""

    type: Required[Literal["SERIAL", "URL", "DOMAIN", "EMAIL", "IP"]]
    """The type of list."""

    description: str
    """The description of the list."""

    items: Iterable[Item]
    """The items in the list."""


class Item(TypedDict, total=False):
    value: str
    """The value of the item in a list."""
