@robotbas/robotcloud-client 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { AxiosResponse } from "axios";
2
2
  import { ServiceInstanceRead } from "./ServiceInstanceRead";
3
- import { SubsystemRequestParams } from "./RobotCloudClient";
3
+ import { ServiceInstanceDataRequestParams, SubsystemRequestParams } from "./RobotCloudClient";
4
4
 
5
5
  export type MeasurementStatus = "GOOD"|"NOT_MEASURED"|"INVALID_VALUE"|"DEVICE_ERROR";
6
6
 
@@ -88,6 +88,12 @@ export interface ServiceTypeClient<T_ALERTS, T_DATA, T_CONFIG> {
88
88
  data: T_CONFIG
89
89
  ): Promise<AxiosResponse<T_CONFIG>>;
90
90
 
91
+ getInstanceData (
92
+ prjId: string,
93
+ instanceId: string,
94
+ params?: ServiceInstanceDataRequestParams
95
+ ): Promise<AxiosResponse<ServiceDataMeasurement<T_DATA>>>;
96
+
91
97
  getInstanceHistoric (
92
98
  prjId: string,
93
99
  instanceId: string,