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