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

from __future__ import annotations
from .pushsubscriptiondelivery import (
    PushSubscriptionDelivery,
    PushSubscriptionDeliveryTypedDict,
)
from ascend_sdk.types import BaseModel
from typing import List, Optional
from typing_extensions import NotRequired, TypedDict


class ListPushSubscriptionDeliveriesResponseTypedDict(TypedDict):
    r"""A response to a list push subscription deliveries method"""

    next_page_token: NotRequired[str]
    r"""Page token used for pagination; Supplying a page token returns the next page of results"""
    push_subscription_deliveries: NotRequired[List[PushSubscriptionDeliveryTypedDict]]
    r"""The returned collection of deliveries"""


class ListPushSubscriptionDeliveriesResponse(BaseModel):
    r"""A response to a list push subscription deliveries method"""

    next_page_token: Optional[str] = None
    r"""Page token used for pagination; Supplying a page token returns the next page of results"""

    push_subscription_deliveries: Optional[List[PushSubscriptionDelivery]] = None
    r"""The returned collection of deliveries"""
