@mindconnect/mindconnect-nodejs
Version:
MindConnect Library for NodeJS (community based)
145 lines (144 loc) • 3.13 kB
TypeScript
export declare namespace TimeSeriesModels {
/**
*
* @export
* @interface Badrequest
*/
interface Badrequest {
/**
*
* @type {string}
* @memberof Badrequest
*/
id?: string;
/**
*
* @type {string}
* @memberof Badrequest
*/
message?: string;
}
/**
*
* @export
* @interface Error
*/
interface Error {
/**
*
* @type {string}
* @memberof Error
*/
id?: string;
/**
*
* @type {string}
* @memberof Error
*/
message?: string;
}
/**
*
* @export
* @interface Notfound
*/
interface Notfound {
/**
*
* @type {string}
* @memberof Notfound
*/
id?: string;
/**
*
* @type {string}
* @memberof Notfound
*/
message?: string;
}
/**
*
* @export
* @interface Timeseries
*/
interface Timeseries {
/**
* Timestamp of the data points.
* @type {Date}
* @memberof Timeseries
*/
_time: Date;
/**
* Property as specified in the property set type configuration
* @type {string}
* @memberof Timeseries
*/
exampleproperty0?: string;
/**
* Quality code for a property as specified in the property set type configuration
* @type {number}
* @memberof Timeseries
*/
exampleproperty0_qc?: number;
/**
* Property as specified in the property set type configuration
* @type {number}
* @memberof Timeseries
*/
exampleproperty1?: number;
}
interface BulkTimeseries {
/**
* Array of Timeseries records
* @type {Array<{ [key: string]: any; }>}
* @memberof Timeseries
*/
records: Array<{
[key: string]: any;
}>;
/**
* nextRecord url returned when response is not complete in current response
* @type {string}
* @memberof Timeseries
*/
nextRecord?: string;
}
/**
*
* @export
* @interface Toomanyrequests
*/
interface Toomanyrequests {
/**
*
* @type {string}
* @memberof Toomanyrequests
*/
id?: string;
/**
*
* @type {string}
* @memberof Toomanyrequests
*/
message?: string;
}
/**
*
* @export
* @interface Unauthorized
*/
interface Unauthorized {
/**
*
* @type {string}
* @memberof Unauthorized
*/
id?: string;
/**
*
* @type {string}
* @memberof Unauthorized
*/
message?: string;
}
}