@robotbas/robotcloud-client 0.0.10 → 0.1.0

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.
package/README.md CHANGED
@@ -30,6 +30,3 @@ clientConfig.tokenMinutesBeforeExpirationRenew = 10
30
30
  ```
31
31
 
32
32
 
33
- ## Publish new package version
34
-
35
- # TODO: Describe the procedure
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robotbas/robotcloud-client",
3
- "version": "0.0.10",
3
+ "version": "0.1.0",
4
4
  "description": "RobotCloud API client",
5
5
  "author": {
6
6
  "name": "Bernat Galmés Rubert",
@@ -46,4 +46,4 @@
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  }
49
- }
49
+ }
@@ -40,13 +40,6 @@ export interface ProjectTagRequestParams extends PaginableRequestParams {
40
40
  no_parent?: boolean;
41
41
  }
42
42
 
43
- export interface ServiceInstancesRequestParams extends SubsystemRequestParams, PaginableRequestParams {
44
- id?: string;
45
- name?: string;
46
- location_id?: string;
47
- device_id?: string;
48
- tag_id?: string[];
49
- }
50
43
 
51
44
  export interface LocationServiceInstancesRequestParams extends SubsystemRequestParams, PaginableRequestParams {
52
45
  tag_id?: string[];
@@ -142,21 +135,3 @@ export interface RoomConsumes1AlertEventValue {
142
135
  high_daily_hot_water: boolean;
143
136
  high_daily_cold_water: boolean;
144
137
  }
145
-
146
- export interface RoomGrouping1DataEventValue {
147
- replica_1_active: boolean;
148
- replica_2_active: boolean;
149
- replica_3_active: boolean;
150
- }
151
-
152
- /** SERVICE INSTANCES DEVICE CONFIG */
153
- export interface ServiceInstanceDeviceConfig {
154
- device: string;
155
- }
156
-
157
- export interface RoomGrouping1InstanceDeviceConfig {
158
- Main: ServiceInstanceDeviceConfig;
159
- Replica_1: ServiceInstanceDeviceConfig;
160
- Replica_2: ServiceInstanceDeviceConfig;
161
- Replica_3: ServiceInstanceDeviceConfig;
162
- }
@@ -1,4 +1,4 @@
1
- import { RobotCloudNamedItem } from "./RobotCloudClient";
1
+ import { PaginableRequestParams, RobotCloudNamedItem, SubsystemRequestParams } from "./RobotCloudClient";
2
2
 
3
3
  export interface RobotCloudServiceInstance extends RobotCloudNamedItem {
4
4
  service: string;
@@ -10,3 +10,12 @@ export interface ServiceInstanceDetails extends RobotCloudServiceInstance {
10
10
  subsystems: string[];
11
11
  classifier: string;
12
12
  }
13
+
14
+ export interface ServiceInstancesRequestParams extends SubsystemRequestParams,
15
+ PaginableRequestParams {
16
+ id?: string;
17
+ name?: string;
18
+ location_id?: string;
19
+ device_id?: string;
20
+ tag_id?: string[];
21
+ }
@@ -48,4 +48,21 @@ export interface RoomGuestStatus1Data {
48
48
  door_open: boolean;
49
49
  window_open: boolean;
50
50
  medical_alarm: boolean;
51
- }
51
+ }
52
+
53
+ export interface ServiceInstanceDeviceConfig {
54
+ device: string;
55
+ }
56
+
57
+ export interface RoomGrouping1InstanceDeviceConfig {
58
+ Main: ServiceInstanceDeviceConfig;
59
+ Replica_1: ServiceInstanceDeviceConfig;
60
+ Replica_2: ServiceInstanceDeviceConfig;
61
+ Replica_3: ServiceInstanceDeviceConfig;
62
+ }
63
+
64
+ export interface RoomGrouping1DataEventValue {
65
+ replica_1_active: boolean;
66
+ replica_2_active: boolean;
67
+ replica_3_active: boolean;
68
+ }