@cognite/sdk
Advanced tools
Comparing version 9.12.0 to 9.13.0
import { BaseResourceAPI } from '@cognite/sdk-core'; | ||
import { DatapointsDeleteRequest, DatapointAggregates, Datapoints, DatapointsMultiQuery, IgnoreUnknownIds, LatestDataBeforeRequest, ExternalDatapointsQuery, DatapointsMonthlyGranularityMultiQuery } from '../../types'; | ||
import { DatapointsDeleteRequest, DatapointAggregates, Datapoints, DatapointsMultiQuery, IgnoreUnknownIds, LatestDataBeforeRequest, ExternalDatapointsQuery, Timestamp, DatapointsMonthlyGranularityMultiQuery } from '../../types'; | ||
export declare class DataPointsAPI extends BaseResourceAPI<DatapointAggregates | Datapoints> { | ||
@@ -57,6 +57,13 @@ /** | ||
private insertEndpoint; | ||
private retrieveDatapointsEndpoint; | ||
protected retrieveDatapointsEndpoint<T extends DatapointAggregates[] | Datapoints[] = DatapointAggregates[] | Datapoints[]>(query: DatapointsMultiQuery): Promise<T>; | ||
private retrieveLatestEndpoint; | ||
private deleteDatapointsEndpoint; | ||
protected getMonthsBetweenDates: (startDate: Timestamp | string, endDate: Timestamp | string) => MonthInfo[]; | ||
} | ||
interface MonthInfo { | ||
startDate: Timestamp; | ||
endDate: Timestamp; | ||
numberOfDays: number; | ||
} | ||
export declare type LatestDataParams = IgnoreUnknownIds; | ||
export {}; |
@@ -85,3 +85,3 @@ import { BaseCogniteClient, RetryValidator } from '@cognite/sdk-core'; | ||
private timeSeriesApi?; | ||
private dataPointsApi?; | ||
protected dataPointsApi?: DataPointsAPI; | ||
private sequencesApi?; | ||
@@ -88,0 +88,0 @@ private eventsApi?; |
@@ -9,3 +9,3 @@ { | ||
"types": "dist/src/index.d.js", | ||
"version": "9.12.0", | ||
"version": "9.13.0", | ||
"scripts": { | ||
@@ -38,3 +38,3 @@ "clean": "rm -rf dist/ docs/ codeSnippets/", | ||
}, | ||
"gitHead": "63426659dee46d0a5704afb2ebf88c5331c23036" | ||
"gitHead": "f5291485acc0d1bebe4708ba01640182a180b333" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
741016
15738