@openremote/rest 1.9.0-snapshot.20250910123627 → 1.9.0-snapshot.20250910134401
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.bundle.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/lib/restclient.d.ts +410 -410
- 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,6 +9,104 @@ 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?: string[];
|
|
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: string, options?: O): RestResponse<void>;
|
|
32
|
+
/**
|
|
33
|
+
* HTTP GET /gateway/connection/{realm}
|
|
34
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
35
|
+
*/
|
|
36
|
+
getConnection(realm: string, 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: string, 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: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
47
|
+
}
|
|
48
|
+
export declare class AlarmResourceClient<O> {
|
|
49
|
+
protected httpClient: HttpClient<O>;
|
|
50
|
+
constructor(httpClient: HttpClient<O>);
|
|
51
|
+
/**
|
|
52
|
+
* HTTP POST /alarm
|
|
53
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
54
|
+
*/
|
|
55
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
56
|
+
assetIds?: string[];
|
|
57
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
58
|
+
/**
|
|
59
|
+
* HTTP GET /alarm
|
|
60
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
61
|
+
*/
|
|
62
|
+
getAlarms(queryParams?: {
|
|
63
|
+
realm?: string;
|
|
64
|
+
status?: Model.AlarmStatus;
|
|
65
|
+
assetId?: string;
|
|
66
|
+
assigneeId?: string;
|
|
67
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
68
|
+
/**
|
|
69
|
+
* HTTP DELETE /alarm
|
|
70
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
71
|
+
*/
|
|
72
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
73
|
+
/**
|
|
74
|
+
* HTTP PUT /alarm/assets
|
|
75
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
76
|
+
*/
|
|
77
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
78
|
+
/**
|
|
79
|
+
* HTTP GET /alarm/{alarmId}
|
|
80
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
81
|
+
*/
|
|
82
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
83
|
+
/**
|
|
84
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
85
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
86
|
+
*/
|
|
87
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
88
|
+
/**
|
|
89
|
+
* HTTP PUT /alarm/{alarmId}
|
|
90
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
91
|
+
*/
|
|
92
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
93
|
+
/**
|
|
94
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
95
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
96
|
+
*/
|
|
97
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
98
|
+
realm?: string;
|
|
99
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
100
|
+
}
|
|
101
|
+
export declare class ConsoleResourceClient<O> {
|
|
102
|
+
protected httpClient: HttpClient<O>;
|
|
103
|
+
constructor(httpClient: HttpClient<O>);
|
|
104
|
+
/**
|
|
105
|
+
* HTTP POST /console/register
|
|
106
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
107
|
+
*/
|
|
108
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
109
|
+
}
|
|
12
110
|
export declare class FlowResourceClient<O> {
|
|
13
111
|
protected httpClient: HttpClient<O>;
|
|
14
112
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -28,6 +126,220 @@ export declare class FlowResourceClient<O> {
|
|
|
28
126
|
*/
|
|
29
127
|
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
30
128
|
}
|
|
129
|
+
export declare class StatusResourceClient<O> {
|
|
130
|
+
protected httpClient: HttpClient<O>;
|
|
131
|
+
constructor(httpClient: HttpClient<O>);
|
|
132
|
+
/**
|
|
133
|
+
* HTTP GET /health
|
|
134
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
135
|
+
*/
|
|
136
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
137
|
+
[index: string]: any;
|
|
138
|
+
}>;
|
|
139
|
+
/**
|
|
140
|
+
* HTTP GET /info
|
|
141
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
142
|
+
*/
|
|
143
|
+
getInfo(options?: O): RestResponse<{
|
|
144
|
+
[index: string]: any;
|
|
145
|
+
}>;
|
|
146
|
+
}
|
|
147
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
148
|
+
protected httpClient: HttpClient<O>;
|
|
149
|
+
constructor(httpClient: HttpClient<O>);
|
|
150
|
+
/**
|
|
151
|
+
* HTTP GET /asset/datapoint/export
|
|
152
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
153
|
+
*/
|
|
154
|
+
getDatapointExport(queryParams?: {
|
|
155
|
+
attributeRefs?: string;
|
|
156
|
+
fromTimestamp?: number;
|
|
157
|
+
toTimestamp?: number;
|
|
158
|
+
}, options?: O): RestResponse<any>;
|
|
159
|
+
/**
|
|
160
|
+
* HTTP GET /asset/datapoint/periods
|
|
161
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
162
|
+
*/
|
|
163
|
+
getDatapointPeriod(queryParams?: {
|
|
164
|
+
assetId?: string;
|
|
165
|
+
attributeName?: string;
|
|
166
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
167
|
+
/**
|
|
168
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
169
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
170
|
+
*/
|
|
171
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
172
|
+
}
|
|
173
|
+
export declare class MapResourceClient<O> {
|
|
174
|
+
protected httpClient: HttpClient<O>;
|
|
175
|
+
constructor(httpClient: HttpClient<O>);
|
|
176
|
+
/**
|
|
177
|
+
* HTTP GET /map
|
|
178
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
179
|
+
*/
|
|
180
|
+
getSettings(options?: O): RestResponse<{
|
|
181
|
+
[id: string]: unknown;
|
|
182
|
+
}>;
|
|
183
|
+
/**
|
|
184
|
+
* HTTP PUT /map
|
|
185
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
186
|
+
*/
|
|
187
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
188
|
+
[id: string]: unknown;
|
|
189
|
+
}>;
|
|
190
|
+
/**
|
|
191
|
+
* HTTP DELETE /map/deleteMap
|
|
192
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
193
|
+
*/
|
|
194
|
+
deleteMap(options?: O): RestResponse<{
|
|
195
|
+
[id: string]: unknown;
|
|
196
|
+
}>;
|
|
197
|
+
/**
|
|
198
|
+
* HTTP GET /map/getCustomMapInfo
|
|
199
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
200
|
+
*/
|
|
201
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
202
|
+
[id: string]: unknown;
|
|
203
|
+
}>;
|
|
204
|
+
/**
|
|
205
|
+
* HTTP GET /map/js
|
|
206
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
207
|
+
*/
|
|
208
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
209
|
+
[id: string]: unknown;
|
|
210
|
+
}>;
|
|
211
|
+
/**
|
|
212
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
213
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
214
|
+
*/
|
|
215
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
216
|
+
/**
|
|
217
|
+
* HTTP POST /map/upload
|
|
218
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
219
|
+
*/
|
|
220
|
+
uploadMap(queryParams?: {
|
|
221
|
+
filename?: string;
|
|
222
|
+
}, options?: O): RestResponse<{
|
|
223
|
+
[id: string]: unknown;
|
|
224
|
+
}>;
|
|
225
|
+
}
|
|
226
|
+
export declare class ConfigurationResourceClient<O> {
|
|
227
|
+
protected httpClient: HttpClient<O>;
|
|
228
|
+
constructor(httpClient: HttpClient<O>);
|
|
229
|
+
/**
|
|
230
|
+
* HTTP GET /configuration/manager
|
|
231
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
232
|
+
*/
|
|
233
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
234
|
+
/**
|
|
235
|
+
* HTTP PUT /configuration/manager
|
|
236
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
237
|
+
*/
|
|
238
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
239
|
+
/**
|
|
240
|
+
* HTTP POST /configuration/manager/file
|
|
241
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
242
|
+
*/
|
|
243
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
244
|
+
path?: string;
|
|
245
|
+
}, options?: O): RestResponse<string>;
|
|
246
|
+
/**
|
|
247
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
248
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
249
|
+
*/
|
|
250
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
251
|
+
}
|
|
252
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
253
|
+
protected httpClient: HttpClient<O>;
|
|
254
|
+
constructor(httpClient: HttpClient<O>);
|
|
255
|
+
/**
|
|
256
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
257
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
258
|
+
*/
|
|
259
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
260
|
+
/**
|
|
261
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
262
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
263
|
+
*/
|
|
264
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
265
|
+
}
|
|
266
|
+
export declare class AgentResourceClient<O> {
|
|
267
|
+
protected httpClient: HttpClient<O>;
|
|
268
|
+
constructor(httpClient: HttpClient<O>);
|
|
269
|
+
/**
|
|
270
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
271
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
272
|
+
*/
|
|
273
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
274
|
+
realm?: string;
|
|
275
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
276
|
+
/**
|
|
277
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
278
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
279
|
+
*/
|
|
280
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
281
|
+
realm?: string;
|
|
282
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
283
|
+
/**
|
|
284
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
285
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
286
|
+
*/
|
|
287
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
288
|
+
parentId?: string;
|
|
289
|
+
realm?: string;
|
|
290
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
291
|
+
}
|
|
292
|
+
export declare class AppResourceClient<O> {
|
|
293
|
+
protected httpClient: HttpClient<O>;
|
|
294
|
+
constructor(httpClient: HttpClient<O>);
|
|
295
|
+
/**
|
|
296
|
+
* HTTP GET /apps
|
|
297
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
298
|
+
*/
|
|
299
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
300
|
+
/**
|
|
301
|
+
* HTTP GET /apps/consoleConfig
|
|
302
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
303
|
+
*/
|
|
304
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
305
|
+
/**
|
|
306
|
+
* HTTP GET /apps/info
|
|
307
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
308
|
+
*/
|
|
309
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
310
|
+
}
|
|
311
|
+
export declare class SyslogResourceClient<O> {
|
|
312
|
+
protected httpClient: HttpClient<O>;
|
|
313
|
+
constructor(httpClient: HttpClient<O>);
|
|
314
|
+
/**
|
|
315
|
+
* HTTP GET /syslog/config
|
|
316
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
317
|
+
*/
|
|
318
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
319
|
+
/**
|
|
320
|
+
* HTTP PUT /syslog/config
|
|
321
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
322
|
+
*/
|
|
323
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
324
|
+
/**
|
|
325
|
+
* HTTP DELETE /syslog/event
|
|
326
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
327
|
+
*/
|
|
328
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
329
|
+
/**
|
|
330
|
+
* HTTP GET /syslog/event
|
|
331
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
332
|
+
*/
|
|
333
|
+
getEvents(queryParams?: {
|
|
334
|
+
level?: Model.SyslogLevel;
|
|
335
|
+
per_page?: number;
|
|
336
|
+
page?: number;
|
|
337
|
+
from?: number;
|
|
338
|
+
to?: number;
|
|
339
|
+
category?: Model.SyslogCategory[];
|
|
340
|
+
subCategory?: string[];
|
|
341
|
+
}, options?: O): RestResponse<any>;
|
|
342
|
+
}
|
|
31
343
|
export declare class RulesResourceClient<O> {
|
|
32
344
|
protected httpClient: HttpClient<O>;
|
|
33
345
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -181,20 +493,6 @@ export declare class AssetModelResourceClient<O> {
|
|
|
181
493
|
[index: string]: Model.ValueDescriptor;
|
|
182
494
|
}>;
|
|
183
495
|
}
|
|
184
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
185
|
-
protected httpClient: HttpClient<O>;
|
|
186
|
-
constructor(httpClient: HttpClient<O>);
|
|
187
|
-
/**
|
|
188
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
189
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
190
|
-
*/
|
|
191
|
-
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
192
|
-
/**
|
|
193
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
194
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
195
|
-
*/
|
|
196
|
-
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
197
|
-
}
|
|
198
496
|
export declare class UserResourceClient<O> {
|
|
199
497
|
protected httpClient: HttpClient<O>;
|
|
200
498
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -319,6 +617,30 @@ export declare class UserResourceClient<O> {
|
|
|
319
617
|
*/
|
|
320
618
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
321
619
|
}
|
|
620
|
+
export declare class ProvisioningResourceClient<O> {
|
|
621
|
+
protected httpClient: HttpClient<O>;
|
|
622
|
+
constructor(httpClient: HttpClient<O>);
|
|
623
|
+
/**
|
|
624
|
+
* HTTP POST /provisioning
|
|
625
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
626
|
+
*/
|
|
627
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
628
|
+
/**
|
|
629
|
+
* HTTP GET /provisioning
|
|
630
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
631
|
+
*/
|
|
632
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
633
|
+
/**
|
|
634
|
+
* HTTP DELETE /provisioning/{id}
|
|
635
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
636
|
+
*/
|
|
637
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
638
|
+
/**
|
|
639
|
+
* HTTP PUT /provisioning/{id}
|
|
640
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
641
|
+
*/
|
|
642
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
643
|
+
}
|
|
322
644
|
export declare class GatewayServiceResourceClient<O> {
|
|
323
645
|
protected httpClient: HttpClient<O>;
|
|
324
646
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -348,102 +670,6 @@ export declare class GatewayServiceResourceClient<O> {
|
|
|
348
670
|
*/
|
|
349
671
|
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
350
672
|
}
|
|
351
|
-
export declare class MapResourceClient<O> {
|
|
352
|
-
protected httpClient: HttpClient<O>;
|
|
353
|
-
constructor(httpClient: HttpClient<O>);
|
|
354
|
-
/**
|
|
355
|
-
* HTTP GET /map
|
|
356
|
-
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
357
|
-
*/
|
|
358
|
-
getSettings(options?: O): RestResponse<{
|
|
359
|
-
[id: string]: unknown;
|
|
360
|
-
}>;
|
|
361
|
-
/**
|
|
362
|
-
* HTTP PUT /map
|
|
363
|
-
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
364
|
-
*/
|
|
365
|
-
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
366
|
-
[id: string]: unknown;
|
|
367
|
-
}>;
|
|
368
|
-
/**
|
|
369
|
-
* HTTP DELETE /map/deleteMap
|
|
370
|
-
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
371
|
-
*/
|
|
372
|
-
deleteMap(options?: O): RestResponse<{
|
|
373
|
-
[id: string]: unknown;
|
|
374
|
-
}>;
|
|
375
|
-
/**
|
|
376
|
-
* HTTP GET /map/getCustomMapInfo
|
|
377
|
-
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
378
|
-
*/
|
|
379
|
-
getCustomMapInfo(options?: O): RestResponse<{
|
|
380
|
-
[id: string]: unknown;
|
|
381
|
-
}>;
|
|
382
|
-
/**
|
|
383
|
-
* HTTP GET /map/js
|
|
384
|
-
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
385
|
-
*/
|
|
386
|
-
getSettingsJs(options?: O): RestResponse<{
|
|
387
|
-
[id: string]: unknown;
|
|
388
|
-
}>;
|
|
389
|
-
/**
|
|
390
|
-
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
391
|
-
* Java method: org.openremote.model.map.MapResource.getTile
|
|
392
|
-
*/
|
|
393
|
-
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
394
|
-
/**
|
|
395
|
-
* HTTP POST /map/upload
|
|
396
|
-
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
397
|
-
*/
|
|
398
|
-
uploadMap(queryParams?: {
|
|
399
|
-
filename?: string;
|
|
400
|
-
}, options?: O): RestResponse<{
|
|
401
|
-
[id: string]: unknown;
|
|
402
|
-
}>;
|
|
403
|
-
}
|
|
404
|
-
export declare class AppResourceClient<O> {
|
|
405
|
-
protected httpClient: HttpClient<O>;
|
|
406
|
-
constructor(httpClient: HttpClient<O>);
|
|
407
|
-
/**
|
|
408
|
-
* HTTP GET /apps
|
|
409
|
-
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
410
|
-
*/
|
|
411
|
-
getApps(options?: O): RestResponse<string[]>;
|
|
412
|
-
/**
|
|
413
|
-
* HTTP GET /apps/consoleConfig
|
|
414
|
-
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
415
|
-
*/
|
|
416
|
-
getConsoleConfig(options?: O): RestResponse<any>;
|
|
417
|
-
/**
|
|
418
|
-
* HTTP GET /apps/info
|
|
419
|
-
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
420
|
-
*/
|
|
421
|
-
getAppInfos(options?: O): RestResponse<any>;
|
|
422
|
-
}
|
|
423
|
-
export declare class ProvisioningResourceClient<O> {
|
|
424
|
-
protected httpClient: HttpClient<O>;
|
|
425
|
-
constructor(httpClient: HttpClient<O>);
|
|
426
|
-
/**
|
|
427
|
-
* HTTP POST /provisioning
|
|
428
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
429
|
-
*/
|
|
430
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
431
|
-
/**
|
|
432
|
-
* HTTP GET /provisioning
|
|
433
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
434
|
-
*/
|
|
435
|
-
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
436
|
-
/**
|
|
437
|
-
* HTTP DELETE /provisioning/{id}
|
|
438
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
439
|
-
*/
|
|
440
|
-
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
441
|
-
/**
|
|
442
|
-
* HTTP PUT /provisioning/{id}
|
|
443
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
444
|
-
*/
|
|
445
|
-
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
446
|
-
}
|
|
447
673
|
export declare class AssetResourceClient<O> {
|
|
448
674
|
protected httpClient: HttpClient<O>;
|
|
449
675
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -548,58 +774,6 @@ export declare class AssetResourceClient<O> {
|
|
|
548
774
|
assetIds?: string[];
|
|
549
775
|
}, options?: O): RestResponse<void>;
|
|
550
776
|
}
|
|
551
|
-
export declare class ConfigurationResourceClient<O> {
|
|
552
|
-
protected httpClient: HttpClient<O>;
|
|
553
|
-
constructor(httpClient: HttpClient<O>);
|
|
554
|
-
/**
|
|
555
|
-
* HTTP GET /configuration/manager
|
|
556
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
557
|
-
*/
|
|
558
|
-
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
559
|
-
/**
|
|
560
|
-
* HTTP PUT /configuration/manager
|
|
561
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
562
|
-
*/
|
|
563
|
-
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
564
|
-
/**
|
|
565
|
-
* HTTP POST /configuration/manager/file
|
|
566
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
567
|
-
*/
|
|
568
|
-
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
569
|
-
path?: string;
|
|
570
|
-
}, options?: O): RestResponse<string>;
|
|
571
|
-
/**
|
|
572
|
-
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
573
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
574
|
-
*/
|
|
575
|
-
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
576
|
-
}
|
|
577
|
-
export declare class AgentResourceClient<O> {
|
|
578
|
-
protected httpClient: HttpClient<O>;
|
|
579
|
-
constructor(httpClient: HttpClient<O>);
|
|
580
|
-
/**
|
|
581
|
-
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
582
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
583
|
-
*/
|
|
584
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
585
|
-
realm?: string;
|
|
586
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
587
|
-
/**
|
|
588
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
589
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
590
|
-
*/
|
|
591
|
-
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
592
|
-
realm?: string;
|
|
593
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
594
|
-
/**
|
|
595
|
-
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
596
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
597
|
-
*/
|
|
598
|
-
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
599
|
-
parentId?: string;
|
|
600
|
-
realm?: string;
|
|
601
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
602
|
-
}
|
|
603
777
|
export declare class RealmResourceClient<O> {
|
|
604
778
|
protected httpClient: HttpClient<O>;
|
|
605
779
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -619,86 +793,20 @@ export declare class RealmResourceClient<O> {
|
|
|
619
793
|
*/
|
|
620
794
|
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
621
795
|
/**
|
|
622
|
-
* HTTP DELETE /realm/{name}
|
|
623
|
-
* Java method: org.openremote.model.security.RealmResource.delete
|
|
624
|
-
*/
|
|
625
|
-
delete(name: string, options?: O): RestResponse<void>;
|
|
626
|
-
/**
|
|
627
|
-
* HTTP GET /realm/{name}
|
|
628
|
-
* Java method: org.openremote.model.security.RealmResource.get
|
|
629
|
-
*/
|
|
630
|
-
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
631
|
-
/**
|
|
632
|
-
* HTTP PUT /realm/{name}
|
|
633
|
-
* Java method: org.openremote.model.security.RealmResource.update
|
|
634
|
-
*/
|
|
635
|
-
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
636
|
-
}
|
|
637
|
-
export declare class SyslogResourceClient<O> {
|
|
638
|
-
protected httpClient: HttpClient<O>;
|
|
639
|
-
constructor(httpClient: HttpClient<O>);
|
|
640
|
-
/**
|
|
641
|
-
* HTTP GET /syslog/config
|
|
642
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
643
|
-
*/
|
|
644
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
645
|
-
/**
|
|
646
|
-
* HTTP PUT /syslog/config
|
|
647
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
648
|
-
*/
|
|
649
|
-
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
650
|
-
/**
|
|
651
|
-
* HTTP DELETE /syslog/event
|
|
652
|
-
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
653
|
-
*/
|
|
654
|
-
clearEvents(options?: O): RestResponse<void>;
|
|
655
|
-
/**
|
|
656
|
-
* HTTP GET /syslog/event
|
|
657
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
658
|
-
*/
|
|
659
|
-
getEvents(queryParams?: {
|
|
660
|
-
level?: Model.SyslogLevel;
|
|
661
|
-
per_page?: number;
|
|
662
|
-
page?: number;
|
|
663
|
-
from?: number;
|
|
664
|
-
to?: number;
|
|
665
|
-
category?: Model.SyslogCategory[];
|
|
666
|
-
subCategory?: string[];
|
|
667
|
-
}, options?: O): RestResponse<any>;
|
|
668
|
-
}
|
|
669
|
-
export declare class DashboardResourceClient<O> {
|
|
670
|
-
protected httpClient: HttpClient<O>;
|
|
671
|
-
constructor(httpClient: HttpClient<O>);
|
|
672
|
-
/**
|
|
673
|
-
* HTTP POST /dashboard
|
|
674
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
675
|
-
*/
|
|
676
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
677
|
-
/**
|
|
678
|
-
* HTTP PUT /dashboard
|
|
679
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
680
|
-
*/
|
|
681
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
682
|
-
/**
|
|
683
|
-
* HTTP GET /dashboard/all/{realm}
|
|
684
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
685
|
-
*/
|
|
686
|
-
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
687
|
-
/**
|
|
688
|
-
* HTTP POST /dashboard/query
|
|
689
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
796
|
+
* HTTP DELETE /realm/{name}
|
|
797
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
690
798
|
*/
|
|
691
|
-
|
|
799
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
692
800
|
/**
|
|
693
|
-
* HTTP
|
|
694
|
-
* Java method: org.openremote.model.
|
|
801
|
+
* HTTP GET /realm/{name}
|
|
802
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
695
803
|
*/
|
|
696
|
-
|
|
804
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
697
805
|
/**
|
|
698
|
-
* HTTP
|
|
699
|
-
* Java method: org.openremote.model.
|
|
806
|
+
* HTTP PUT /realm/{name}
|
|
807
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
700
808
|
*/
|
|
701
|
-
|
|
809
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
702
810
|
}
|
|
703
811
|
export declare class NotificationResourceClient<O> {
|
|
704
812
|
protected httpClient: HttpClient<O>;
|
|
@@ -754,193 +862,85 @@ export declare class NotificationResourceClient<O> {
|
|
|
754
862
|
targetId?: string;
|
|
755
863
|
}, options?: O): RestResponse<void>;
|
|
756
864
|
}
|
|
757
|
-
export declare class
|
|
758
|
-
protected httpClient: HttpClient<O>;
|
|
759
|
-
constructor(httpClient: HttpClient<O>);
|
|
760
|
-
/**
|
|
761
|
-
* HTTP GET /health
|
|
762
|
-
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
763
|
-
*/
|
|
764
|
-
getHealthStatus(options?: O): RestResponse<{
|
|
765
|
-
[index: string]: any;
|
|
766
|
-
}>;
|
|
767
|
-
/**
|
|
768
|
-
* HTTP GET /info
|
|
769
|
-
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
770
|
-
*/
|
|
771
|
-
getInfo(options?: O): RestResponse<{
|
|
772
|
-
[index: string]: any;
|
|
773
|
-
}>;
|
|
774
|
-
}
|
|
775
|
-
export declare class ConsoleResourceClient<O> {
|
|
776
|
-
protected httpClient: HttpClient<O>;
|
|
777
|
-
constructor(httpClient: HttpClient<O>);
|
|
778
|
-
/**
|
|
779
|
-
* HTTP POST /console/register
|
|
780
|
-
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
781
|
-
*/
|
|
782
|
-
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
783
|
-
}
|
|
784
|
-
export declare class GatewayClientResourceClient<O> {
|
|
785
|
-
protected httpClient: HttpClient<O>;
|
|
786
|
-
constructor(httpClient: HttpClient<O>);
|
|
787
|
-
/**
|
|
788
|
-
* HTTP DELETE /gateway/connection
|
|
789
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
790
|
-
*/
|
|
791
|
-
deleteConnections(queryParams?: {
|
|
792
|
-
realm?: string[];
|
|
793
|
-
}, options?: O): RestResponse<void>;
|
|
794
|
-
/**
|
|
795
|
-
* HTTP GET /gateway/connection
|
|
796
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
797
|
-
*/
|
|
798
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
799
|
-
/**
|
|
800
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
801
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
802
|
-
*/
|
|
803
|
-
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
804
|
-
/**
|
|
805
|
-
* HTTP GET /gateway/connection/{realm}
|
|
806
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
807
|
-
*/
|
|
808
|
-
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
809
|
-
/**
|
|
810
|
-
* HTTP PUT /gateway/connection/{realm}
|
|
811
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
812
|
-
*/
|
|
813
|
-
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
814
|
-
/**
|
|
815
|
-
* HTTP GET /gateway/status/{realm}
|
|
816
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
817
|
-
*/
|
|
818
|
-
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
819
|
-
}
|
|
820
|
-
export declare class AlarmResourceClient<O> {
|
|
865
|
+
export declare class DashboardResourceClient<O> {
|
|
821
866
|
protected httpClient: HttpClient<O>;
|
|
822
867
|
constructor(httpClient: HttpClient<O>);
|
|
823
868
|
/**
|
|
824
|
-
* HTTP POST /
|
|
825
|
-
* Java method: org.openremote.model.
|
|
826
|
-
*/
|
|
827
|
-
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
828
|
-
assetIds?: string[];
|
|
829
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
830
|
-
/**
|
|
831
|
-
* HTTP GET /alarm
|
|
832
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
833
|
-
*/
|
|
834
|
-
getAlarms(queryParams?: {
|
|
835
|
-
realm?: string;
|
|
836
|
-
status?: Model.AlarmStatus;
|
|
837
|
-
assetId?: string;
|
|
838
|
-
assigneeId?: string;
|
|
839
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
840
|
-
/**
|
|
841
|
-
* HTTP DELETE /alarm
|
|
842
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
843
|
-
*/
|
|
844
|
-
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
845
|
-
/**
|
|
846
|
-
* HTTP PUT /alarm/assets
|
|
847
|
-
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
848
|
-
*/
|
|
849
|
-
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
850
|
-
/**
|
|
851
|
-
* HTTP GET /alarm/{alarmId}
|
|
852
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
853
|
-
*/
|
|
854
|
-
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
855
|
-
/**
|
|
856
|
-
* HTTP DELETE /alarm/{alarmId}
|
|
857
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
869
|
+
* HTTP POST /dashboard
|
|
870
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
858
871
|
*/
|
|
859
|
-
|
|
872
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
860
873
|
/**
|
|
861
|
-
* HTTP PUT /
|
|
862
|
-
* Java method: org.openremote.model.
|
|
874
|
+
* HTTP PUT /dashboard
|
|
875
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
863
876
|
*/
|
|
864
|
-
|
|
877
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
865
878
|
/**
|
|
866
|
-
* HTTP GET /
|
|
867
|
-
* Java method: org.openremote.model.
|
|
879
|
+
* HTTP GET /dashboard/all/{realm}
|
|
880
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
868
881
|
*/
|
|
869
|
-
|
|
870
|
-
realm?: string;
|
|
871
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
872
|
-
}
|
|
873
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
874
|
-
protected httpClient: HttpClient<O>;
|
|
875
|
-
constructor(httpClient: HttpClient<O>);
|
|
882
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
876
883
|
/**
|
|
877
|
-
* HTTP
|
|
878
|
-
* Java method: org.openremote.model.
|
|
884
|
+
* HTTP POST /dashboard/query
|
|
885
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
879
886
|
*/
|
|
880
|
-
|
|
881
|
-
attributeRefs?: string;
|
|
882
|
-
fromTimestamp?: number;
|
|
883
|
-
toTimestamp?: number;
|
|
884
|
-
}, options?: O): RestResponse<any>;
|
|
887
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
885
888
|
/**
|
|
886
|
-
* HTTP
|
|
887
|
-
* Java method: org.openremote.model.
|
|
889
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
890
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
888
891
|
*/
|
|
889
|
-
|
|
890
|
-
assetId?: string;
|
|
891
|
-
attributeName?: string;
|
|
892
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
892
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
893
893
|
/**
|
|
894
|
-
* HTTP
|
|
895
|
-
* Java method: org.openremote.model.
|
|
894
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
895
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
896
896
|
*/
|
|
897
|
-
|
|
897
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
898
898
|
}
|
|
899
899
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
900
900
|
export declare class ApiClient {
|
|
901
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
902
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
903
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
901
904
|
protected _flowResource: AxiosFlowResourceClient;
|
|
905
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
906
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
907
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
908
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
909
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
910
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
911
|
+
protected _appResource: AxiosAppResourceClient;
|
|
912
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
902
913
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
903
914
|
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
904
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
905
915
|
protected _userResource: AxiosUserResourceClient;
|
|
906
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
907
|
-
protected _mapResource: AxiosMapResourceClient;
|
|
908
|
-
protected _appResource: AxiosAppResourceClient;
|
|
909
916
|
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
917
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
910
918
|
protected _assetResource: AxiosAssetResourceClient;
|
|
911
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
912
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
913
919
|
protected _realmResource: AxiosRealmResourceClient;
|
|
914
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
915
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
916
920
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
917
|
-
protected
|
|
918
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
919
|
-
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
920
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
921
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
921
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
922
922
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
923
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
924
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
925
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
923
926
|
get FlowResource(): AxiosFlowResourceClient;
|
|
927
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
928
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
929
|
+
get MapResource(): AxiosMapResourceClient;
|
|
930
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
931
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
932
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
933
|
+
get AppResource(): AxiosAppResourceClient;
|
|
934
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
924
935
|
get RulesResource(): AxiosRulesResourceClient;
|
|
925
936
|
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
926
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
927
937
|
get UserResource(): AxiosUserResourceClient;
|
|
928
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
929
|
-
get MapResource(): AxiosMapResourceClient;
|
|
930
|
-
get AppResource(): AxiosAppResourceClient;
|
|
931
938
|
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
939
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
932
940
|
get AssetResource(): AxiosAssetResourceClient;
|
|
933
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
934
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
935
941
|
get RealmResource(): AxiosRealmResourceClient;
|
|
936
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
937
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
938
942
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
939
|
-
get
|
|
940
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
941
|
-
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
942
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
943
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
943
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
944
944
|
}
|
|
945
945
|
import * as Axios from "axios";
|
|
946
946
|
declare module "axios" {
|
|
@@ -948,66 +948,66 @@ declare module "axios" {
|
|
|
948
948
|
data: R;
|
|
949
949
|
}
|
|
950
950
|
}
|
|
951
|
-
export declare class
|
|
951
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
952
952
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
953
953
|
}
|
|
954
|
-
export declare class
|
|
954
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
955
955
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
956
956
|
}
|
|
957
|
-
export declare class
|
|
957
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
958
958
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
959
959
|
}
|
|
960
|
-
export declare class
|
|
960
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
961
961
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
962
962
|
}
|
|
963
|
-
export declare class
|
|
963
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
964
964
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
965
965
|
}
|
|
966
|
-
export declare class
|
|
966
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
967
967
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
968
968
|
}
|
|
969
969
|
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
970
970
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
971
971
|
}
|
|
972
|
-
export declare class
|
|
972
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
973
973
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
974
974
|
}
|
|
975
|
-
export declare class
|
|
975
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
976
976
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
977
977
|
}
|
|
978
|
-
export declare class
|
|
978
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
979
979
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
980
980
|
}
|
|
981
|
-
export declare class
|
|
981
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
982
982
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
983
983
|
}
|
|
984
|
-
export declare class
|
|
984
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
985
985
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
986
986
|
}
|
|
987
|
-
export declare class
|
|
987
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
988
988
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
989
989
|
}
|
|
990
|
-
export declare class
|
|
990
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
991
991
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
992
992
|
}
|
|
993
|
-
export declare class
|
|
993
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
994
994
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
995
995
|
}
|
|
996
|
-
export declare class
|
|
996
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
997
997
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
998
998
|
}
|
|
999
|
-
export declare class
|
|
999
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1000
1000
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1001
1001
|
}
|
|
1002
|
-
export declare class
|
|
1002
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1003
1003
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1004
1004
|
}
|
|
1005
|
-
export declare class
|
|
1005
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1006
1006
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1007
1007
|
}
|
|
1008
|
-
export declare class
|
|
1008
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1009
1009
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1010
1010
|
}
|
|
1011
|
-
export declare class
|
|
1011
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1012
1012
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1013
1013
|
}
|