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