"""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 EnrollAccountResponseTypedDict(TypedDict):
    r"""The response for enrolling an account."""

    agreements: NotRequired[List[AgreementTypedDict]]
    r"""The collection of legal agreements that require affirmation to enroll the account in a program."""


class EnrollAccountResponse(BaseModel):
    r"""The response for enrolling an account."""

    agreements: Optional[List[Agreement]] = None
    r"""The collection of legal agreements that require affirmation to enroll the account in a program."""
