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