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

from __future__ import annotations
from .responseenvelopeorganizationcredits import (
    ResponseEnvelopeOrganizationCredits,
    ResponseEnvelopeOrganizationCreditsTypedDict,
)
from censys_platform.types import BaseModel
from censys_platform.utils import FieldMetadata, PathParamMetadata
from typing import Dict, List
from typing_extensions import Annotated, TypedDict


class V3AccountmanagementOrgCreditsRequestTypedDict(TypedDict):
    organization_id: str
    r"""The ID of a Censys organization. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-find-and-use-your-organization-id-optional) for more information."""


class V3AccountmanagementOrgCreditsRequest(BaseModel):
    organization_id: Annotated[
        str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
    ]
    r"""The ID of a Censys organization. See the [Getting Started docs](https://docs.censys.com/reference/get-started#step-3-find-and-use-your-organization-id-optional) for more information."""


class V3AccountmanagementOrgCreditsResponseTypedDict(TypedDict):
    headers: Dict[str, List[str]]
    result: ResponseEnvelopeOrganizationCreditsTypedDict


class V3AccountmanagementOrgCreditsResponse(BaseModel):
    headers: Dict[str, List[str]]

    result: ResponseEnvelopeOrganizationCredits
