@openremote/rest 1.3.0-snapshot.20250129161639 → 1.3.0-snapshot.20250131153631
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +1 -1
- package/lib/restclient.d.ts +384 -384
- 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,81 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
+
export declare class AssetModelResourceClient<O> {
|
|
13
|
+
protected httpClient: HttpClient<O>;
|
|
14
|
+
constructor(httpClient: HttpClient<O>);
|
|
15
|
+
/**
|
|
16
|
+
* HTTP GET /model/assetDescriptors
|
|
17
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
18
|
+
*/
|
|
19
|
+
getAssetDescriptors(queryParams?: {
|
|
20
|
+
parentId?: any;
|
|
21
|
+
parentType?: any;
|
|
22
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
23
|
+
/**
|
|
24
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
25
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
26
|
+
*/
|
|
27
|
+
getAssetInfo(assetType: any, queryParams?: {
|
|
28
|
+
parentId?: any;
|
|
29
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
30
|
+
/**
|
|
31
|
+
* HTTP GET /model/assetInfos
|
|
32
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
33
|
+
*/
|
|
34
|
+
getAssetInfos(queryParams?: {
|
|
35
|
+
parentId?: any;
|
|
36
|
+
parentType?: any;
|
|
37
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
38
|
+
/**
|
|
39
|
+
* HTTP GET /model/metaItemDescriptors
|
|
40
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
41
|
+
*/
|
|
42
|
+
getMetaItemDescriptors(queryParams?: {
|
|
43
|
+
parentId?: any;
|
|
44
|
+
}, options?: O): RestResponse<{
|
|
45
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
46
|
+
}>;
|
|
47
|
+
/**
|
|
48
|
+
* HTTP GET /model/valueDescriptors
|
|
49
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
50
|
+
*/
|
|
51
|
+
getValueDescriptors(queryParams?: {
|
|
52
|
+
parentId?: any;
|
|
53
|
+
}, options?: O): RestResponse<{
|
|
54
|
+
[index: string]: Model.ValueDescriptor;
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
57
|
+
export declare class MapResourceClient<O> {
|
|
58
|
+
protected httpClient: HttpClient<O>;
|
|
59
|
+
constructor(httpClient: HttpClient<O>);
|
|
60
|
+
/**
|
|
61
|
+
* HTTP GET /map
|
|
62
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
63
|
+
*/
|
|
64
|
+
getSettings(options?: O): RestResponse<{
|
|
65
|
+
[id: string]: any;
|
|
66
|
+
}>;
|
|
67
|
+
/**
|
|
68
|
+
* HTTP PUT /map
|
|
69
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
70
|
+
*/
|
|
71
|
+
saveSettings(mapConfig: {
|
|
72
|
+
[index: string]: Model.MapRealmConfig;
|
|
73
|
+
}, options?: O): RestResponse<any>;
|
|
74
|
+
/**
|
|
75
|
+
* HTTP GET /map/js
|
|
76
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
77
|
+
*/
|
|
78
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
79
|
+
[id: string]: any;
|
|
80
|
+
}>;
|
|
81
|
+
/**
|
|
82
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
83
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
84
|
+
*/
|
|
85
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
86
|
+
}
|
|
12
87
|
export declare class GatewayClientResourceClient<O> {
|
|
13
88
|
protected httpClient: HttpClient<O>;
|
|
14
89
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -45,39 +120,57 @@ export declare class GatewayClientResourceClient<O> {
|
|
|
45
120
|
*/
|
|
46
121
|
getConnectionStatus(realm: any, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
47
122
|
}
|
|
48
|
-
export declare class
|
|
123
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
49
124
|
protected httpClient: HttpClient<O>;
|
|
50
125
|
constructor(httpClient: HttpClient<O>);
|
|
51
126
|
/**
|
|
52
|
-
* HTTP
|
|
53
|
-
* Java method: org.openremote.model.
|
|
127
|
+
* HTTP GET /asset/datapoint/export
|
|
128
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
54
129
|
*/
|
|
55
|
-
|
|
130
|
+
getDatapointExport(queryParams?: {
|
|
131
|
+
attributeRefs?: any;
|
|
132
|
+
fromTimestamp?: number;
|
|
133
|
+
toTimestamp?: number;
|
|
134
|
+
}, options?: O): RestResponse<any>;
|
|
56
135
|
/**
|
|
57
|
-
* HTTP
|
|
58
|
-
* Java method: org.openremote.model.
|
|
136
|
+
* HTTP GET /asset/datapoint/periods
|
|
137
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
59
138
|
*/
|
|
60
|
-
|
|
139
|
+
getDatapointPeriod(queryParams?: {
|
|
140
|
+
assetId?: any;
|
|
141
|
+
attributeName?: any;
|
|
142
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
61
143
|
/**
|
|
62
|
-
* HTTP
|
|
63
|
-
* Java method: org.openremote.model.
|
|
144
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
145
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
64
146
|
*/
|
|
65
|
-
|
|
147
|
+
getDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
148
|
+
}
|
|
149
|
+
export declare class AgentResourceClient<O> {
|
|
150
|
+
protected httpClient: HttpClient<O>;
|
|
151
|
+
constructor(httpClient: HttpClient<O>);
|
|
66
152
|
/**
|
|
67
|
-
* HTTP
|
|
68
|
-
* Java method: org.openremote.model.
|
|
153
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
154
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
69
155
|
*/
|
|
70
|
-
|
|
156
|
+
doProtocolAssetDiscovery(agentId: any, queryParams?: {
|
|
157
|
+
realm?: any;
|
|
158
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
71
159
|
/**
|
|
72
|
-
* HTTP
|
|
73
|
-
* Java method: org.openremote.model.
|
|
160
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
161
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
74
162
|
*/
|
|
75
|
-
|
|
163
|
+
doProtocolAssetImport(agentId: any, fileInfo: Model.FileInfo, queryParams?: {
|
|
164
|
+
realm?: any;
|
|
165
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
76
166
|
/**
|
|
77
|
-
* HTTP GET /
|
|
78
|
-
* Java method: org.openremote.model.
|
|
167
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
168
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
79
169
|
*/
|
|
80
|
-
|
|
170
|
+
doProtocolInstanceDiscovery(agentType: any, queryParams?: {
|
|
171
|
+
parentId?: any;
|
|
172
|
+
realm?: any;
|
|
173
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
81
174
|
}
|
|
82
175
|
export declare class AlarmResourceClient<O> {
|
|
83
176
|
protected httpClient: HttpClient<O>;
|
|
@@ -150,223 +243,106 @@ export declare class StatusResourceClient<O> {
|
|
|
150
243
|
[index: string]: any;
|
|
151
244
|
}>;
|
|
152
245
|
}
|
|
153
|
-
export declare class
|
|
246
|
+
export declare class SyslogResourceClient<O> {
|
|
154
247
|
protected httpClient: HttpClient<O>;
|
|
155
248
|
constructor(httpClient: HttpClient<O>);
|
|
156
249
|
/**
|
|
157
|
-
* HTTP
|
|
158
|
-
* Java method: org.openremote.model.
|
|
250
|
+
* HTTP GET /syslog/config
|
|
251
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
159
252
|
*/
|
|
160
|
-
|
|
253
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
161
254
|
/**
|
|
162
|
-
* HTTP
|
|
163
|
-
* Java method: org.openremote.model.
|
|
255
|
+
* HTTP PUT /syslog/config
|
|
256
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
164
257
|
*/
|
|
165
|
-
|
|
258
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
166
259
|
/**
|
|
167
|
-
* HTTP
|
|
168
|
-
* Java method: org.openremote.model.
|
|
260
|
+
* HTTP DELETE /syslog/event
|
|
261
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
169
262
|
*/
|
|
170
|
-
|
|
263
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
171
264
|
/**
|
|
172
|
-
* HTTP GET /
|
|
173
|
-
* Java method: org.openremote.model.
|
|
265
|
+
* HTTP GET /syslog/event
|
|
266
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
174
267
|
*/
|
|
175
|
-
|
|
268
|
+
getEvents(queryParams?: {
|
|
269
|
+
level?: Model.SyslogLevel;
|
|
270
|
+
per_page?: any;
|
|
271
|
+
page?: any;
|
|
272
|
+
from?: any;
|
|
273
|
+
to?: any;
|
|
274
|
+
category?: Model.SyslogCategory[];
|
|
275
|
+
subCategory?: any[];
|
|
276
|
+
}, options?: O): RestResponse<any>;
|
|
277
|
+
}
|
|
278
|
+
export declare class ConsoleResourceClient<O> {
|
|
279
|
+
protected httpClient: HttpClient<O>;
|
|
280
|
+
constructor(httpClient: HttpClient<O>);
|
|
176
281
|
/**
|
|
177
|
-
* HTTP
|
|
178
|
-
* Java method: org.openremote.model.
|
|
282
|
+
* HTTP POST /console/register
|
|
283
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
179
284
|
*/
|
|
180
|
-
|
|
285
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
181
286
|
}
|
|
182
|
-
export declare class
|
|
287
|
+
export declare class ConfigurationResourceClient<O> {
|
|
183
288
|
protected httpClient: HttpClient<O>;
|
|
184
289
|
constructor(httpClient: HttpClient<O>);
|
|
185
290
|
/**
|
|
186
|
-
* HTTP GET /
|
|
187
|
-
* Java method: org.openremote.model.
|
|
291
|
+
* HTTP GET /configuration/manager
|
|
292
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
188
293
|
*/
|
|
189
|
-
|
|
190
|
-
realm?: any;
|
|
191
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
294
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
192
295
|
/**
|
|
193
|
-
* HTTP
|
|
194
|
-
* Java method: org.openremote.model.
|
|
296
|
+
* HTTP PUT /configuration/manager
|
|
297
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
195
298
|
*/
|
|
196
|
-
|
|
197
|
-
realm?: any;
|
|
198
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
299
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
199
300
|
/**
|
|
200
|
-
* HTTP
|
|
201
|
-
* Java method: org.openremote.model.
|
|
301
|
+
* HTTP POST /configuration/manager/file
|
|
302
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
202
303
|
*/
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
304
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
305
|
+
path?: any;
|
|
306
|
+
}, options?: O): RestResponse<any>;
|
|
307
|
+
/**
|
|
308
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
309
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
310
|
+
*/
|
|
311
|
+
getManagerConfigImage(filename: any, options?: O): RestResponse<any>;
|
|
207
312
|
}
|
|
208
|
-
export declare class
|
|
313
|
+
export declare class DashboardResourceClient<O> {
|
|
209
314
|
protected httpClient: HttpClient<O>;
|
|
210
315
|
constructor(httpClient: HttpClient<O>);
|
|
211
316
|
/**
|
|
212
|
-
* HTTP
|
|
213
|
-
* Java method: org.openremote.model.
|
|
317
|
+
* HTTP POST /dashboard
|
|
318
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
214
319
|
*/
|
|
215
|
-
|
|
216
|
-
parentId?: any;
|
|
217
|
-
parentType?: any;
|
|
218
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
320
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
219
321
|
/**
|
|
220
|
-
* HTTP
|
|
221
|
-
* Java method: org.openremote.model.
|
|
322
|
+
* HTTP PUT /dashboard
|
|
323
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
222
324
|
*/
|
|
223
|
-
|
|
224
|
-
parentId?: any;
|
|
225
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
325
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
226
326
|
/**
|
|
227
|
-
* HTTP GET /
|
|
228
|
-
* Java method: org.openremote.model.
|
|
327
|
+
* HTTP GET /dashboard/all/{realm}
|
|
328
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
229
329
|
*/
|
|
230
|
-
|
|
231
|
-
parentId?: any;
|
|
232
|
-
parentType?: any;
|
|
233
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
330
|
+
getAllRealmDashboards(realm: any, options?: O): RestResponse<Model.Dashboard[]>;
|
|
234
331
|
/**
|
|
235
|
-
* HTTP
|
|
236
|
-
* Java method: org.openremote.model.
|
|
332
|
+
* HTTP POST /dashboard/query
|
|
333
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
237
334
|
*/
|
|
238
|
-
|
|
239
|
-
parentId?: any;
|
|
240
|
-
}, options?: O): RestResponse<{
|
|
241
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
242
|
-
}>;
|
|
335
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
243
336
|
/**
|
|
244
|
-
* HTTP
|
|
245
|
-
* Java method: org.openremote.model.
|
|
337
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
338
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
246
339
|
*/
|
|
247
|
-
|
|
248
|
-
parentId?: any;
|
|
249
|
-
}, options?: O): RestResponse<{
|
|
250
|
-
[index: string]: Model.ValueDescriptor;
|
|
251
|
-
}>;
|
|
252
|
-
}
|
|
253
|
-
export declare class AssetResourceClient<O> {
|
|
254
|
-
protected httpClient: HttpClient<O>;
|
|
255
|
-
constructor(httpClient: HttpClient<O>);
|
|
256
|
-
/**
|
|
257
|
-
* HTTP POST /asset
|
|
258
|
-
* Java method: org.openremote.model.asset.AssetResource.create
|
|
259
|
-
*/
|
|
260
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
261
|
-
/**
|
|
262
|
-
* HTTP DELETE /asset
|
|
263
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
264
|
-
*/
|
|
265
|
-
delete(queryParams?: {
|
|
266
|
-
assetId?: any[];
|
|
267
|
-
}, options?: O): RestResponse<void>;
|
|
268
|
-
/**
|
|
269
|
-
* HTTP PUT /asset/attributes
|
|
270
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
271
|
-
*/
|
|
272
|
-
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
273
|
-
/**
|
|
274
|
-
* HTTP PUT /asset/attributes/timestamp
|
|
275
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
276
|
-
*/
|
|
277
|
-
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
278
|
-
/**
|
|
279
|
-
* HTTP DELETE /asset/parent
|
|
280
|
-
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
281
|
-
*/
|
|
282
|
-
updateNoneParent(queryParams?: {
|
|
283
|
-
assetIds?: any[];
|
|
284
|
-
}, options?: O): RestResponse<void>;
|
|
285
|
-
/**
|
|
286
|
-
* HTTP GET /asset/partial/{assetId}
|
|
287
|
-
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
288
|
-
*/
|
|
289
|
-
getPartial(assetId: any, options?: O): RestResponse<Model.Asset>;
|
|
290
|
-
/**
|
|
291
|
-
* HTTP POST /asset/query
|
|
292
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
293
|
-
*/
|
|
294
|
-
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
295
|
-
/**
|
|
296
|
-
* HTTP GET /asset/user/current
|
|
297
|
-
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
298
|
-
*/
|
|
299
|
-
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
300
|
-
/**
|
|
301
|
-
* HTTP POST /asset/user/link
|
|
302
|
-
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
303
|
-
*/
|
|
304
|
-
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
305
|
-
/**
|
|
306
|
-
* HTTP GET /asset/user/link
|
|
307
|
-
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
308
|
-
*/
|
|
309
|
-
getUserAssetLinks(queryParams?: {
|
|
310
|
-
realm?: any;
|
|
311
|
-
userId?: any;
|
|
312
|
-
assetId?: any;
|
|
313
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
314
|
-
/**
|
|
315
|
-
* HTTP POST /asset/user/link/delete
|
|
316
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
317
|
-
*/
|
|
318
|
-
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
319
|
-
/**
|
|
320
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
321
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
322
|
-
*/
|
|
323
|
-
deleteAllUserAssetLinks(realm: any, userId: any, options?: O): RestResponse<void>;
|
|
324
|
-
/**
|
|
325
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
326
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
327
|
-
*/
|
|
328
|
-
deleteUserAssetLink(realm: any, userId: any, assetId: any, options?: O): RestResponse<void>;
|
|
329
|
-
/**
|
|
330
|
-
* HTTP GET /asset/{assetId}
|
|
331
|
-
* Java method: org.openremote.model.asset.AssetResource.get
|
|
332
|
-
*/
|
|
333
|
-
get(assetId: any, options?: O): RestResponse<Model.Asset>;
|
|
334
|
-
/**
|
|
335
|
-
* HTTP PUT /asset/{assetId}
|
|
336
|
-
* Java method: org.openremote.model.asset.AssetResource.update
|
|
337
|
-
*/
|
|
338
|
-
update(assetId: any, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
339
|
-
/**
|
|
340
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
341
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
342
|
-
*/
|
|
343
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: any, attributeName: any, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
344
|
-
/**
|
|
345
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
346
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
347
|
-
*/
|
|
348
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: any, attributeName: any, timestamp: any, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
349
|
-
/**
|
|
350
|
-
* HTTP PUT /asset/{parentAssetId}/child
|
|
351
|
-
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
352
|
-
*/
|
|
353
|
-
updateParent(parentAssetId: any, queryParams?: {
|
|
354
|
-
assetIds?: any[];
|
|
355
|
-
}, options?: O): RestResponse<void>;
|
|
356
|
-
}
|
|
357
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
358
|
-
protected httpClient: HttpClient<O>;
|
|
359
|
-
constructor(httpClient: HttpClient<O>);
|
|
360
|
-
/**
|
|
361
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
362
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
363
|
-
*/
|
|
364
|
-
getPredictedDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
340
|
+
delete(realm: any, dashboardId: any, options?: O): RestResponse<void>;
|
|
365
341
|
/**
|
|
366
|
-
* HTTP
|
|
367
|
-
* Java method: org.openremote.model.
|
|
342
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
343
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
368
344
|
*/
|
|
369
|
-
|
|
345
|
+
get(realm: any, dashboardId: any, options?: O): RestResponse<Model.Dashboard>;
|
|
370
346
|
}
|
|
371
347
|
export declare class ProvisioningResourceClient<O> {
|
|
372
348
|
protected httpClient: HttpClient<O>;
|
|
@@ -392,54 +368,19 @@ export declare class ProvisioningResourceClient<O> {
|
|
|
392
368
|
*/
|
|
393
369
|
updateProvisioningConfig(id: any, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
394
370
|
}
|
|
395
|
-
export declare class
|
|
396
|
-
protected httpClient: HttpClient<O>;
|
|
397
|
-
constructor(httpClient: HttpClient<O>);
|
|
398
|
-
/**
|
|
399
|
-
* HTTP GET /map
|
|
400
|
-
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
401
|
-
*/
|
|
402
|
-
getSettings(options?: O): RestResponse<{
|
|
403
|
-
[id: string]: any;
|
|
404
|
-
}>;
|
|
405
|
-
/**
|
|
406
|
-
* HTTP PUT /map
|
|
407
|
-
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
408
|
-
*/
|
|
409
|
-
saveSettings(mapConfig: {
|
|
410
|
-
[index: string]: Model.MapRealmConfig;
|
|
411
|
-
}, options?: O): RestResponse<any>;
|
|
412
|
-
/**
|
|
413
|
-
* HTTP GET /map/js
|
|
414
|
-
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
415
|
-
*/
|
|
416
|
-
getSettingsJs(options?: O): RestResponse<{
|
|
417
|
-
[id: string]: any;
|
|
418
|
-
}>;
|
|
419
|
-
/**
|
|
420
|
-
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
421
|
-
* Java method: org.openremote.model.map.MapResource.getTile
|
|
422
|
-
*/
|
|
423
|
-
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
424
|
-
}
|
|
425
|
-
export declare class FlowResourceClient<O> {
|
|
371
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
426
372
|
protected httpClient: HttpClient<O>;
|
|
427
373
|
constructor(httpClient: HttpClient<O>);
|
|
428
374
|
/**
|
|
429
|
-
* HTTP
|
|
430
|
-
* Java method: org.openremote.model.
|
|
431
|
-
*/
|
|
432
|
-
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
433
|
-
/**
|
|
434
|
-
* HTTP GET /flow/{name}
|
|
435
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
375
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
376
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
436
377
|
*/
|
|
437
|
-
|
|
378
|
+
getPredictedDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
438
379
|
/**
|
|
439
|
-
* HTTP
|
|
440
|
-
* Java method: org.openremote.model.
|
|
380
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
381
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
441
382
|
*/
|
|
442
|
-
|
|
383
|
+
writePredictedDatapoints(assetId: any, attributeName: any, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
443
384
|
}
|
|
444
385
|
export declare class RulesResourceClient<O> {
|
|
445
386
|
protected httpClient: HttpClient<O>;
|
|
@@ -603,14 +544,58 @@ export declare class NotificationResourceClient<O> {
|
|
|
603
544
|
targetId?: any;
|
|
604
545
|
}, options?: O): RestResponse<void>;
|
|
605
546
|
}
|
|
606
|
-
export declare class
|
|
547
|
+
export declare class AppResourceClient<O> {
|
|
607
548
|
protected httpClient: HttpClient<O>;
|
|
608
549
|
constructor(httpClient: HttpClient<O>);
|
|
609
550
|
/**
|
|
610
|
-
* HTTP
|
|
611
|
-
* Java method: org.openremote.model.
|
|
551
|
+
* HTTP GET /apps
|
|
552
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
612
553
|
*/
|
|
613
|
-
|
|
554
|
+
getApps(options?: O): RestResponse<any[]>;
|
|
555
|
+
/**
|
|
556
|
+
* HTTP GET /apps/consoleConfig
|
|
557
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
558
|
+
*/
|
|
559
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
560
|
+
/**
|
|
561
|
+
* HTTP GET /apps/info
|
|
562
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
563
|
+
*/
|
|
564
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
565
|
+
}
|
|
566
|
+
export declare class RealmResourceClient<O> {
|
|
567
|
+
protected httpClient: HttpClient<O>;
|
|
568
|
+
constructor(httpClient: HttpClient<O>);
|
|
569
|
+
/**
|
|
570
|
+
* HTTP POST /realm
|
|
571
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
572
|
+
*/
|
|
573
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
574
|
+
/**
|
|
575
|
+
* HTTP GET /realm
|
|
576
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
577
|
+
*/
|
|
578
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
579
|
+
/**
|
|
580
|
+
* HTTP GET /realm/accessible
|
|
581
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
582
|
+
*/
|
|
583
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
584
|
+
/**
|
|
585
|
+
* HTTP DELETE /realm/{name}
|
|
586
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
587
|
+
*/
|
|
588
|
+
delete(name: any, options?: O): RestResponse<void>;
|
|
589
|
+
/**
|
|
590
|
+
* HTTP GET /realm/{name}
|
|
591
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
592
|
+
*/
|
|
593
|
+
get(name: any, options?: O): RestResponse<Model.Realm>;
|
|
594
|
+
/**
|
|
595
|
+
* HTTP PUT /realm/{name}
|
|
596
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
597
|
+
*/
|
|
598
|
+
update(name: any, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
614
599
|
}
|
|
615
600
|
export declare class UserResourceClient<O> {
|
|
616
601
|
protected httpClient: HttpClient<O>;
|
|
@@ -736,188 +721,203 @@ export declare class UserResourceClient<O> {
|
|
|
736
721
|
*/
|
|
737
722
|
get(realm: any, userId: any, options?: O): RestResponse<Model.User>;
|
|
738
723
|
}
|
|
739
|
-
export declare class
|
|
724
|
+
export declare class FlowResourceClient<O> {
|
|
740
725
|
protected httpClient: HttpClient<O>;
|
|
741
726
|
constructor(httpClient: HttpClient<O>);
|
|
742
727
|
/**
|
|
743
|
-
* HTTP
|
|
744
|
-
* Java method: org.openremote.model.
|
|
728
|
+
* HTTP GET /flow
|
|
729
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
745
730
|
*/
|
|
746
|
-
|
|
731
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
747
732
|
/**
|
|
748
|
-
* HTTP GET /
|
|
749
|
-
* Java method: org.openremote.model.
|
|
733
|
+
* HTTP GET /flow/{name}
|
|
734
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
750
735
|
*/
|
|
751
|
-
|
|
736
|
+
getNodeDefinition(name: any, options?: O): RestResponse<Model.Node>;
|
|
752
737
|
/**
|
|
753
|
-
* HTTP GET /
|
|
754
|
-
* Java method: org.openremote.model.
|
|
738
|
+
* HTTP GET /flow/{type}
|
|
739
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
755
740
|
*/
|
|
756
|
-
|
|
741
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
742
|
+
}
|
|
743
|
+
export declare class AssetResourceClient<O> {
|
|
744
|
+
protected httpClient: HttpClient<O>;
|
|
745
|
+
constructor(httpClient: HttpClient<O>);
|
|
757
746
|
/**
|
|
758
|
-
* HTTP
|
|
759
|
-
* Java method: org.openremote.model.
|
|
747
|
+
* HTTP POST /asset
|
|
748
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
760
749
|
*/
|
|
761
|
-
|
|
750
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
762
751
|
/**
|
|
763
|
-
* HTTP
|
|
764
|
-
* Java method: org.openremote.model.
|
|
752
|
+
* HTTP DELETE /asset
|
|
753
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
765
754
|
*/
|
|
766
|
-
|
|
755
|
+
delete(queryParams?: {
|
|
756
|
+
assetId?: any[];
|
|
757
|
+
}, options?: O): RestResponse<void>;
|
|
767
758
|
/**
|
|
768
|
-
* HTTP PUT /
|
|
769
|
-
* Java method: org.openremote.model.
|
|
759
|
+
* HTTP PUT /asset/attributes
|
|
760
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
770
761
|
*/
|
|
771
|
-
|
|
772
|
-
}
|
|
773
|
-
export declare class ConfigurationResourceClient<O> {
|
|
774
|
-
protected httpClient: HttpClient<O>;
|
|
775
|
-
constructor(httpClient: HttpClient<O>);
|
|
762
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
776
763
|
/**
|
|
777
|
-
* HTTP
|
|
778
|
-
* Java method: org.openremote.model.
|
|
764
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
765
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
779
766
|
*/
|
|
780
|
-
|
|
767
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
781
768
|
/**
|
|
782
|
-
* HTTP
|
|
783
|
-
* Java method: org.openremote.model.
|
|
769
|
+
* HTTP DELETE /asset/parent
|
|
770
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
784
771
|
*/
|
|
785
|
-
|
|
772
|
+
updateNoneParent(queryParams?: {
|
|
773
|
+
assetIds?: any[];
|
|
774
|
+
}, options?: O): RestResponse<void>;
|
|
786
775
|
/**
|
|
787
|
-
* HTTP
|
|
788
|
-
* Java method: org.openremote.model.
|
|
776
|
+
* HTTP GET /asset/partial/{assetId}
|
|
777
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
789
778
|
*/
|
|
790
|
-
|
|
791
|
-
path?: any;
|
|
792
|
-
}, options?: O): RestResponse<any>;
|
|
779
|
+
getPartial(assetId: any, options?: O): RestResponse<Model.Asset>;
|
|
793
780
|
/**
|
|
794
|
-
* HTTP
|
|
795
|
-
* Java method: org.openremote.model.
|
|
781
|
+
* HTTP POST /asset/query
|
|
782
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
796
783
|
*/
|
|
797
|
-
|
|
798
|
-
}
|
|
799
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
800
|
-
protected httpClient: HttpClient<O>;
|
|
801
|
-
constructor(httpClient: HttpClient<O>);
|
|
784
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
802
785
|
/**
|
|
803
|
-
* HTTP GET /asset/
|
|
804
|
-
* Java method: org.openremote.model.
|
|
786
|
+
* HTTP GET /asset/user/current
|
|
787
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
805
788
|
*/
|
|
806
|
-
|
|
807
|
-
attributeRefs?: any;
|
|
808
|
-
fromTimestamp?: number;
|
|
809
|
-
toTimestamp?: number;
|
|
810
|
-
}, options?: O): RestResponse<any>;
|
|
789
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
811
790
|
/**
|
|
812
|
-
* HTTP
|
|
813
|
-
* Java method: org.openremote.model.
|
|
791
|
+
* HTTP POST /asset/user/link
|
|
792
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
814
793
|
*/
|
|
815
|
-
|
|
794
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
795
|
+
/**
|
|
796
|
+
* HTTP GET /asset/user/link
|
|
797
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
798
|
+
*/
|
|
799
|
+
getUserAssetLinks(queryParams?: {
|
|
800
|
+
realm?: any;
|
|
801
|
+
userId?: any;
|
|
816
802
|
assetId?: any;
|
|
817
|
-
|
|
818
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
803
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
819
804
|
/**
|
|
820
|
-
* HTTP POST /asset/
|
|
821
|
-
* Java method: org.openremote.model.
|
|
805
|
+
* HTTP POST /asset/user/link/delete
|
|
806
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
822
807
|
*/
|
|
823
|
-
|
|
824
|
-
}
|
|
825
|
-
export declare class SyslogResourceClient<O> {
|
|
826
|
-
protected httpClient: HttpClient<O>;
|
|
827
|
-
constructor(httpClient: HttpClient<O>);
|
|
808
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
828
809
|
/**
|
|
829
|
-
* HTTP
|
|
830
|
-
* Java method: org.openremote.model.
|
|
810
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
811
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
831
812
|
*/
|
|
832
|
-
|
|
813
|
+
deleteAllUserAssetLinks(realm: any, userId: any, options?: O): RestResponse<void>;
|
|
833
814
|
/**
|
|
834
|
-
* HTTP
|
|
835
|
-
* Java method: org.openremote.model.
|
|
815
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
816
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
836
817
|
*/
|
|
837
|
-
|
|
818
|
+
deleteUserAssetLink(realm: any, userId: any, assetId: any, options?: O): RestResponse<void>;
|
|
838
819
|
/**
|
|
839
|
-
* HTTP
|
|
840
|
-
* Java method: org.openremote.model.
|
|
820
|
+
* HTTP GET /asset/{assetId}
|
|
821
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
841
822
|
*/
|
|
842
|
-
|
|
823
|
+
get(assetId: any, options?: O): RestResponse<Model.Asset>;
|
|
843
824
|
/**
|
|
844
|
-
* HTTP
|
|
845
|
-
* Java method: org.openremote.model.
|
|
825
|
+
* HTTP PUT /asset/{assetId}
|
|
826
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
846
827
|
*/
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
828
|
+
update(assetId: any, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
829
|
+
/**
|
|
830
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
831
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
832
|
+
*/
|
|
833
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: any, attributeName: any, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
834
|
+
/**
|
|
835
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
836
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
837
|
+
*/
|
|
838
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: any, attributeName: any, timestamp: any, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
839
|
+
/**
|
|
840
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
841
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
842
|
+
*/
|
|
843
|
+
updateParent(parentAssetId: any, queryParams?: {
|
|
844
|
+
assetIds?: any[];
|
|
845
|
+
}, options?: O): RestResponse<void>;
|
|
856
846
|
}
|
|
857
|
-
export declare class
|
|
847
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
858
848
|
protected httpClient: HttpClient<O>;
|
|
859
849
|
constructor(httpClient: HttpClient<O>);
|
|
860
850
|
/**
|
|
861
|
-
* HTTP
|
|
862
|
-
* Java method: org.openremote.model.
|
|
851
|
+
* HTTP POST /gateway/tunnel
|
|
852
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
863
853
|
*/
|
|
864
|
-
|
|
854
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
865
855
|
/**
|
|
866
|
-
* HTTP
|
|
867
|
-
* Java method: org.openremote.model.
|
|
856
|
+
* HTTP DELETE /gateway/tunnel
|
|
857
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
868
858
|
*/
|
|
869
|
-
|
|
859
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
870
860
|
/**
|
|
871
|
-
* HTTP GET /
|
|
872
|
-
* Java method: org.openremote.model.
|
|
861
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
862
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
873
863
|
*/
|
|
874
|
-
|
|
864
|
+
getAllActiveTunnelInfos(realm: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
865
|
+
/**
|
|
866
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
867
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
868
|
+
*/
|
|
869
|
+
getGatewayActiveTunnelInfos(realm: any, id: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
870
|
+
/**
|
|
871
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
872
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
873
|
+
*/
|
|
874
|
+
getActiveTunnelInfo(realm: any, id: any, target: any, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
875
875
|
}
|
|
876
876
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
877
877
|
export declare class ApiClient {
|
|
878
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
879
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
878
880
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
879
|
-
protected
|
|
881
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
882
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
880
883
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
881
884
|
protected _statusResource: AxiosStatusResourceClient;
|
|
882
|
-
protected
|
|
883
|
-
protected
|
|
884
|
-
protected
|
|
885
|
-
protected
|
|
886
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
885
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
886
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
887
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
888
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
887
889
|
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
888
|
-
protected
|
|
889
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
890
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
890
891
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
891
892
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
892
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
893
|
-
protected _userResource: AxiosUserResourceClient;
|
|
894
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
895
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
896
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
897
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
898
893
|
protected _appResource: AxiosAppResourceClient;
|
|
894
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
895
|
+
protected _userResource: AxiosUserResourceClient;
|
|
896
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
897
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
898
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
899
899
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
900
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
901
|
+
get MapResource(): AxiosMapResourceClient;
|
|
900
902
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
901
|
-
get
|
|
903
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
904
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
902
905
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
903
906
|
get StatusResource(): AxiosStatusResourceClient;
|
|
904
|
-
get
|
|
905
|
-
get
|
|
906
|
-
get
|
|
907
|
-
get
|
|
908
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
907
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
908
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
909
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
910
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
909
911
|
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
910
|
-
get
|
|
911
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
912
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
912
913
|
get RulesResource(): AxiosRulesResourceClient;
|
|
913
914
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
914
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
915
|
-
get UserResource(): AxiosUserResourceClient;
|
|
916
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
917
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
918
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
919
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
920
915
|
get AppResource(): AxiosAppResourceClient;
|
|
916
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
917
|
+
get UserResource(): AxiosUserResourceClient;
|
|
918
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
919
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
920
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
921
921
|
}
|
|
922
922
|
import * as Axios from "axios";
|
|
923
923
|
declare module "axios" {
|
|
@@ -925,66 +925,66 @@ declare module "axios" {
|
|
|
925
925
|
data: R;
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
export declare class
|
|
928
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
929
929
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
930
930
|
}
|
|
931
|
-
export declare class
|
|
931
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
932
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
933
|
}
|
|
934
|
-
export declare class
|
|
934
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
935
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
936
|
}
|
|
937
|
-
export declare class
|
|
937
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
938
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
939
|
}
|
|
940
|
-
export declare class
|
|
940
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
941
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
942
|
}
|
|
943
|
-
export declare class
|
|
943
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
944
944
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
945
|
}
|
|
946
|
-
export declare class
|
|
946
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
947
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
948
|
}
|
|
949
|
-
export declare class
|
|
949
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
950
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
951
|
}
|
|
952
|
-
export declare class
|
|
952
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
953
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
954
|
}
|
|
955
|
-
export declare class
|
|
955
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
956
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
957
|
}
|
|
958
|
-
export declare class
|
|
958
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
959
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
960
|
}
|
|
961
|
-
export declare class
|
|
961
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
962
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
963
|
}
|
|
964
|
-
export declare class
|
|
964
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
965
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
966
|
}
|
|
967
|
-
export declare class
|
|
967
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
968
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
969
|
}
|
|
970
|
-
export declare class
|
|
970
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
971
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
972
|
}
|
|
973
|
-
export declare class
|
|
973
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
974
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
975
|
}
|
|
976
976
|
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
977
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
978
|
}
|
|
979
|
-
export declare class
|
|
979
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
980
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
981
|
}
|
|
982
|
-
export declare class
|
|
982
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
983
983
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
984
984
|
}
|
|
985
|
-
export declare class
|
|
985
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
986
986
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
987
|
}
|
|
988
|
-
export declare class
|
|
988
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
990
|
}
|