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

from __future__ import annotations
from .workspacemember import WorkspaceMember, WorkspaceMemberTypedDict
from openrouter.types import BaseModel
from typing import List
from typing_extensions import TypedDict


class BulkAddWorkspaceMembersResponseTypedDict(TypedDict):
    added_count: int
    r"""Number of workspace memberships created or updated"""
    data: List[WorkspaceMemberTypedDict]
    r"""List of added workspace memberships"""


class BulkAddWorkspaceMembersResponse(BaseModel):
    added_count: int
    r"""Number of workspace memberships created or updated"""

    data: List[WorkspaceMember]
    r"""List of added workspace memberships"""
