@openremote/rest 1.4.0-snapshot.20250401080352 → 1.4.0-snapshot.20250401092307
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/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +1 -1
- package/lib/restclient.d.ts +567 -567
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +3 -3
package/lib/restclient.d.ts
CHANGED
|
@@ -9,65 +9,96 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class GatewayClientResourceClient<O> {
|
|
13
13
|
protected httpClient: HttpClient<O>;
|
|
14
14
|
constructor(httpClient: HttpClient<O>);
|
|
15
15
|
/**
|
|
16
|
-
* HTTP
|
|
17
|
-
* Java method: org.openremote.model.
|
|
16
|
+
* HTTP DELETE /gateway/connection
|
|
17
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
deleteConnections(queryParams?: {
|
|
20
|
+
realm?: string[];
|
|
21
|
+
}, options?: O): RestResponse<void>;
|
|
20
22
|
/**
|
|
21
|
-
* HTTP
|
|
22
|
-
* Java method: org.openremote.model.
|
|
23
|
+
* HTTP GET /gateway/connection
|
|
24
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
23
25
|
*/
|
|
24
|
-
|
|
26
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
25
27
|
/**
|
|
26
|
-
* HTTP
|
|
27
|
-
* Java method: org.openremote.model.
|
|
28
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
29
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
28
30
|
*/
|
|
29
|
-
|
|
31
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
30
32
|
/**
|
|
31
|
-
* HTTP
|
|
32
|
-
* Java method: org.openremote.model.
|
|
33
|
+
* HTTP GET /gateway/connection/{realm}
|
|
34
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
33
35
|
*/
|
|
34
|
-
|
|
36
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
35
37
|
/**
|
|
36
|
-
* HTTP
|
|
37
|
-
* Java method: org.openremote.model.
|
|
38
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
39
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
38
40
|
*/
|
|
39
|
-
|
|
41
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
40
42
|
/**
|
|
41
|
-
* HTTP GET /
|
|
42
|
-
* Java method: org.openremote.model.
|
|
43
|
+
* HTTP GET /gateway/status/{realm}
|
|
44
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
43
45
|
*/
|
|
44
|
-
|
|
46
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
45
47
|
}
|
|
46
|
-
export declare class
|
|
48
|
+
export declare class ConfigurationResourceClient<O> {
|
|
47
49
|
protected httpClient: HttpClient<O>;
|
|
48
50
|
constructor(httpClient: HttpClient<O>);
|
|
49
51
|
/**
|
|
50
|
-
* HTTP GET /
|
|
51
|
-
* Java method: org.openremote.model.
|
|
52
|
+
* HTTP GET /configuration/manager
|
|
53
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
52
54
|
*/
|
|
53
|
-
|
|
54
|
-
realm?: string;
|
|
55
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
55
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
56
56
|
/**
|
|
57
|
-
* HTTP
|
|
58
|
-
* Java method: org.openremote.model.
|
|
57
|
+
* HTTP PUT /configuration/manager
|
|
58
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
59
59
|
*/
|
|
60
|
-
|
|
61
|
-
realm?: string;
|
|
62
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
60
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
63
61
|
/**
|
|
64
|
-
* HTTP
|
|
65
|
-
* Java method: org.openremote.model.
|
|
62
|
+
* HTTP POST /configuration/manager/file
|
|
63
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
66
64
|
*/
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
65
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
66
|
+
path?: string;
|
|
67
|
+
}, options?: O): RestResponse<string>;
|
|
68
|
+
/**
|
|
69
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
70
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
71
|
+
*/
|
|
72
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
73
|
+
}
|
|
74
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
75
|
+
protected httpClient: HttpClient<O>;
|
|
76
|
+
constructor(httpClient: HttpClient<O>);
|
|
77
|
+
/**
|
|
78
|
+
* HTTP POST /gateway/tunnel
|
|
79
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
80
|
+
*/
|
|
81
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
82
|
+
/**
|
|
83
|
+
* HTTP DELETE /gateway/tunnel
|
|
84
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
85
|
+
*/
|
|
86
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
87
|
+
/**
|
|
88
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
89
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
90
|
+
*/
|
|
91
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
92
|
+
/**
|
|
93
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
94
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
95
|
+
*/
|
|
96
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
97
|
+
/**
|
|
98
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
99
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
100
|
+
*/
|
|
101
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
71
102
|
}
|
|
72
103
|
export declare class ConsoleResourceClient<O> {
|
|
73
104
|
protected httpClient: HttpClient<O>;
|
|
@@ -78,132 +109,219 @@ export declare class ConsoleResourceClient<O> {
|
|
|
78
109
|
*/
|
|
79
110
|
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
80
111
|
}
|
|
81
|
-
export declare class
|
|
112
|
+
export declare class RealmResourceClient<O> {
|
|
82
113
|
protected httpClient: HttpClient<O>;
|
|
83
114
|
constructor(httpClient: HttpClient<O>);
|
|
84
115
|
/**
|
|
85
|
-
* HTTP POST /
|
|
86
|
-
* Java method: org.openremote.model.
|
|
87
|
-
*/
|
|
88
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
89
|
-
/**
|
|
90
|
-
* HTTP DELETE /asset
|
|
91
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
92
|
-
*/
|
|
93
|
-
delete(queryParams?: {
|
|
94
|
-
assetId?: string[];
|
|
95
|
-
}, options?: O): RestResponse<void>;
|
|
96
|
-
/**
|
|
97
|
-
* HTTP PUT /asset/attributes
|
|
98
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
99
|
-
*/
|
|
100
|
-
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
101
|
-
/**
|
|
102
|
-
* HTTP PUT /asset/attributes/timestamp
|
|
103
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
116
|
+
* HTTP POST /realm
|
|
117
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
104
118
|
*/
|
|
105
|
-
|
|
119
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
106
120
|
/**
|
|
107
|
-
* HTTP
|
|
108
|
-
* Java method: org.openremote.model.
|
|
121
|
+
* HTTP GET /realm
|
|
122
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
109
123
|
*/
|
|
110
|
-
|
|
111
|
-
assetIds?: string[];
|
|
112
|
-
}, options?: O): RestResponse<void>;
|
|
124
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
113
125
|
/**
|
|
114
|
-
* HTTP GET /
|
|
115
|
-
* Java method: org.openremote.model.
|
|
126
|
+
* HTTP GET /realm/accessible
|
|
127
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
116
128
|
*/
|
|
117
|
-
|
|
129
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
118
130
|
/**
|
|
119
|
-
* HTTP
|
|
120
|
-
* Java method: org.openremote.model.
|
|
131
|
+
* HTTP DELETE /realm/{name}
|
|
132
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
121
133
|
*/
|
|
122
|
-
|
|
134
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
123
135
|
/**
|
|
124
|
-
* HTTP GET /
|
|
125
|
-
* Java method: org.openremote.model.
|
|
136
|
+
* HTTP GET /realm/{name}
|
|
137
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
126
138
|
*/
|
|
127
|
-
|
|
139
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
128
140
|
/**
|
|
129
|
-
* HTTP
|
|
130
|
-
* Java method: org.openremote.model.
|
|
141
|
+
* HTTP PUT /realm/{name}
|
|
142
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
131
143
|
*/
|
|
132
|
-
|
|
144
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
145
|
+
}
|
|
146
|
+
export declare class AgentResourceClient<O> {
|
|
147
|
+
protected httpClient: HttpClient<O>;
|
|
148
|
+
constructor(httpClient: HttpClient<O>);
|
|
133
149
|
/**
|
|
134
|
-
* HTTP GET /
|
|
135
|
-
* Java method: org.openremote.model.asset.
|
|
150
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
151
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
136
152
|
*/
|
|
137
|
-
|
|
153
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
138
154
|
realm?: string;
|
|
139
|
-
|
|
140
|
-
assetId?: string;
|
|
141
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
155
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
142
156
|
/**
|
|
143
|
-
* HTTP POST /
|
|
144
|
-
* Java method: org.openremote.model.asset.
|
|
157
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
158
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
145
159
|
*/
|
|
146
|
-
|
|
160
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
161
|
+
realm?: string;
|
|
162
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
147
163
|
/**
|
|
148
|
-
* HTTP
|
|
149
|
-
* Java method: org.openremote.model.asset.
|
|
164
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
165
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
150
166
|
*/
|
|
151
|
-
|
|
167
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
168
|
+
parentId?: string;
|
|
169
|
+
realm?: string;
|
|
170
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
171
|
+
}
|
|
172
|
+
export declare class DashboardResourceClient<O> {
|
|
173
|
+
protected httpClient: HttpClient<O>;
|
|
174
|
+
constructor(httpClient: HttpClient<O>);
|
|
152
175
|
/**
|
|
153
|
-
* HTTP
|
|
154
|
-
* Java method: org.openremote.model.
|
|
176
|
+
* HTTP POST /dashboard
|
|
177
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
155
178
|
*/
|
|
156
|
-
|
|
179
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
157
180
|
/**
|
|
158
|
-
* HTTP
|
|
159
|
-
* Java method: org.openremote.model.
|
|
181
|
+
* HTTP PUT /dashboard
|
|
182
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
160
183
|
*/
|
|
161
|
-
|
|
184
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
162
185
|
/**
|
|
163
|
-
* HTTP
|
|
164
|
-
* Java method: org.openremote.model.
|
|
186
|
+
* HTTP GET /dashboard/all/{realm}
|
|
187
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
165
188
|
*/
|
|
166
|
-
|
|
189
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
167
190
|
/**
|
|
168
|
-
* HTTP
|
|
169
|
-
* Java method: org.openremote.model.
|
|
191
|
+
* HTTP POST /dashboard/query
|
|
192
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
170
193
|
*/
|
|
171
|
-
|
|
194
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
172
195
|
/**
|
|
173
|
-
* HTTP
|
|
174
|
-
* Java method: org.openremote.model.
|
|
196
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
197
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
175
198
|
*/
|
|
176
|
-
|
|
199
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
177
200
|
/**
|
|
178
|
-
* HTTP
|
|
179
|
-
* Java method: org.openremote.model.
|
|
201
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
202
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
180
203
|
*/
|
|
181
|
-
|
|
182
|
-
assetIds?: string[];
|
|
183
|
-
}, options?: O): RestResponse<void>;
|
|
204
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
184
205
|
}
|
|
185
|
-
export declare class
|
|
206
|
+
export declare class ProvisioningResourceClient<O> {
|
|
186
207
|
protected httpClient: HttpClient<O>;
|
|
187
208
|
constructor(httpClient: HttpClient<O>);
|
|
188
209
|
/**
|
|
189
|
-
* HTTP
|
|
190
|
-
* Java method: org.openremote.model.
|
|
210
|
+
* HTTP POST /provisioning
|
|
211
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
191
212
|
*/
|
|
192
|
-
|
|
213
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
193
214
|
/**
|
|
194
|
-
* HTTP
|
|
195
|
-
* Java method: org.openremote.model.
|
|
215
|
+
* HTTP GET /provisioning
|
|
216
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
196
217
|
*/
|
|
197
|
-
|
|
218
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
198
219
|
/**
|
|
199
|
-
* HTTP
|
|
200
|
-
* Java method: org.openremote.model.
|
|
220
|
+
* HTTP DELETE /provisioning/{id}
|
|
221
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
201
222
|
*/
|
|
202
|
-
|
|
223
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
203
224
|
/**
|
|
204
|
-
* HTTP
|
|
205
|
-
* Java method: org.openremote.model.
|
|
206
|
-
*/
|
|
225
|
+
* HTTP PUT /provisioning/{id}
|
|
226
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
227
|
+
*/
|
|
228
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
229
|
+
}
|
|
230
|
+
export declare class NotificationResourceClient<O> {
|
|
231
|
+
protected httpClient: HttpClient<O>;
|
|
232
|
+
constructor(httpClient: HttpClient<O>);
|
|
233
|
+
/**
|
|
234
|
+
* HTTP GET /notification
|
|
235
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
236
|
+
*/
|
|
237
|
+
getNotifications(queryParams?: {
|
|
238
|
+
id?: number;
|
|
239
|
+
type?: string;
|
|
240
|
+
from?: number;
|
|
241
|
+
to?: number;
|
|
242
|
+
realmId?: string;
|
|
243
|
+
userId?: string;
|
|
244
|
+
assetId?: string;
|
|
245
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
246
|
+
/**
|
|
247
|
+
* HTTP DELETE /notification
|
|
248
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
249
|
+
*/
|
|
250
|
+
removeNotifications(queryParams?: {
|
|
251
|
+
id?: number;
|
|
252
|
+
type?: string;
|
|
253
|
+
from?: number;
|
|
254
|
+
to?: number;
|
|
255
|
+
realmId?: string;
|
|
256
|
+
userId?: string;
|
|
257
|
+
assetId?: string;
|
|
258
|
+
}, options?: O): RestResponse<void>;
|
|
259
|
+
/**
|
|
260
|
+
* HTTP POST /notification/alert
|
|
261
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
262
|
+
*/
|
|
263
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
264
|
+
/**
|
|
265
|
+
* HTTP DELETE /notification/{notificationId}
|
|
266
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
267
|
+
*/
|
|
268
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
269
|
+
/**
|
|
270
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
271
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
272
|
+
*/
|
|
273
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
274
|
+
targetId?: string;
|
|
275
|
+
}, options?: O): RestResponse<void>;
|
|
276
|
+
/**
|
|
277
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
278
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
279
|
+
*/
|
|
280
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
281
|
+
targetId?: string;
|
|
282
|
+
}, options?: O): RestResponse<void>;
|
|
283
|
+
}
|
|
284
|
+
export declare class FlowResourceClient<O> {
|
|
285
|
+
protected httpClient: HttpClient<O>;
|
|
286
|
+
constructor(httpClient: HttpClient<O>);
|
|
287
|
+
/**
|
|
288
|
+
* HTTP GET /flow
|
|
289
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
290
|
+
*/
|
|
291
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
292
|
+
/**
|
|
293
|
+
* HTTP GET /flow/{name}
|
|
294
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
295
|
+
*/
|
|
296
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
297
|
+
/**
|
|
298
|
+
* HTTP GET /flow/{type}
|
|
299
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
300
|
+
*/
|
|
301
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
302
|
+
}
|
|
303
|
+
export declare class UserResourceClient<O> {
|
|
304
|
+
protected httpClient: HttpClient<O>;
|
|
305
|
+
constructor(httpClient: HttpClient<O>);
|
|
306
|
+
/**
|
|
307
|
+
* HTTP PUT /user/locale
|
|
308
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
|
|
309
|
+
*/
|
|
310
|
+
updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
|
|
311
|
+
/**
|
|
312
|
+
* HTTP POST /user/query
|
|
313
|
+
* Java method: org.openremote.model.security.UserResource.query
|
|
314
|
+
*/
|
|
315
|
+
query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
|
|
316
|
+
/**
|
|
317
|
+
* HTTP GET /user/user
|
|
318
|
+
* Java method: org.openremote.model.security.UserResource.getCurrent
|
|
319
|
+
*/
|
|
320
|
+
getCurrent(options?: O): RestResponse<Model.User>;
|
|
321
|
+
/**
|
|
322
|
+
* HTTP GET /user/userRealmRoles
|
|
323
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
|
|
324
|
+
*/
|
|
207
325
|
getCurrentUserRealmRoles(options?: O): RestResponse<Model.Role[]>;
|
|
208
326
|
/**
|
|
209
327
|
* HTTP GET /user/userRoles
|
|
@@ -292,285 +410,19 @@ export declare class UserResourceClient<O> {
|
|
|
292
410
|
delete(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
293
411
|
/**
|
|
294
412
|
* HTTP GET /user/{realm}/{clientId}/roles
|
|
295
|
-
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
296
|
-
*/
|
|
297
|
-
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
298
|
-
/**
|
|
299
|
-
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
300
|
-
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
301
|
-
*/
|
|
302
|
-
updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
303
|
-
/**
|
|
304
|
-
* HTTP GET /user/{realm}/{userId}
|
|
305
|
-
* Java method: org.openremote.model.security.UserResource.get
|
|
306
|
-
*/
|
|
307
|
-
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
308
|
-
}
|
|
309
|
-
export declare class AppResourceClient<O> {
|
|
310
|
-
protected httpClient: HttpClient<O>;
|
|
311
|
-
constructor(httpClient: HttpClient<O>);
|
|
312
|
-
/**
|
|
313
|
-
* HTTP GET /apps
|
|
314
|
-
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
315
|
-
*/
|
|
316
|
-
getApps(options?: O): RestResponse<string[]>;
|
|
317
|
-
/**
|
|
318
|
-
* HTTP GET /apps/consoleConfig
|
|
319
|
-
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
320
|
-
*/
|
|
321
|
-
getConsoleConfig(options?: O): RestResponse<any>;
|
|
322
|
-
/**
|
|
323
|
-
* HTTP GET /apps/info
|
|
324
|
-
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
325
|
-
*/
|
|
326
|
-
getAppInfos(options?: O): RestResponse<any>;
|
|
327
|
-
}
|
|
328
|
-
export declare class RulesResourceClient<O> {
|
|
329
|
-
protected httpClient: HttpClient<O>;
|
|
330
|
-
constructor(httpClient: HttpClient<O>);
|
|
331
|
-
/**
|
|
332
|
-
* HTTP POST /rules
|
|
333
|
-
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
334
|
-
*/
|
|
335
|
-
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
336
|
-
/**
|
|
337
|
-
* HTTP GET /rules
|
|
338
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
339
|
-
*/
|
|
340
|
-
getGlobalRulesets(queryParams?: {
|
|
341
|
-
language?: Model.RulesetLang[];
|
|
342
|
-
fullyPopulate?: boolean;
|
|
343
|
-
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
344
|
-
/**
|
|
345
|
-
* HTTP POST /rules/asset
|
|
346
|
-
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
347
|
-
*/
|
|
348
|
-
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
349
|
-
/**
|
|
350
|
-
* HTTP GET /rules/asset/for/{assetId}
|
|
351
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
352
|
-
*/
|
|
353
|
-
getAssetRulesets(assetId: string, queryParams?: {
|
|
354
|
-
language?: Model.RulesetLang[];
|
|
355
|
-
fullyPopulate?: boolean;
|
|
356
|
-
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
357
|
-
/**
|
|
358
|
-
* HTTP DELETE /rules/asset/{id}
|
|
359
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
360
|
-
*/
|
|
361
|
-
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
362
|
-
/**
|
|
363
|
-
* HTTP GET /rules/asset/{id}
|
|
364
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
365
|
-
*/
|
|
366
|
-
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
367
|
-
/**
|
|
368
|
-
* HTTP PUT /rules/asset/{id}
|
|
369
|
-
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
370
|
-
*/
|
|
371
|
-
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
372
|
-
/**
|
|
373
|
-
* HTTP GET /rules/geofences/{assetId}
|
|
374
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
375
|
-
*/
|
|
376
|
-
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
377
|
-
/**
|
|
378
|
-
* HTTP GET /rules/info/asset/{assetId}
|
|
379
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
380
|
-
*/
|
|
381
|
-
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
382
|
-
/**
|
|
383
|
-
* HTTP GET /rules/info/global
|
|
384
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
385
|
-
*/
|
|
386
|
-
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
387
|
-
/**
|
|
388
|
-
* HTTP GET /rules/info/realm/{realm}
|
|
389
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
390
|
-
*/
|
|
391
|
-
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
392
|
-
/**
|
|
393
|
-
* HTTP POST /rules/realm
|
|
394
|
-
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
395
|
-
*/
|
|
396
|
-
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
397
|
-
/**
|
|
398
|
-
* HTTP GET /rules/realm/for/{realm}
|
|
399
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
400
|
-
*/
|
|
401
|
-
getRealmRulesets(realm: string, queryParams?: {
|
|
402
|
-
language?: Model.RulesetLang[];
|
|
403
|
-
fullyPopulate?: boolean;
|
|
404
|
-
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
405
|
-
/**
|
|
406
|
-
* HTTP DELETE /rules/realm/{id}
|
|
407
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
408
|
-
*/
|
|
409
|
-
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
410
|
-
/**
|
|
411
|
-
* HTTP GET /rules/realm/{id}
|
|
412
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
413
|
-
*/
|
|
414
|
-
getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
|
|
415
|
-
/**
|
|
416
|
-
* HTTP PUT /rules/realm/{id}
|
|
417
|
-
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
418
|
-
*/
|
|
419
|
-
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
420
|
-
/**
|
|
421
|
-
* HTTP DELETE /rules/{id}
|
|
422
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
423
|
-
*/
|
|
424
|
-
deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
|
|
425
|
-
/**
|
|
426
|
-
* HTTP GET /rules/{id}
|
|
427
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
428
|
-
*/
|
|
429
|
-
getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
430
|
-
/**
|
|
431
|
-
* HTTP PUT /rules/{id}
|
|
432
|
-
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
433
|
-
*/
|
|
434
|
-
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
435
|
-
}
|
|
436
|
-
export declare class GatewayClientResourceClient<O> {
|
|
437
|
-
protected httpClient: HttpClient<O>;
|
|
438
|
-
constructor(httpClient: HttpClient<O>);
|
|
439
|
-
/**
|
|
440
|
-
* HTTP DELETE /gateway/connection
|
|
441
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
442
|
-
*/
|
|
443
|
-
deleteConnections(queryParams?: {
|
|
444
|
-
realm?: string[];
|
|
445
|
-
}, options?: O): RestResponse<void>;
|
|
446
|
-
/**
|
|
447
|
-
* HTTP GET /gateway/connection
|
|
448
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
449
|
-
*/
|
|
450
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
451
|
-
/**
|
|
452
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
453
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
454
|
-
*/
|
|
455
|
-
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
456
|
-
/**
|
|
457
|
-
* HTTP GET /gateway/connection/{realm}
|
|
458
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
459
|
-
*/
|
|
460
|
-
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
461
|
-
/**
|
|
462
|
-
* HTTP PUT /gateway/connection/{realm}
|
|
463
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
464
|
-
*/
|
|
465
|
-
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
466
|
-
/**
|
|
467
|
-
* HTTP GET /gateway/status/{realm}
|
|
468
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
469
|
-
*/
|
|
470
|
-
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
471
|
-
}
|
|
472
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
473
|
-
protected httpClient: HttpClient<O>;
|
|
474
|
-
constructor(httpClient: HttpClient<O>);
|
|
475
|
-
/**
|
|
476
|
-
* HTTP POST /gateway/tunnel
|
|
477
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
478
|
-
*/
|
|
479
|
-
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
480
|
-
/**
|
|
481
|
-
* HTTP DELETE /gateway/tunnel
|
|
482
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
483
|
-
*/
|
|
484
|
-
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
485
|
-
/**
|
|
486
|
-
* HTTP GET /gateway/tunnel/{realm}
|
|
487
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
488
|
-
*/
|
|
489
|
-
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
490
|
-
/**
|
|
491
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
492
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
493
|
-
*/
|
|
494
|
-
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
495
|
-
/**
|
|
496
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
497
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
498
|
-
*/
|
|
499
|
-
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
500
|
-
}
|
|
501
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
502
|
-
protected httpClient: HttpClient<O>;
|
|
503
|
-
constructor(httpClient: HttpClient<O>);
|
|
504
|
-
/**
|
|
505
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
506
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
507
|
-
*/
|
|
508
|
-
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
509
|
-
/**
|
|
510
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
511
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
512
|
-
*/
|
|
513
|
-
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
514
|
-
}
|
|
515
|
-
export declare class RealmResourceClient<O> {
|
|
516
|
-
protected httpClient: HttpClient<O>;
|
|
517
|
-
constructor(httpClient: HttpClient<O>);
|
|
518
|
-
/**
|
|
519
|
-
* HTTP POST /realm
|
|
520
|
-
* Java method: org.openremote.model.security.RealmResource.create
|
|
521
|
-
*/
|
|
522
|
-
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
523
|
-
/**
|
|
524
|
-
* HTTP GET /realm
|
|
525
|
-
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
526
|
-
*/
|
|
527
|
-
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
528
|
-
/**
|
|
529
|
-
* HTTP GET /realm/accessible
|
|
530
|
-
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
531
|
-
*/
|
|
532
|
-
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
533
|
-
/**
|
|
534
|
-
* HTTP DELETE /realm/{name}
|
|
535
|
-
* Java method: org.openremote.model.security.RealmResource.delete
|
|
536
|
-
*/
|
|
537
|
-
delete(name: string, options?: O): RestResponse<void>;
|
|
538
|
-
/**
|
|
539
|
-
* HTTP GET /realm/{name}
|
|
540
|
-
* Java method: org.openremote.model.security.RealmResource.get
|
|
541
|
-
*/
|
|
542
|
-
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
543
|
-
/**
|
|
544
|
-
* HTTP PUT /realm/{name}
|
|
545
|
-
* Java method: org.openremote.model.security.RealmResource.update
|
|
546
|
-
*/
|
|
547
|
-
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
548
|
-
}
|
|
549
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
550
|
-
protected httpClient: HttpClient<O>;
|
|
551
|
-
constructor(httpClient: HttpClient<O>);
|
|
552
|
-
/**
|
|
553
|
-
* HTTP GET /asset/datapoint/export
|
|
554
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
555
|
-
*/
|
|
556
|
-
getDatapointExport(queryParams?: {
|
|
557
|
-
attributeRefs?: string;
|
|
558
|
-
fromTimestamp?: number;
|
|
559
|
-
toTimestamp?: number;
|
|
560
|
-
}, options?: O): RestResponse<any>;
|
|
413
|
+
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
414
|
+
*/
|
|
415
|
+
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
561
416
|
/**
|
|
562
|
-
* HTTP
|
|
563
|
-
* Java method: org.openremote.model.
|
|
417
|
+
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
418
|
+
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
564
419
|
*/
|
|
565
|
-
|
|
566
|
-
assetId?: string;
|
|
567
|
-
attributeName?: string;
|
|
568
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
420
|
+
updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
569
421
|
/**
|
|
570
|
-
* HTTP
|
|
571
|
-
* Java method: org.openremote.model.
|
|
422
|
+
* HTTP GET /user/{realm}/{userId}
|
|
423
|
+
* Java method: org.openremote.model.security.UserResource.get
|
|
572
424
|
*/
|
|
573
|
-
|
|
425
|
+
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
574
426
|
}
|
|
575
427
|
export declare class MapResourceClient<O> {
|
|
576
428
|
protected httpClient: HttpClient<O>;
|
|
@@ -634,6 +486,124 @@ export declare class SyslogResourceClient<O> {
|
|
|
634
486
|
subCategory?: string[];
|
|
635
487
|
}, options?: O): RestResponse<any>;
|
|
636
488
|
}
|
|
489
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
490
|
+
protected httpClient: HttpClient<O>;
|
|
491
|
+
constructor(httpClient: HttpClient<O>);
|
|
492
|
+
/**
|
|
493
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
494
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
495
|
+
*/
|
|
496
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
497
|
+
/**
|
|
498
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
499
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
500
|
+
*/
|
|
501
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
502
|
+
}
|
|
503
|
+
export declare class AssetResourceClient<O> {
|
|
504
|
+
protected httpClient: HttpClient<O>;
|
|
505
|
+
constructor(httpClient: HttpClient<O>);
|
|
506
|
+
/**
|
|
507
|
+
* HTTP POST /asset
|
|
508
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
509
|
+
*/
|
|
510
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
511
|
+
/**
|
|
512
|
+
* HTTP DELETE /asset
|
|
513
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
514
|
+
*/
|
|
515
|
+
delete(queryParams?: {
|
|
516
|
+
assetId?: string[];
|
|
517
|
+
}, options?: O): RestResponse<void>;
|
|
518
|
+
/**
|
|
519
|
+
* HTTP PUT /asset/attributes
|
|
520
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
521
|
+
*/
|
|
522
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
523
|
+
/**
|
|
524
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
525
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
526
|
+
*/
|
|
527
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
528
|
+
/**
|
|
529
|
+
* HTTP DELETE /asset/parent
|
|
530
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
531
|
+
*/
|
|
532
|
+
updateNoneParent(queryParams?: {
|
|
533
|
+
assetIds?: string[];
|
|
534
|
+
}, options?: O): RestResponse<void>;
|
|
535
|
+
/**
|
|
536
|
+
* HTTP GET /asset/partial/{assetId}
|
|
537
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
538
|
+
*/
|
|
539
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
540
|
+
/**
|
|
541
|
+
* HTTP POST /asset/query
|
|
542
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
543
|
+
*/
|
|
544
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
545
|
+
/**
|
|
546
|
+
* HTTP GET /asset/user/current
|
|
547
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
548
|
+
*/
|
|
549
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
550
|
+
/**
|
|
551
|
+
* HTTP POST /asset/user/link
|
|
552
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
553
|
+
*/
|
|
554
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
555
|
+
/**
|
|
556
|
+
* HTTP GET /asset/user/link
|
|
557
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
558
|
+
*/
|
|
559
|
+
getUserAssetLinks(queryParams?: {
|
|
560
|
+
realm?: string;
|
|
561
|
+
userId?: string;
|
|
562
|
+
assetId?: string;
|
|
563
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
564
|
+
/**
|
|
565
|
+
* HTTP POST /asset/user/link/delete
|
|
566
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
567
|
+
*/
|
|
568
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
569
|
+
/**
|
|
570
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
571
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
572
|
+
*/
|
|
573
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
574
|
+
/**
|
|
575
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
576
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
577
|
+
*/
|
|
578
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
579
|
+
/**
|
|
580
|
+
* HTTP GET /asset/{assetId}
|
|
581
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
582
|
+
*/
|
|
583
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
584
|
+
/**
|
|
585
|
+
* HTTP PUT /asset/{assetId}
|
|
586
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
587
|
+
*/
|
|
588
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
589
|
+
/**
|
|
590
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
591
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
592
|
+
*/
|
|
593
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
594
|
+
/**
|
|
595
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
596
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
597
|
+
*/
|
|
598
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
599
|
+
/**
|
|
600
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
601
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
602
|
+
*/
|
|
603
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
604
|
+
assetIds?: string[];
|
|
605
|
+
}, options?: O): RestResponse<void>;
|
|
606
|
+
}
|
|
637
607
|
export declare class AlarmResourceClient<O> {
|
|
638
608
|
protected httpClient: HttpClient<O>;
|
|
639
609
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -687,147 +657,203 @@ export declare class AlarmResourceClient<O> {
|
|
|
687
657
|
realm?: string;
|
|
688
658
|
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
689
659
|
}
|
|
690
|
-
export declare class
|
|
660
|
+
export declare class AppResourceClient<O> {
|
|
691
661
|
protected httpClient: HttpClient<O>;
|
|
692
662
|
constructor(httpClient: HttpClient<O>);
|
|
693
663
|
/**
|
|
694
|
-
* HTTP GET /
|
|
695
|
-
* Java method: org.openremote.model.
|
|
664
|
+
* HTTP GET /apps
|
|
665
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
696
666
|
*/
|
|
697
|
-
|
|
698
|
-
id?: number;
|
|
699
|
-
type?: string;
|
|
700
|
-
from?: number;
|
|
701
|
-
to?: number;
|
|
702
|
-
realmId?: string;
|
|
703
|
-
userId?: string;
|
|
704
|
-
assetId?: string;
|
|
705
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
667
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
706
668
|
/**
|
|
707
|
-
* HTTP
|
|
708
|
-
* Java method: org.openremote.model.
|
|
669
|
+
* HTTP GET /apps/consoleConfig
|
|
670
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
709
671
|
*/
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
672
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
673
|
+
/**
|
|
674
|
+
* HTTP GET /apps/info
|
|
675
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
676
|
+
*/
|
|
677
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
678
|
+
}
|
|
679
|
+
export declare class AssetModelResourceClient<O> {
|
|
680
|
+
protected httpClient: HttpClient<O>;
|
|
681
|
+
constructor(httpClient: HttpClient<O>);
|
|
682
|
+
/**
|
|
683
|
+
* HTTP GET /model/assetDescriptors
|
|
684
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
685
|
+
*/
|
|
686
|
+
getAssetDescriptors(queryParams?: {
|
|
687
|
+
parentId?: string;
|
|
688
|
+
parentType?: string;
|
|
689
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
690
|
+
/**
|
|
691
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
692
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
693
|
+
*/
|
|
694
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
695
|
+
parentId?: string;
|
|
696
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
697
|
+
/**
|
|
698
|
+
* HTTP GET /model/assetInfos
|
|
699
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
700
|
+
*/
|
|
701
|
+
getAssetInfos(queryParams?: {
|
|
702
|
+
parentId?: string;
|
|
703
|
+
parentType?: string;
|
|
704
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
705
|
+
/**
|
|
706
|
+
* HTTP GET /model/metaItemDescriptors
|
|
707
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
708
|
+
*/
|
|
709
|
+
getMetaItemDescriptors(queryParams?: {
|
|
710
|
+
parentId?: string;
|
|
711
|
+
}, options?: O): RestResponse<{
|
|
712
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
713
|
+
}>;
|
|
714
|
+
/**
|
|
715
|
+
* HTTP GET /model/valueDescriptors
|
|
716
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
717
|
+
*/
|
|
718
|
+
getValueDescriptors(queryParams?: {
|
|
719
|
+
parentId?: string;
|
|
720
|
+
}, options?: O): RestResponse<{
|
|
721
|
+
[index: string]: Model.ValueDescriptor;
|
|
722
|
+
}>;
|
|
723
|
+
}
|
|
724
|
+
export declare class RulesResourceClient<O> {
|
|
725
|
+
protected httpClient: HttpClient<O>;
|
|
726
|
+
constructor(httpClient: HttpClient<O>);
|
|
727
|
+
/**
|
|
728
|
+
* HTTP POST /rules
|
|
729
|
+
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
730
|
+
*/
|
|
731
|
+
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
732
|
+
/**
|
|
733
|
+
* HTTP GET /rules
|
|
734
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
735
|
+
*/
|
|
736
|
+
getGlobalRulesets(queryParams?: {
|
|
737
|
+
language?: Model.RulesetLang[];
|
|
738
|
+
fullyPopulate?: boolean;
|
|
739
|
+
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
740
|
+
/**
|
|
741
|
+
* HTTP POST /rules/asset
|
|
742
|
+
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
743
|
+
*/
|
|
744
|
+
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
745
|
+
/**
|
|
746
|
+
* HTTP GET /rules/asset/for/{assetId}
|
|
747
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
748
|
+
*/
|
|
749
|
+
getAssetRulesets(assetId: string, queryParams?: {
|
|
750
|
+
language?: Model.RulesetLang[];
|
|
751
|
+
fullyPopulate?: boolean;
|
|
752
|
+
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
753
|
+
/**
|
|
754
|
+
* HTTP DELETE /rules/asset/{id}
|
|
755
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
756
|
+
*/
|
|
757
|
+
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
758
|
+
/**
|
|
759
|
+
* HTTP GET /rules/asset/{id}
|
|
760
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
761
|
+
*/
|
|
762
|
+
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
719
763
|
/**
|
|
720
|
-
* HTTP
|
|
721
|
-
* Java method: org.openremote.model.
|
|
764
|
+
* HTTP PUT /rules/asset/{id}
|
|
765
|
+
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
722
766
|
*/
|
|
723
|
-
|
|
767
|
+
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
724
768
|
/**
|
|
725
|
-
* HTTP
|
|
726
|
-
* Java method: org.openremote.model.
|
|
769
|
+
* HTTP GET /rules/geofences/{assetId}
|
|
770
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
727
771
|
*/
|
|
728
|
-
|
|
772
|
+
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
729
773
|
/**
|
|
730
|
-
* HTTP
|
|
731
|
-
* Java method: org.openremote.model.
|
|
774
|
+
* HTTP GET /rules/info/asset/{assetId}
|
|
775
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
732
776
|
*/
|
|
733
|
-
|
|
734
|
-
targetId?: string;
|
|
735
|
-
}, options?: O): RestResponse<void>;
|
|
777
|
+
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
736
778
|
/**
|
|
737
|
-
* HTTP
|
|
738
|
-
* Java method: org.openremote.model.
|
|
779
|
+
* HTTP GET /rules/info/global
|
|
780
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
739
781
|
*/
|
|
740
|
-
|
|
741
|
-
targetId?: string;
|
|
742
|
-
}, options?: O): RestResponse<void>;
|
|
743
|
-
}
|
|
744
|
-
export declare class AssetModelResourceClient<O> {
|
|
745
|
-
protected httpClient: HttpClient<O>;
|
|
746
|
-
constructor(httpClient: HttpClient<O>);
|
|
782
|
+
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
747
783
|
/**
|
|
748
|
-
* HTTP GET /
|
|
749
|
-
* Java method: org.openremote.model.
|
|
784
|
+
* HTTP GET /rules/info/realm/{realm}
|
|
785
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
750
786
|
*/
|
|
751
|
-
|
|
752
|
-
parentId?: string;
|
|
753
|
-
parentType?: string;
|
|
754
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
787
|
+
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
755
788
|
/**
|
|
756
|
-
* HTTP
|
|
757
|
-
* Java method: org.openremote.model.
|
|
789
|
+
* HTTP POST /rules/realm
|
|
790
|
+
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
758
791
|
*/
|
|
759
|
-
|
|
760
|
-
parentId?: string;
|
|
761
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
792
|
+
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
762
793
|
/**
|
|
763
|
-
* HTTP GET /
|
|
764
|
-
* Java method: org.openremote.model.
|
|
794
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
795
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
765
796
|
*/
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
}, options?: O): RestResponse<Model.
|
|
797
|
+
getRealmRulesets(realm: string, queryParams?: {
|
|
798
|
+
language?: Model.RulesetLang[];
|
|
799
|
+
fullyPopulate?: boolean;
|
|
800
|
+
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
770
801
|
/**
|
|
771
|
-
* HTTP
|
|
772
|
-
* Java method: org.openremote.model.
|
|
802
|
+
* HTTP DELETE /rules/realm/{id}
|
|
803
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
773
804
|
*/
|
|
774
|
-
|
|
775
|
-
parentId?: string;
|
|
776
|
-
}, options?: O): RestResponse<{
|
|
777
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
778
|
-
}>;
|
|
805
|
+
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
779
806
|
/**
|
|
780
|
-
* HTTP GET /
|
|
781
|
-
* Java method: org.openremote.model.
|
|
807
|
+
* HTTP GET /rules/realm/{id}
|
|
808
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
782
809
|
*/
|
|
783
|
-
|
|
784
|
-
parentId?: string;
|
|
785
|
-
}, options?: O): RestResponse<{
|
|
786
|
-
[index: string]: Model.ValueDescriptor;
|
|
787
|
-
}>;
|
|
788
|
-
}
|
|
789
|
-
export declare class FlowResourceClient<O> {
|
|
790
|
-
protected httpClient: HttpClient<O>;
|
|
791
|
-
constructor(httpClient: HttpClient<O>);
|
|
810
|
+
getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
|
|
792
811
|
/**
|
|
793
|
-
* HTTP
|
|
794
|
-
* Java method: org.openremote.model.rules.
|
|
812
|
+
* HTTP PUT /rules/realm/{id}
|
|
813
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
795
814
|
*/
|
|
796
|
-
|
|
815
|
+
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
797
816
|
/**
|
|
798
|
-
* HTTP
|
|
799
|
-
* Java method: org.openremote.model.rules.
|
|
817
|
+
* HTTP DELETE /rules/{id}
|
|
818
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
800
819
|
*/
|
|
801
|
-
|
|
820
|
+
deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
|
|
802
821
|
/**
|
|
803
|
-
* HTTP GET /
|
|
804
|
-
* Java method: org.openremote.model.rules.
|
|
822
|
+
* HTTP GET /rules/{id}
|
|
823
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
805
824
|
*/
|
|
806
|
-
|
|
825
|
+
getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
826
|
+
/**
|
|
827
|
+
* HTTP PUT /rules/{id}
|
|
828
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
829
|
+
*/
|
|
830
|
+
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
807
831
|
}
|
|
808
|
-
export declare class
|
|
832
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
809
833
|
protected httpClient: HttpClient<O>;
|
|
810
834
|
constructor(httpClient: HttpClient<O>);
|
|
811
835
|
/**
|
|
812
|
-
* HTTP
|
|
813
|
-
* Java method: org.openremote.model.
|
|
814
|
-
*/
|
|
815
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
816
|
-
/**
|
|
817
|
-
* HTTP GET /provisioning
|
|
818
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
836
|
+
* HTTP GET /asset/datapoint/export
|
|
837
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
819
838
|
*/
|
|
820
|
-
|
|
839
|
+
getDatapointExport(queryParams?: {
|
|
840
|
+
attributeRefs?: string;
|
|
841
|
+
fromTimestamp?: number;
|
|
842
|
+
toTimestamp?: number;
|
|
843
|
+
}, options?: O): RestResponse<any>;
|
|
821
844
|
/**
|
|
822
|
-
* HTTP
|
|
823
|
-
* Java method: org.openremote.model.
|
|
845
|
+
* HTTP GET /asset/datapoint/periods
|
|
846
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
824
847
|
*/
|
|
825
|
-
|
|
848
|
+
getDatapointPeriod(queryParams?: {
|
|
849
|
+
assetId?: string;
|
|
850
|
+
attributeName?: string;
|
|
851
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
826
852
|
/**
|
|
827
|
-
* HTTP
|
|
828
|
-
* Java method: org.openremote.model.
|
|
853
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
854
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
829
855
|
*/
|
|
830
|
-
|
|
856
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
831
857
|
}
|
|
832
858
|
export declare class StatusResourceClient<O> {
|
|
833
859
|
protected httpClient: HttpClient<O>;
|
|
@@ -847,77 +873,51 @@ export declare class StatusResourceClient<O> {
|
|
|
847
873
|
[index: string]: any;
|
|
848
874
|
}>;
|
|
849
875
|
}
|
|
850
|
-
export declare class ConfigurationResourceClient<O> {
|
|
851
|
-
protected httpClient: HttpClient<O>;
|
|
852
|
-
constructor(httpClient: HttpClient<O>);
|
|
853
|
-
/**
|
|
854
|
-
* HTTP GET /configuration/manager
|
|
855
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
856
|
-
*/
|
|
857
|
-
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
858
|
-
/**
|
|
859
|
-
* HTTP PUT /configuration/manager
|
|
860
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
861
|
-
*/
|
|
862
|
-
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
863
|
-
/**
|
|
864
|
-
* HTTP POST /configuration/manager/file
|
|
865
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
866
|
-
*/
|
|
867
|
-
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
868
|
-
path?: string;
|
|
869
|
-
}, options?: O): RestResponse<string>;
|
|
870
|
-
/**
|
|
871
|
-
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
872
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
873
|
-
*/
|
|
874
|
-
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
875
|
-
}
|
|
876
876
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
877
877
|
export declare class ApiClient {
|
|
878
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
879
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
880
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
881
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
882
|
-
protected _userResource: AxiosUserResourceClient;
|
|
883
|
-
protected _appResource: AxiosAppResourceClient;
|
|
884
|
-
protected _rulesResource: AxiosRulesResourceClient;
|
|
885
878
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
879
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
886
880
|
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
887
|
-
protected
|
|
881
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
888
882
|
protected _realmResource: AxiosRealmResourceClient;
|
|
889
|
-
protected
|
|
883
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
884
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
885
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
886
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
887
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
888
|
+
protected _userResource: AxiosUserResourceClient;
|
|
890
889
|
protected _mapResource: AxiosMapResourceClient;
|
|
891
890
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
891
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
892
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
892
893
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
893
|
-
protected
|
|
894
|
+
protected _appResource: AxiosAppResourceClient;
|
|
894
895
|
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
895
|
-
protected
|
|
896
|
-
protected
|
|
896
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
897
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
897
898
|
protected _statusResource: AxiosStatusResourceClient;
|
|
898
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
899
899
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
900
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
901
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
902
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
903
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
904
|
-
get UserResource(): AxiosUserResourceClient;
|
|
905
|
-
get AppResource(): AxiosAppResourceClient;
|
|
906
|
-
get RulesResource(): AxiosRulesResourceClient;
|
|
907
900
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
901
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
908
902
|
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
909
|
-
get
|
|
903
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
910
904
|
get RealmResource(): AxiosRealmResourceClient;
|
|
911
|
-
get
|
|
905
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
906
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
907
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
908
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
909
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
910
|
+
get UserResource(): AxiosUserResourceClient;
|
|
912
911
|
get MapResource(): AxiosMapResourceClient;
|
|
913
912
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
913
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
914
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
914
915
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
915
|
-
get
|
|
916
|
+
get AppResource(): AxiosAppResourceClient;
|
|
916
917
|
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
917
|
-
get
|
|
918
|
-
get
|
|
918
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
919
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
919
920
|
get StatusResource(): AxiosStatusResourceClient;
|
|
920
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
921
921
|
}
|
|
922
922
|
import * as Axios from "axios";
|
|
923
923
|
declare module "axios" {
|
|
@@ -925,66 +925,66 @@ declare module "axios" {
|
|
|
925
925
|
data: R;
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
export declare class
|
|
928
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
929
929
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
930
930
|
}
|
|
931
|
-
export declare class
|
|
931
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
932
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
|
+
}
|
|
934
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
932
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
936
|
}
|
|
934
937
|
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
935
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
939
|
}
|
|
937
|
-
export declare class
|
|
940
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
938
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
942
|
}
|
|
940
|
-
export declare class
|
|
943
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
941
944
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
945
|
}
|
|
943
|
-
export declare class
|
|
946
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
944
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
948
|
}
|
|
946
|
-
export declare class
|
|
949
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
947
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
951
|
}
|
|
949
|
-
export declare class
|
|
952
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
950
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
954
|
}
|
|
952
|
-
export declare class
|
|
955
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
953
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
957
|
}
|
|
955
|
-
export declare class
|
|
958
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
956
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
960
|
}
|
|
958
|
-
export declare class
|
|
961
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
959
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
963
|
}
|
|
961
|
-
export declare class
|
|
964
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
962
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
966
|
}
|
|
964
|
-
export declare class
|
|
967
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
965
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
969
|
}
|
|
967
|
-
export declare class
|
|
970
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
968
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
972
|
}
|
|
970
973
|
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
971
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
975
|
}
|
|
973
|
-
export declare class
|
|
976
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
974
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
978
|
}
|
|
976
979
|
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
977
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
981
|
}
|
|
979
|
-
export declare class
|
|
982
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
980
983
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
984
|
}
|
|
982
|
-
export declare class
|
|
985
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
983
986
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
984
987
|
}
|
|
985
988
|
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
986
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
990
|
}
|
|
988
|
-
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
989
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
|
-
}
|