@openremote/rest 1.9.0-snapshot.20250828102241 → 1.9.0-snapshot.20250828123218
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 +367 -367
- 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,56 +9,109 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
13
13
|
protected httpClient: HttpClient<O>;
|
|
14
14
|
constructor(httpClient: HttpClient<O>);
|
|
15
15
|
/**
|
|
16
|
-
* HTTP POST /
|
|
17
|
-
* Java method: org.openremote.model.
|
|
16
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
17
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
20
|
+
/**
|
|
21
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
22
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
23
|
+
*/
|
|
24
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
20
25
|
}
|
|
21
|
-
export declare class
|
|
26
|
+
export declare class AssetModelResourceClient<O> {
|
|
22
27
|
protected httpClient: HttpClient<O>;
|
|
23
28
|
constructor(httpClient: HttpClient<O>);
|
|
24
29
|
/**
|
|
25
|
-
* HTTP GET /
|
|
26
|
-
* Java method: org.openremote.model.
|
|
30
|
+
* HTTP GET /model/assetDescriptors
|
|
31
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
27
32
|
*/
|
|
28
|
-
|
|
29
|
-
|
|
33
|
+
getAssetDescriptors(queryParams?: {
|
|
34
|
+
parentId?: string;
|
|
35
|
+
parentType?: string;
|
|
36
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
37
|
+
/**
|
|
38
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
39
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
40
|
+
*/
|
|
41
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
42
|
+
parentId?: string;
|
|
43
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
44
|
+
/**
|
|
45
|
+
* HTTP GET /model/assetInfos
|
|
46
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
47
|
+
*/
|
|
48
|
+
getAssetInfos(queryParams?: {
|
|
49
|
+
parentId?: string;
|
|
50
|
+
parentType?: string;
|
|
51
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
52
|
+
/**
|
|
53
|
+
* HTTP GET /model/metaItemDescriptors
|
|
54
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
55
|
+
*/
|
|
56
|
+
getMetaItemDescriptors(queryParams?: {
|
|
57
|
+
parentId?: string;
|
|
58
|
+
}, options?: O): RestResponse<{
|
|
59
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
30
60
|
}>;
|
|
31
61
|
/**
|
|
32
|
-
* HTTP GET /
|
|
33
|
-
* Java method: org.openremote.model.
|
|
62
|
+
* HTTP GET /model/valueDescriptors
|
|
63
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
34
64
|
*/
|
|
35
|
-
|
|
36
|
-
|
|
65
|
+
getValueDescriptors(queryParams?: {
|
|
66
|
+
parentId?: string;
|
|
67
|
+
}, options?: O): RestResponse<{
|
|
68
|
+
[index: string]: Model.ValueDescriptor;
|
|
37
69
|
}>;
|
|
38
70
|
}
|
|
39
|
-
export declare class
|
|
71
|
+
export declare class FlowResourceClient<O> {
|
|
40
72
|
protected httpClient: HttpClient<O>;
|
|
41
73
|
constructor(httpClient: HttpClient<O>);
|
|
42
74
|
/**
|
|
43
|
-
* HTTP
|
|
44
|
-
* Java method: org.openremote.model.
|
|
75
|
+
* HTTP GET /flow
|
|
76
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
45
77
|
*/
|
|
46
|
-
|
|
78
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
47
79
|
/**
|
|
48
|
-
* HTTP GET /
|
|
49
|
-
* Java method: org.openremote.model.
|
|
80
|
+
* HTTP GET /flow/{name}
|
|
81
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
50
82
|
*/
|
|
51
|
-
|
|
83
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
52
84
|
/**
|
|
53
|
-
* HTTP
|
|
54
|
-
* Java method: org.openremote.model.
|
|
85
|
+
* HTTP GET /flow/{type}
|
|
86
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
55
87
|
*/
|
|
56
|
-
|
|
88
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
89
|
+
}
|
|
90
|
+
export declare class AgentResourceClient<O> {
|
|
91
|
+
protected httpClient: HttpClient<O>;
|
|
92
|
+
constructor(httpClient: HttpClient<O>);
|
|
57
93
|
/**
|
|
58
|
-
* HTTP
|
|
59
|
-
* Java method: org.openremote.model.
|
|
94
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
95
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
60
96
|
*/
|
|
61
|
-
|
|
97
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
98
|
+
realm?: string;
|
|
99
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
100
|
+
/**
|
|
101
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
102
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
103
|
+
*/
|
|
104
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
105
|
+
realm?: string;
|
|
106
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
107
|
+
/**
|
|
108
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
109
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
110
|
+
*/
|
|
111
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
112
|
+
parentId?: string;
|
|
113
|
+
realm?: string;
|
|
114
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
62
115
|
}
|
|
63
116
|
export declare class ConfigurationResourceClient<O> {
|
|
64
117
|
protected httpClient: HttpClient<O>;
|
|
@@ -86,76 +139,6 @@ export declare class ConfigurationResourceClient<O> {
|
|
|
86
139
|
*/
|
|
87
140
|
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
88
141
|
}
|
|
89
|
-
export declare class GatewayClientResourceClient<O> {
|
|
90
|
-
protected httpClient: HttpClient<O>;
|
|
91
|
-
constructor(httpClient: HttpClient<O>);
|
|
92
|
-
/**
|
|
93
|
-
* HTTP DELETE /gateway/connection
|
|
94
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
95
|
-
*/
|
|
96
|
-
deleteConnections(queryParams?: {
|
|
97
|
-
realm?: string[];
|
|
98
|
-
}, options?: O): RestResponse<void>;
|
|
99
|
-
/**
|
|
100
|
-
* HTTP GET /gateway/connection
|
|
101
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
102
|
-
*/
|
|
103
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
104
|
-
/**
|
|
105
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
106
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
107
|
-
*/
|
|
108
|
-
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
109
|
-
/**
|
|
110
|
-
* HTTP GET /gateway/connection/{realm}
|
|
111
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
112
|
-
*/
|
|
113
|
-
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
114
|
-
/**
|
|
115
|
-
* HTTP PUT /gateway/connection/{realm}
|
|
116
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
117
|
-
*/
|
|
118
|
-
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
119
|
-
/**
|
|
120
|
-
* HTTP GET /gateway/status/{realm}
|
|
121
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
122
|
-
*/
|
|
123
|
-
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
124
|
-
}
|
|
125
|
-
export declare class RealmResourceClient<O> {
|
|
126
|
-
protected httpClient: HttpClient<O>;
|
|
127
|
-
constructor(httpClient: HttpClient<O>);
|
|
128
|
-
/**
|
|
129
|
-
* HTTP POST /realm
|
|
130
|
-
* Java method: org.openremote.model.security.RealmResource.create
|
|
131
|
-
*/
|
|
132
|
-
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
133
|
-
/**
|
|
134
|
-
* HTTP GET /realm
|
|
135
|
-
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
136
|
-
*/
|
|
137
|
-
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
138
|
-
/**
|
|
139
|
-
* HTTP GET /realm/accessible
|
|
140
|
-
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
141
|
-
*/
|
|
142
|
-
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
143
|
-
/**
|
|
144
|
-
* HTTP DELETE /realm/{name}
|
|
145
|
-
* Java method: org.openremote.model.security.RealmResource.delete
|
|
146
|
-
*/
|
|
147
|
-
delete(name: string, options?: O): RestResponse<void>;
|
|
148
|
-
/**
|
|
149
|
-
* HTTP GET /realm/{name}
|
|
150
|
-
* Java method: org.openremote.model.security.RealmResource.get
|
|
151
|
-
*/
|
|
152
|
-
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
153
|
-
/**
|
|
154
|
-
* HTTP PUT /realm/{name}
|
|
155
|
-
* Java method: org.openremote.model.security.RealmResource.update
|
|
156
|
-
*/
|
|
157
|
-
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
158
|
-
}
|
|
159
142
|
export declare class MapResourceClient<O> {
|
|
160
143
|
protected httpClient: HttpClient<O>;
|
|
161
144
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -209,19 +192,120 @@ export declare class MapResourceClient<O> {
|
|
|
209
192
|
[id: string]: unknown;
|
|
210
193
|
}>;
|
|
211
194
|
}
|
|
212
|
-
export declare class
|
|
195
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
213
196
|
protected httpClient: HttpClient<O>;
|
|
214
197
|
constructor(httpClient: HttpClient<O>);
|
|
215
198
|
/**
|
|
216
|
-
* HTTP POST /
|
|
217
|
-
* Java method: org.openremote.model.
|
|
199
|
+
* HTTP POST /gateway/tunnel
|
|
200
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
218
201
|
*/
|
|
219
|
-
|
|
202
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
220
203
|
/**
|
|
221
|
-
* HTTP
|
|
222
|
-
* Java method: org.openremote.model.
|
|
204
|
+
* HTTP DELETE /gateway/tunnel
|
|
205
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
223
206
|
*/
|
|
224
|
-
|
|
207
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
208
|
+
/**
|
|
209
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
210
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
211
|
+
*/
|
|
212
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
213
|
+
/**
|
|
214
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
215
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
216
|
+
*/
|
|
217
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
218
|
+
/**
|
|
219
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
220
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
221
|
+
*/
|
|
222
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
223
|
+
}
|
|
224
|
+
export declare class ConsoleResourceClient<O> {
|
|
225
|
+
protected httpClient: HttpClient<O>;
|
|
226
|
+
constructor(httpClient: HttpClient<O>);
|
|
227
|
+
/**
|
|
228
|
+
* HTTP POST /console/register
|
|
229
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
230
|
+
*/
|
|
231
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
232
|
+
}
|
|
233
|
+
export declare class AlarmResourceClient<O> {
|
|
234
|
+
protected httpClient: HttpClient<O>;
|
|
235
|
+
constructor(httpClient: HttpClient<O>);
|
|
236
|
+
/**
|
|
237
|
+
* HTTP POST /alarm
|
|
238
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
239
|
+
*/
|
|
240
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
241
|
+
assetIds?: string[];
|
|
242
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
243
|
+
/**
|
|
244
|
+
* HTTP GET /alarm
|
|
245
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
246
|
+
*/
|
|
247
|
+
getAlarms(queryParams?: {
|
|
248
|
+
realm?: string;
|
|
249
|
+
status?: Model.AlarmStatus;
|
|
250
|
+
assetId?: string;
|
|
251
|
+
assigneeId?: string;
|
|
252
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
253
|
+
/**
|
|
254
|
+
* HTTP DELETE /alarm
|
|
255
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
256
|
+
*/
|
|
257
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
258
|
+
/**
|
|
259
|
+
* HTTP PUT /alarm/assets
|
|
260
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
261
|
+
*/
|
|
262
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
263
|
+
/**
|
|
264
|
+
* HTTP GET /alarm/{alarmId}
|
|
265
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
266
|
+
*/
|
|
267
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
268
|
+
/**
|
|
269
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
270
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
271
|
+
*/
|
|
272
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
273
|
+
/**
|
|
274
|
+
* HTTP PUT /alarm/{alarmId}
|
|
275
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
276
|
+
*/
|
|
277
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
278
|
+
/**
|
|
279
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
280
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
281
|
+
*/
|
|
282
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
283
|
+
realm?: string;
|
|
284
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
285
|
+
}
|
|
286
|
+
export declare class ProvisioningResourceClient<O> {
|
|
287
|
+
protected httpClient: HttpClient<O>;
|
|
288
|
+
constructor(httpClient: HttpClient<O>);
|
|
289
|
+
/**
|
|
290
|
+
* HTTP POST /provisioning
|
|
291
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
292
|
+
*/
|
|
293
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
294
|
+
/**
|
|
295
|
+
* HTTP GET /provisioning
|
|
296
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
297
|
+
*/
|
|
298
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
299
|
+
/**
|
|
300
|
+
* HTTP DELETE /provisioning/{id}
|
|
301
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
302
|
+
*/
|
|
303
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
304
|
+
/**
|
|
305
|
+
* HTTP PUT /provisioning/{id}
|
|
306
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
307
|
+
*/
|
|
308
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
225
309
|
}
|
|
226
310
|
export declare class UserResourceClient<O> {
|
|
227
311
|
protected httpClient: HttpClient<O>;
|
|
@@ -347,118 +431,93 @@ export declare class UserResourceClient<O> {
|
|
|
347
431
|
*/
|
|
348
432
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
349
433
|
}
|
|
350
|
-
export declare class
|
|
434
|
+
export declare class StatusResourceClient<O> {
|
|
351
435
|
protected httpClient: HttpClient<O>;
|
|
352
436
|
constructor(httpClient: HttpClient<O>);
|
|
353
437
|
/**
|
|
354
|
-
* HTTP GET /
|
|
355
|
-
* Java method: org.openremote.model.
|
|
356
|
-
*/
|
|
357
|
-
getDatapointExport(queryParams?: {
|
|
358
|
-
attributeRefs?: string;
|
|
359
|
-
fromTimestamp?: number;
|
|
360
|
-
toTimestamp?: number;
|
|
361
|
-
}, options?: O): RestResponse<any>;
|
|
362
|
-
/**
|
|
363
|
-
* HTTP GET /asset/datapoint/periods
|
|
364
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
438
|
+
* HTTP GET /health
|
|
439
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
365
440
|
*/
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
441
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
442
|
+
[index: string]: any;
|
|
443
|
+
}>;
|
|
370
444
|
/**
|
|
371
|
-
* HTTP
|
|
372
|
-
* Java method: org.openremote.model.
|
|
445
|
+
* HTTP GET /info
|
|
446
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
373
447
|
*/
|
|
374
|
-
|
|
448
|
+
getInfo(options?: O): RestResponse<{
|
|
449
|
+
[index: string]: any;
|
|
450
|
+
}>;
|
|
375
451
|
}
|
|
376
|
-
export declare class
|
|
452
|
+
export declare class RealmResourceClient<O> {
|
|
377
453
|
protected httpClient: HttpClient<O>;
|
|
378
454
|
constructor(httpClient: HttpClient<O>);
|
|
379
455
|
/**
|
|
380
|
-
* HTTP POST /
|
|
381
|
-
* Java method: org.openremote.model.
|
|
382
|
-
*/
|
|
383
|
-
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
384
|
-
assetIds?: string[];
|
|
385
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
386
|
-
/**
|
|
387
|
-
* HTTP GET /alarm
|
|
388
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
389
|
-
*/
|
|
390
|
-
getAlarms(queryParams?: {
|
|
391
|
-
realm?: string;
|
|
392
|
-
status?: Model.AlarmStatus;
|
|
393
|
-
assetId?: string;
|
|
394
|
-
assigneeId?: string;
|
|
395
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
396
|
-
/**
|
|
397
|
-
* HTTP DELETE /alarm
|
|
398
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
456
|
+
* HTTP POST /realm
|
|
457
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
399
458
|
*/
|
|
400
|
-
|
|
459
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
401
460
|
/**
|
|
402
|
-
* HTTP
|
|
403
|
-
* Java method: org.openremote.model.
|
|
461
|
+
* HTTP GET /realm
|
|
462
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
404
463
|
*/
|
|
405
|
-
|
|
464
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
406
465
|
/**
|
|
407
|
-
* HTTP GET /
|
|
408
|
-
* Java method: org.openremote.model.
|
|
466
|
+
* HTTP GET /realm/accessible
|
|
467
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
409
468
|
*/
|
|
410
|
-
|
|
469
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
411
470
|
/**
|
|
412
|
-
* HTTP DELETE /
|
|
413
|
-
* Java method: org.openremote.model.
|
|
471
|
+
* HTTP DELETE /realm/{name}
|
|
472
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
414
473
|
*/
|
|
415
|
-
|
|
474
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
416
475
|
/**
|
|
417
|
-
* HTTP
|
|
418
|
-
* Java method: org.openremote.model.
|
|
476
|
+
* HTTP GET /realm/{name}
|
|
477
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
419
478
|
*/
|
|
420
|
-
|
|
479
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
421
480
|
/**
|
|
422
|
-
* HTTP
|
|
423
|
-
* Java method: org.openremote.model.
|
|
481
|
+
* HTTP PUT /realm/{name}
|
|
482
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
424
483
|
*/
|
|
425
|
-
|
|
426
|
-
realm?: string;
|
|
427
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
484
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
428
485
|
}
|
|
429
|
-
export declare class
|
|
486
|
+
export declare class GatewayClientResourceClient<O> {
|
|
430
487
|
protected httpClient: HttpClient<O>;
|
|
431
488
|
constructor(httpClient: HttpClient<O>);
|
|
432
489
|
/**
|
|
433
|
-
* HTTP
|
|
434
|
-
* Java method: org.openremote.model.
|
|
490
|
+
* HTTP DELETE /gateway/connection
|
|
491
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
435
492
|
*/
|
|
436
|
-
|
|
493
|
+
deleteConnections(queryParams?: {
|
|
494
|
+
realm?: string[];
|
|
495
|
+
}, options?: O): RestResponse<void>;
|
|
437
496
|
/**
|
|
438
|
-
* HTTP
|
|
439
|
-
* Java method: org.openremote.model.
|
|
497
|
+
* HTTP GET /gateway/connection
|
|
498
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
440
499
|
*/
|
|
441
|
-
|
|
500
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
442
501
|
/**
|
|
443
|
-
* HTTP
|
|
444
|
-
* Java method: org.openremote.model.
|
|
502
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
503
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
445
504
|
*/
|
|
446
|
-
|
|
505
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
447
506
|
/**
|
|
448
|
-
* HTTP
|
|
449
|
-
* Java method: org.openremote.model.
|
|
507
|
+
* HTTP GET /gateway/connection/{realm}
|
|
508
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
450
509
|
*/
|
|
451
|
-
|
|
510
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
452
511
|
/**
|
|
453
|
-
* HTTP
|
|
454
|
-
* Java method: org.openremote.model.
|
|
512
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
513
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
455
514
|
*/
|
|
456
|
-
|
|
515
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
457
516
|
/**
|
|
458
|
-
* HTTP GET /
|
|
459
|
-
* Java method: org.openremote.model.
|
|
517
|
+
* HTTP GET /gateway/status/{realm}
|
|
518
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
460
519
|
*/
|
|
461
|
-
|
|
520
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
462
521
|
}
|
|
463
522
|
export declare class AssetResourceClient<O> {
|
|
464
523
|
protected httpClient: HttpClient<O>;
|
|
@@ -564,76 +623,85 @@ export declare class AssetResourceClient<O> {
|
|
|
564
623
|
assetIds?: string[];
|
|
565
624
|
}, options?: O): RestResponse<void>;
|
|
566
625
|
}
|
|
567
|
-
export declare class
|
|
626
|
+
export declare class NotificationResourceClient<O> {
|
|
568
627
|
protected httpClient: HttpClient<O>;
|
|
569
628
|
constructor(httpClient: HttpClient<O>);
|
|
570
629
|
/**
|
|
571
|
-
* HTTP GET /
|
|
572
|
-
* Java method: org.openremote.model.
|
|
630
|
+
* HTTP GET /notification
|
|
631
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
573
632
|
*/
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
633
|
+
getNotifications(queryParams?: {
|
|
634
|
+
id?: number;
|
|
635
|
+
type?: string;
|
|
636
|
+
from?: number;
|
|
637
|
+
to?: number;
|
|
638
|
+
realmId?: string;
|
|
639
|
+
userId?: string;
|
|
640
|
+
assetId?: string;
|
|
641
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
577
642
|
/**
|
|
578
|
-
* HTTP
|
|
579
|
-
* Java method: org.openremote.model.
|
|
643
|
+
* HTTP DELETE /notification
|
|
644
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
580
645
|
*/
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
646
|
+
removeNotifications(queryParams?: {
|
|
647
|
+
id?: number;
|
|
648
|
+
type?: string;
|
|
649
|
+
from?: number;
|
|
650
|
+
to?: number;
|
|
651
|
+
realmId?: string;
|
|
652
|
+
userId?: string;
|
|
653
|
+
assetId?: string;
|
|
654
|
+
}, options?: O): RestResponse<void>;
|
|
584
655
|
/**
|
|
585
|
-
* HTTP
|
|
586
|
-
* Java method: org.openremote.model.
|
|
656
|
+
* HTTP POST /notification/alert
|
|
657
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
587
658
|
*/
|
|
588
|
-
|
|
589
|
-
parentId?: string;
|
|
590
|
-
realm?: string;
|
|
591
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
592
|
-
}
|
|
593
|
-
export declare class AssetModelResourceClient<O> {
|
|
594
|
-
protected httpClient: HttpClient<O>;
|
|
595
|
-
constructor(httpClient: HttpClient<O>);
|
|
659
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
596
660
|
/**
|
|
597
|
-
* HTTP
|
|
598
|
-
* Java method: org.openremote.model.
|
|
661
|
+
* HTTP DELETE /notification/{notificationId}
|
|
662
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
599
663
|
*/
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
664
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
665
|
+
/**
|
|
666
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
667
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
668
|
+
*/
|
|
669
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
670
|
+
targetId?: string;
|
|
671
|
+
}, options?: O): RestResponse<void>;
|
|
604
672
|
/**
|
|
605
|
-
* HTTP
|
|
606
|
-
* Java method: org.openremote.model.
|
|
673
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
674
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
607
675
|
*/
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
}, options?: O): RestResponse<
|
|
676
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
677
|
+
targetId?: string;
|
|
678
|
+
}, options?: O): RestResponse<void>;
|
|
679
|
+
}
|
|
680
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
681
|
+
protected httpClient: HttpClient<O>;
|
|
682
|
+
constructor(httpClient: HttpClient<O>);
|
|
611
683
|
/**
|
|
612
|
-
* HTTP GET /
|
|
613
|
-
* Java method: org.openremote.model.
|
|
684
|
+
* HTTP GET /asset/datapoint/export
|
|
685
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
614
686
|
*/
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
687
|
+
getDatapointExport(queryParams?: {
|
|
688
|
+
attributeRefs?: string;
|
|
689
|
+
fromTimestamp?: number;
|
|
690
|
+
toTimestamp?: number;
|
|
691
|
+
}, options?: O): RestResponse<any>;
|
|
619
692
|
/**
|
|
620
|
-
* HTTP GET /
|
|
621
|
-
* Java method: org.openremote.model.
|
|
693
|
+
* HTTP GET /asset/datapoint/periods
|
|
694
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
622
695
|
*/
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
}>;
|
|
696
|
+
getDatapointPeriod(queryParams?: {
|
|
697
|
+
assetId?: string;
|
|
698
|
+
attributeName?: string;
|
|
699
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
628
700
|
/**
|
|
629
|
-
* HTTP
|
|
630
|
-
* Java method: org.openremote.model.
|
|
701
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
702
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
631
703
|
*/
|
|
632
|
-
|
|
633
|
-
parentId?: string;
|
|
634
|
-
}, options?: O): RestResponse<{
|
|
635
|
-
[index: string]: Model.ValueDescriptor;
|
|
636
|
-
}>;
|
|
704
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
637
705
|
}
|
|
638
706
|
export declare class RulesResourceClient<O> {
|
|
639
707
|
protected httpClient: HttpClient<O>;
|
|
@@ -743,79 +811,6 @@ export declare class RulesResourceClient<O> {
|
|
|
743
811
|
*/
|
|
744
812
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
745
813
|
}
|
|
746
|
-
export declare class FlowResourceClient<O> {
|
|
747
|
-
protected httpClient: HttpClient<O>;
|
|
748
|
-
constructor(httpClient: HttpClient<O>);
|
|
749
|
-
/**
|
|
750
|
-
* HTTP GET /flow
|
|
751
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
752
|
-
*/
|
|
753
|
-
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
754
|
-
/**
|
|
755
|
-
* HTTP GET /flow/{name}
|
|
756
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
757
|
-
*/
|
|
758
|
-
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
759
|
-
/**
|
|
760
|
-
* HTTP GET /flow/{type}
|
|
761
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
762
|
-
*/
|
|
763
|
-
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
764
|
-
}
|
|
765
|
-
export declare class NotificationResourceClient<O> {
|
|
766
|
-
protected httpClient: HttpClient<O>;
|
|
767
|
-
constructor(httpClient: HttpClient<O>);
|
|
768
|
-
/**
|
|
769
|
-
* HTTP GET /notification
|
|
770
|
-
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
771
|
-
*/
|
|
772
|
-
getNotifications(queryParams?: {
|
|
773
|
-
id?: number;
|
|
774
|
-
type?: string;
|
|
775
|
-
from?: number;
|
|
776
|
-
to?: number;
|
|
777
|
-
realmId?: string;
|
|
778
|
-
userId?: string;
|
|
779
|
-
assetId?: string;
|
|
780
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
781
|
-
/**
|
|
782
|
-
* HTTP DELETE /notification
|
|
783
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
784
|
-
*/
|
|
785
|
-
removeNotifications(queryParams?: {
|
|
786
|
-
id?: number;
|
|
787
|
-
type?: string;
|
|
788
|
-
from?: number;
|
|
789
|
-
to?: number;
|
|
790
|
-
realmId?: string;
|
|
791
|
-
userId?: string;
|
|
792
|
-
assetId?: string;
|
|
793
|
-
}, options?: O): RestResponse<void>;
|
|
794
|
-
/**
|
|
795
|
-
* HTTP POST /notification/alert
|
|
796
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
797
|
-
*/
|
|
798
|
-
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
799
|
-
/**
|
|
800
|
-
* HTTP DELETE /notification/{notificationId}
|
|
801
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
802
|
-
*/
|
|
803
|
-
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
804
|
-
/**
|
|
805
|
-
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
806
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
807
|
-
*/
|
|
808
|
-
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
809
|
-
targetId?: string;
|
|
810
|
-
}, options?: O): RestResponse<void>;
|
|
811
|
-
/**
|
|
812
|
-
* HTTP PUT /notification/{notificationId}/delivered
|
|
813
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
814
|
-
*/
|
|
815
|
-
notificationDelivered(notificationId: number, queryParams?: {
|
|
816
|
-
targetId?: string;
|
|
817
|
-
}, options?: O): RestResponse<void>;
|
|
818
|
-
}
|
|
819
814
|
export declare class AppResourceClient<O> {
|
|
820
815
|
protected httpClient: HttpClient<O>;
|
|
821
816
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -867,80 +862,85 @@ export declare class SyslogResourceClient<O> {
|
|
|
867
862
|
subCategory?: string[];
|
|
868
863
|
}, options?: O): RestResponse<any>;
|
|
869
864
|
}
|
|
870
|
-
export declare class
|
|
865
|
+
export declare class DashboardResourceClient<O> {
|
|
871
866
|
protected httpClient: HttpClient<O>;
|
|
872
867
|
constructor(httpClient: HttpClient<O>);
|
|
873
868
|
/**
|
|
874
|
-
* HTTP POST /
|
|
875
|
-
* Java method: org.openremote.model.
|
|
869
|
+
* HTTP POST /dashboard
|
|
870
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
876
871
|
*/
|
|
877
|
-
|
|
872
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
878
873
|
/**
|
|
879
|
-
* HTTP
|
|
880
|
-
* Java method: org.openremote.model.
|
|
874
|
+
* HTTP PUT /dashboard
|
|
875
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
881
876
|
*/
|
|
882
|
-
|
|
877
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
883
878
|
/**
|
|
884
|
-
* HTTP GET /
|
|
885
|
-
* Java method: org.openremote.model.
|
|
879
|
+
* HTTP GET /dashboard/all/{realm}
|
|
880
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
886
881
|
*/
|
|
887
|
-
|
|
882
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
888
883
|
/**
|
|
889
|
-
* HTTP
|
|
890
|
-
* Java method: org.openremote.model.
|
|
884
|
+
* HTTP POST /dashboard/query
|
|
885
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
891
886
|
*/
|
|
892
|
-
|
|
887
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
893
888
|
/**
|
|
894
|
-
* HTTP
|
|
895
|
-
* Java method: org.openremote.model.
|
|
889
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
890
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
896
891
|
*/
|
|
897
|
-
|
|
892
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
893
|
+
/**
|
|
894
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
895
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
896
|
+
*/
|
|
897
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
898
898
|
}
|
|
899
899
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
900
900
|
export declare class ApiClient {
|
|
901
|
-
protected
|
|
902
|
-
protected
|
|
903
|
-
protected
|
|
901
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
902
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
903
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
904
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
904
905
|
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
905
|
-
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
906
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
907
906
|
protected _mapResource: AxiosMapResourceClient;
|
|
908
|
-
protected
|
|
909
|
-
protected
|
|
910
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
907
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
908
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
911
909
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
912
|
-
protected
|
|
910
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
911
|
+
protected _userResource: AxiosUserResourceClient;
|
|
912
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
913
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
914
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
913
915
|
protected _assetResource: AxiosAssetResourceClient;
|
|
914
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
915
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
916
|
-
protected _rulesResource: AxiosRulesResourceClient;
|
|
917
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
918
916
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
917
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
918
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
919
919
|
protected _appResource: AxiosAppResourceClient;
|
|
920
920
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
921
|
-
protected
|
|
921
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
922
922
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
923
|
-
get
|
|
924
|
-
get
|
|
925
|
-
get
|
|
923
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
924
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
925
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
926
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
926
927
|
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
927
|
-
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
928
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
929
928
|
get MapResource(): AxiosMapResourceClient;
|
|
930
|
-
get
|
|
931
|
-
get
|
|
932
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
929
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
930
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
933
931
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
934
|
-
get
|
|
932
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
933
|
+
get UserResource(): AxiosUserResourceClient;
|
|
934
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
935
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
936
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
935
937
|
get AssetResource(): AxiosAssetResourceClient;
|
|
936
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
937
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
938
|
-
get RulesResource(): AxiosRulesResourceClient;
|
|
939
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
940
938
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
939
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
940
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
941
941
|
get AppResource(): AxiosAppResourceClient;
|
|
942
942
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
943
|
-
get
|
|
943
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
944
944
|
}
|
|
945
945
|
import * as Axios from "axios";
|
|
946
946
|
declare module "axios" {
|
|
@@ -948,58 +948,58 @@ declare module "axios" {
|
|
|
948
948
|
data: R;
|
|
949
949
|
}
|
|
950
950
|
}
|
|
951
|
-
export declare class
|
|
951
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
952
952
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
953
953
|
}
|
|
954
|
-
export declare class
|
|
954
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
955
955
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
956
956
|
}
|
|
957
|
-
export declare class
|
|
957
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
958
958
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
959
959
|
}
|
|
960
|
-
export declare class
|
|
960
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
961
961
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
962
962
|
}
|
|
963
|
-
export declare class
|
|
963
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
964
964
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
965
965
|
}
|
|
966
|
-
export declare class
|
|
966
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
967
967
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
968
968
|
}
|
|
969
|
-
export declare class
|
|
969
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
970
970
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
971
971
|
}
|
|
972
|
-
export declare class
|
|
972
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
973
973
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
974
974
|
}
|
|
975
|
-
export declare class
|
|
975
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
976
976
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
977
977
|
}
|
|
978
|
-
export declare class
|
|
978
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
979
979
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
980
980
|
}
|
|
981
|
-
export declare class
|
|
981
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
982
982
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
983
983
|
}
|
|
984
|
-
export declare class
|
|
984
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
985
985
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
986
986
|
}
|
|
987
|
-
export declare class
|
|
987
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
988
988
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
989
989
|
}
|
|
990
|
-
export declare class
|
|
990
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
991
991
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
992
992
|
}
|
|
993
|
-
export declare class
|
|
993
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
994
994
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
995
995
|
}
|
|
996
|
-
export declare class
|
|
996
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
997
997
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
998
998
|
}
|
|
999
|
-
export declare class
|
|
999
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1000
1000
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1001
1001
|
}
|
|
1002
|
-
export declare class
|
|
1002
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1003
1003
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1004
1004
|
}
|
|
1005
1005
|
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
@@ -1008,6 +1008,6 @@ export declare class AxiosAppResourceClient extends AppResourceClient<Axios.Axio
|
|
|
1008
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 AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1012
1012
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1013
1013
|
}
|