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