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