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