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