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