@openremote/rest 1.7.0-snapshot.20250605081830 → 1.7.0-snapshot.20250605135340
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +1 -1
- package/lib/restclient.d.ts +352 -352
- 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,69 +9,213 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class AssetModelResourceClient<O> {
|
|
13
13
|
protected httpClient: HttpClient<O>;
|
|
14
14
|
constructor(httpClient: HttpClient<O>);
|
|
15
15
|
/**
|
|
16
|
-
* HTTP GET /
|
|
17
|
-
* Java method: org.openremote.model.
|
|
16
|
+
* HTTP GET /model/assetDescriptors
|
|
17
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
getAssetDescriptors(queryParams?: {
|
|
20
|
+
parentId?: string;
|
|
21
|
+
parentType?: string;
|
|
22
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
20
23
|
/**
|
|
21
|
-
* HTTP GET /
|
|
22
|
-
* Java method: org.openremote.model.
|
|
24
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
25
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
23
26
|
*/
|
|
24
|
-
|
|
27
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
28
|
+
parentId?: string;
|
|
29
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
25
30
|
/**
|
|
26
|
-
* HTTP GET /
|
|
27
|
-
* Java method: org.openremote.model.
|
|
31
|
+
* HTTP GET /model/assetInfos
|
|
32
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
28
33
|
*/
|
|
29
|
-
|
|
34
|
+
getAssetInfos(queryParams?: {
|
|
35
|
+
parentId?: string;
|
|
36
|
+
parentType?: string;
|
|
37
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
38
|
+
/**
|
|
39
|
+
* HTTP GET /model/metaItemDescriptors
|
|
40
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
41
|
+
*/
|
|
42
|
+
getMetaItemDescriptors(queryParams?: {
|
|
43
|
+
parentId?: string;
|
|
44
|
+
}, options?: O): RestResponse<{
|
|
45
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
46
|
+
}>;
|
|
47
|
+
/**
|
|
48
|
+
* HTTP GET /model/valueDescriptors
|
|
49
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
50
|
+
*/
|
|
51
|
+
getValueDescriptors(queryParams?: {
|
|
52
|
+
parentId?: string;
|
|
53
|
+
}, options?: O): RestResponse<{
|
|
54
|
+
[index: string]: Model.ValueDescriptor;
|
|
55
|
+
}>;
|
|
30
56
|
}
|
|
31
|
-
export declare class
|
|
57
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
32
58
|
protected httpClient: HttpClient<O>;
|
|
33
59
|
constructor(httpClient: HttpClient<O>);
|
|
34
60
|
/**
|
|
35
|
-
* HTTP
|
|
36
|
-
* Java method: org.openremote.model.
|
|
61
|
+
* HTTP GET /asset/datapoint/export
|
|
62
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
37
63
|
*/
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
64
|
+
getDatapointExport(queryParams?: {
|
|
65
|
+
attributeRefs?: string;
|
|
66
|
+
fromTimestamp?: number;
|
|
67
|
+
toTimestamp?: number;
|
|
68
|
+
}, options?: O): RestResponse<any>;
|
|
41
69
|
/**
|
|
42
|
-
* HTTP GET /
|
|
43
|
-
* Java method: org.openremote.model.
|
|
70
|
+
* HTTP GET /asset/datapoint/periods
|
|
71
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
44
72
|
*/
|
|
45
|
-
|
|
73
|
+
getDatapointPeriod(queryParams?: {
|
|
74
|
+
assetId?: string;
|
|
75
|
+
attributeName?: string;
|
|
76
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
46
77
|
/**
|
|
47
|
-
* HTTP
|
|
48
|
-
* Java method: org.openremote.model.
|
|
78
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
79
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
49
80
|
*/
|
|
50
|
-
|
|
81
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
82
|
+
}
|
|
83
|
+
export declare class AlarmResourceClient<O> {
|
|
84
|
+
protected httpClient: HttpClient<O>;
|
|
85
|
+
constructor(httpClient: HttpClient<O>);
|
|
51
86
|
/**
|
|
52
|
-
* HTTP
|
|
53
|
-
* Java method: org.openremote.model.
|
|
87
|
+
* HTTP POST /alarm
|
|
88
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
54
89
|
*/
|
|
55
|
-
|
|
90
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
91
|
+
assetIds?: string[];
|
|
92
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
56
93
|
/**
|
|
57
|
-
* HTTP
|
|
58
|
-
* Java method: org.openremote.model.
|
|
94
|
+
* HTTP GET /alarm
|
|
95
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
59
96
|
*/
|
|
60
|
-
|
|
97
|
+
getAlarms(queryParams?: {
|
|
98
|
+
realm?: string;
|
|
99
|
+
status?: Model.AlarmStatus;
|
|
100
|
+
assetId?: string;
|
|
101
|
+
assigneeId?: string;
|
|
102
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
61
103
|
/**
|
|
62
|
-
* HTTP
|
|
63
|
-
* Java method: org.openremote.model.
|
|
104
|
+
* HTTP DELETE /alarm
|
|
105
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
64
106
|
*/
|
|
65
|
-
|
|
107
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
108
|
+
/**
|
|
109
|
+
* HTTP PUT /alarm/assets
|
|
110
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
111
|
+
*/
|
|
112
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
113
|
+
/**
|
|
114
|
+
* HTTP GET /alarm/{alarmId}
|
|
115
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
116
|
+
*/
|
|
117
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
118
|
+
/**
|
|
119
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
120
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
121
|
+
*/
|
|
122
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
123
|
+
/**
|
|
124
|
+
* HTTP PUT /alarm/{alarmId}
|
|
125
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
126
|
+
*/
|
|
127
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
128
|
+
/**
|
|
129
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
130
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
131
|
+
*/
|
|
132
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
133
|
+
realm?: string;
|
|
134
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
66
135
|
}
|
|
67
|
-
export declare class
|
|
136
|
+
export declare class ProvisioningResourceClient<O> {
|
|
68
137
|
protected httpClient: HttpClient<O>;
|
|
69
138
|
constructor(httpClient: HttpClient<O>);
|
|
70
139
|
/**
|
|
71
|
-
* HTTP POST /
|
|
72
|
-
* Java method: org.openremote.model.
|
|
140
|
+
* HTTP POST /provisioning
|
|
141
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
73
142
|
*/
|
|
74
|
-
|
|
143
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
144
|
+
/**
|
|
145
|
+
* HTTP GET /provisioning
|
|
146
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
147
|
+
*/
|
|
148
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
149
|
+
/**
|
|
150
|
+
* HTTP DELETE /provisioning/{id}
|
|
151
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
152
|
+
*/
|
|
153
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
154
|
+
/**
|
|
155
|
+
* HTTP PUT /provisioning/{id}
|
|
156
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
157
|
+
*/
|
|
158
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
159
|
+
}
|
|
160
|
+
export declare class AgentResourceClient<O> {
|
|
161
|
+
protected httpClient: HttpClient<O>;
|
|
162
|
+
constructor(httpClient: HttpClient<O>);
|
|
163
|
+
/**
|
|
164
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
165
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
166
|
+
*/
|
|
167
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
168
|
+
realm?: string;
|
|
169
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
170
|
+
/**
|
|
171
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
172
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
173
|
+
*/
|
|
174
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
175
|
+
realm?: string;
|
|
176
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
177
|
+
/**
|
|
178
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
179
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
180
|
+
*/
|
|
181
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
182
|
+
parentId?: string;
|
|
183
|
+
realm?: string;
|
|
184
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
185
|
+
}
|
|
186
|
+
export declare class RealmResourceClient<O> {
|
|
187
|
+
protected httpClient: HttpClient<O>;
|
|
188
|
+
constructor(httpClient: HttpClient<O>);
|
|
189
|
+
/**
|
|
190
|
+
* HTTP POST /realm
|
|
191
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
192
|
+
*/
|
|
193
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
194
|
+
/**
|
|
195
|
+
* HTTP GET /realm
|
|
196
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
197
|
+
*/
|
|
198
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
199
|
+
/**
|
|
200
|
+
* HTTP GET /realm/accessible
|
|
201
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
202
|
+
*/
|
|
203
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
204
|
+
/**
|
|
205
|
+
* HTTP DELETE /realm/{name}
|
|
206
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
207
|
+
*/
|
|
208
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
209
|
+
/**
|
|
210
|
+
* HTTP GET /realm/{name}
|
|
211
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
212
|
+
*/
|
|
213
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
214
|
+
/**
|
|
215
|
+
* HTTP PUT /realm/{name}
|
|
216
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
217
|
+
*/
|
|
218
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
75
219
|
}
|
|
76
220
|
export declare class RulesResourceClient<O> {
|
|
77
221
|
protected httpClient: HttpClient<O>;
|
|
@@ -207,106 +351,50 @@ export declare class ConfigurationResourceClient<O> {
|
|
|
207
351
|
*/
|
|
208
352
|
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
209
353
|
}
|
|
210
|
-
export declare class
|
|
354
|
+
export declare class GatewayClientResourceClient<O> {
|
|
211
355
|
protected httpClient: HttpClient<O>;
|
|
212
356
|
constructor(httpClient: HttpClient<O>);
|
|
213
357
|
/**
|
|
214
|
-
* HTTP
|
|
215
|
-
* Java method: org.openremote.model.
|
|
358
|
+
* HTTP DELETE /gateway/connection
|
|
359
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
216
360
|
*/
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
toTimestamp?: number;
|
|
221
|
-
}, options?: O): RestResponse<any>;
|
|
361
|
+
deleteConnections(queryParams?: {
|
|
362
|
+
realm?: string[];
|
|
363
|
+
}, options?: O): RestResponse<void>;
|
|
222
364
|
/**
|
|
223
|
-
* HTTP GET /
|
|
224
|
-
* Java method: org.openremote.model.
|
|
365
|
+
* HTTP GET /gateway/connection
|
|
366
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
225
367
|
*/
|
|
226
|
-
|
|
227
|
-
assetId?: string;
|
|
228
|
-
attributeName?: string;
|
|
229
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
368
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
230
369
|
/**
|
|
231
|
-
* HTTP
|
|
232
|
-
* Java method: org.openremote.model.
|
|
370
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
371
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
233
372
|
*/
|
|
234
|
-
|
|
235
|
-
}
|
|
236
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
237
|
-
protected httpClient: HttpClient<O>;
|
|
238
|
-
constructor(httpClient: HttpClient<O>);
|
|
373
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
239
374
|
/**
|
|
240
|
-
* HTTP
|
|
241
|
-
* Java method: org.openremote.model.
|
|
375
|
+
* HTTP GET /gateway/connection/{realm}
|
|
376
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
242
377
|
*/
|
|
243
|
-
|
|
378
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
244
379
|
/**
|
|
245
|
-
* HTTP PUT /
|
|
246
|
-
* Java method: org.openremote.model.
|
|
247
|
-
*/
|
|
248
|
-
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
249
|
-
}
|
|
250
|
-
export declare class SyslogResourceClient<O> {
|
|
251
|
-
protected httpClient: HttpClient<O>;
|
|
252
|
-
constructor(httpClient: HttpClient<O>);
|
|
253
|
-
/**
|
|
254
|
-
* HTTP GET /syslog/config
|
|
255
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
256
|
-
*/
|
|
257
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
258
|
-
/**
|
|
259
|
-
* HTTP PUT /syslog/config
|
|
260
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
261
|
-
*/
|
|
262
|
-
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
263
|
-
/**
|
|
264
|
-
* HTTP DELETE /syslog/event
|
|
265
|
-
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
380
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
381
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
266
382
|
*/
|
|
267
|
-
|
|
383
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
268
384
|
/**
|
|
269
|
-
* HTTP GET /
|
|
270
|
-
* Java method: org.openremote.model.
|
|
385
|
+
* HTTP GET /gateway/status/{realm}
|
|
386
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
271
387
|
*/
|
|
272
|
-
|
|
273
|
-
level?: Model.SyslogLevel;
|
|
274
|
-
per_page?: number;
|
|
275
|
-
page?: number;
|
|
276
|
-
from?: number;
|
|
277
|
-
to?: number;
|
|
278
|
-
category?: Model.SyslogCategory[];
|
|
279
|
-
subCategory?: string[];
|
|
280
|
-
}, options?: O): RestResponse<any>;
|
|
388
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
281
389
|
}
|
|
282
|
-
export declare class
|
|
390
|
+
export declare class ConsoleResourceClient<O> {
|
|
283
391
|
protected httpClient: HttpClient<O>;
|
|
284
392
|
constructor(httpClient: HttpClient<O>);
|
|
285
393
|
/**
|
|
286
|
-
* HTTP POST /
|
|
287
|
-
* Java method: org.openremote.model.
|
|
288
|
-
*/
|
|
289
|
-
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
290
|
-
/**
|
|
291
|
-
* HTTP DELETE /gateway/tunnel
|
|
292
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
293
|
-
*/
|
|
294
|
-
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
295
|
-
/**
|
|
296
|
-
* HTTP GET /gateway/tunnel/{realm}
|
|
297
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
298
|
-
*/
|
|
299
|
-
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
300
|
-
/**
|
|
301
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
302
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
303
|
-
*/
|
|
304
|
-
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
305
|
-
/**
|
|
306
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
307
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
394
|
+
* HTTP POST /console/register
|
|
395
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
308
396
|
*/
|
|
309
|
-
|
|
397
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
310
398
|
}
|
|
311
399
|
export declare class AssetResourceClient<O> {
|
|
312
400
|
protected httpClient: HttpClient<O>;
|
|
@@ -516,23 +604,24 @@ export declare class UserResourceClient<O> {
|
|
|
516
604
|
*/
|
|
517
605
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
518
606
|
}
|
|
519
|
-
export declare class
|
|
607
|
+
export declare class FlowResourceClient<O> {
|
|
520
608
|
protected httpClient: HttpClient<O>;
|
|
521
609
|
constructor(httpClient: HttpClient<O>);
|
|
522
610
|
/**
|
|
523
|
-
* HTTP GET /
|
|
524
|
-
* Java method: org.openremote.model.
|
|
611
|
+
* HTTP GET /flow
|
|
612
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
525
613
|
*/
|
|
526
|
-
|
|
527
|
-
[index: string]: any;
|
|
528
|
-
}>;
|
|
614
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
529
615
|
/**
|
|
530
|
-
* HTTP GET /
|
|
531
|
-
* Java method: org.openremote.model.
|
|
616
|
+
* HTTP GET /flow/{name}
|
|
617
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
532
618
|
*/
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
619
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
620
|
+
/**
|
|
621
|
+
* HTTP GET /flow/{type}
|
|
622
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
623
|
+
*/
|
|
624
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
536
625
|
}
|
|
537
626
|
export declare class NotificationResourceClient<O> {
|
|
538
627
|
protected httpClient: HttpClient<O>;
|
|
@@ -588,108 +677,37 @@ export declare class NotificationResourceClient<O> {
|
|
|
588
677
|
targetId?: string;
|
|
589
678
|
}, options?: O): RestResponse<void>;
|
|
590
679
|
}
|
|
591
|
-
export declare class
|
|
592
|
-
protected httpClient: HttpClient<O>;
|
|
593
|
-
constructor(httpClient: HttpClient<O>);
|
|
594
|
-
/**
|
|
595
|
-
* HTTP POST /realm
|
|
596
|
-
* Java method: org.openremote.model.security.RealmResource.create
|
|
597
|
-
*/
|
|
598
|
-
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
599
|
-
/**
|
|
600
|
-
* HTTP GET /realm
|
|
601
|
-
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
602
|
-
*/
|
|
603
|
-
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
604
|
-
/**
|
|
605
|
-
* HTTP GET /realm/accessible
|
|
606
|
-
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
607
|
-
*/
|
|
608
|
-
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
609
|
-
/**
|
|
610
|
-
* HTTP DELETE /realm/{name}
|
|
611
|
-
* Java method: org.openremote.model.security.RealmResource.delete
|
|
612
|
-
*/
|
|
613
|
-
delete(name: string, options?: O): RestResponse<void>;
|
|
614
|
-
/**
|
|
615
|
-
* HTTP GET /realm/{name}
|
|
616
|
-
* Java method: org.openremote.model.security.RealmResource.get
|
|
617
|
-
*/
|
|
618
|
-
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
619
|
-
/**
|
|
620
|
-
* HTTP PUT /realm/{name}
|
|
621
|
-
* Java method: org.openremote.model.security.RealmResource.update
|
|
622
|
-
*/
|
|
623
|
-
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
624
|
-
}
|
|
625
|
-
export declare class ProvisioningResourceClient<O> {
|
|
680
|
+
export declare class StatusResourceClient<O> {
|
|
626
681
|
protected httpClient: HttpClient<O>;
|
|
627
682
|
constructor(httpClient: HttpClient<O>);
|
|
628
683
|
/**
|
|
629
|
-
* HTTP
|
|
630
|
-
* Java method: org.openremote.model.
|
|
631
|
-
*/
|
|
632
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
633
|
-
/**
|
|
634
|
-
* HTTP GET /provisioning
|
|
635
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
636
|
-
*/
|
|
637
|
-
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
638
|
-
/**
|
|
639
|
-
* HTTP DELETE /provisioning/{id}
|
|
640
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
684
|
+
* HTTP GET /health
|
|
685
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
641
686
|
*/
|
|
642
|
-
|
|
687
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
688
|
+
[index: string]: any;
|
|
689
|
+
}>;
|
|
643
690
|
/**
|
|
644
|
-
* HTTP
|
|
645
|
-
* Java method: org.openremote.model.
|
|
691
|
+
* HTTP GET /info
|
|
692
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
646
693
|
*/
|
|
647
|
-
|
|
694
|
+
getInfo(options?: O): RestResponse<{
|
|
695
|
+
[index: string]: any;
|
|
696
|
+
}>;
|
|
648
697
|
}
|
|
649
|
-
export declare class
|
|
698
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
650
699
|
protected httpClient: HttpClient<O>;
|
|
651
700
|
constructor(httpClient: HttpClient<O>);
|
|
652
701
|
/**
|
|
653
|
-
* HTTP
|
|
654
|
-
* Java method: org.openremote.model.
|
|
655
|
-
*/
|
|
656
|
-
getAssetDescriptors(queryParams?: {
|
|
657
|
-
parentId?: string;
|
|
658
|
-
parentType?: string;
|
|
659
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
660
|
-
/**
|
|
661
|
-
* HTTP GET /model/assetInfo/{assetType}
|
|
662
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
663
|
-
*/
|
|
664
|
-
getAssetInfo(assetType: string, queryParams?: {
|
|
665
|
-
parentId?: string;
|
|
666
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
667
|
-
/**
|
|
668
|
-
* HTTP GET /model/assetInfos
|
|
669
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
670
|
-
*/
|
|
671
|
-
getAssetInfos(queryParams?: {
|
|
672
|
-
parentId?: string;
|
|
673
|
-
parentType?: string;
|
|
674
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
675
|
-
/**
|
|
676
|
-
* HTTP GET /model/metaItemDescriptors
|
|
677
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
702
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
703
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
678
704
|
*/
|
|
679
|
-
|
|
680
|
-
parentId?: string;
|
|
681
|
-
}, options?: O): RestResponse<{
|
|
682
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
683
|
-
}>;
|
|
705
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
684
706
|
/**
|
|
685
|
-
* HTTP
|
|
686
|
-
* Java method: org.openremote.model.
|
|
707
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
708
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
687
709
|
*/
|
|
688
|
-
|
|
689
|
-
parentId?: string;
|
|
690
|
-
}, options?: O): RestResponse<{
|
|
691
|
-
[index: string]: Model.ValueDescriptor;
|
|
692
|
-
}>;
|
|
710
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
693
711
|
}
|
|
694
712
|
export declare class DashboardResourceClient<O> {
|
|
695
713
|
protected httpClient: HttpClient<O>;
|
|
@@ -725,103 +743,24 @@ export declare class DashboardResourceClient<O> {
|
|
|
725
743
|
*/
|
|
726
744
|
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
727
745
|
}
|
|
728
|
-
export declare class
|
|
729
|
-
protected httpClient: HttpClient<O>;
|
|
730
|
-
constructor(httpClient: HttpClient<O>);
|
|
731
|
-
/**
|
|
732
|
-
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
733
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
734
|
-
*/
|
|
735
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
736
|
-
realm?: string;
|
|
737
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
738
|
-
/**
|
|
739
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
740
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
741
|
-
*/
|
|
742
|
-
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
743
|
-
realm?: string;
|
|
744
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
745
|
-
/**
|
|
746
|
-
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
747
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
748
|
-
*/
|
|
749
|
-
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
750
|
-
parentId?: string;
|
|
751
|
-
realm?: string;
|
|
752
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
753
|
-
}
|
|
754
|
-
export declare class FlowResourceClient<O> {
|
|
755
|
-
protected httpClient: HttpClient<O>;
|
|
756
|
-
constructor(httpClient: HttpClient<O>);
|
|
757
|
-
/**
|
|
758
|
-
* HTTP GET /flow
|
|
759
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
760
|
-
*/
|
|
761
|
-
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
762
|
-
/**
|
|
763
|
-
* HTTP GET /flow/{name}
|
|
764
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
765
|
-
*/
|
|
766
|
-
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
767
|
-
/**
|
|
768
|
-
* HTTP GET /flow/{type}
|
|
769
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
770
|
-
*/
|
|
771
|
-
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
772
|
-
}
|
|
773
|
-
export declare class AlarmResourceClient<O> {
|
|
746
|
+
export declare class AppResourceClient<O> {
|
|
774
747
|
protected httpClient: HttpClient<O>;
|
|
775
748
|
constructor(httpClient: HttpClient<O>);
|
|
776
749
|
/**
|
|
777
|
-
* HTTP
|
|
778
|
-
* Java method: org.openremote.model.
|
|
779
|
-
*/
|
|
780
|
-
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
781
|
-
assetIds?: string[];
|
|
782
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
783
|
-
/**
|
|
784
|
-
* HTTP GET /alarm
|
|
785
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
786
|
-
*/
|
|
787
|
-
getAlarms(queryParams?: {
|
|
788
|
-
realm?: string;
|
|
789
|
-
status?: Model.AlarmStatus;
|
|
790
|
-
assetId?: string;
|
|
791
|
-
assigneeId?: string;
|
|
792
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
793
|
-
/**
|
|
794
|
-
* HTTP DELETE /alarm
|
|
795
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
796
|
-
*/
|
|
797
|
-
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
798
|
-
/**
|
|
799
|
-
* HTTP PUT /alarm/assets
|
|
800
|
-
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
801
|
-
*/
|
|
802
|
-
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
803
|
-
/**
|
|
804
|
-
* HTTP GET /alarm/{alarmId}
|
|
805
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
806
|
-
*/
|
|
807
|
-
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
808
|
-
/**
|
|
809
|
-
* HTTP DELETE /alarm/{alarmId}
|
|
810
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
750
|
+
* HTTP GET /apps
|
|
751
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
811
752
|
*/
|
|
812
|
-
|
|
753
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
813
754
|
/**
|
|
814
|
-
* HTTP
|
|
815
|
-
* Java method: org.openremote.model.
|
|
755
|
+
* HTTP GET /apps/consoleConfig
|
|
756
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
816
757
|
*/
|
|
817
|
-
|
|
758
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
818
759
|
/**
|
|
819
|
-
* HTTP GET /
|
|
820
|
-
* Java method: org.openremote.model.
|
|
760
|
+
* HTTP GET /apps/info
|
|
761
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
821
762
|
*/
|
|
822
|
-
|
|
823
|
-
realm?: string;
|
|
824
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
763
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
825
764
|
}
|
|
826
765
|
export declare class MapResourceClient<O> {
|
|
827
766
|
protected httpClient: HttpClient<O>;
|
|
@@ -876,51 +815,112 @@ export declare class MapResourceClient<O> {
|
|
|
876
815
|
[id: string]: unknown;
|
|
877
816
|
}>;
|
|
878
817
|
}
|
|
818
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
819
|
+
protected httpClient: HttpClient<O>;
|
|
820
|
+
constructor(httpClient: HttpClient<O>);
|
|
821
|
+
/**
|
|
822
|
+
* HTTP POST /gateway/tunnel
|
|
823
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
824
|
+
*/
|
|
825
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
826
|
+
/**
|
|
827
|
+
* HTTP DELETE /gateway/tunnel
|
|
828
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
829
|
+
*/
|
|
830
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
831
|
+
/**
|
|
832
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
833
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
834
|
+
*/
|
|
835
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
836
|
+
/**
|
|
837
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
838
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
839
|
+
*/
|
|
840
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
841
|
+
/**
|
|
842
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
843
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
844
|
+
*/
|
|
845
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
846
|
+
}
|
|
847
|
+
export declare class SyslogResourceClient<O> {
|
|
848
|
+
protected httpClient: HttpClient<O>;
|
|
849
|
+
constructor(httpClient: HttpClient<O>);
|
|
850
|
+
/**
|
|
851
|
+
* HTTP GET /syslog/config
|
|
852
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
853
|
+
*/
|
|
854
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
855
|
+
/**
|
|
856
|
+
* HTTP PUT /syslog/config
|
|
857
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
858
|
+
*/
|
|
859
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
860
|
+
/**
|
|
861
|
+
* HTTP DELETE /syslog/event
|
|
862
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
863
|
+
*/
|
|
864
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
865
|
+
/**
|
|
866
|
+
* HTTP GET /syslog/event
|
|
867
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
868
|
+
*/
|
|
869
|
+
getEvents(queryParams?: {
|
|
870
|
+
level?: Model.SyslogLevel;
|
|
871
|
+
per_page?: number;
|
|
872
|
+
page?: number;
|
|
873
|
+
from?: number;
|
|
874
|
+
to?: number;
|
|
875
|
+
category?: Model.SyslogCategory[];
|
|
876
|
+
subCategory?: string[];
|
|
877
|
+
}, options?: O): RestResponse<any>;
|
|
878
|
+
}
|
|
879
879
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
880
880
|
export declare class ApiClient {
|
|
881
|
-
protected
|
|
882
|
-
protected
|
|
883
|
-
protected
|
|
881
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
882
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
883
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
884
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
885
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
886
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
884
887
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
885
888
|
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
886
|
-
protected
|
|
887
|
-
protected
|
|
888
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
889
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
889
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
890
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
890
891
|
protected _assetResource: AxiosAssetResourceClient;
|
|
891
892
|
protected _userResource: AxiosUserResourceClient;
|
|
892
|
-
protected
|
|
893
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
893
894
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
894
|
-
protected
|
|
895
|
-
protected
|
|
896
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
895
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
896
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
897
897
|
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
898
|
-
protected
|
|
899
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
900
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
898
|
+
protected _appResource: AxiosAppResourceClient;
|
|
901
899
|
protected _mapResource: AxiosMapResourceClient;
|
|
900
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
901
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
902
902
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
903
|
-
get
|
|
904
|
-
get
|
|
905
|
-
get
|
|
903
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
904
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
905
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
906
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
907
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
908
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
906
909
|
get RulesResource(): AxiosRulesResourceClient;
|
|
907
910
|
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
908
|
-
get
|
|
909
|
-
get
|
|
910
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
911
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
911
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
912
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
912
913
|
get AssetResource(): AxiosAssetResourceClient;
|
|
913
914
|
get UserResource(): AxiosUserResourceClient;
|
|
914
|
-
get
|
|
915
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
915
916
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
916
|
-
get
|
|
917
|
-
get
|
|
918
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
917
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
918
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
919
919
|
get DashboardResource(): AxiosDashboardResourceClient;
|
|
920
|
-
get
|
|
921
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
922
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
920
|
+
get AppResource(): AxiosAppResourceClient;
|
|
923
921
|
get MapResource(): AxiosMapResourceClient;
|
|
922
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
923
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
924
924
|
}
|
|
925
925
|
import * as Axios from "axios";
|
|
926
926
|
declare module "axios" {
|
|
@@ -928,31 +928,34 @@ declare module "axios" {
|
|
|
928
928
|
data: R;
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
|
-
export declare class
|
|
931
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
932
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
933
|
}
|
|
934
|
-
export declare class
|
|
934
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
935
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
936
|
}
|
|
937
|
-
export declare class
|
|
937
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
938
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
939
|
}
|
|
940
|
-
export declare class
|
|
940
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
941
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
942
|
}
|
|
943
|
-
export declare class
|
|
943
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
944
944
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
945
|
}
|
|
946
|
-
export declare class
|
|
946
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
947
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
948
|
}
|
|
949
|
-
export declare class
|
|
949
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
950
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
951
|
}
|
|
952
|
-
export declare class
|
|
952
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
953
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
954
|
}
|
|
955
|
-
export declare class
|
|
955
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
956
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
|
+
}
|
|
958
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
956
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
960
|
}
|
|
958
961
|
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
@@ -961,33 +964,30 @@ export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.
|
|
|
961
964
|
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
962
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
966
|
}
|
|
964
|
-
export declare class
|
|
967
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
965
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
969
|
}
|
|
967
970
|
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
968
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
972
|
}
|
|
970
|
-
export declare class
|
|
971
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
|
-
}
|
|
973
|
-
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
973
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
974
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
975
|
}
|
|
976
|
-
export declare class
|
|
976
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
977
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
978
|
}
|
|
979
979
|
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
980
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
981
|
}
|
|
982
|
-
export declare class
|
|
982
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
983
983
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
984
984
|
}
|
|
985
|
-
export declare class
|
|
985
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
986
986
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
987
|
}
|
|
988
|
-
export declare class
|
|
988
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
990
|
}
|
|
991
|
-
export declare class
|
|
991
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
992
992
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
993
993
|
}
|