from typing import TypedDict, List, Optional, Literal, Union
from .tvp import TVP
from datetime import datetime

class SeriesPronoDict(TypedDict):
    """
    Parameters:
    -----------
    series_id : int
    
    series_table : str
    
    pronosticos: List[TVP]
    """
    series_id : int
    series_table : str
    pronosticos: List[TVP]
    cal_id : Optional[int]
    tipo : Optional[Literal["puntual","areal","raster"]]
    qualifier : Optional[str]
    forecast_timestart : Optional[datetime]
    forecast_timeend : Optional[datetime]
    forecast_date : Optional[datetime]
