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