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

from __future__ import annotations
from apideck_unify.types import BaseModel
from typing_extensions import TypedDict


class AccountingConnectionCompanyTypedDict(TypedDict):
    r"""Represents a company/tenant/organization accessible through the current connection. Used for multi-company connectors where a single OAuth connection provides access to multiple companies."""

    id: str
    r"""Unique identifier for the company in the downstream system. Use this value in the x-apideck-company-id header to scope requests to this company."""
    name: str
    r"""Display name of the company"""


class AccountingConnectionCompany(BaseModel):
    r"""Represents a company/tenant/organization accessible through the current connection. Used for multi-company connectors where a single OAuth connection provides access to multiple companies."""

    id: str
    r"""Unique identifier for the company in the downstream system. Use this value in the x-apideck-company-id header to scope requests to this company."""

    name: str
    r"""Display name of the company"""
