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

from __future__ import annotations

from typing_extensions import Required, Annotated, TypedDict

from ...._utils import PropertyInfo

__all__ = ["LocationRetrieveGeosegmentParams"]


class LocationRetrieveGeosegmentParams(TypedDict, total=False):
    location_id: Required[Annotated[int, PropertyInfo(alias="locationId")]]
    """Id of the viewing location."""

    city: str
    """City name, as we get it from AWS CloudFront's headers."""

    country_code: Annotated[str, PropertyInfo(alias="countryCode")]
    """Country code, as we get it from AWS CloudFront's headers."""

    country_name: Annotated[str, PropertyInfo(alias="countryName")]
    """Country name, as we get it from AWS CloudFront's headers."""

    postal_code: Annotated[str, PropertyInfo(alias="postalCode")]
    """Postal code, as we get it from AWS CloudFront's headers."""

    region_code: Annotated[str, PropertyInfo(alias="regionCode")]
    """Region code, as we get it from AWS CloudFront's headers."""

    region_name: Annotated[str, PropertyInfo(alias="regionName")]
    """Region name, as we get it from AWS CloudFront's headers."""
