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