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