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

from __future__ import annotations
from .basketordercreate import BasketOrderCreate, BasketOrderCreateTypedDict
from ascend_sdk.types import BaseModel
from typing import List
from typing_extensions import TypedDict


class AddOrdersRequestCreateTypedDict(TypedDict):
    r"""The message to add a list of basket orders to a basket"""

    basket_orders: List[BasketOrderCreateTypedDict]
    r"""The orders to add to the basket. A maximum of 1000 orders can be added to a basket at a time."""
    name: str
    r"""Format: correspondents/{correspondent}/baskets/{basket}"""


class AddOrdersRequestCreate(BaseModel):
    r"""The message to add a list of basket orders to a basket"""

    basket_orders: List[BasketOrderCreate]
    r"""The orders to add to the basket. A maximum of 1000 orders can be added to a basket at a time."""

    name: str
    r"""Format: correspondents/{correspondent}/baskets/{basket}"""
