How to make a TimeSeriesDatapoints instance

Based on the entry at External types as TimeseriesDataPoint, I wonder if I could use TimeseriesDataPoints.make inside an actionDecl. So far,

TimeseriesDataPoints.make({
            "parent": "adfasdfasd",
            "start": new Date(),
            "intervalMillis": 3600*1000,
            "outlierCode":0,
            "comments":"",
            "isEstimated":false,
            "dataVersion":1,
            "statusCode":'',
            "values":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24] })

fails with Incomplete type TimeseriesDataPoints to make. [AmbiguousType]. Should I use instead a new type that mixes TimeseriesDataPoints and the declares the values property with the @ts notation?

@santiago.lopez yes. TimeseriesDataPoints is an abstract type and should not be instantiated. Also it does not have any field called values.

Moreover, the result value type of actionDecl has to be Timeseries and not TimeseriesDataPoints. In order to make a Timeseries object construct it using Timeseries.makeNorm