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