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