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