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