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

from __future__ import annotations
from .agreement import Agreement, AgreementTypedDict
from ascend_sdk.types import BaseModel
from typing import List, Optional
from typing_extensions import NotRequired, TypedDict


class AffirmAgreementsResponseTypedDict(TypedDict):
    r"""The response for affirming agreements."""

    agreements: NotRequired[List[AgreementTypedDict]]
    r"""The collection of affirmed legal agreements belonging to a given account."""


class AffirmAgreementsResponse(BaseModel):
    r"""The response for affirming agreements."""

    agreements: Optional[List[Agreement]] = None
    r"""The collection of affirmed legal agreements belonging to a given account."""
