@openremote/rest 1.9.0-snapshot.20250922141329 → 1.9.0-snapshot.20250922144133
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 +551 -551
- 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,287 +9,6 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class NotificationResourceClient<O> {
|
|
13
|
-
protected httpClient: HttpClient<O>;
|
|
14
|
-
constructor(httpClient: HttpClient<O>);
|
|
15
|
-
/**
|
|
16
|
-
* HTTP GET /notification
|
|
17
|
-
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
18
|
-
*/
|
|
19
|
-
getNotifications(queryParams?: {
|
|
20
|
-
id?: number;
|
|
21
|
-
type?: string;
|
|
22
|
-
from?: number;
|
|
23
|
-
to?: number;
|
|
24
|
-
realmId?: string;
|
|
25
|
-
userId?: string;
|
|
26
|
-
assetId?: string;
|
|
27
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
28
|
-
/**
|
|
29
|
-
* HTTP DELETE /notification
|
|
30
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
31
|
-
*/
|
|
32
|
-
removeNotifications(queryParams?: {
|
|
33
|
-
id?: number;
|
|
34
|
-
type?: string;
|
|
35
|
-
from?: number;
|
|
36
|
-
to?: number;
|
|
37
|
-
realmId?: string;
|
|
38
|
-
userId?: string;
|
|
39
|
-
assetId?: string;
|
|
40
|
-
}, options?: O): RestResponse<void>;
|
|
41
|
-
/**
|
|
42
|
-
* HTTP POST /notification/alert
|
|
43
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
44
|
-
*/
|
|
45
|
-
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
46
|
-
/**
|
|
47
|
-
* HTTP DELETE /notification/{notificationId}
|
|
48
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
49
|
-
*/
|
|
50
|
-
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
51
|
-
/**
|
|
52
|
-
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
53
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
54
|
-
*/
|
|
55
|
-
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
56
|
-
targetId?: string;
|
|
57
|
-
}, options?: O): RestResponse<void>;
|
|
58
|
-
/**
|
|
59
|
-
* HTTP PUT /notification/{notificationId}/delivered
|
|
60
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
61
|
-
*/
|
|
62
|
-
notificationDelivered(notificationId: number, queryParams?: {
|
|
63
|
-
targetId?: string;
|
|
64
|
-
}, options?: O): RestResponse<void>;
|
|
65
|
-
}
|
|
66
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
67
|
-
protected httpClient: HttpClient<O>;
|
|
68
|
-
constructor(httpClient: HttpClient<O>);
|
|
69
|
-
/**
|
|
70
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
71
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
72
|
-
*/
|
|
73
|
-
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
74
|
-
/**
|
|
75
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
76
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
77
|
-
*/
|
|
78
|
-
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
79
|
-
}
|
|
80
|
-
export declare class AssetResourceClient<O> {
|
|
81
|
-
protected httpClient: HttpClient<O>;
|
|
82
|
-
constructor(httpClient: HttpClient<O>);
|
|
83
|
-
/**
|
|
84
|
-
* HTTP POST /asset
|
|
85
|
-
* Java method: org.openremote.model.asset.AssetResource.create
|
|
86
|
-
*/
|
|
87
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
88
|
-
/**
|
|
89
|
-
* HTTP DELETE /asset
|
|
90
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
91
|
-
*/
|
|
92
|
-
delete(queryParams?: {
|
|
93
|
-
assetId?: string[];
|
|
94
|
-
}, options?: O): RestResponse<void>;
|
|
95
|
-
/**
|
|
96
|
-
* HTTP PUT /asset/attributes
|
|
97
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
98
|
-
*/
|
|
99
|
-
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
100
|
-
/**
|
|
101
|
-
* HTTP PUT /asset/attributes/timestamp
|
|
102
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
103
|
-
*/
|
|
104
|
-
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
105
|
-
/**
|
|
106
|
-
* HTTP DELETE /asset/parent
|
|
107
|
-
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
108
|
-
*/
|
|
109
|
-
updateNoneParent(queryParams?: {
|
|
110
|
-
assetIds?: string[];
|
|
111
|
-
}, options?: O): RestResponse<void>;
|
|
112
|
-
/**
|
|
113
|
-
* HTTP GET /asset/partial/{assetId}
|
|
114
|
-
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
115
|
-
*/
|
|
116
|
-
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
117
|
-
/**
|
|
118
|
-
* HTTP POST /asset/query
|
|
119
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
120
|
-
*/
|
|
121
|
-
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
122
|
-
/**
|
|
123
|
-
* HTTP GET /asset/user/current
|
|
124
|
-
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
125
|
-
*/
|
|
126
|
-
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
127
|
-
/**
|
|
128
|
-
* HTTP POST /asset/user/link
|
|
129
|
-
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
130
|
-
*/
|
|
131
|
-
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
132
|
-
/**
|
|
133
|
-
* HTTP GET /asset/user/link
|
|
134
|
-
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
135
|
-
*/
|
|
136
|
-
getUserAssetLinks(queryParams?: {
|
|
137
|
-
realm?: string;
|
|
138
|
-
userId?: string;
|
|
139
|
-
assetId?: string;
|
|
140
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
141
|
-
/**
|
|
142
|
-
* HTTP POST /asset/user/link/delete
|
|
143
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
144
|
-
*/
|
|
145
|
-
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
146
|
-
/**
|
|
147
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
148
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
149
|
-
*/
|
|
150
|
-
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
151
|
-
/**
|
|
152
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
153
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
154
|
-
*/
|
|
155
|
-
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
156
|
-
/**
|
|
157
|
-
* HTTP GET /asset/{assetId}
|
|
158
|
-
* Java method: org.openremote.model.asset.AssetResource.get
|
|
159
|
-
*/
|
|
160
|
-
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
161
|
-
/**
|
|
162
|
-
* HTTP PUT /asset/{assetId}
|
|
163
|
-
* Java method: org.openremote.model.asset.AssetResource.update
|
|
164
|
-
*/
|
|
165
|
-
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
166
|
-
/**
|
|
167
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
168
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
169
|
-
*/
|
|
170
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
171
|
-
/**
|
|
172
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
173
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
174
|
-
*/
|
|
175
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
176
|
-
/**
|
|
177
|
-
* HTTP PUT /asset/{parentAssetId}/child
|
|
178
|
-
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
179
|
-
*/
|
|
180
|
-
updateParent(parentAssetId: string, queryParams?: {
|
|
181
|
-
assetIds?: string[];
|
|
182
|
-
}, options?: O): RestResponse<void>;
|
|
183
|
-
}
|
|
184
|
-
export declare class GatewayClientResourceClient<O> {
|
|
185
|
-
protected httpClient: HttpClient<O>;
|
|
186
|
-
constructor(httpClient: HttpClient<O>);
|
|
187
|
-
/**
|
|
188
|
-
* HTTP DELETE /gateway/connection
|
|
189
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
190
|
-
*/
|
|
191
|
-
deleteConnections(queryParams?: {
|
|
192
|
-
realm?: string[];
|
|
193
|
-
}, options?: O): RestResponse<void>;
|
|
194
|
-
/**
|
|
195
|
-
* HTTP GET /gateway/connection
|
|
196
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
197
|
-
*/
|
|
198
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
199
|
-
/**
|
|
200
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
201
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
202
|
-
*/
|
|
203
|
-
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
204
|
-
/**
|
|
205
|
-
* HTTP GET /gateway/connection/{realm}
|
|
206
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
207
|
-
*/
|
|
208
|
-
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
209
|
-
/**
|
|
210
|
-
* HTTP PUT /gateway/connection/{realm}
|
|
211
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
212
|
-
*/
|
|
213
|
-
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
214
|
-
/**
|
|
215
|
-
* HTTP GET /gateway/status/{realm}
|
|
216
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
217
|
-
*/
|
|
218
|
-
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
219
|
-
}
|
|
220
|
-
export declare class ConfigurationResourceClient<O> {
|
|
221
|
-
protected httpClient: HttpClient<O>;
|
|
222
|
-
constructor(httpClient: HttpClient<O>);
|
|
223
|
-
/**
|
|
224
|
-
* HTTP GET /configuration/manager
|
|
225
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
226
|
-
*/
|
|
227
|
-
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
228
|
-
/**
|
|
229
|
-
* HTTP PUT /configuration/manager
|
|
230
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
231
|
-
*/
|
|
232
|
-
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
233
|
-
/**
|
|
234
|
-
* HTTP POST /configuration/manager/file
|
|
235
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
236
|
-
*/
|
|
237
|
-
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
238
|
-
path?: string;
|
|
239
|
-
}, options?: O): RestResponse<string>;
|
|
240
|
-
/**
|
|
241
|
-
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
242
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
243
|
-
*/
|
|
244
|
-
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
245
|
-
}
|
|
246
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
247
|
-
protected httpClient: HttpClient<O>;
|
|
248
|
-
constructor(httpClient: HttpClient<O>);
|
|
249
|
-
/**
|
|
250
|
-
* HTTP POST /gateway/tunnel
|
|
251
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
252
|
-
*/
|
|
253
|
-
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
254
|
-
/**
|
|
255
|
-
* HTTP DELETE /gateway/tunnel
|
|
256
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
257
|
-
*/
|
|
258
|
-
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
259
|
-
/**
|
|
260
|
-
* HTTP GET /gateway/tunnel/{realm}
|
|
261
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
262
|
-
*/
|
|
263
|
-
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
264
|
-
/**
|
|
265
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
266
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
267
|
-
*/
|
|
268
|
-
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
269
|
-
/**
|
|
270
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
271
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
272
|
-
*/
|
|
273
|
-
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
274
|
-
}
|
|
275
|
-
export declare class StatusResourceClient<O> {
|
|
276
|
-
protected httpClient: HttpClient<O>;
|
|
277
|
-
constructor(httpClient: HttpClient<O>);
|
|
278
|
-
/**
|
|
279
|
-
* HTTP GET /health
|
|
280
|
-
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
281
|
-
*/
|
|
282
|
-
getHealthStatus(options?: O): RestResponse<{
|
|
283
|
-
[index: string]: any;
|
|
284
|
-
}>;
|
|
285
|
-
/**
|
|
286
|
-
* HTTP GET /info
|
|
287
|
-
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
288
|
-
*/
|
|
289
|
-
getInfo(options?: O): RestResponse<{
|
|
290
|
-
[index: string]: any;
|
|
291
|
-
}>;
|
|
292
|
-
}
|
|
293
12
|
export declare class SyslogResourceClient<O> {
|
|
294
13
|
protected httpClient: HttpClient<O>;
|
|
295
14
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -322,58 +41,121 @@ export declare class SyslogResourceClient<O> {
|
|
|
322
41
|
subCategory?: string[];
|
|
323
42
|
}, options?: O): RestResponse<any>;
|
|
324
43
|
}
|
|
325
|
-
export declare class
|
|
44
|
+
export declare class ExternalServiceResourceClient<O> {
|
|
45
|
+
protected httpClient: HttpClient<O>;
|
|
46
|
+
constructor(httpClient: HttpClient<O>);
|
|
47
|
+
/**
|
|
48
|
+
* Response code 200 - List of registered external services
|
|
49
|
+
* HTTP GET /service
|
|
50
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
51
|
+
*/
|
|
52
|
+
getServices(queryParams?: {
|
|
53
|
+
realm?: string;
|
|
54
|
+
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
55
|
+
/**
|
|
56
|
+
* Response code 200 - Service registered successfully
|
|
57
|
+
* Response code 400 - Invalid external service object
|
|
58
|
+
* Response code 409 - ExternalService instance already registered
|
|
59
|
+
* HTTP POST /service
|
|
60
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
61
|
+
*/
|
|
62
|
+
registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
63
|
+
/**
|
|
64
|
+
* Response code 200 - List of registered external services
|
|
65
|
+
* HTTP GET /service/global
|
|
66
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
67
|
+
*/
|
|
68
|
+
getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
|
|
69
|
+
/**
|
|
70
|
+
* Response code 200 - Service registered successfully
|
|
71
|
+
* Response code 400 - Invalid external service object
|
|
72
|
+
* Response code 409 - ExternalService instance already registered
|
|
73
|
+
* HTTP POST /service/global
|
|
74
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
75
|
+
*/
|
|
76
|
+
registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
77
|
+
/**
|
|
78
|
+
* Response code 204 - Service deregistered successfully
|
|
79
|
+
* Response code 404 - Service instance not found
|
|
80
|
+
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
81
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
82
|
+
*/
|
|
83
|
+
deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
84
|
+
/**
|
|
85
|
+
* Response code 200 - ExternalService retrieved successfully
|
|
86
|
+
* Response code 404 - ExternalService not found
|
|
87
|
+
* HTTP GET /service/{serviceId}/{instanceId}
|
|
88
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
89
|
+
*/
|
|
90
|
+
getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
|
|
91
|
+
/**
|
|
92
|
+
* Response code 204 - Heartbeat sent successfully
|
|
93
|
+
* Response code 404 - Service instance not found
|
|
94
|
+
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
95
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
96
|
+
*/
|
|
97
|
+
heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
98
|
+
}
|
|
99
|
+
export declare class ConfigurationResourceClient<O> {
|
|
326
100
|
protected httpClient: HttpClient<O>;
|
|
327
101
|
constructor(httpClient: HttpClient<O>);
|
|
328
102
|
/**
|
|
329
|
-
* HTTP
|
|
330
|
-
* Java method: org.openremote.model.
|
|
103
|
+
* HTTP GET /configuration/manager
|
|
104
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
331
105
|
*/
|
|
332
|
-
|
|
333
|
-
assetIds?: string[];
|
|
334
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
106
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
335
107
|
/**
|
|
336
|
-
* HTTP
|
|
337
|
-
* Java method: org.openremote.model.
|
|
108
|
+
* HTTP PUT /configuration/manager
|
|
109
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
338
110
|
*/
|
|
339
|
-
|
|
340
|
-
realm?: string;
|
|
341
|
-
status?: Model.AlarmStatus;
|
|
342
|
-
assetId?: string;
|
|
343
|
-
assigneeId?: string;
|
|
344
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
111
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
345
112
|
/**
|
|
346
|
-
* HTTP
|
|
347
|
-
* Java method: org.openremote.model.
|
|
113
|
+
* HTTP POST /configuration/manager/file
|
|
114
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
348
115
|
*/
|
|
349
|
-
|
|
116
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
117
|
+
path?: string;
|
|
118
|
+
}, options?: O): RestResponse<string>;
|
|
350
119
|
/**
|
|
351
|
-
* HTTP
|
|
352
|
-
* Java method: org.openremote.model.
|
|
120
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
121
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
353
122
|
*/
|
|
354
|
-
|
|
123
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
124
|
+
}
|
|
125
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
126
|
+
protected httpClient: HttpClient<O>;
|
|
127
|
+
constructor(httpClient: HttpClient<O>);
|
|
355
128
|
/**
|
|
356
|
-
* HTTP GET /
|
|
357
|
-
* Java method: org.openremote.model.
|
|
129
|
+
* HTTP GET /asset/datapoint/export
|
|
130
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
358
131
|
*/
|
|
359
|
-
|
|
132
|
+
getDatapointExport(queryParams?: {
|
|
133
|
+
attributeRefs?: string;
|
|
134
|
+
fromTimestamp?: number;
|
|
135
|
+
toTimestamp?: number;
|
|
136
|
+
}, options?: O): RestResponse<any>;
|
|
360
137
|
/**
|
|
361
|
-
* HTTP
|
|
362
|
-
* Java method: org.openremote.model.
|
|
138
|
+
* HTTP GET /asset/datapoint/periods
|
|
139
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
363
140
|
*/
|
|
364
|
-
|
|
141
|
+
getDatapointPeriod(queryParams?: {
|
|
142
|
+
assetId?: string;
|
|
143
|
+
attributeName?: string;
|
|
144
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
365
145
|
/**
|
|
366
|
-
* HTTP
|
|
367
|
-
* Java method: org.openremote.model.
|
|
146
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
147
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
368
148
|
*/
|
|
369
|
-
|
|
149
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
150
|
+
}
|
|
151
|
+
export declare class ConsoleResourceClient<O> {
|
|
152
|
+
protected httpClient: HttpClient<O>;
|
|
153
|
+
constructor(httpClient: HttpClient<O>);
|
|
370
154
|
/**
|
|
371
|
-
* HTTP
|
|
372
|
-
* Java method: org.openremote.model.
|
|
155
|
+
* HTTP POST /console/register
|
|
156
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
373
157
|
*/
|
|
374
|
-
|
|
375
|
-
realm?: string;
|
|
376
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
158
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
377
159
|
}
|
|
378
160
|
export declare class UserResourceClient<O> {
|
|
379
161
|
protected httpClient: HttpClient<O>;
|
|
@@ -499,6 +281,163 @@ export declare class UserResourceClient<O> {
|
|
|
499
281
|
*/
|
|
500
282
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
501
283
|
}
|
|
284
|
+
export declare class AssetResourceClient<O> {
|
|
285
|
+
protected httpClient: HttpClient<O>;
|
|
286
|
+
constructor(httpClient: HttpClient<O>);
|
|
287
|
+
/**
|
|
288
|
+
* HTTP POST /asset
|
|
289
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
290
|
+
*/
|
|
291
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
292
|
+
/**
|
|
293
|
+
* HTTP DELETE /asset
|
|
294
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
295
|
+
*/
|
|
296
|
+
delete(queryParams?: {
|
|
297
|
+
assetId?: string[];
|
|
298
|
+
}, options?: O): RestResponse<void>;
|
|
299
|
+
/**
|
|
300
|
+
* HTTP PUT /asset/attributes
|
|
301
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
302
|
+
*/
|
|
303
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
304
|
+
/**
|
|
305
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
306
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
307
|
+
*/
|
|
308
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
309
|
+
/**
|
|
310
|
+
* HTTP DELETE /asset/parent
|
|
311
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
312
|
+
*/
|
|
313
|
+
updateNoneParent(queryParams?: {
|
|
314
|
+
assetIds?: string[];
|
|
315
|
+
}, options?: O): RestResponse<void>;
|
|
316
|
+
/**
|
|
317
|
+
* HTTP GET /asset/partial/{assetId}
|
|
318
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
319
|
+
*/
|
|
320
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
321
|
+
/**
|
|
322
|
+
* HTTP POST /asset/query
|
|
323
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
324
|
+
*/
|
|
325
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
326
|
+
/**
|
|
327
|
+
* HTTP GET /asset/user/current
|
|
328
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
329
|
+
*/
|
|
330
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
331
|
+
/**
|
|
332
|
+
* HTTP POST /asset/user/link
|
|
333
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
334
|
+
*/
|
|
335
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
336
|
+
/**
|
|
337
|
+
* HTTP GET /asset/user/link
|
|
338
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
339
|
+
*/
|
|
340
|
+
getUserAssetLinks(queryParams?: {
|
|
341
|
+
realm?: string;
|
|
342
|
+
userId?: string;
|
|
343
|
+
assetId?: string;
|
|
344
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
345
|
+
/**
|
|
346
|
+
* HTTP POST /asset/user/link/delete
|
|
347
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
348
|
+
*/
|
|
349
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
350
|
+
/**
|
|
351
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
352
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
353
|
+
*/
|
|
354
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
355
|
+
/**
|
|
356
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
357
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
358
|
+
*/
|
|
359
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
360
|
+
/**
|
|
361
|
+
* HTTP GET /asset/{assetId}
|
|
362
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
363
|
+
*/
|
|
364
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
365
|
+
/**
|
|
366
|
+
* HTTP PUT /asset/{assetId}
|
|
367
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
368
|
+
*/
|
|
369
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
370
|
+
/**
|
|
371
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
372
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
373
|
+
*/
|
|
374
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
375
|
+
/**
|
|
376
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
377
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
378
|
+
*/
|
|
379
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
380
|
+
/**
|
|
381
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
382
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
383
|
+
*/
|
|
384
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
385
|
+
assetIds?: string[];
|
|
386
|
+
}, options?: O): RestResponse<void>;
|
|
387
|
+
}
|
|
388
|
+
export declare class AlarmResourceClient<O> {
|
|
389
|
+
protected httpClient: HttpClient<O>;
|
|
390
|
+
constructor(httpClient: HttpClient<O>);
|
|
391
|
+
/**
|
|
392
|
+
* HTTP POST /alarm
|
|
393
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
394
|
+
*/
|
|
395
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
396
|
+
assetIds?: string[];
|
|
397
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
398
|
+
/**
|
|
399
|
+
* HTTP GET /alarm
|
|
400
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
401
|
+
*/
|
|
402
|
+
getAlarms(queryParams?: {
|
|
403
|
+
realm?: string;
|
|
404
|
+
status?: Model.AlarmStatus;
|
|
405
|
+
assetId?: string;
|
|
406
|
+
assigneeId?: string;
|
|
407
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
408
|
+
/**
|
|
409
|
+
* HTTP DELETE /alarm
|
|
410
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
411
|
+
*/
|
|
412
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
413
|
+
/**
|
|
414
|
+
* HTTP PUT /alarm/assets
|
|
415
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
416
|
+
*/
|
|
417
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
418
|
+
/**
|
|
419
|
+
* HTTP GET /alarm/{alarmId}
|
|
420
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
421
|
+
*/
|
|
422
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
423
|
+
/**
|
|
424
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
425
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
426
|
+
*/
|
|
427
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
428
|
+
/**
|
|
429
|
+
* HTTP PUT /alarm/{alarmId}
|
|
430
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
431
|
+
*/
|
|
432
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
433
|
+
/**
|
|
434
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
435
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
436
|
+
*/
|
|
437
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
438
|
+
realm?: string;
|
|
439
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
440
|
+
}
|
|
502
441
|
export declare class ProvisioningResourceClient<O> {
|
|
503
442
|
protected httpClient: HttpClient<O>;
|
|
504
443
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -523,49 +462,70 @@ export declare class ProvisioningResourceClient<O> {
|
|
|
523
462
|
*/
|
|
524
463
|
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
525
464
|
}
|
|
526
|
-
export declare class
|
|
465
|
+
export declare class AppResourceClient<O> {
|
|
466
|
+
protected httpClient: HttpClient<O>;
|
|
467
|
+
constructor(httpClient: HttpClient<O>);
|
|
468
|
+
/**
|
|
469
|
+
* HTTP GET /apps
|
|
470
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
471
|
+
*/
|
|
472
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
473
|
+
/**
|
|
474
|
+
* HTTP GET /apps/consoleConfig
|
|
475
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
476
|
+
*/
|
|
477
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
478
|
+
/**
|
|
479
|
+
* HTTP GET /apps/info
|
|
480
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
481
|
+
*/
|
|
482
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
483
|
+
}
|
|
484
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
527
485
|
protected httpClient: HttpClient<O>;
|
|
528
486
|
constructor(httpClient: HttpClient<O>);
|
|
529
487
|
/**
|
|
530
|
-
* HTTP
|
|
531
|
-
* Java method: org.openremote.model.
|
|
488
|
+
* HTTP POST /gateway/tunnel
|
|
489
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
532
490
|
*/
|
|
533
|
-
|
|
534
|
-
parentId?: string;
|
|
535
|
-
parentType?: string;
|
|
536
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
491
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
537
492
|
/**
|
|
538
|
-
* HTTP
|
|
539
|
-
* Java method: org.openremote.model.
|
|
493
|
+
* HTTP DELETE /gateway/tunnel
|
|
494
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
540
495
|
*/
|
|
541
|
-
|
|
542
|
-
parentId?: string;
|
|
543
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
496
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
544
497
|
/**
|
|
545
|
-
* HTTP GET /
|
|
546
|
-
* Java method: org.openremote.model.
|
|
498
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
499
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
547
500
|
*/
|
|
548
|
-
|
|
549
|
-
parentId?: string;
|
|
550
|
-
parentType?: string;
|
|
551
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
501
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
552
502
|
/**
|
|
553
|
-
* HTTP GET /
|
|
554
|
-
* Java method: org.openremote.model.
|
|
503
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
504
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
555
505
|
*/
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
506
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
507
|
+
/**
|
|
508
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
509
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
510
|
+
*/
|
|
511
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
512
|
+
}
|
|
513
|
+
export declare class StatusResourceClient<O> {
|
|
514
|
+
protected httpClient: HttpClient<O>;
|
|
515
|
+
constructor(httpClient: HttpClient<O>);
|
|
516
|
+
/**
|
|
517
|
+
* HTTP GET /health
|
|
518
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
519
|
+
*/
|
|
520
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
521
|
+
[index: string]: any;
|
|
560
522
|
}>;
|
|
561
523
|
/**
|
|
562
|
-
* HTTP GET /
|
|
563
|
-
* Java method: org.openremote.model.
|
|
524
|
+
* HTTP GET /info
|
|
525
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
564
526
|
*/
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
}, options?: O): RestResponse<{
|
|
568
|
-
[index: string]: Model.ValueDescriptor;
|
|
527
|
+
getInfo(options?: O): RestResponse<{
|
|
528
|
+
[index: string]: any;
|
|
569
529
|
}>;
|
|
570
530
|
}
|
|
571
531
|
export declare class AgentResourceClient<O> {
|
|
@@ -594,6 +554,42 @@ export declare class AgentResourceClient<O> {
|
|
|
594
554
|
realm?: string;
|
|
595
555
|
}, options?: O): RestResponse<Model.Agent[]>;
|
|
596
556
|
}
|
|
557
|
+
export declare class GatewayClientResourceClient<O> {
|
|
558
|
+
protected httpClient: HttpClient<O>;
|
|
559
|
+
constructor(httpClient: HttpClient<O>);
|
|
560
|
+
/**
|
|
561
|
+
* HTTP DELETE /gateway/connection
|
|
562
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
563
|
+
*/
|
|
564
|
+
deleteConnections(queryParams?: {
|
|
565
|
+
realm?: string[];
|
|
566
|
+
}, options?: O): RestResponse<void>;
|
|
567
|
+
/**
|
|
568
|
+
* HTTP GET /gateway/connection
|
|
569
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
570
|
+
*/
|
|
571
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
572
|
+
/**
|
|
573
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
574
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
575
|
+
*/
|
|
576
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
577
|
+
/**
|
|
578
|
+
* HTTP GET /gateway/connection/{realm}
|
|
579
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
580
|
+
*/
|
|
581
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
582
|
+
/**
|
|
583
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
584
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
585
|
+
*/
|
|
586
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
587
|
+
/**
|
|
588
|
+
* HTTP GET /gateway/status/{realm}
|
|
589
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
590
|
+
*/
|
|
591
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
592
|
+
}
|
|
597
593
|
export declare class RulesResourceClient<O> {
|
|
598
594
|
protected httpClient: HttpClient<O>;
|
|
599
595
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -702,186 +698,224 @@ export declare class RulesResourceClient<O> {
|
|
|
702
698
|
*/
|
|
703
699
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
704
700
|
}
|
|
705
|
-
export declare class
|
|
701
|
+
export declare class FlowResourceClient<O> {
|
|
706
702
|
protected httpClient: HttpClient<O>;
|
|
707
703
|
constructor(httpClient: HttpClient<O>);
|
|
708
704
|
/**
|
|
709
|
-
* HTTP GET /
|
|
710
|
-
* Java method: org.openremote.model.
|
|
705
|
+
* HTTP GET /flow
|
|
706
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
711
707
|
*/
|
|
712
|
-
|
|
713
|
-
[id: string]: unknown;
|
|
714
|
-
}>;
|
|
708
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
715
709
|
/**
|
|
716
|
-
* HTTP
|
|
717
|
-
* Java method: org.openremote.model.
|
|
710
|
+
* HTTP GET /flow/{name}
|
|
711
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
718
712
|
*/
|
|
719
|
-
|
|
720
|
-
[id: string]: unknown;
|
|
721
|
-
}>;
|
|
713
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
722
714
|
/**
|
|
723
|
-
* HTTP
|
|
724
|
-
* Java method: org.openremote.model.
|
|
715
|
+
* HTTP GET /flow/{type}
|
|
716
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
725
717
|
*/
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
718
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
719
|
+
}
|
|
720
|
+
export declare class NotificationResourceClient<O> {
|
|
721
|
+
protected httpClient: HttpClient<O>;
|
|
722
|
+
constructor(httpClient: HttpClient<O>);
|
|
729
723
|
/**
|
|
730
|
-
* HTTP GET /
|
|
731
|
-
* Java method: org.openremote.model.
|
|
724
|
+
* HTTP GET /notification
|
|
725
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
732
726
|
*/
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
727
|
+
getNotifications(queryParams?: {
|
|
728
|
+
id?: number;
|
|
729
|
+
type?: string;
|
|
730
|
+
from?: number;
|
|
731
|
+
to?: number;
|
|
732
|
+
realmId?: string;
|
|
733
|
+
userId?: string;
|
|
734
|
+
assetId?: string;
|
|
735
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
736
736
|
/**
|
|
737
|
-
* HTTP
|
|
738
|
-
* Java method: org.openremote.model.
|
|
737
|
+
* HTTP DELETE /notification
|
|
738
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
739
739
|
*/
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
740
|
+
removeNotifications(queryParams?: {
|
|
741
|
+
id?: number;
|
|
742
|
+
type?: string;
|
|
743
|
+
from?: number;
|
|
744
|
+
to?: number;
|
|
745
|
+
realmId?: string;
|
|
746
|
+
userId?: string;
|
|
747
|
+
assetId?: string;
|
|
748
|
+
}, options?: O): RestResponse<void>;
|
|
743
749
|
/**
|
|
744
|
-
* HTTP
|
|
745
|
-
* Java method: org.openremote.model.
|
|
750
|
+
* HTTP POST /notification/alert
|
|
751
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
746
752
|
*/
|
|
747
|
-
|
|
753
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
748
754
|
/**
|
|
749
|
-
* HTTP
|
|
750
|
-
* Java method: org.openremote.model.
|
|
755
|
+
* HTTP DELETE /notification/{notificationId}
|
|
756
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
751
757
|
*/
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
758
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
759
|
+
/**
|
|
760
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
761
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
762
|
+
*/
|
|
763
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
764
|
+
targetId?: string;
|
|
765
|
+
}, options?: O): RestResponse<void>;
|
|
766
|
+
/**
|
|
767
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
768
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
769
|
+
*/
|
|
770
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
771
|
+
targetId?: string;
|
|
772
|
+
}, options?: O): RestResponse<void>;
|
|
757
773
|
}
|
|
758
|
-
export declare class
|
|
774
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
759
775
|
protected httpClient: HttpClient<O>;
|
|
760
776
|
constructor(httpClient: HttpClient<O>);
|
|
761
777
|
/**
|
|
762
|
-
*
|
|
763
|
-
*
|
|
764
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
778
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
779
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
765
780
|
*/
|
|
766
|
-
|
|
767
|
-
realm?: string;
|
|
768
|
-
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
781
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
769
782
|
/**
|
|
770
|
-
*
|
|
771
|
-
*
|
|
772
|
-
* Response code 409 - ExternalService instance already registered
|
|
773
|
-
* HTTP POST /service
|
|
774
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
783
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
784
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
775
785
|
*/
|
|
776
|
-
|
|
786
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
787
|
+
}
|
|
788
|
+
export declare class DashboardResourceClient<O> {
|
|
789
|
+
protected httpClient: HttpClient<O>;
|
|
790
|
+
constructor(httpClient: HttpClient<O>);
|
|
777
791
|
/**
|
|
778
|
-
*
|
|
779
|
-
*
|
|
780
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
792
|
+
* HTTP POST /dashboard
|
|
793
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
781
794
|
*/
|
|
782
|
-
|
|
795
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
783
796
|
/**
|
|
784
|
-
*
|
|
785
|
-
*
|
|
786
|
-
* Response code 409 - ExternalService instance already registered
|
|
787
|
-
* HTTP POST /service/global
|
|
788
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
797
|
+
* HTTP PUT /dashboard
|
|
798
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
789
799
|
*/
|
|
790
|
-
|
|
800
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
791
801
|
/**
|
|
792
|
-
*
|
|
793
|
-
*
|
|
794
|
-
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
795
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
802
|
+
* HTTP GET /dashboard/all/{realm}
|
|
803
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
796
804
|
*/
|
|
797
|
-
|
|
805
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
798
806
|
/**
|
|
799
|
-
*
|
|
800
|
-
*
|
|
801
|
-
* HTTP GET /service/{serviceId}/{instanceId}
|
|
802
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
807
|
+
* HTTP POST /dashboard/query
|
|
808
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
803
809
|
*/
|
|
804
|
-
|
|
810
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
805
811
|
/**
|
|
806
|
-
*
|
|
807
|
-
*
|
|
808
|
-
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
809
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
812
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
813
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
810
814
|
*/
|
|
811
|
-
|
|
815
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
816
|
+
/**
|
|
817
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
818
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
819
|
+
*/
|
|
820
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
812
821
|
}
|
|
813
|
-
export declare class
|
|
822
|
+
export declare class AssetModelResourceClient<O> {
|
|
814
823
|
protected httpClient: HttpClient<O>;
|
|
815
824
|
constructor(httpClient: HttpClient<O>);
|
|
816
825
|
/**
|
|
817
|
-
* HTTP GET /
|
|
818
|
-
* Java method: org.openremote.model.
|
|
826
|
+
* HTTP GET /model/assetDescriptors
|
|
827
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
819
828
|
*/
|
|
820
|
-
|
|
829
|
+
getAssetDescriptors(queryParams?: {
|
|
830
|
+
parentId?: string;
|
|
831
|
+
parentType?: string;
|
|
832
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
821
833
|
/**
|
|
822
|
-
* HTTP GET /
|
|
823
|
-
* Java method: org.openremote.model.
|
|
834
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
835
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
824
836
|
*/
|
|
825
|
-
|
|
837
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
838
|
+
parentId?: string;
|
|
839
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
826
840
|
/**
|
|
827
|
-
* HTTP GET /
|
|
828
|
-
* Java method: org.openremote.model.
|
|
841
|
+
* HTTP GET /model/assetInfos
|
|
842
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
829
843
|
*/
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
constructor(httpClient: HttpClient<O>);
|
|
844
|
+
getAssetInfos(queryParams?: {
|
|
845
|
+
parentId?: string;
|
|
846
|
+
parentType?: string;
|
|
847
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
835
848
|
/**
|
|
836
|
-
* HTTP
|
|
837
|
-
* Java method: org.openremote.model.
|
|
849
|
+
* HTTP GET /model/metaItemDescriptors
|
|
850
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
838
851
|
*/
|
|
839
|
-
|
|
852
|
+
getMetaItemDescriptors(queryParams?: {
|
|
853
|
+
parentId?: string;
|
|
854
|
+
}, options?: O): RestResponse<{
|
|
855
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
856
|
+
}>;
|
|
857
|
+
/**
|
|
858
|
+
* HTTP GET /model/valueDescriptors
|
|
859
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
860
|
+
*/
|
|
861
|
+
getValueDescriptors(queryParams?: {
|
|
862
|
+
parentId?: string;
|
|
863
|
+
}, options?: O): RestResponse<{
|
|
864
|
+
[index: string]: Model.ValueDescriptor;
|
|
865
|
+
}>;
|
|
840
866
|
}
|
|
841
|
-
export declare class
|
|
867
|
+
export declare class MapResourceClient<O> {
|
|
842
868
|
protected httpClient: HttpClient<O>;
|
|
843
869
|
constructor(httpClient: HttpClient<O>);
|
|
844
870
|
/**
|
|
845
|
-
* HTTP GET /
|
|
846
|
-
* Java method: org.openremote.model.
|
|
871
|
+
* HTTP GET /map
|
|
872
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
847
873
|
*/
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
toTimestamp?: number;
|
|
852
|
-
}, options?: O): RestResponse<any>;
|
|
874
|
+
getSettings(options?: O): RestResponse<{
|
|
875
|
+
[id: string]: unknown;
|
|
876
|
+
}>;
|
|
853
877
|
/**
|
|
854
|
-
* HTTP
|
|
855
|
-
* Java method: org.openremote.model.
|
|
878
|
+
* HTTP PUT /map
|
|
879
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
856
880
|
*/
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
881
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
882
|
+
[id: string]: unknown;
|
|
883
|
+
}>;
|
|
861
884
|
/**
|
|
862
|
-
* HTTP
|
|
863
|
-
* Java method: org.openremote.model.
|
|
885
|
+
* HTTP DELETE /map/deleteMap
|
|
886
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
864
887
|
*/
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
protected httpClient: HttpClient<O>;
|
|
869
|
-
constructor(httpClient: HttpClient<O>);
|
|
888
|
+
deleteMap(options?: O): RestResponse<{
|
|
889
|
+
[id: string]: unknown;
|
|
890
|
+
}>;
|
|
870
891
|
/**
|
|
871
|
-
* HTTP GET /
|
|
872
|
-
* Java method: org.openremote.model.
|
|
892
|
+
* HTTP GET /map/getCustomMapInfo
|
|
893
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
873
894
|
*/
|
|
874
|
-
|
|
895
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
896
|
+
[id: string]: unknown;
|
|
897
|
+
}>;
|
|
875
898
|
/**
|
|
876
|
-
* HTTP GET /
|
|
877
|
-
* Java method: org.openremote.model.
|
|
899
|
+
* HTTP GET /map/js
|
|
900
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
878
901
|
*/
|
|
879
|
-
|
|
902
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
903
|
+
[id: string]: unknown;
|
|
904
|
+
}>;
|
|
880
905
|
/**
|
|
881
|
-
* HTTP GET /
|
|
882
|
-
* Java method: org.openremote.model.
|
|
906
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
907
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
883
908
|
*/
|
|
884
|
-
|
|
909
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
910
|
+
/**
|
|
911
|
+
* HTTP POST /map/upload
|
|
912
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
913
|
+
*/
|
|
914
|
+
uploadMap(queryParams?: {
|
|
915
|
+
filename?: string;
|
|
916
|
+
}, options?: O): RestResponse<{
|
|
917
|
+
[id: string]: unknown;
|
|
918
|
+
}>;
|
|
885
919
|
}
|
|
886
920
|
export declare class RealmResourceClient<O> {
|
|
887
921
|
protected httpClient: HttpClient<O>;
|
|
@@ -917,87 +951,53 @@ export declare class RealmResourceClient<O> {
|
|
|
917
951
|
*/
|
|
918
952
|
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
919
953
|
}
|
|
920
|
-
export declare class DashboardResourceClient<O> {
|
|
921
|
-
protected httpClient: HttpClient<O>;
|
|
922
|
-
constructor(httpClient: HttpClient<O>);
|
|
923
|
-
/**
|
|
924
|
-
* HTTP POST /dashboard
|
|
925
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
926
|
-
*/
|
|
927
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
928
|
-
/**
|
|
929
|
-
* HTTP PUT /dashboard
|
|
930
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
931
|
-
*/
|
|
932
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
933
|
-
/**
|
|
934
|
-
* HTTP GET /dashboard/all/{realm}
|
|
935
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
936
|
-
*/
|
|
937
|
-
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
938
|
-
/**
|
|
939
|
-
* HTTP POST /dashboard/query
|
|
940
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
941
|
-
*/
|
|
942
|
-
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
943
|
-
/**
|
|
944
|
-
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
945
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
946
|
-
*/
|
|
947
|
-
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
948
|
-
/**
|
|
949
|
-
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
950
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
951
|
-
*/
|
|
952
|
-
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
953
|
-
}
|
|
954
954
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
955
955
|
export declare class ApiClient {
|
|
956
|
-
protected _notificationResource: AxiosNotificationResourceClient;
|
|
957
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
958
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
959
|
-
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
960
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
961
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
962
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
963
956
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
964
|
-
protected
|
|
957
|
+
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
958
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
959
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
960
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
965
961
|
protected _userResource: AxiosUserResourceClient;
|
|
962
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
963
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
966
964
|
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
967
|
-
protected
|
|
965
|
+
protected _appResource: AxiosAppResourceClient;
|
|
966
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
967
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
968
968
|
protected _agentResource: AxiosAgentResourceClient;
|
|
969
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
969
970
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
970
|
-
protected _mapResource: AxiosMapResourceClient;
|
|
971
|
-
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
972
971
|
protected _flowResource: AxiosFlowResourceClient;
|
|
973
|
-
protected
|
|
974
|
-
protected
|
|
975
|
-
protected _appResource: AxiosAppResourceClient;
|
|
976
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
972
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
973
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
977
974
|
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
975
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
976
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
977
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
978
978
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
979
|
-
get NotificationResource(): AxiosNotificationResourceClient;
|
|
980
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
981
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
982
|
-
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
983
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
984
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
985
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
986
979
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
987
|
-
get
|
|
980
|
+
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
981
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
982
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
983
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
988
984
|
get UserResource(): AxiosUserResourceClient;
|
|
985
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
986
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
989
987
|
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
990
|
-
get
|
|
988
|
+
get AppResource(): AxiosAppResourceClient;
|
|
989
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
990
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
991
991
|
get AgentResource(): AxiosAgentResourceClient;
|
|
992
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
992
993
|
get RulesResource(): AxiosRulesResourceClient;
|
|
993
|
-
get MapResource(): AxiosMapResourceClient;
|
|
994
|
-
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
995
994
|
get FlowResource(): AxiosFlowResourceClient;
|
|
996
|
-
get
|
|
997
|
-
get
|
|
998
|
-
get AppResource(): AxiosAppResourceClient;
|
|
999
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
995
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
996
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1000
997
|
get DashboardResource(): AxiosDashboardResourceClient;
|
|
998
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
999
|
+
get MapResource(): AxiosMapResourceClient;
|
|
1000
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
1001
1001
|
}
|
|
1002
1002
|
import * as Axios from "axios";
|
|
1003
1003
|
declare module "axios" {
|
|
@@ -1005,69 +1005,69 @@ declare module "axios" {
|
|
|
1005
1005
|
data: R;
|
|
1006
1006
|
}
|
|
1007
1007
|
}
|
|
1008
|
-
export declare class
|
|
1008
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1009
1009
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1010
1010
|
}
|
|
1011
|
-
export declare class
|
|
1011
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1012
1012
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1013
1013
|
}
|
|
1014
|
-
export declare class
|
|
1014
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1015
1015
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1016
1016
|
}
|
|
1017
|
-
export declare class
|
|
1017
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1018
1018
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1019
1019
|
}
|
|
1020
|
-
export declare class
|
|
1020
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1021
1021
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1022
1022
|
}
|
|
1023
|
-
export declare class
|
|
1023
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1024
1024
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1025
1025
|
}
|
|
1026
|
-
export declare class
|
|
1026
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1027
1027
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1028
1028
|
}
|
|
1029
|
-
export declare class
|
|
1029
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1030
1030
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1031
1031
|
}
|
|
1032
|
-
export declare class
|
|
1032
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1033
1033
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1034
1034
|
}
|
|
1035
|
-
export declare class
|
|
1035
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1036
1036
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1037
1037
|
}
|
|
1038
|
-
export declare class
|
|
1038
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1039
1039
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1040
1040
|
}
|
|
1041
|
-
export declare class
|
|
1041
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1042
1042
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1043
1043
|
}
|
|
1044
1044
|
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1045
1045
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1046
1046
|
}
|
|
1047
|
-
export declare class
|
|
1047
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1048
1048
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1049
1049
|
}
|
|
1050
|
-
export declare class
|
|
1050
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1051
1051
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1052
1052
|
}
|
|
1053
|
-
export declare class
|
|
1053
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1054
1054
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1055
1055
|
}
|
|
1056
|
-
export declare class
|
|
1056
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1057
1057
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1058
1058
|
}
|
|
1059
|
-
export declare class
|
|
1059
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1060
1060
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1061
1061
|
}
|
|
1062
|
-
export declare class
|
|
1062
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1063
1063
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1064
1064
|
}
|
|
1065
|
-
export declare class
|
|
1065
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1066
1066
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1067
1067
|
}
|
|
1068
|
-
export declare class
|
|
1068
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1069
1069
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1070
1070
|
}
|
|
1071
|
-
export declare class
|
|
1071
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1072
1072
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1073
1073
|
}
|