@openremote/rest 1.14.0-snapshot.20260114094419 → 1.14.0-snapshot.20260114140743
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 +596 -596
- package/lib/restclient.d.ts.map +1 -1
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +1 -1
package/lib/restclient.d.ts
CHANGED
|
@@ -9,31 +9,261 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class DashboardResourceClient<O> {
|
|
13
13
|
protected httpClient: HttpClient<O>;
|
|
14
14
|
constructor(httpClient: HttpClient<O>);
|
|
15
15
|
/**
|
|
16
|
-
* HTTP
|
|
17
|
-
* Java method: org.openremote.model.
|
|
16
|
+
* HTTP POST /dashboard
|
|
17
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
18
18
|
*/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
20
|
+
/**
|
|
21
|
+
* HTTP PUT /dashboard
|
|
22
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
23
|
+
*/
|
|
24
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
25
|
+
/**
|
|
26
|
+
* HTTP GET /dashboard/all/{realm}
|
|
27
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
28
|
+
*/
|
|
29
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
30
|
+
/**
|
|
31
|
+
* HTTP POST /dashboard/query
|
|
32
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
33
|
+
*/
|
|
34
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
35
|
+
/**
|
|
36
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
37
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
38
|
+
*/
|
|
39
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
40
|
+
/**
|
|
41
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
42
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
43
|
+
*/
|
|
44
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
45
|
+
}
|
|
46
|
+
export declare class ProvisioningResourceClient<O> {
|
|
47
|
+
protected httpClient: HttpClient<O>;
|
|
48
|
+
constructor(httpClient: HttpClient<O>);
|
|
49
|
+
/**
|
|
50
|
+
* HTTP POST /provisioning
|
|
51
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
52
|
+
*/
|
|
53
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
54
|
+
/**
|
|
55
|
+
* HTTP GET /provisioning
|
|
56
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
57
|
+
*/
|
|
58
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
59
|
+
/**
|
|
60
|
+
* HTTP DELETE /provisioning/{id}
|
|
61
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
62
|
+
*/
|
|
63
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
64
|
+
/**
|
|
65
|
+
* HTTP PUT /provisioning/{id}
|
|
66
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
67
|
+
*/
|
|
68
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
69
|
+
}
|
|
70
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
71
|
+
protected httpClient: HttpClient<O>;
|
|
72
|
+
constructor(httpClient: HttpClient<O>);
|
|
73
|
+
/**
|
|
74
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
75
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
76
|
+
*/
|
|
77
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
78
|
+
/**
|
|
79
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
80
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
81
|
+
*/
|
|
82
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
83
|
+
}
|
|
84
|
+
export declare class AgentResourceClient<O> {
|
|
85
|
+
protected httpClient: HttpClient<O>;
|
|
86
|
+
constructor(httpClient: HttpClient<O>);
|
|
87
|
+
/**
|
|
88
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
89
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
90
|
+
*/
|
|
91
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
92
|
+
realm?: string;
|
|
93
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
94
|
+
/**
|
|
95
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
96
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
97
|
+
*/
|
|
98
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
99
|
+
realm?: string;
|
|
100
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
101
|
+
/**
|
|
102
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
103
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
104
|
+
*/
|
|
105
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
106
|
+
parentId?: string;
|
|
107
|
+
realm?: string;
|
|
108
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
109
|
+
}
|
|
110
|
+
export declare class StatusResourceClient<O> {
|
|
111
|
+
protected httpClient: HttpClient<O>;
|
|
112
|
+
constructor(httpClient: HttpClient<O>);
|
|
113
|
+
/**
|
|
114
|
+
* HTTP GET /health
|
|
115
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
116
|
+
*/
|
|
117
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
118
|
+
[index: string]: any;
|
|
119
|
+
}>;
|
|
120
|
+
/**
|
|
121
|
+
* HTTP GET /info
|
|
122
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
123
|
+
*/
|
|
124
|
+
getInfo(options?: O): RestResponse<{
|
|
125
|
+
[index: string]: any;
|
|
126
|
+
}>;
|
|
127
|
+
}
|
|
128
|
+
export declare class ExternalServiceResourceClient<O> {
|
|
129
|
+
protected httpClient: HttpClient<O>;
|
|
130
|
+
constructor(httpClient: HttpClient<O>);
|
|
131
|
+
/**
|
|
132
|
+
* Response code 200 - List of registered external services
|
|
133
|
+
* HTTP GET /service
|
|
134
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
135
|
+
*/
|
|
136
|
+
getServices(queryParams?: {
|
|
137
|
+
realm?: string;
|
|
138
|
+
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
139
|
+
/**
|
|
140
|
+
* Response code 200 - Service registered successfully
|
|
141
|
+
* Response code 400 - Invalid external service object
|
|
142
|
+
* Response code 409 - ExternalService instance already registered
|
|
143
|
+
* HTTP POST /service
|
|
144
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
145
|
+
*/
|
|
146
|
+
registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
147
|
+
/**
|
|
148
|
+
* Response code 200 - List of registered external services
|
|
149
|
+
* HTTP GET /service/global
|
|
150
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
151
|
+
*/
|
|
152
|
+
getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
|
|
153
|
+
/**
|
|
154
|
+
* Response code 200 - Service registered successfully
|
|
155
|
+
* Response code 400 - Invalid external service object
|
|
156
|
+
* Response code 409 - ExternalService instance already registered
|
|
157
|
+
* HTTP POST /service/global
|
|
158
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
159
|
+
*/
|
|
160
|
+
registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
161
|
+
/**
|
|
162
|
+
* Response code 204 - Service deregistered successfully
|
|
163
|
+
* Response code 404 - Service instance not found
|
|
164
|
+
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
165
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
166
|
+
*/
|
|
167
|
+
deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
168
|
+
/**
|
|
169
|
+
* Response code 200 - ExternalService retrieved successfully
|
|
170
|
+
* Response code 404 - ExternalService not found
|
|
171
|
+
* HTTP GET /service/{serviceId}/{instanceId}
|
|
172
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
173
|
+
*/
|
|
174
|
+
getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
|
|
175
|
+
/**
|
|
176
|
+
* Response code 204 - Heartbeat sent successfully
|
|
177
|
+
* Response code 404 - Service instance not found
|
|
178
|
+
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
179
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
180
|
+
*/
|
|
181
|
+
heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
182
|
+
}
|
|
183
|
+
export declare class SyslogResourceClient<O> {
|
|
184
|
+
protected httpClient: HttpClient<O>;
|
|
185
|
+
constructor(httpClient: HttpClient<O>);
|
|
186
|
+
/**
|
|
187
|
+
* HTTP GET /syslog/config
|
|
188
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
189
|
+
*/
|
|
190
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
191
|
+
/**
|
|
192
|
+
* HTTP PUT /syslog/config
|
|
193
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
194
|
+
*/
|
|
195
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
196
|
+
/**
|
|
197
|
+
* HTTP DELETE /syslog/event
|
|
198
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
199
|
+
*/
|
|
200
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
201
|
+
/**
|
|
202
|
+
* HTTP GET /syslog/event
|
|
203
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
204
|
+
*/
|
|
205
|
+
getEvents(queryParams?: {
|
|
206
|
+
level?: Model.SyslogLevel;
|
|
207
|
+
per_page?: number;
|
|
208
|
+
page?: number;
|
|
209
|
+
from?: number;
|
|
210
|
+
to?: number;
|
|
211
|
+
category?: Model.SyslogCategory[];
|
|
212
|
+
subCategory?: string[];
|
|
23
213
|
}, options?: O): RestResponse<any>;
|
|
214
|
+
}
|
|
215
|
+
export declare class AlarmResourceClient<O> {
|
|
216
|
+
protected httpClient: HttpClient<O>;
|
|
217
|
+
constructor(httpClient: HttpClient<O>);
|
|
24
218
|
/**
|
|
25
|
-
* HTTP
|
|
26
|
-
* Java method: org.openremote.model.
|
|
219
|
+
* HTTP POST /alarm
|
|
220
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
27
221
|
*/
|
|
28
|
-
|
|
222
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
223
|
+
assetIds?: string[];
|
|
224
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
225
|
+
/**
|
|
226
|
+
* HTTP GET /alarm
|
|
227
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
228
|
+
*/
|
|
229
|
+
getAlarms(queryParams?: {
|
|
230
|
+
realm?: string;
|
|
231
|
+
status?: Model.AlarmStatus;
|
|
29
232
|
assetId?: string;
|
|
30
|
-
|
|
31
|
-
}, options?: O): RestResponse<Model.
|
|
233
|
+
assigneeId?: string;
|
|
234
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
32
235
|
/**
|
|
33
|
-
* HTTP
|
|
34
|
-
* Java method: org.openremote.model.
|
|
236
|
+
* HTTP DELETE /alarm
|
|
237
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
35
238
|
*/
|
|
36
|
-
|
|
239
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
240
|
+
/**
|
|
241
|
+
* HTTP PUT /alarm/assets
|
|
242
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
243
|
+
*/
|
|
244
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
245
|
+
/**
|
|
246
|
+
* HTTP GET /alarm/{alarmId}
|
|
247
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
248
|
+
*/
|
|
249
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
250
|
+
/**
|
|
251
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
252
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
253
|
+
*/
|
|
254
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
255
|
+
/**
|
|
256
|
+
* HTTP PUT /alarm/{alarmId}
|
|
257
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
258
|
+
*/
|
|
259
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
260
|
+
/**
|
|
261
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
262
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
263
|
+
*/
|
|
264
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
265
|
+
realm?: string;
|
|
266
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
37
267
|
}
|
|
38
268
|
export declare class FlowResourceClient<O> {
|
|
39
269
|
protected httpClient: HttpClient<O>;
|
|
@@ -54,190 +284,234 @@ export declare class FlowResourceClient<O> {
|
|
|
54
284
|
*/
|
|
55
285
|
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
56
286
|
}
|
|
57
|
-
export declare class
|
|
287
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
58
288
|
protected httpClient: HttpClient<O>;
|
|
59
289
|
constructor(httpClient: HttpClient<O>);
|
|
60
290
|
/**
|
|
61
|
-
* HTTP GET /
|
|
62
|
-
* Java method: org.openremote.model.
|
|
291
|
+
* HTTP GET /asset/datapoint/export
|
|
292
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
63
293
|
*/
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
294
|
+
getDatapointExport(queryParams?: {
|
|
295
|
+
attributeRefs?: string;
|
|
296
|
+
fromTimestamp?: number;
|
|
297
|
+
toTimestamp?: number;
|
|
298
|
+
}, options?: O): RestResponse<any>;
|
|
68
299
|
/**
|
|
69
|
-
* HTTP GET /
|
|
70
|
-
* Java method: org.openremote.model.
|
|
300
|
+
* HTTP GET /asset/datapoint/periods
|
|
301
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
71
302
|
*/
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
303
|
+
getDatapointPeriod(queryParams?: {
|
|
304
|
+
assetId?: string;
|
|
305
|
+
attributeName?: string;
|
|
306
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
75
307
|
/**
|
|
76
|
-
* HTTP
|
|
77
|
-
* Java method: org.openremote.model.
|
|
308
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
309
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
78
310
|
*/
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
311
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
312
|
+
}
|
|
313
|
+
export declare class AssetResourceClient<O> {
|
|
314
|
+
protected httpClient: HttpClient<O>;
|
|
315
|
+
constructor(httpClient: HttpClient<O>);
|
|
83
316
|
/**
|
|
84
|
-
* HTTP
|
|
85
|
-
* Java method: org.openremote.model.asset.
|
|
317
|
+
* HTTP POST /asset
|
|
318
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
86
319
|
*/
|
|
87
|
-
|
|
88
|
-
name?: string;
|
|
89
|
-
hash?: string;
|
|
90
|
-
}, options?: O): RestResponse<any>;
|
|
320
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
91
321
|
/**
|
|
92
|
-
* HTTP
|
|
93
|
-
* Java method: org.openremote.model.asset.
|
|
322
|
+
* HTTP DELETE /asset
|
|
323
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
94
324
|
*/
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}, options?: O): RestResponse<
|
|
98
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
99
|
-
}>;
|
|
325
|
+
delete(queryParams?: {
|
|
326
|
+
assetId?: string[];
|
|
327
|
+
}, options?: O): RestResponse<void>;
|
|
100
328
|
/**
|
|
101
|
-
* HTTP
|
|
102
|
-
* Java method: org.openremote.model.asset.
|
|
329
|
+
* HTTP PUT /asset/attributes
|
|
330
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
103
331
|
*/
|
|
104
|
-
|
|
105
|
-
parentId?: string;
|
|
106
|
-
}, options?: O): RestResponse<{
|
|
107
|
-
[index: string]: Model.ValueDescriptor;
|
|
108
|
-
}>;
|
|
109
|
-
}
|
|
110
|
-
export declare class RulesResourceClient<O> {
|
|
111
|
-
protected httpClient: HttpClient<O>;
|
|
112
|
-
constructor(httpClient: HttpClient<O>);
|
|
332
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
113
333
|
/**
|
|
114
|
-
* HTTP
|
|
115
|
-
* Java method: org.openremote.model.
|
|
334
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
335
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
116
336
|
*/
|
|
117
|
-
|
|
337
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
118
338
|
/**
|
|
119
|
-
* HTTP
|
|
120
|
-
* Java method: org.openremote.model.
|
|
339
|
+
* HTTP POST /asset/count
|
|
340
|
+
* Java method: org.openremote.model.asset.AssetResource.queryCount
|
|
121
341
|
*/
|
|
122
|
-
|
|
123
|
-
language?: Model.RulesetLang[];
|
|
124
|
-
fullyPopulate?: boolean;
|
|
125
|
-
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
342
|
+
queryCount(query: Model.AssetQuery, options?: O): RestResponse<number>;
|
|
126
343
|
/**
|
|
127
|
-
* HTTP
|
|
128
|
-
* Java method: org.openremote.model.
|
|
344
|
+
* HTTP DELETE /asset/parent
|
|
345
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
129
346
|
*/
|
|
130
|
-
|
|
347
|
+
updateNoneParent(queryParams?: {
|
|
348
|
+
assetIds?: string[];
|
|
349
|
+
}, options?: O): RestResponse<void>;
|
|
131
350
|
/**
|
|
132
|
-
* HTTP GET /
|
|
133
|
-
* Java method: org.openremote.model.
|
|
351
|
+
* HTTP GET /asset/partial/{assetId}
|
|
352
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
134
353
|
*/
|
|
135
|
-
|
|
136
|
-
language?: Model.RulesetLang[];
|
|
137
|
-
fullyPopulate?: boolean;
|
|
138
|
-
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
354
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
139
355
|
/**
|
|
140
|
-
* HTTP
|
|
141
|
-
* Java method: org.openremote.model.
|
|
356
|
+
* HTTP POST /asset/query
|
|
357
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
142
358
|
*/
|
|
143
|
-
|
|
359
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
144
360
|
/**
|
|
145
|
-
* HTTP
|
|
146
|
-
* Java method: org.openremote.model.
|
|
361
|
+
* HTTP POST /asset/tree
|
|
362
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
147
363
|
*/
|
|
148
|
-
|
|
364
|
+
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
149
365
|
/**
|
|
150
|
-
* HTTP
|
|
151
|
-
* Java method: org.openremote.model.
|
|
366
|
+
* HTTP GET /asset/user/current
|
|
367
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
152
368
|
*/
|
|
153
|
-
|
|
369
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
154
370
|
/**
|
|
155
|
-
* HTTP
|
|
156
|
-
* Java method: org.openremote.model.
|
|
371
|
+
* HTTP POST /asset/user/link
|
|
372
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
157
373
|
*/
|
|
158
|
-
|
|
374
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
159
375
|
/**
|
|
160
|
-
* HTTP GET /
|
|
161
|
-
* Java method: org.openremote.model.
|
|
376
|
+
* HTTP GET /asset/user/link
|
|
377
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
162
378
|
*/
|
|
163
|
-
|
|
379
|
+
getUserAssetLinks(queryParams?: {
|
|
380
|
+
realm?: string;
|
|
381
|
+
userId?: string;
|
|
382
|
+
assetId?: string;
|
|
383
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
164
384
|
/**
|
|
165
|
-
* HTTP
|
|
166
|
-
* Java method: org.openremote.model.
|
|
385
|
+
* HTTP POST /asset/user/link/delete
|
|
386
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
387
|
+
*/
|
|
388
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
389
|
+
/**
|
|
390
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
391
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
392
|
+
*/
|
|
393
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
394
|
+
/**
|
|
395
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
396
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
397
|
+
*/
|
|
398
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
399
|
+
/**
|
|
400
|
+
* HTTP GET /asset/{assetId}
|
|
401
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
402
|
+
*/
|
|
403
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
404
|
+
/**
|
|
405
|
+
* HTTP PUT /asset/{assetId}
|
|
406
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
167
407
|
*/
|
|
168
|
-
|
|
408
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
169
409
|
/**
|
|
170
|
-
* HTTP
|
|
171
|
-
* Java method: org.openremote.model.
|
|
410
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
411
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
172
412
|
*/
|
|
173
|
-
|
|
413
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
174
414
|
/**
|
|
175
|
-
* HTTP
|
|
176
|
-
* Java method: org.openremote.model.
|
|
415
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
416
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
177
417
|
*/
|
|
178
|
-
|
|
418
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
179
419
|
/**
|
|
180
|
-
* HTTP
|
|
181
|
-
* Java method: org.openremote.model.
|
|
420
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
421
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
182
422
|
*/
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
423
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
424
|
+
assetIds?: string[];
|
|
425
|
+
}, options?: O): RestResponse<void>;
|
|
426
|
+
}
|
|
427
|
+
export declare class GatewayClientResourceClient<O> {
|
|
428
|
+
protected httpClient: HttpClient<O>;
|
|
429
|
+
constructor(httpClient: HttpClient<O>);
|
|
187
430
|
/**
|
|
188
|
-
* HTTP DELETE /
|
|
189
|
-
* Java method: org.openremote.model.
|
|
431
|
+
* HTTP DELETE /gateway/connection
|
|
432
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
190
433
|
*/
|
|
191
|
-
|
|
434
|
+
deleteConnections(queryParams?: {
|
|
435
|
+
realm?: string[];
|
|
436
|
+
}, options?: O): RestResponse<void>;
|
|
192
437
|
/**
|
|
193
|
-
* HTTP GET /
|
|
194
|
-
* Java method: org.openremote.model.
|
|
438
|
+
* HTTP GET /gateway/connection
|
|
439
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
195
440
|
*/
|
|
196
|
-
|
|
441
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
197
442
|
/**
|
|
198
|
-
* HTTP
|
|
199
|
-
* Java method: org.openremote.model.
|
|
443
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
444
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
200
445
|
*/
|
|
201
|
-
|
|
446
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
202
447
|
/**
|
|
203
|
-
* HTTP
|
|
204
|
-
* Java method: org.openremote.model.
|
|
448
|
+
* HTTP GET /gateway/connection/{realm}
|
|
449
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
205
450
|
*/
|
|
206
|
-
|
|
451
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
207
452
|
/**
|
|
208
|
-
* HTTP
|
|
209
|
-
* Java method: org.openremote.model.
|
|
453
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
454
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
210
455
|
*/
|
|
211
|
-
|
|
456
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
212
457
|
/**
|
|
213
|
-
* HTTP
|
|
214
|
-
* Java method: org.openremote.model.
|
|
458
|
+
* HTTP GET /gateway/status/{realm}
|
|
459
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
215
460
|
*/
|
|
216
|
-
|
|
461
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
217
462
|
}
|
|
218
|
-
export declare class
|
|
463
|
+
export declare class AssetModelResourceClient<O> {
|
|
219
464
|
protected httpClient: HttpClient<O>;
|
|
220
465
|
constructor(httpClient: HttpClient<O>);
|
|
221
466
|
/**
|
|
222
|
-
* HTTP
|
|
223
|
-
* Java method: org.openremote.model.
|
|
467
|
+
* HTTP GET /model/assetDescriptors
|
|
468
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
224
469
|
*/
|
|
225
|
-
|
|
470
|
+
getAssetDescriptors(queryParams?: {
|
|
471
|
+
parentId?: string;
|
|
472
|
+
parentType?: string;
|
|
473
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
226
474
|
/**
|
|
227
|
-
* HTTP GET /
|
|
228
|
-
* Java method: org.openremote.model.
|
|
475
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
476
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
229
477
|
*/
|
|
230
|
-
|
|
478
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
479
|
+
parentId?: string;
|
|
480
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
231
481
|
/**
|
|
232
|
-
* HTTP
|
|
233
|
-
* Java method: org.openremote.model.
|
|
482
|
+
* HTTP GET /model/assetInfos
|
|
483
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
234
484
|
*/
|
|
235
|
-
|
|
485
|
+
getAssetInfos(queryParams?: {
|
|
486
|
+
parentId?: string;
|
|
487
|
+
parentType?: string;
|
|
488
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
236
489
|
/**
|
|
237
|
-
* HTTP
|
|
238
|
-
* Java method: org.openremote.model.
|
|
490
|
+
* HTTP GET /model/getValueDescriptorSchema
|
|
491
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
|
|
239
492
|
*/
|
|
240
|
-
|
|
493
|
+
getValueDescriptorSchema(queryParams?: {
|
|
494
|
+
name?: string;
|
|
495
|
+
hash?: string;
|
|
496
|
+
}, options?: O): RestResponse<any>;
|
|
497
|
+
/**
|
|
498
|
+
* HTTP GET /model/metaItemDescriptors
|
|
499
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
500
|
+
*/
|
|
501
|
+
getMetaItemDescriptors(queryParams?: {
|
|
502
|
+
parentId?: string;
|
|
503
|
+
}, options?: O): RestResponse<{
|
|
504
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
505
|
+
}>;
|
|
506
|
+
/**
|
|
507
|
+
* HTTP GET /model/valueDescriptors
|
|
508
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
509
|
+
*/
|
|
510
|
+
getValueDescriptors(queryParams?: {
|
|
511
|
+
parentId?: string;
|
|
512
|
+
}, options?: O): RestResponse<{
|
|
513
|
+
[index: string]: Model.ValueDescriptor;
|
|
514
|
+
}>;
|
|
241
515
|
}
|
|
242
516
|
export declare class NotificationResourceClient<O> {
|
|
243
517
|
protected httpClient: HttpClient<O>;
|
|
@@ -293,43 +567,6 @@ export declare class NotificationResourceClient<O> {
|
|
|
293
567
|
targetId?: string;
|
|
294
568
|
}, options?: O): RestResponse<void>;
|
|
295
569
|
}
|
|
296
|
-
export declare class StatusResourceClient<O> {
|
|
297
|
-
protected httpClient: HttpClient<O>;
|
|
298
|
-
constructor(httpClient: HttpClient<O>);
|
|
299
|
-
/**
|
|
300
|
-
* HTTP GET /health
|
|
301
|
-
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
302
|
-
*/
|
|
303
|
-
getHealthStatus(options?: O): RestResponse<{
|
|
304
|
-
[index: string]: any;
|
|
305
|
-
}>;
|
|
306
|
-
/**
|
|
307
|
-
* HTTP GET /info
|
|
308
|
-
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
309
|
-
*/
|
|
310
|
-
getInfo(options?: O): RestResponse<{
|
|
311
|
-
[index: string]: any;
|
|
312
|
-
}>;
|
|
313
|
-
}
|
|
314
|
-
export declare class AppResourceClient<O> {
|
|
315
|
-
protected httpClient: HttpClient<O>;
|
|
316
|
-
constructor(httpClient: HttpClient<O>);
|
|
317
|
-
/**
|
|
318
|
-
* HTTP GET /apps
|
|
319
|
-
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
320
|
-
*/
|
|
321
|
-
getApps(options?: O): RestResponse<string[]>;
|
|
322
|
-
/**
|
|
323
|
-
* HTTP GET /apps/consoleConfig
|
|
324
|
-
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
325
|
-
*/
|
|
326
|
-
getConsoleConfig(options?: O): RestResponse<any>;
|
|
327
|
-
/**
|
|
328
|
-
* HTTP GET /apps/info
|
|
329
|
-
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
330
|
-
*/
|
|
331
|
-
getAppInfos(options?: O): RestResponse<any>;
|
|
332
|
-
}
|
|
333
570
|
export declare class MapResourceClient<O> {
|
|
334
571
|
protected httpClient: HttpClient<O>;
|
|
335
572
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -347,125 +584,41 @@ export declare class MapResourceClient<O> {
|
|
|
347
584
|
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
348
585
|
[id: string]: unknown;
|
|
349
586
|
}>;
|
|
350
|
-
/**
|
|
351
|
-
* HTTP DELETE /map/deleteMap
|
|
352
|
-
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
353
|
-
*/
|
|
354
|
-
deleteMap(options?: O): RestResponse<{
|
|
355
|
-
[id: string]: unknown;
|
|
356
|
-
}>;
|
|
357
|
-
/**
|
|
358
|
-
* HTTP GET /map/getCustomMapInfo
|
|
359
|
-
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
360
|
-
*/
|
|
361
|
-
getCustomMapInfo(options?: O): RestResponse<{
|
|
362
|
-
[id: string]: unknown;
|
|
363
|
-
}>;
|
|
364
|
-
/**
|
|
365
|
-
* HTTP GET /map/js
|
|
366
|
-
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
367
|
-
*/
|
|
368
|
-
getSettingsJs(options?: O): RestResponse<{
|
|
369
|
-
[id: string]: unknown;
|
|
370
|
-
}>;
|
|
371
|
-
/**
|
|
372
|
-
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
373
|
-
* Java method: org.openremote.model.map.MapResource.getTile
|
|
374
|
-
*/
|
|
375
|
-
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
376
|
-
/**
|
|
377
|
-
* HTTP POST /map/upload
|
|
378
|
-
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
379
|
-
*/
|
|
380
|
-
uploadMap(queryParams?: {
|
|
381
|
-
filename?: string;
|
|
382
|
-
}, options?: O): RestResponse<{
|
|
383
|
-
[id: string]: unknown;
|
|
384
|
-
}>;
|
|
385
|
-
}
|
|
386
|
-
export declare class ExternalServiceResourceClient<O> {
|
|
387
|
-
protected httpClient: HttpClient<O>;
|
|
388
|
-
constructor(httpClient: HttpClient<O>);
|
|
389
|
-
/**
|
|
390
|
-
* Response code 200 - List of registered external services
|
|
391
|
-
* HTTP GET /service
|
|
392
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
393
|
-
*/
|
|
394
|
-
getServices(queryParams?: {
|
|
395
|
-
realm?: string;
|
|
396
|
-
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
397
|
-
/**
|
|
398
|
-
* Response code 200 - Service registered successfully
|
|
399
|
-
* Response code 400 - Invalid external service object
|
|
400
|
-
* Response code 409 - ExternalService instance already registered
|
|
401
|
-
* HTTP POST /service
|
|
402
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
403
|
-
*/
|
|
404
|
-
registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
405
|
-
/**
|
|
406
|
-
* Response code 200 - List of registered external services
|
|
407
|
-
* HTTP GET /service/global
|
|
408
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
409
|
-
*/
|
|
410
|
-
getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
|
|
411
|
-
/**
|
|
412
|
-
* Response code 200 - Service registered successfully
|
|
413
|
-
* Response code 400 - Invalid external service object
|
|
414
|
-
* Response code 409 - ExternalService instance already registered
|
|
415
|
-
* HTTP POST /service/global
|
|
416
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
417
|
-
*/
|
|
418
|
-
registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
419
|
-
/**
|
|
420
|
-
* Response code 204 - Service deregistered successfully
|
|
421
|
-
* Response code 404 - Service instance not found
|
|
422
|
-
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
423
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
424
|
-
*/
|
|
425
|
-
deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
426
|
-
/**
|
|
427
|
-
* Response code 200 - ExternalService retrieved successfully
|
|
428
|
-
* Response code 404 - ExternalService not found
|
|
429
|
-
* HTTP GET /service/{serviceId}/{instanceId}
|
|
430
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
431
|
-
*/
|
|
432
|
-
getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
|
|
433
|
-
/**
|
|
434
|
-
* Response code 204 - Heartbeat sent successfully
|
|
435
|
-
* Response code 404 - Service instance not found
|
|
436
|
-
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
437
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
438
|
-
*/
|
|
439
|
-
heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
440
|
-
}
|
|
441
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
442
|
-
protected httpClient: HttpClient<O>;
|
|
443
|
-
constructor(httpClient: HttpClient<O>);
|
|
444
|
-
/**
|
|
445
|
-
* HTTP POST /gateway/tunnel
|
|
446
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
587
|
+
/**
|
|
588
|
+
* HTTP DELETE /map/deleteMap
|
|
589
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
447
590
|
*/
|
|
448
|
-
|
|
591
|
+
deleteMap(options?: O): RestResponse<{
|
|
592
|
+
[id: string]: unknown;
|
|
593
|
+
}>;
|
|
449
594
|
/**
|
|
450
|
-
* HTTP
|
|
451
|
-
* Java method: org.openremote.model.
|
|
595
|
+
* HTTP GET /map/getCustomMapInfo
|
|
596
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
452
597
|
*/
|
|
453
|
-
|
|
598
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
599
|
+
[id: string]: unknown;
|
|
600
|
+
}>;
|
|
454
601
|
/**
|
|
455
|
-
* HTTP GET /
|
|
456
|
-
* Java method: org.openremote.model.
|
|
602
|
+
* HTTP GET /map/js
|
|
603
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
457
604
|
*/
|
|
458
|
-
|
|
605
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
606
|
+
[id: string]: unknown;
|
|
607
|
+
}>;
|
|
459
608
|
/**
|
|
460
|
-
* HTTP GET /
|
|
461
|
-
* Java method: org.openremote.model.
|
|
609
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
610
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
462
611
|
*/
|
|
463
|
-
|
|
612
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
464
613
|
/**
|
|
465
|
-
* HTTP
|
|
466
|
-
* Java method: org.openremote.model.
|
|
614
|
+
* HTTP POST /map/upload
|
|
615
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
467
616
|
*/
|
|
468
|
-
|
|
617
|
+
uploadMap(queryParams?: {
|
|
618
|
+
filename?: string;
|
|
619
|
+
}, options?: O): RestResponse<{
|
|
620
|
+
[id: string]: unknown;
|
|
621
|
+
}>;
|
|
469
622
|
}
|
|
470
623
|
export declare class ConfigurationResourceClient<O> {
|
|
471
624
|
protected httpClient: HttpClient<O>;
|
|
@@ -493,82 +646,6 @@ export declare class ConfigurationResourceClient<O> {
|
|
|
493
646
|
*/
|
|
494
647
|
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
495
648
|
}
|
|
496
|
-
export declare class GatewayClientResourceClient<O> {
|
|
497
|
-
protected httpClient: HttpClient<O>;
|
|
498
|
-
constructor(httpClient: HttpClient<O>);
|
|
499
|
-
/**
|
|
500
|
-
* HTTP DELETE /gateway/connection
|
|
501
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
502
|
-
*/
|
|
503
|
-
deleteConnections(queryParams?: {
|
|
504
|
-
realm?: string[];
|
|
505
|
-
}, options?: O): RestResponse<void>;
|
|
506
|
-
/**
|
|
507
|
-
* HTTP GET /gateway/connection
|
|
508
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
509
|
-
*/
|
|
510
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
511
|
-
/**
|
|
512
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
513
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
514
|
-
*/
|
|
515
|
-
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
516
|
-
/**
|
|
517
|
-
* HTTP GET /gateway/connection/{realm}
|
|
518
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
519
|
-
*/
|
|
520
|
-
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
521
|
-
/**
|
|
522
|
-
* HTTP PUT /gateway/connection/{realm}
|
|
523
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
524
|
-
*/
|
|
525
|
-
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
526
|
-
/**
|
|
527
|
-
* HTTP GET /gateway/status/{realm}
|
|
528
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
529
|
-
*/
|
|
530
|
-
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
531
|
-
}
|
|
532
|
-
export declare class AgentResourceClient<O> {
|
|
533
|
-
protected httpClient: HttpClient<O>;
|
|
534
|
-
constructor(httpClient: HttpClient<O>);
|
|
535
|
-
/**
|
|
536
|
-
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
537
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
538
|
-
*/
|
|
539
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
540
|
-
realm?: string;
|
|
541
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
542
|
-
/**
|
|
543
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
544
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
545
|
-
*/
|
|
546
|
-
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
547
|
-
realm?: string;
|
|
548
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
549
|
-
/**
|
|
550
|
-
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
551
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
552
|
-
*/
|
|
553
|
-
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
554
|
-
parentId?: string;
|
|
555
|
-
realm?: string;
|
|
556
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
557
|
-
}
|
|
558
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
559
|
-
protected httpClient: HttpClient<O>;
|
|
560
|
-
constructor(httpClient: HttpClient<O>);
|
|
561
|
-
/**
|
|
562
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
563
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
564
|
-
*/
|
|
565
|
-
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
566
|
-
/**
|
|
567
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
568
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
569
|
-
*/
|
|
570
|
-
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
571
|
-
}
|
|
572
649
|
export declare class RealmResourceClient<O> {
|
|
573
650
|
protected httpClient: HttpClient<O>;
|
|
574
651
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -603,6 +680,15 @@ export declare class RealmResourceClient<O> {
|
|
|
603
680
|
*/
|
|
604
681
|
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
605
682
|
}
|
|
683
|
+
export declare class ConsoleResourceClient<O> {
|
|
684
|
+
protected httpClient: HttpClient<O>;
|
|
685
|
+
constructor(httpClient: HttpClient<O>);
|
|
686
|
+
/**
|
|
687
|
+
* HTTP POST /console/register
|
|
688
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
689
|
+
*/
|
|
690
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
691
|
+
}
|
|
606
692
|
export declare class UserResourceClient<O> {
|
|
607
693
|
protected httpClient: HttpClient<O>;
|
|
608
694
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -727,295 +813,209 @@ export declare class UserResourceClient<O> {
|
|
|
727
813
|
*/
|
|
728
814
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
729
815
|
}
|
|
730
|
-
export declare class
|
|
731
|
-
protected httpClient: HttpClient<O>;
|
|
732
|
-
constructor(httpClient: HttpClient<O>);
|
|
733
|
-
/**
|
|
734
|
-
* HTTP POST /dashboard
|
|
735
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
736
|
-
*/
|
|
737
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
738
|
-
/**
|
|
739
|
-
* HTTP PUT /dashboard
|
|
740
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
741
|
-
*/
|
|
742
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
743
|
-
/**
|
|
744
|
-
* HTTP GET /dashboard/all/{realm}
|
|
745
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
746
|
-
*/
|
|
747
|
-
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
748
|
-
/**
|
|
749
|
-
* HTTP POST /dashboard/query
|
|
750
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
751
|
-
*/
|
|
752
|
-
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
753
|
-
/**
|
|
754
|
-
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
755
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
756
|
-
*/
|
|
757
|
-
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
758
|
-
/**
|
|
759
|
-
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
760
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
761
|
-
*/
|
|
762
|
-
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
763
|
-
}
|
|
764
|
-
export declare class AlarmResourceClient<O> {
|
|
816
|
+
export declare class RulesResourceClient<O> {
|
|
765
817
|
protected httpClient: HttpClient<O>;
|
|
766
818
|
constructor(httpClient: HttpClient<O>);
|
|
767
819
|
/**
|
|
768
|
-
* HTTP POST /
|
|
769
|
-
* Java method: org.openremote.model.
|
|
770
|
-
*/
|
|
771
|
-
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
772
|
-
assetIds?: string[];
|
|
773
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
774
|
-
/**
|
|
775
|
-
* HTTP GET /alarm
|
|
776
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
777
|
-
*/
|
|
778
|
-
getAlarms(queryParams?: {
|
|
779
|
-
realm?: string;
|
|
780
|
-
status?: Model.AlarmStatus;
|
|
781
|
-
assetId?: string;
|
|
782
|
-
assigneeId?: string;
|
|
783
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
784
|
-
/**
|
|
785
|
-
* HTTP DELETE /alarm
|
|
786
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
787
|
-
*/
|
|
788
|
-
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
789
|
-
/**
|
|
790
|
-
* HTTP PUT /alarm/assets
|
|
791
|
-
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
792
|
-
*/
|
|
793
|
-
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
794
|
-
/**
|
|
795
|
-
* HTTP GET /alarm/{alarmId}
|
|
796
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
797
|
-
*/
|
|
798
|
-
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
799
|
-
/**
|
|
800
|
-
* HTTP DELETE /alarm/{alarmId}
|
|
801
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
802
|
-
*/
|
|
803
|
-
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
804
|
-
/**
|
|
805
|
-
* HTTP PUT /alarm/{alarmId}
|
|
806
|
-
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
820
|
+
* HTTP POST /rules
|
|
821
|
+
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
807
822
|
*/
|
|
808
|
-
|
|
823
|
+
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
809
824
|
/**
|
|
810
|
-
* HTTP GET /
|
|
811
|
-
* Java method: org.openremote.model.
|
|
825
|
+
* HTTP GET /rules
|
|
826
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
812
827
|
*/
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
}
|
|
817
|
-
export declare class SyslogResourceClient<O> {
|
|
818
|
-
protected httpClient: HttpClient<O>;
|
|
819
|
-
constructor(httpClient: HttpClient<O>);
|
|
828
|
+
getGlobalRulesets(queryParams?: {
|
|
829
|
+
language?: Model.RulesetLang[];
|
|
830
|
+
fullyPopulate?: boolean;
|
|
831
|
+
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
820
832
|
/**
|
|
821
|
-
* HTTP
|
|
822
|
-
* Java method: org.openremote.model.
|
|
833
|
+
* HTTP POST /rules/asset
|
|
834
|
+
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
823
835
|
*/
|
|
824
|
-
|
|
836
|
+
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
825
837
|
/**
|
|
826
|
-
* HTTP
|
|
827
|
-
* Java method: org.openremote.model.
|
|
838
|
+
* HTTP GET /rules/asset/for/{assetId}
|
|
839
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
828
840
|
*/
|
|
829
|
-
|
|
841
|
+
getAssetRulesets(assetId: string, queryParams?: {
|
|
842
|
+
language?: Model.RulesetLang[];
|
|
843
|
+
fullyPopulate?: boolean;
|
|
844
|
+
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
830
845
|
/**
|
|
831
|
-
* HTTP DELETE /
|
|
832
|
-
* Java method: org.openremote.model.
|
|
846
|
+
* HTTP DELETE /rules/asset/{id}
|
|
847
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
833
848
|
*/
|
|
834
|
-
|
|
849
|
+
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
835
850
|
/**
|
|
836
|
-
* HTTP GET /
|
|
837
|
-
* Java method: org.openremote.model.
|
|
851
|
+
* HTTP GET /rules/asset/{id}
|
|
852
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
838
853
|
*/
|
|
839
|
-
|
|
840
|
-
level?: Model.SyslogLevel;
|
|
841
|
-
per_page?: number;
|
|
842
|
-
page?: number;
|
|
843
|
-
from?: number;
|
|
844
|
-
to?: number;
|
|
845
|
-
category?: Model.SyslogCategory[];
|
|
846
|
-
subCategory?: string[];
|
|
847
|
-
}, options?: O): RestResponse<any>;
|
|
848
|
-
}
|
|
849
|
-
export declare class AssetResourceClient<O> {
|
|
850
|
-
protected httpClient: HttpClient<O>;
|
|
851
|
-
constructor(httpClient: HttpClient<O>);
|
|
854
|
+
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
852
855
|
/**
|
|
853
|
-
* HTTP
|
|
854
|
-
* Java method: org.openremote.model.
|
|
856
|
+
* HTTP PUT /rules/asset/{id}
|
|
857
|
+
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
855
858
|
*/
|
|
856
|
-
|
|
859
|
+
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
857
860
|
/**
|
|
858
|
-
* HTTP
|
|
859
|
-
* Java method: org.openremote.model.
|
|
861
|
+
* HTTP GET /rules/geofences/{assetId}
|
|
862
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
860
863
|
*/
|
|
861
|
-
|
|
862
|
-
assetId?: string[];
|
|
863
|
-
}, options?: O): RestResponse<void>;
|
|
864
|
+
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
864
865
|
/**
|
|
865
|
-
* HTTP
|
|
866
|
-
* Java method: org.openremote.model.
|
|
866
|
+
* HTTP GET /rules/info/asset/{assetId}
|
|
867
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
867
868
|
*/
|
|
868
|
-
|
|
869
|
+
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
869
870
|
/**
|
|
870
|
-
* HTTP
|
|
871
|
-
* Java method: org.openremote.model.
|
|
871
|
+
* HTTP GET /rules/info/global
|
|
872
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
872
873
|
*/
|
|
873
|
-
|
|
874
|
+
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
874
875
|
/**
|
|
875
|
-
* HTTP
|
|
876
|
-
* Java method: org.openremote.model.
|
|
876
|
+
* HTTP GET /rules/info/realm/{realm}
|
|
877
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
877
878
|
*/
|
|
878
|
-
|
|
879
|
+
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
879
880
|
/**
|
|
880
|
-
* HTTP
|
|
881
|
-
* Java method: org.openremote.model.
|
|
881
|
+
* HTTP POST /rules/realm
|
|
882
|
+
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
882
883
|
*/
|
|
883
|
-
|
|
884
|
-
assetIds?: string[];
|
|
885
|
-
}, options?: O): RestResponse<void>;
|
|
884
|
+
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
886
885
|
/**
|
|
887
|
-
* HTTP GET /
|
|
888
|
-
* Java method: org.openremote.model.
|
|
886
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
887
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
889
888
|
*/
|
|
890
|
-
|
|
889
|
+
getRealmRulesets(realm: string, queryParams?: {
|
|
890
|
+
language?: Model.RulesetLang[];
|
|
891
|
+
fullyPopulate?: boolean;
|
|
892
|
+
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
891
893
|
/**
|
|
892
|
-
* HTTP
|
|
893
|
-
* Java method: org.openremote.model.
|
|
894
|
+
* HTTP DELETE /rules/realm/{id}
|
|
895
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
894
896
|
*/
|
|
895
|
-
|
|
897
|
+
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
896
898
|
/**
|
|
897
|
-
* HTTP
|
|
898
|
-
* Java method: org.openremote.model.
|
|
899
|
+
* HTTP GET /rules/realm/{id}
|
|
900
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
899
901
|
*/
|
|
900
|
-
|
|
902
|
+
getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
|
|
901
903
|
/**
|
|
902
|
-
* HTTP
|
|
903
|
-
* Java method: org.openremote.model.
|
|
904
|
+
* HTTP PUT /rules/realm/{id}
|
|
905
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
904
906
|
*/
|
|
905
|
-
|
|
907
|
+
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
906
908
|
/**
|
|
907
|
-
* HTTP
|
|
908
|
-
* Java method: org.openremote.model.
|
|
909
|
+
* HTTP DELETE /rules/{id}
|
|
910
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
909
911
|
*/
|
|
910
|
-
|
|
912
|
+
deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
|
|
911
913
|
/**
|
|
912
|
-
* HTTP GET /
|
|
913
|
-
* Java method: org.openremote.model.
|
|
914
|
+
* HTTP GET /rules/{id}
|
|
915
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
914
916
|
*/
|
|
915
|
-
|
|
916
|
-
realm?: string;
|
|
917
|
-
userId?: string;
|
|
918
|
-
assetId?: string;
|
|
919
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
917
|
+
getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
920
918
|
/**
|
|
921
|
-
* HTTP
|
|
922
|
-
* Java method: org.openremote.model.
|
|
919
|
+
* HTTP PUT /rules/{id}
|
|
920
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
923
921
|
*/
|
|
924
|
-
|
|
922
|
+
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
923
|
+
}
|
|
924
|
+
export declare class AppResourceClient<O> {
|
|
925
|
+
protected httpClient: HttpClient<O>;
|
|
926
|
+
constructor(httpClient: HttpClient<O>);
|
|
925
927
|
/**
|
|
926
|
-
* HTTP
|
|
927
|
-
* Java method: org.openremote.model.
|
|
928
|
+
* HTTP GET /apps
|
|
929
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
928
930
|
*/
|
|
929
|
-
|
|
931
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
930
932
|
/**
|
|
931
|
-
* HTTP
|
|
932
|
-
* Java method: org.openremote.model.
|
|
933
|
+
* HTTP GET /apps/consoleConfig
|
|
934
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
933
935
|
*/
|
|
934
|
-
|
|
936
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
935
937
|
/**
|
|
936
|
-
* HTTP GET /
|
|
937
|
-
* Java method: org.openremote.model.
|
|
938
|
+
* HTTP GET /apps/info
|
|
939
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
938
940
|
*/
|
|
939
|
-
|
|
941
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
942
|
+
}
|
|
943
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
944
|
+
protected httpClient: HttpClient<O>;
|
|
945
|
+
constructor(httpClient: HttpClient<O>);
|
|
940
946
|
/**
|
|
941
|
-
* HTTP
|
|
942
|
-
* Java method: org.openremote.model.
|
|
947
|
+
* HTTP POST /gateway/tunnel
|
|
948
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
943
949
|
*/
|
|
944
|
-
|
|
950
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
945
951
|
/**
|
|
946
|
-
* HTTP
|
|
947
|
-
* Java method: org.openremote.model.
|
|
952
|
+
* HTTP DELETE /gateway/tunnel
|
|
953
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
948
954
|
*/
|
|
949
|
-
|
|
955
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
950
956
|
/**
|
|
951
|
-
* HTTP
|
|
952
|
-
* Java method: org.openremote.model.
|
|
957
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
958
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
953
959
|
*/
|
|
954
|
-
|
|
960
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
955
961
|
/**
|
|
956
|
-
* HTTP
|
|
957
|
-
* Java method: org.openremote.model.
|
|
962
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
963
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
958
964
|
*/
|
|
959
|
-
|
|
960
|
-
assetIds?: string[];
|
|
961
|
-
}, options?: O): RestResponse<void>;
|
|
962
|
-
}
|
|
963
|
-
export declare class ConsoleResourceClient<O> {
|
|
964
|
-
protected httpClient: HttpClient<O>;
|
|
965
|
-
constructor(httpClient: HttpClient<O>);
|
|
965
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
966
966
|
/**
|
|
967
|
-
* HTTP
|
|
968
|
-
* Java method: org.openremote.model.
|
|
967
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
968
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
969
969
|
*/
|
|
970
|
-
|
|
970
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
971
971
|
}
|
|
972
972
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
973
973
|
export declare class ApiClient {
|
|
974
|
-
protected
|
|
974
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
975
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
976
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
977
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
978
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
979
|
+
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
980
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
981
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
975
982
|
protected _flowResource: AxiosFlowResourceClient;
|
|
983
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
984
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
985
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
976
986
|
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
977
|
-
protected _rulesResource: AxiosRulesResourceClient;
|
|
978
|
-
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
979
987
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
980
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
981
|
-
protected _appResource: AxiosAppResourceClient;
|
|
982
988
|
protected _mapResource: AxiosMapResourceClient;
|
|
983
|
-
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
984
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
985
989
|
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
986
|
-
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
987
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
988
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
989
990
|
protected _realmResource: AxiosRealmResourceClient;
|
|
990
|
-
protected _userResource: AxiosUserResourceClient;
|
|
991
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
992
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
993
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
994
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
995
991
|
protected _consoleResource: AxiosConsoleResourceClient;
|
|
992
|
+
protected _userResource: AxiosUserResourceClient;
|
|
993
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
994
|
+
protected _appResource: AxiosAppResourceClient;
|
|
995
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
996
996
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
997
|
-
get
|
|
997
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
998
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
999
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1000
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
1001
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
1002
|
+
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
1003
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
1004
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
998
1005
|
get FlowResource(): AxiosFlowResourceClient;
|
|
1006
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
1007
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
1008
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
999
1009
|
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1000
|
-
get RulesResource(): AxiosRulesResourceClient;
|
|
1001
|
-
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
1002
1010
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1003
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
1004
|
-
get AppResource(): AxiosAppResourceClient;
|
|
1005
1011
|
get MapResource(): AxiosMapResourceClient;
|
|
1006
|
-
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
1007
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
1008
1012
|
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
1009
|
-
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
1010
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
1011
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1012
1013
|
get RealmResource(): AxiosRealmResourceClient;
|
|
1013
|
-
get UserResource(): AxiosUserResourceClient;
|
|
1014
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1015
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1016
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
1017
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
1018
1014
|
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1015
|
+
get UserResource(): AxiosUserResourceClient;
|
|
1016
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
1017
|
+
get AppResource(): AxiosAppResourceClient;
|
|
1018
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
1019
1019
|
}
|
|
1020
1020
|
import * as Axios from "axios";
|
|
1021
1021
|
declare module "axios" {
|
|
@@ -1023,70 +1023,70 @@ declare module "axios" {
|
|
|
1023
1023
|
data: R;
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
|
-
export declare class
|
|
1026
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1027
1027
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1028
1028
|
}
|
|
1029
|
-
export declare class
|
|
1029
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1030
1030
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1031
1031
|
}
|
|
1032
|
-
export declare class
|
|
1032
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1033
1033
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1034
1034
|
}
|
|
1035
|
-
export declare class
|
|
1035
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1036
1036
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1037
1037
|
}
|
|
1038
|
-
export declare class
|
|
1038
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1039
1039
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1040
1040
|
}
|
|
1041
|
-
export declare class
|
|
1041
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1042
1042
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1043
1043
|
}
|
|
1044
|
-
export declare class
|
|
1044
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1045
1045
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1046
1046
|
}
|
|
1047
|
-
export declare class
|
|
1047
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1048
1048
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1049
1049
|
}
|
|
1050
|
-
export declare class
|
|
1050
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1051
1051
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1052
1052
|
}
|
|
1053
|
-
export declare class
|
|
1053
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1054
1054
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1055
1055
|
}
|
|
1056
|
-
export declare class
|
|
1056
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1057
1057
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1058
1058
|
}
|
|
1059
|
-
export declare class
|
|
1059
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1060
1060
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1061
1061
|
}
|
|
1062
|
-
export declare class
|
|
1062
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1063
1063
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1064
1064
|
}
|
|
1065
|
-
export declare class
|
|
1065
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1066
1066
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1067
1067
|
}
|
|
1068
|
-
export declare class
|
|
1068
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1069
1069
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1070
1070
|
}
|
|
1071
|
-
export declare class
|
|
1071
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1072
1072
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1073
1073
|
}
|
|
1074
|
-
export declare class
|
|
1074
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1075
1075
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1076
1076
|
}
|
|
1077
|
-
export declare class
|
|
1077
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1078
1078
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1079
1079
|
}
|
|
1080
|
-
export declare class
|
|
1080
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1081
1081
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1082
1082
|
}
|
|
1083
|
-
export declare class
|
|
1083
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1084
1084
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1085
1085
|
}
|
|
1086
|
-
export declare class
|
|
1086
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1087
1087
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1088
1088
|
}
|
|
1089
|
-
export declare class
|
|
1089
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1090
1090
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1091
1091
|
}
|
|
1092
1092
|
//# sourceMappingURL=restclient.d.ts.map
|