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