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