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

from __future__ import annotations
from .activity import Activity, ActivityTypedDict
from ascend_sdk.types import BaseModel
from typing import List, Optional
from typing_extensions import NotRequired, TypedDict


class ListActivitiesResponseTypedDict(TypedDict):
    r"""A response to the list activity method"""

    activities: NotRequired[List[ActivityTypedDict]]
    r"""an array of activities Returns empty array if no results are found"""
    next_page_token: NotRequired[str]
    r"""The next page token returned by this call. Can be provided in another request to retrieve the subsequent page"""


class ListActivitiesResponse(BaseModel):
    r"""A response to the list activity method"""

    activities: Optional[List[Activity]] = None
    r"""an array of activities Returns empty array if no results are found"""

    next_page_token: Optional[str] = None
    r"""The next page token returned by this call. Can be provided in another request to retrieve the subsequent page"""
