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