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