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

from __future__ import annotations
from macropay_sdk.types import BaseModel
from macropay_sdk.utils import validate_const
import pydantic
from pydantic.functional_validators import AfterValidator
from typing import Literal
from typing_extensions import Annotated, TypedDict


class CustomerBenefitGrantLicenseKeysUpdateTypedDict(TypedDict):
    benefit_type: Literal["license_keys"]


class CustomerBenefitGrantLicenseKeysUpdate(BaseModel):
    BENEFIT_TYPE: Annotated[
        Annotated[
            Literal["license_keys"], AfterValidator(validate_const("license_keys"))
        ],
        pydantic.Field(alias="benefit_type"),
    ] = "license_keys"
