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