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