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