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

from __future__ import annotations
from .transferschedulesummary import (
    TransferScheduleSummary,
    TransferScheduleSummaryTypedDict,
)
from ascend_sdk.types import BaseModel
from typing import List, Optional
from typing_extensions import NotRequired, TypedDict


class ListScheduleSummariesResponseTypedDict(TypedDict):
    r"""Response to a search transfer schedules request"""

    next_page_token: NotRequired[str]
    r"""The next page token"""
    schedule_summaries: NotRequired[List[TransferScheduleSummaryTypedDict]]
    r"""The list of transfer schedule details"""


class ListScheduleSummariesResponse(BaseModel):
    r"""Response to a search transfer schedules request"""

    next_page_token: Optional[str] = None
    r"""The next page token"""

    schedule_summaries: Optional[List[TransferScheduleSummary]] = None
    r"""The list of transfer schedule details"""
