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