@openremote/rest 1.10.0-snapshot.20251030100857 → 1.11.0-snapshot.20251030160722
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.bundle.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/lib/restclient.d.ts +544 -544
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +1 -3
package/lib/restclient.d.ts
CHANGED
|
@@ -9,106 +9,91 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class AgentResourceClient<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
|
-
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
20
|
-
/**
|
|
21
|
-
* HTTP DELETE /gateway/tunnel
|
|
22
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
23
|
-
*/
|
|
24
|
-
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
25
|
-
/**
|
|
26
|
-
* HTTP GET /gateway/tunnel/{realm}
|
|
27
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
16
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
17
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
28
18
|
*/
|
|
29
|
-
|
|
19
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
20
|
+
realm?: string;
|
|
21
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
30
22
|
/**
|
|
31
|
-
* HTTP
|
|
32
|
-
* Java method: org.openremote.model.
|
|
23
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
24
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
33
25
|
*/
|
|
34
|
-
|
|
26
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
27
|
+
realm?: string;
|
|
28
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
35
29
|
/**
|
|
36
|
-
* HTTP GET /
|
|
37
|
-
* Java method: org.openremote.model.
|
|
30
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
31
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
38
32
|
*/
|
|
39
|
-
|
|
33
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
34
|
+
parentId?: string;
|
|
35
|
+
realm?: string;
|
|
36
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
40
37
|
}
|
|
41
|
-
export declare class
|
|
38
|
+
export declare class GatewayClientResourceClient<O> {
|
|
42
39
|
protected httpClient: HttpClient<O>;
|
|
43
40
|
constructor(httpClient: HttpClient<O>);
|
|
44
41
|
/**
|
|
45
|
-
* HTTP
|
|
46
|
-
* Java method: org.openremote.model.
|
|
47
|
-
*/
|
|
48
|
-
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
49
|
-
assetIds?: string[];
|
|
50
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
51
|
-
/**
|
|
52
|
-
* HTTP GET /alarm
|
|
53
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
54
|
-
*/
|
|
55
|
-
getAlarms(queryParams?: {
|
|
56
|
-
realm?: string;
|
|
57
|
-
status?: Model.AlarmStatus;
|
|
58
|
-
assetId?: string;
|
|
59
|
-
assigneeId?: string;
|
|
60
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
61
|
-
/**
|
|
62
|
-
* HTTP DELETE /alarm
|
|
63
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
42
|
+
* HTTP DELETE /gateway/connection
|
|
43
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
64
44
|
*/
|
|
65
|
-
|
|
45
|
+
deleteConnections(queryParams?: {
|
|
46
|
+
realm?: string[];
|
|
47
|
+
}, options?: O): RestResponse<void>;
|
|
66
48
|
/**
|
|
67
|
-
* HTTP
|
|
68
|
-
* Java method: org.openremote.model.
|
|
49
|
+
* HTTP GET /gateway/connection
|
|
50
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
69
51
|
*/
|
|
70
|
-
|
|
52
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
71
53
|
/**
|
|
72
|
-
* HTTP
|
|
73
|
-
* Java method: org.openremote.model.
|
|
54
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
55
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
74
56
|
*/
|
|
75
|
-
|
|
57
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
76
58
|
/**
|
|
77
|
-
* HTTP
|
|
78
|
-
* Java method: org.openremote.model.
|
|
59
|
+
* HTTP GET /gateway/connection/{realm}
|
|
60
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
79
61
|
*/
|
|
80
|
-
|
|
62
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
81
63
|
/**
|
|
82
|
-
* HTTP PUT /
|
|
83
|
-
* Java method: org.openremote.model.
|
|
64
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
65
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
84
66
|
*/
|
|
85
|
-
|
|
67
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
86
68
|
/**
|
|
87
|
-
* HTTP GET /
|
|
88
|
-
* Java method: org.openremote.model.
|
|
69
|
+
* HTTP GET /gateway/status/{realm}
|
|
70
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
89
71
|
*/
|
|
90
|
-
|
|
91
|
-
realm?: string;
|
|
92
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
72
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
93
73
|
}
|
|
94
|
-
export declare class
|
|
74
|
+
export declare class ProvisioningResourceClient<O> {
|
|
95
75
|
protected httpClient: HttpClient<O>;
|
|
96
76
|
constructor(httpClient: HttpClient<O>);
|
|
97
77
|
/**
|
|
98
|
-
* HTTP
|
|
99
|
-
* Java method: org.openremote.model.
|
|
78
|
+
* HTTP POST /provisioning
|
|
79
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
100
80
|
*/
|
|
101
|
-
|
|
81
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
102
82
|
/**
|
|
103
|
-
* HTTP GET /
|
|
104
|
-
* Java method: org.openremote.model.
|
|
83
|
+
* HTTP GET /provisioning
|
|
84
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
105
85
|
*/
|
|
106
|
-
|
|
86
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
107
87
|
/**
|
|
108
|
-
* HTTP
|
|
109
|
-
* Java method: org.openremote.model.
|
|
88
|
+
* HTTP DELETE /provisioning/{id}
|
|
89
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
110
90
|
*/
|
|
111
|
-
|
|
91
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
92
|
+
/**
|
|
93
|
+
* HTTP PUT /provisioning/{id}
|
|
94
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
95
|
+
*/
|
|
96
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
112
97
|
}
|
|
113
98
|
export declare class SyslogResourceClient<O> {
|
|
114
99
|
protected httpClient: HttpClient<O>;
|
|
@@ -142,14 +127,223 @@ export declare class SyslogResourceClient<O> {
|
|
|
142
127
|
subCategory?: string[];
|
|
143
128
|
}, options?: O): RestResponse<any>;
|
|
144
129
|
}
|
|
145
|
-
export declare class
|
|
130
|
+
export declare class ConfigurationResourceClient<O> {
|
|
131
|
+
protected httpClient: HttpClient<O>;
|
|
132
|
+
constructor(httpClient: HttpClient<O>);
|
|
133
|
+
/**
|
|
134
|
+
* HTTP GET /configuration/manager
|
|
135
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
136
|
+
*/
|
|
137
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
138
|
+
/**
|
|
139
|
+
* HTTP PUT /configuration/manager
|
|
140
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
141
|
+
*/
|
|
142
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
143
|
+
/**
|
|
144
|
+
* HTTP POST /configuration/manager/file
|
|
145
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
146
|
+
*/
|
|
147
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
148
|
+
path?: string;
|
|
149
|
+
}, options?: O): RestResponse<string>;
|
|
150
|
+
/**
|
|
151
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
152
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
153
|
+
*/
|
|
154
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
155
|
+
}
|
|
156
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
157
|
+
protected httpClient: HttpClient<O>;
|
|
158
|
+
constructor(httpClient: HttpClient<O>);
|
|
159
|
+
/**
|
|
160
|
+
* HTTP POST /gateway/tunnel
|
|
161
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
162
|
+
*/
|
|
163
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
164
|
+
/**
|
|
165
|
+
* HTTP DELETE /gateway/tunnel
|
|
166
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
167
|
+
*/
|
|
168
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
169
|
+
/**
|
|
170
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
171
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
172
|
+
*/
|
|
173
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
174
|
+
/**
|
|
175
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
176
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
177
|
+
*/
|
|
178
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
179
|
+
/**
|
|
180
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
181
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
182
|
+
*/
|
|
183
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
184
|
+
}
|
|
185
|
+
export declare class AssetResourceClient<O> {
|
|
186
|
+
protected httpClient: HttpClient<O>;
|
|
187
|
+
constructor(httpClient: HttpClient<O>);
|
|
188
|
+
/**
|
|
189
|
+
* HTTP POST /asset
|
|
190
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
191
|
+
*/
|
|
192
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
193
|
+
/**
|
|
194
|
+
* HTTP DELETE /asset
|
|
195
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
196
|
+
*/
|
|
197
|
+
delete(queryParams?: {
|
|
198
|
+
assetId?: string[];
|
|
199
|
+
}, options?: O): RestResponse<void>;
|
|
200
|
+
/**
|
|
201
|
+
* HTTP PUT /asset/attributes
|
|
202
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
203
|
+
*/
|
|
204
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
205
|
+
/**
|
|
206
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
207
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
208
|
+
*/
|
|
209
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
210
|
+
/**
|
|
211
|
+
* HTTP DELETE /asset/parent
|
|
212
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
213
|
+
*/
|
|
214
|
+
updateNoneParent(queryParams?: {
|
|
215
|
+
assetIds?: string[];
|
|
216
|
+
}, options?: O): RestResponse<void>;
|
|
217
|
+
/**
|
|
218
|
+
* HTTP GET /asset/partial/{assetId}
|
|
219
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
220
|
+
*/
|
|
221
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
222
|
+
/**
|
|
223
|
+
* HTTP POST /asset/query
|
|
224
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
225
|
+
*/
|
|
226
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
227
|
+
/**
|
|
228
|
+
* HTTP POST /asset/tree
|
|
229
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
230
|
+
*/
|
|
231
|
+
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
232
|
+
/**
|
|
233
|
+
* HTTP GET /asset/user/current
|
|
234
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
235
|
+
*/
|
|
236
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
237
|
+
/**
|
|
238
|
+
* HTTP POST /asset/user/link
|
|
239
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
240
|
+
*/
|
|
241
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
242
|
+
/**
|
|
243
|
+
* HTTP GET /asset/user/link
|
|
244
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
245
|
+
*/
|
|
246
|
+
getUserAssetLinks(queryParams?: {
|
|
247
|
+
realm?: string;
|
|
248
|
+
userId?: string;
|
|
249
|
+
assetId?: string;
|
|
250
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
251
|
+
/**
|
|
252
|
+
* HTTP POST /asset/user/link/delete
|
|
253
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
254
|
+
*/
|
|
255
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
256
|
+
/**
|
|
257
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
258
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
259
|
+
*/
|
|
260
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
261
|
+
/**
|
|
262
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
263
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
264
|
+
*/
|
|
265
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
266
|
+
/**
|
|
267
|
+
* HTTP GET /asset/{assetId}
|
|
268
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
269
|
+
*/
|
|
270
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
271
|
+
/**
|
|
272
|
+
* HTTP PUT /asset/{assetId}
|
|
273
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
274
|
+
*/
|
|
275
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
276
|
+
/**
|
|
277
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
278
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
279
|
+
*/
|
|
280
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
281
|
+
/**
|
|
282
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
283
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
284
|
+
*/
|
|
285
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
286
|
+
/**
|
|
287
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
288
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
289
|
+
*/
|
|
290
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
291
|
+
assetIds?: string[];
|
|
292
|
+
}, options?: O): RestResponse<void>;
|
|
293
|
+
}
|
|
294
|
+
export declare class NotificationResourceClient<O> {
|
|
146
295
|
protected httpClient: HttpClient<O>;
|
|
147
296
|
constructor(httpClient: HttpClient<O>);
|
|
148
297
|
/**
|
|
149
|
-
* HTTP
|
|
150
|
-
* Java method: org.openremote.model.
|
|
298
|
+
* HTTP GET /notification
|
|
299
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
300
|
+
*/
|
|
301
|
+
getNotifications(queryParams?: {
|
|
302
|
+
id?: number;
|
|
303
|
+
type?: string;
|
|
304
|
+
from?: number;
|
|
305
|
+
to?: number;
|
|
306
|
+
realmId?: string;
|
|
307
|
+
userId?: string;
|
|
308
|
+
assetId?: string;
|
|
309
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
310
|
+
/**
|
|
311
|
+
* HTTP DELETE /notification
|
|
312
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
313
|
+
*/
|
|
314
|
+
removeNotifications(queryParams?: {
|
|
315
|
+
id?: number;
|
|
316
|
+
type?: string;
|
|
317
|
+
from?: number;
|
|
318
|
+
to?: number;
|
|
319
|
+
realmId?: string;
|
|
320
|
+
userId?: string;
|
|
321
|
+
assetId?: string;
|
|
322
|
+
}, options?: O): RestResponse<void>;
|
|
323
|
+
/**
|
|
324
|
+
* HTTP POST /notification/alert
|
|
325
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
326
|
+
*/
|
|
327
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
328
|
+
/**
|
|
329
|
+
* HTTP DELETE /notification/{notificationId}
|
|
330
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
331
|
+
*/
|
|
332
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
333
|
+
/**
|
|
334
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
335
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
151
336
|
*/
|
|
152
|
-
|
|
337
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
338
|
+
targetId?: string;
|
|
339
|
+
}, options?: O): RestResponse<void>;
|
|
340
|
+
/**
|
|
341
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
342
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
343
|
+
*/
|
|
344
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
345
|
+
targetId?: string;
|
|
346
|
+
}, options?: O): RestResponse<void>;
|
|
153
347
|
}
|
|
154
348
|
export declare class ExternalServiceResourceClient<O> {
|
|
155
349
|
protected httpClient: HttpClient<O>;
|
|
@@ -206,20 +400,6 @@ export declare class ExternalServiceResourceClient<O> {
|
|
|
206
400
|
*/
|
|
207
401
|
heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
208
402
|
}
|
|
209
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
210
|
-
protected httpClient: HttpClient<O>;
|
|
211
|
-
constructor(httpClient: HttpClient<O>);
|
|
212
|
-
/**
|
|
213
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
214
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
215
|
-
*/
|
|
216
|
-
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
217
|
-
/**
|
|
218
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
219
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
220
|
-
*/
|
|
221
|
-
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
222
|
-
}
|
|
223
403
|
export declare class RealmResourceClient<O> {
|
|
224
404
|
protected httpClient: HttpClient<O>;
|
|
225
405
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -254,118 +434,19 @@ export declare class RealmResourceClient<O> {
|
|
|
254
434
|
*/
|
|
255
435
|
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
256
436
|
}
|
|
257
|
-
export declare class
|
|
258
|
-
protected httpClient: HttpClient<O>;
|
|
259
|
-
constructor(httpClient: HttpClient<O>);
|
|
260
|
-
/**
|
|
261
|
-
* HTTP GET /configuration/manager
|
|
262
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
263
|
-
*/
|
|
264
|
-
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
265
|
-
/**
|
|
266
|
-
* HTTP PUT /configuration/manager
|
|
267
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
268
|
-
*/
|
|
269
|
-
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
270
|
-
/**
|
|
271
|
-
* HTTP POST /configuration/manager/file
|
|
272
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
273
|
-
*/
|
|
274
|
-
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
275
|
-
path?: string;
|
|
276
|
-
}, options?: O): RestResponse<string>;
|
|
277
|
-
/**
|
|
278
|
-
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
279
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
280
|
-
*/
|
|
281
|
-
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
282
|
-
}
|
|
283
|
-
export declare class DashboardResourceClient<O> {
|
|
284
|
-
protected httpClient: HttpClient<O>;
|
|
285
|
-
constructor(httpClient: HttpClient<O>);
|
|
286
|
-
/**
|
|
287
|
-
* HTTP POST /dashboard
|
|
288
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
289
|
-
*/
|
|
290
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
291
|
-
/**
|
|
292
|
-
* HTTP PUT /dashboard
|
|
293
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
294
|
-
*/
|
|
295
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
296
|
-
/**
|
|
297
|
-
* HTTP GET /dashboard/all/{realm}
|
|
298
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
299
|
-
*/
|
|
300
|
-
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
301
|
-
/**
|
|
302
|
-
* HTTP POST /dashboard/query
|
|
303
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
304
|
-
*/
|
|
305
|
-
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
306
|
-
/**
|
|
307
|
-
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
308
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
309
|
-
*/
|
|
310
|
-
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
311
|
-
/**
|
|
312
|
-
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
313
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
314
|
-
*/
|
|
315
|
-
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
316
|
-
}
|
|
317
|
-
export declare class AssetModelResourceClient<O> {
|
|
437
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
318
438
|
protected httpClient: HttpClient<O>;
|
|
319
439
|
constructor(httpClient: HttpClient<O>);
|
|
320
440
|
/**
|
|
321
|
-
* HTTP
|
|
322
|
-
* Java method: org.openremote.model.
|
|
323
|
-
*/
|
|
324
|
-
getAssetDescriptors(queryParams?: {
|
|
325
|
-
parentId?: string;
|
|
326
|
-
parentType?: string;
|
|
327
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
328
|
-
/**
|
|
329
|
-
* HTTP GET /model/assetInfo/{assetType}
|
|
330
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
331
|
-
*/
|
|
332
|
-
getAssetInfo(assetType: string, queryParams?: {
|
|
333
|
-
parentId?: string;
|
|
334
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
335
|
-
/**
|
|
336
|
-
* HTTP GET /model/assetInfos
|
|
337
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
338
|
-
*/
|
|
339
|
-
getAssetInfos(queryParams?: {
|
|
340
|
-
parentId?: string;
|
|
341
|
-
parentType?: string;
|
|
342
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
343
|
-
/**
|
|
344
|
-
* HTTP GET /model/getValueDescriptorSchema
|
|
345
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
|
|
346
|
-
*/
|
|
347
|
-
getValueDescriptorSchema(queryParams?: {
|
|
348
|
-
name?: string;
|
|
349
|
-
hash?: string;
|
|
350
|
-
}, options?: O): RestResponse<any>;
|
|
351
|
-
/**
|
|
352
|
-
* HTTP GET /model/metaItemDescriptors
|
|
353
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
441
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
442
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
354
443
|
*/
|
|
355
|
-
|
|
356
|
-
parentId?: string;
|
|
357
|
-
}, options?: O): RestResponse<{
|
|
358
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
359
|
-
}>;
|
|
444
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
360
445
|
/**
|
|
361
|
-
* HTTP
|
|
362
|
-
* Java method: org.openremote.model.
|
|
446
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
447
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
363
448
|
*/
|
|
364
|
-
|
|
365
|
-
parentId?: string;
|
|
366
|
-
}, options?: O): RestResponse<{
|
|
367
|
-
[index: string]: Model.ValueDescriptor;
|
|
368
|
-
}>;
|
|
449
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
369
450
|
}
|
|
370
451
|
export declare class StatusResourceClient<O> {
|
|
371
452
|
protected httpClient: HttpClient<O>;
|
|
@@ -385,29 +466,24 @@ export declare class StatusResourceClient<O> {
|
|
|
385
466
|
[index: string]: any;
|
|
386
467
|
}>;
|
|
387
468
|
}
|
|
388
|
-
export declare class
|
|
469
|
+
export declare class FlowResourceClient<O> {
|
|
389
470
|
protected httpClient: HttpClient<O>;
|
|
390
471
|
constructor(httpClient: HttpClient<O>);
|
|
391
472
|
/**
|
|
392
|
-
* HTTP
|
|
393
|
-
* Java method: org.openremote.model.
|
|
394
|
-
*/
|
|
395
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
396
|
-
/**
|
|
397
|
-
* HTTP GET /provisioning
|
|
398
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
473
|
+
* HTTP GET /flow
|
|
474
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
399
475
|
*/
|
|
400
|
-
|
|
476
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
401
477
|
/**
|
|
402
|
-
* HTTP
|
|
403
|
-
* Java method: org.openremote.model.
|
|
478
|
+
* HTTP GET /flow/{name}
|
|
479
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
404
480
|
*/
|
|
405
|
-
|
|
481
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
406
482
|
/**
|
|
407
|
-
* HTTP
|
|
408
|
-
* Java method: org.openremote.model.
|
|
483
|
+
* HTTP GET /flow/{type}
|
|
484
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
409
485
|
*/
|
|
410
|
-
|
|
486
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
411
487
|
}
|
|
412
488
|
export declare class AssetDatapointResourceClient<O> {
|
|
413
489
|
protected httpClient: HttpClient<O>;
|
|
@@ -435,6 +511,25 @@ export declare class AssetDatapointResourceClient<O> {
|
|
|
435
511
|
*/
|
|
436
512
|
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
437
513
|
}
|
|
514
|
+
export declare class AppResourceClient<O> {
|
|
515
|
+
protected httpClient: HttpClient<O>;
|
|
516
|
+
constructor(httpClient: HttpClient<O>);
|
|
517
|
+
/**
|
|
518
|
+
* HTTP GET /apps
|
|
519
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
520
|
+
*/
|
|
521
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
522
|
+
/**
|
|
523
|
+
* HTTP GET /apps/consoleConfig
|
|
524
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
525
|
+
*/
|
|
526
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
527
|
+
/**
|
|
528
|
+
* HTTP GET /apps/info
|
|
529
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
530
|
+
*/
|
|
531
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
532
|
+
}
|
|
438
533
|
export declare class RulesResourceClient<O> {
|
|
439
534
|
protected httpClient: HttpClient<O>;
|
|
440
535
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -505,43 +600,130 @@ export declare class RulesResourceClient<O> {
|
|
|
505
600
|
*/
|
|
506
601
|
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
507
602
|
/**
|
|
508
|
-
* HTTP GET /rules/realm/for/{realm}
|
|
509
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
603
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
604
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
605
|
+
*/
|
|
606
|
+
getRealmRulesets(realm: string, queryParams?: {
|
|
607
|
+
language?: Model.RulesetLang[];
|
|
608
|
+
fullyPopulate?: boolean;
|
|
609
|
+
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
610
|
+
/**
|
|
611
|
+
* HTTP DELETE /rules/realm/{id}
|
|
612
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
613
|
+
*/
|
|
614
|
+
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
615
|
+
/**
|
|
616
|
+
* HTTP GET /rules/realm/{id}
|
|
617
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
618
|
+
*/
|
|
619
|
+
getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
|
|
620
|
+
/**
|
|
621
|
+
* HTTP PUT /rules/realm/{id}
|
|
622
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
623
|
+
*/
|
|
624
|
+
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
625
|
+
/**
|
|
626
|
+
* HTTP DELETE /rules/{id}
|
|
627
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
628
|
+
*/
|
|
629
|
+
deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
|
|
630
|
+
/**
|
|
631
|
+
* HTTP GET /rules/{id}
|
|
632
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
633
|
+
*/
|
|
634
|
+
getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
635
|
+
/**
|
|
636
|
+
* HTTP PUT /rules/{id}
|
|
637
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
638
|
+
*/
|
|
639
|
+
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
640
|
+
}
|
|
641
|
+
export declare class DashboardResourceClient<O> {
|
|
642
|
+
protected httpClient: HttpClient<O>;
|
|
643
|
+
constructor(httpClient: HttpClient<O>);
|
|
644
|
+
/**
|
|
645
|
+
* HTTP POST /dashboard
|
|
646
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
647
|
+
*/
|
|
648
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
649
|
+
/**
|
|
650
|
+
* HTTP PUT /dashboard
|
|
651
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
652
|
+
*/
|
|
653
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
654
|
+
/**
|
|
655
|
+
* HTTP GET /dashboard/all/{realm}
|
|
656
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
657
|
+
*/
|
|
658
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
659
|
+
/**
|
|
660
|
+
* HTTP POST /dashboard/query
|
|
661
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
662
|
+
*/
|
|
663
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
664
|
+
/**
|
|
665
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
666
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
667
|
+
*/
|
|
668
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
669
|
+
/**
|
|
670
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
671
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
510
672
|
*/
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
673
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
674
|
+
}
|
|
675
|
+
export declare class AssetModelResourceClient<O> {
|
|
676
|
+
protected httpClient: HttpClient<O>;
|
|
677
|
+
constructor(httpClient: HttpClient<O>);
|
|
515
678
|
/**
|
|
516
|
-
* HTTP
|
|
517
|
-
* Java method: org.openremote.model.
|
|
679
|
+
* HTTP GET /model/assetDescriptors
|
|
680
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
518
681
|
*/
|
|
519
|
-
|
|
682
|
+
getAssetDescriptors(queryParams?: {
|
|
683
|
+
parentId?: string;
|
|
684
|
+
parentType?: string;
|
|
685
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
520
686
|
/**
|
|
521
|
-
* HTTP GET /
|
|
522
|
-
* Java method: org.openremote.model.
|
|
687
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
688
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
523
689
|
*/
|
|
524
|
-
|
|
690
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
691
|
+
parentId?: string;
|
|
692
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
525
693
|
/**
|
|
526
|
-
* HTTP
|
|
527
|
-
* Java method: org.openremote.model.
|
|
694
|
+
* HTTP GET /model/assetInfos
|
|
695
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
528
696
|
*/
|
|
529
|
-
|
|
697
|
+
getAssetInfos(queryParams?: {
|
|
698
|
+
parentId?: string;
|
|
699
|
+
parentType?: string;
|
|
700
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
530
701
|
/**
|
|
531
|
-
* HTTP
|
|
532
|
-
* Java method: org.openremote.model.
|
|
702
|
+
* HTTP GET /model/getValueDescriptorSchema
|
|
703
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
|
|
533
704
|
*/
|
|
534
|
-
|
|
705
|
+
getValueDescriptorSchema(queryParams?: {
|
|
706
|
+
name?: string;
|
|
707
|
+
hash?: string;
|
|
708
|
+
}, options?: O): RestResponse<any>;
|
|
535
709
|
/**
|
|
536
|
-
* HTTP GET /
|
|
537
|
-
* Java method: org.openremote.model.
|
|
710
|
+
* HTTP GET /model/metaItemDescriptors
|
|
711
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
538
712
|
*/
|
|
539
|
-
|
|
713
|
+
getMetaItemDescriptors(queryParams?: {
|
|
714
|
+
parentId?: string;
|
|
715
|
+
}, options?: O): RestResponse<{
|
|
716
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
717
|
+
}>;
|
|
540
718
|
/**
|
|
541
|
-
* HTTP
|
|
542
|
-
* Java method: org.openremote.model.
|
|
719
|
+
* HTTP GET /model/valueDescriptors
|
|
720
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
543
721
|
*/
|
|
544
|
-
|
|
722
|
+
getValueDescriptors(queryParams?: {
|
|
723
|
+
parentId?: string;
|
|
724
|
+
}, options?: O): RestResponse<{
|
|
725
|
+
[index: string]: Model.ValueDescriptor;
|
|
726
|
+
}>;
|
|
545
727
|
}
|
|
546
728
|
export declare class MapResourceClient<O> {
|
|
547
729
|
protected httpClient: HttpClient<O>;
|
|
@@ -596,86 +778,6 @@ export declare class MapResourceClient<O> {
|
|
|
596
778
|
[id: string]: unknown;
|
|
597
779
|
}>;
|
|
598
780
|
}
|
|
599
|
-
export declare class NotificationResourceClient<O> {
|
|
600
|
-
protected httpClient: HttpClient<O>;
|
|
601
|
-
constructor(httpClient: HttpClient<O>);
|
|
602
|
-
/**
|
|
603
|
-
* HTTP GET /notification
|
|
604
|
-
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
605
|
-
*/
|
|
606
|
-
getNotifications(queryParams?: {
|
|
607
|
-
id?: number;
|
|
608
|
-
type?: string;
|
|
609
|
-
from?: number;
|
|
610
|
-
to?: number;
|
|
611
|
-
realmId?: string;
|
|
612
|
-
userId?: string;
|
|
613
|
-
assetId?: string;
|
|
614
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
615
|
-
/**
|
|
616
|
-
* HTTP DELETE /notification
|
|
617
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
618
|
-
*/
|
|
619
|
-
removeNotifications(queryParams?: {
|
|
620
|
-
id?: number;
|
|
621
|
-
type?: string;
|
|
622
|
-
from?: number;
|
|
623
|
-
to?: number;
|
|
624
|
-
realmId?: string;
|
|
625
|
-
userId?: string;
|
|
626
|
-
assetId?: string;
|
|
627
|
-
}, options?: O): RestResponse<void>;
|
|
628
|
-
/**
|
|
629
|
-
* HTTP POST /notification/alert
|
|
630
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
631
|
-
*/
|
|
632
|
-
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
633
|
-
/**
|
|
634
|
-
* HTTP DELETE /notification/{notificationId}
|
|
635
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
636
|
-
*/
|
|
637
|
-
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
638
|
-
/**
|
|
639
|
-
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
640
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
641
|
-
*/
|
|
642
|
-
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
643
|
-
targetId?: string;
|
|
644
|
-
}, options?: O): RestResponse<void>;
|
|
645
|
-
/**
|
|
646
|
-
* HTTP PUT /notification/{notificationId}/delivered
|
|
647
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
648
|
-
*/
|
|
649
|
-
notificationDelivered(notificationId: number, queryParams?: {
|
|
650
|
-
targetId?: string;
|
|
651
|
-
}, options?: O): RestResponse<void>;
|
|
652
|
-
}
|
|
653
|
-
export declare class AgentResourceClient<O> {
|
|
654
|
-
protected httpClient: HttpClient<O>;
|
|
655
|
-
constructor(httpClient: HttpClient<O>);
|
|
656
|
-
/**
|
|
657
|
-
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
658
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
659
|
-
*/
|
|
660
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
661
|
-
realm?: string;
|
|
662
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
663
|
-
/**
|
|
664
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
665
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
666
|
-
*/
|
|
667
|
-
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
668
|
-
realm?: string;
|
|
669
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
670
|
-
/**
|
|
671
|
-
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
672
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
673
|
-
*/
|
|
674
|
-
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
675
|
-
parentId?: string;
|
|
676
|
-
realm?: string;
|
|
677
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
678
|
-
}
|
|
679
781
|
export declare class UserResourceClient<O> {
|
|
680
782
|
protected httpClient: HttpClient<O>;
|
|
681
783
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -734,283 +836,181 @@ export declare class UserResourceClient<O> {
|
|
|
734
836
|
* Java method: org.openremote.model.security.UserResource.updatePassword
|
|
735
837
|
*/
|
|
736
838
|
updatePassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
|
|
737
|
-
/**
|
|
738
|
-
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
739
|
-
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
740
|
-
*/
|
|
741
|
-
resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
|
|
742
|
-
/**
|
|
743
|
-
* HTTP PUT /user/{realm}/roles
|
|
744
|
-
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
745
|
-
*/
|
|
746
|
-
updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
747
|
-
/**
|
|
748
|
-
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
749
|
-
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
750
|
-
*/
|
|
751
|
-
getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<string[]>;
|
|
752
|
-
/**
|
|
753
|
-
* HTTP PUT /user/{realm}/userRealmRoles/{userId}
|
|
754
|
-
* Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
|
|
755
|
-
*/
|
|
756
|
-
updateUserRealmRoles(realm: string, userId: string, roles: string[], options?: O): RestResponse<void>;
|
|
757
|
-
/**
|
|
758
|
-
* HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
|
|
759
|
-
* Java method: org.openremote.model.security.UserResource.getUserClientRoles
|
|
760
|
-
*/
|
|
761
|
-
getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<string[]>;
|
|
762
|
-
/**
|
|
763
|
-
* HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
|
|
764
|
-
* Java method: org.openremote.model.security.UserResource.updateUserClientRoles
|
|
765
|
-
*/
|
|
766
|
-
updateUserClientRoles(realm: string, userId: string, clientId: string, roles: string[], options?: O): RestResponse<void>;
|
|
767
|
-
/**
|
|
768
|
-
* HTTP GET /user/{realm}/userSessions/{userId}
|
|
769
|
-
* Java method: org.openremote.model.security.UserResource.getUserSessions
|
|
770
|
-
*/
|
|
771
|
-
getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
|
|
772
|
-
/**
|
|
773
|
-
* HTTP POST /user/{realm}/users
|
|
774
|
-
* Java method: org.openremote.model.security.UserResource.create
|
|
775
|
-
*/
|
|
776
|
-
create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
777
|
-
/**
|
|
778
|
-
* HTTP PUT /user/{realm}/users
|
|
779
|
-
* Java method: org.openremote.model.security.UserResource.update
|
|
780
|
-
*/
|
|
781
|
-
update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
782
|
-
/**
|
|
783
|
-
* HTTP DELETE /user/{realm}/users/{userId}
|
|
784
|
-
* Java method: org.openremote.model.security.UserResource.delete
|
|
785
|
-
*/
|
|
786
|
-
delete(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
787
|
-
/**
|
|
788
|
-
* HTTP GET /user/{realm}/{clientId}/roles
|
|
789
|
-
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
790
|
-
*/
|
|
791
|
-
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
792
|
-
/**
|
|
793
|
-
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
794
|
-
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
795
|
-
*/
|
|
796
|
-
updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
797
|
-
/**
|
|
798
|
-
* HTTP GET /user/{realm}/{userId}
|
|
799
|
-
* Java method: org.openremote.model.security.UserResource.get
|
|
800
|
-
*/
|
|
801
|
-
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
802
|
-
}
|
|
803
|
-
export declare class GatewayClientResourceClient<O> {
|
|
804
|
-
protected httpClient: HttpClient<O>;
|
|
805
|
-
constructor(httpClient: HttpClient<O>);
|
|
806
|
-
/**
|
|
807
|
-
* HTTP DELETE /gateway/connection
|
|
808
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
809
|
-
*/
|
|
810
|
-
deleteConnections(queryParams?: {
|
|
811
|
-
realm?: string[];
|
|
812
|
-
}, options?: O): RestResponse<void>;
|
|
813
|
-
/**
|
|
814
|
-
* HTTP GET /gateway/connection
|
|
815
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
816
|
-
*/
|
|
817
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
818
|
-
/**
|
|
819
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
820
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
821
|
-
*/
|
|
822
|
-
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
823
|
-
/**
|
|
824
|
-
* HTTP GET /gateway/connection/{realm}
|
|
825
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
826
|
-
*/
|
|
827
|
-
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
828
|
-
/**
|
|
829
|
-
* HTTP PUT /gateway/connection/{realm}
|
|
830
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
831
|
-
*/
|
|
832
|
-
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
833
|
-
/**
|
|
834
|
-
* HTTP GET /gateway/status/{realm}
|
|
835
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
836
|
-
*/
|
|
837
|
-
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
838
|
-
}
|
|
839
|
-
export declare class FlowResourceClient<O> {
|
|
840
|
-
protected httpClient: HttpClient<O>;
|
|
841
|
-
constructor(httpClient: HttpClient<O>);
|
|
842
|
-
/**
|
|
843
|
-
* HTTP GET /flow
|
|
844
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
839
|
+
/**
|
|
840
|
+
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
841
|
+
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
845
842
|
*/
|
|
846
|
-
|
|
843
|
+
resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
|
|
847
844
|
/**
|
|
848
|
-
* HTTP
|
|
849
|
-
* Java method: org.openremote.model.
|
|
845
|
+
* HTTP PUT /user/{realm}/roles
|
|
846
|
+
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
850
847
|
*/
|
|
851
|
-
|
|
848
|
+
updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
852
849
|
/**
|
|
853
|
-
* HTTP GET /
|
|
854
|
-
* Java method: org.openremote.model.
|
|
850
|
+
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
851
|
+
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
855
852
|
*/
|
|
856
|
-
|
|
857
|
-
}
|
|
858
|
-
export declare class AssetResourceClient<O> {
|
|
859
|
-
protected httpClient: HttpClient<O>;
|
|
860
|
-
constructor(httpClient: HttpClient<O>);
|
|
853
|
+
getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<string[]>;
|
|
861
854
|
/**
|
|
862
|
-
* HTTP
|
|
863
|
-
* Java method: org.openremote.model.
|
|
855
|
+
* HTTP PUT /user/{realm}/userRealmRoles/{userId}
|
|
856
|
+
* Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
|
|
864
857
|
*/
|
|
865
|
-
|
|
858
|
+
updateUserRealmRoles(realm: string, userId: string, roles: string[], options?: O): RestResponse<void>;
|
|
866
859
|
/**
|
|
867
|
-
* HTTP
|
|
868
|
-
* Java method: org.openremote.model.
|
|
860
|
+
* HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
|
|
861
|
+
* Java method: org.openremote.model.security.UserResource.getUserClientRoles
|
|
869
862
|
*/
|
|
870
|
-
|
|
871
|
-
assetId?: string[];
|
|
872
|
-
}, options?: O): RestResponse<void>;
|
|
863
|
+
getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<string[]>;
|
|
873
864
|
/**
|
|
874
|
-
* HTTP PUT /
|
|
875
|
-
* Java method: org.openremote.model.
|
|
865
|
+
* HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
|
|
866
|
+
* Java method: org.openremote.model.security.UserResource.updateUserClientRoles
|
|
876
867
|
*/
|
|
877
|
-
|
|
868
|
+
updateUserClientRoles(realm: string, userId: string, clientId: string, roles: string[], options?: O): RestResponse<void>;
|
|
878
869
|
/**
|
|
879
|
-
* HTTP
|
|
880
|
-
* Java method: org.openremote.model.
|
|
870
|
+
* HTTP GET /user/{realm}/userSessions/{userId}
|
|
871
|
+
* Java method: org.openremote.model.security.UserResource.getUserSessions
|
|
881
872
|
*/
|
|
882
|
-
|
|
873
|
+
getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
|
|
883
874
|
/**
|
|
884
|
-
* HTTP
|
|
885
|
-
* Java method: org.openremote.model.
|
|
875
|
+
* HTTP POST /user/{realm}/users
|
|
876
|
+
* Java method: org.openremote.model.security.UserResource.create
|
|
886
877
|
*/
|
|
887
|
-
|
|
888
|
-
assetIds?: string[];
|
|
889
|
-
}, options?: O): RestResponse<void>;
|
|
878
|
+
create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
890
879
|
/**
|
|
891
|
-
* HTTP
|
|
892
|
-
* Java method: org.openremote.model.
|
|
880
|
+
* HTTP PUT /user/{realm}/users
|
|
881
|
+
* Java method: org.openremote.model.security.UserResource.update
|
|
893
882
|
*/
|
|
894
|
-
|
|
883
|
+
update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
895
884
|
/**
|
|
896
|
-
* HTTP
|
|
897
|
-
* Java method: org.openremote.model.
|
|
885
|
+
* HTTP DELETE /user/{realm}/users/{userId}
|
|
886
|
+
* Java method: org.openremote.model.security.UserResource.delete
|
|
898
887
|
*/
|
|
899
|
-
|
|
888
|
+
delete(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
900
889
|
/**
|
|
901
|
-
* HTTP
|
|
902
|
-
* Java method: org.openremote.model.
|
|
890
|
+
* HTTP GET /user/{realm}/{clientId}/roles
|
|
891
|
+
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
903
892
|
*/
|
|
904
|
-
|
|
893
|
+
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
905
894
|
/**
|
|
906
|
-
* HTTP
|
|
907
|
-
* Java method: org.openremote.model.
|
|
895
|
+
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
896
|
+
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
908
897
|
*/
|
|
909
|
-
|
|
898
|
+
updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
910
899
|
/**
|
|
911
|
-
* HTTP
|
|
912
|
-
* Java method: org.openremote.model.
|
|
900
|
+
* HTTP GET /user/{realm}/{userId}
|
|
901
|
+
* Java method: org.openremote.model.security.UserResource.get
|
|
913
902
|
*/
|
|
914
|
-
|
|
903
|
+
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
904
|
+
}
|
|
905
|
+
export declare class ConsoleResourceClient<O> {
|
|
906
|
+
protected httpClient: HttpClient<O>;
|
|
907
|
+
constructor(httpClient: HttpClient<O>);
|
|
915
908
|
/**
|
|
916
|
-
* HTTP
|
|
917
|
-
* Java method: org.openremote.model.
|
|
909
|
+
* HTTP POST /console/register
|
|
910
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
918
911
|
*/
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
912
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
913
|
+
}
|
|
914
|
+
export declare class AlarmResourceClient<O> {
|
|
915
|
+
protected httpClient: HttpClient<O>;
|
|
916
|
+
constructor(httpClient: HttpClient<O>);
|
|
924
917
|
/**
|
|
925
|
-
* HTTP POST /
|
|
926
|
-
* Java method: org.openremote.model.
|
|
918
|
+
* HTTP POST /alarm
|
|
919
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
927
920
|
*/
|
|
928
|
-
|
|
921
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
922
|
+
assetIds?: string[];
|
|
923
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
929
924
|
/**
|
|
930
|
-
* HTTP
|
|
931
|
-
* Java method: org.openremote.model.
|
|
925
|
+
* HTTP GET /alarm
|
|
926
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
932
927
|
*/
|
|
933
|
-
|
|
928
|
+
getAlarms(queryParams?: {
|
|
929
|
+
realm?: string;
|
|
930
|
+
status?: Model.AlarmStatus;
|
|
931
|
+
assetId?: string;
|
|
932
|
+
assigneeId?: string;
|
|
933
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
934
934
|
/**
|
|
935
|
-
* HTTP DELETE /
|
|
936
|
-
* Java method: org.openremote.model.
|
|
935
|
+
* HTTP DELETE /alarm
|
|
936
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
937
937
|
*/
|
|
938
|
-
|
|
938
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
939
939
|
/**
|
|
940
|
-
* HTTP
|
|
941
|
-
* Java method: org.openremote.model.
|
|
940
|
+
* HTTP PUT /alarm/assets
|
|
941
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
942
942
|
*/
|
|
943
|
-
|
|
943
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
944
944
|
/**
|
|
945
|
-
* HTTP
|
|
946
|
-
* Java method: org.openremote.model.
|
|
945
|
+
* HTTP GET /alarm/{alarmId}
|
|
946
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
947
947
|
*/
|
|
948
|
-
|
|
948
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
949
949
|
/**
|
|
950
|
-
* HTTP
|
|
951
|
-
* Java method: org.openremote.model.
|
|
950
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
951
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
952
952
|
*/
|
|
953
|
-
|
|
953
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
954
954
|
/**
|
|
955
|
-
* HTTP PUT /
|
|
956
|
-
* Java method: org.openremote.model.
|
|
955
|
+
* HTTP PUT /alarm/{alarmId}
|
|
956
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
957
957
|
*/
|
|
958
|
-
|
|
958
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
959
959
|
/**
|
|
960
|
-
* HTTP
|
|
961
|
-
* Java method: org.openremote.model.
|
|
960
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
961
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
962
962
|
*/
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
}, options?: O): RestResponse<
|
|
963
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
964
|
+
realm?: string;
|
|
965
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
966
966
|
}
|
|
967
967
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
968
968
|
export declare class ApiClient {
|
|
969
|
-
protected
|
|
970
|
-
protected
|
|
971
|
-
protected
|
|
969
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
970
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
971
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
972
972
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
973
|
-
protected
|
|
973
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
974
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
975
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
976
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
974
977
|
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
975
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
976
978
|
protected _realmResource: AxiosRealmResourceClient;
|
|
977
|
-
protected
|
|
978
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
979
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
979
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
980
980
|
protected _statusResource: AxiosStatusResourceClient;
|
|
981
|
-
protected
|
|
981
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
982
982
|
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
983
|
+
protected _appResource: AxiosAppResourceClient;
|
|
983
984
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
985
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
986
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
984
987
|
protected _mapResource: AxiosMapResourceClient;
|
|
985
|
-
protected _notificationResource: AxiosNotificationResourceClient;
|
|
986
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
987
988
|
protected _userResource: AxiosUserResourceClient;
|
|
988
|
-
protected
|
|
989
|
-
protected
|
|
990
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
989
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
990
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
991
991
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
992
|
-
get
|
|
993
|
-
get
|
|
994
|
-
get
|
|
992
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
993
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
994
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
995
995
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
996
|
-
get
|
|
996
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
997
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
998
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
999
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
997
1000
|
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
998
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
999
1001
|
get RealmResource(): AxiosRealmResourceClient;
|
|
1000
|
-
get
|
|
1001
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1002
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1002
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1003
1003
|
get StatusResource(): AxiosStatusResourceClient;
|
|
1004
|
-
get
|
|
1004
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
1005
1005
|
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
1006
|
+
get AppResource(): AxiosAppResourceClient;
|
|
1006
1007
|
get RulesResource(): AxiosRulesResourceClient;
|
|
1008
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1009
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1007
1010
|
get MapResource(): AxiosMapResourceClient;
|
|
1008
|
-
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1009
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
1010
1011
|
get UserResource(): AxiosUserResourceClient;
|
|
1011
|
-
get
|
|
1012
|
-
get
|
|
1013
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
1012
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1013
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1014
1014
|
}
|
|
1015
1015
|
import * as Axios from "axios";
|
|
1016
1016
|
declare module "axios" {
|
|
@@ -1018,69 +1018,69 @@ declare module "axios" {
|
|
|
1018
1018
|
data: R;
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
|
-
export declare class
|
|
1021
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1022
1022
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1023
1023
|
}
|
|
1024
|
-
export declare class
|
|
1024
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1025
1025
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1026
1026
|
}
|
|
1027
|
-
export declare class
|
|
1027
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1028
1028
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1029
1029
|
}
|
|
1030
1030
|
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1031
1031
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1032
1032
|
}
|
|
1033
|
-
export declare class
|
|
1033
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1034
1034
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1035
1035
|
}
|
|
1036
|
-
export declare class
|
|
1036
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1037
1037
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1038
1038
|
}
|
|
1039
|
-
export declare class
|
|
1039
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1040
1040
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1041
1041
|
}
|
|
1042
|
-
export declare class
|
|
1042
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1043
1043
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1044
1044
|
}
|
|
1045
|
-
export declare class
|
|
1045
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1046
1046
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1047
1047
|
}
|
|
1048
|
-
export declare class
|
|
1048
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1049
1049
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1050
1050
|
}
|
|
1051
|
-
export declare class
|
|
1051
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1052
1052
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1053
1053
|
}
|
|
1054
1054
|
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1055
1055
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1056
1056
|
}
|
|
1057
|
-
export declare class
|
|
1057
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1058
1058
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1059
1059
|
}
|
|
1060
1060
|
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1061
1061
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1062
1062
|
}
|
|
1063
|
-
export declare class
|
|
1063
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1064
1064
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1065
1065
|
}
|
|
1066
|
-
export declare class
|
|
1066
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1067
1067
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1068
1068
|
}
|
|
1069
|
-
export declare class
|
|
1069
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1070
1070
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1071
1071
|
}
|
|
1072
|
-
export declare class
|
|
1072
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1073
1073
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1074
1074
|
}
|
|
1075
|
-
export declare class
|
|
1075
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1076
1076
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1077
1077
|
}
|
|
1078
|
-
export declare class
|
|
1078
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1079
1079
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1080
1080
|
}
|
|
1081
|
-
export declare class
|
|
1081
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1082
1082
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1083
1083
|
}
|
|
1084
|
-
export declare class
|
|
1084
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1085
1085
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1086
1086
|
}
|