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