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