@openremote/rest 1.12.0-snapshot.20251212152633 → 1.12.0-snapshot.20251212161717
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/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/restclient.d.ts +530 -529
- package/lib/restclient.d.ts.map +1 -0
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +1 -1
package/lib/restclient.d.ts
CHANGED
|
@@ -9,167 +9,125 @@ 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 /asset
|
|
17
|
-
* Java method: org.openremote.model.
|
|
18
|
-
*/
|
|
19
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
20
|
-
/**
|
|
21
|
-
* HTTP DELETE /asset
|
|
22
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
23
|
-
*/
|
|
24
|
-
delete(queryParams?: {
|
|
25
|
-
assetId?: string[];
|
|
26
|
-
}, options?: O): RestResponse<void>;
|
|
27
|
-
/**
|
|
28
|
-
* HTTP PUT /asset/attributes
|
|
29
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
30
|
-
*/
|
|
31
|
-
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
32
|
-
/**
|
|
33
|
-
* HTTP PUT /asset/attributes/timestamp
|
|
34
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
35
|
-
*/
|
|
36
|
-
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
37
|
-
/**
|
|
38
|
-
* HTTP DELETE /asset/parent
|
|
39
|
-
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
40
|
-
*/
|
|
41
|
-
updateNoneParent(queryParams?: {
|
|
42
|
-
assetIds?: string[];
|
|
43
|
-
}, options?: O): RestResponse<void>;
|
|
44
|
-
/**
|
|
45
|
-
* HTTP GET /asset/partial/{assetId}
|
|
46
|
-
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
47
|
-
*/
|
|
48
|
-
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
49
|
-
/**
|
|
50
|
-
* HTTP POST /asset/query
|
|
51
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
16
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
17
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
52
18
|
*/
|
|
53
|
-
|
|
19
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
54
20
|
/**
|
|
55
|
-
* HTTP
|
|
56
|
-
* Java method: org.openremote.model.
|
|
21
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
22
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
57
23
|
*/
|
|
58
|
-
|
|
24
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
25
|
+
}
|
|
26
|
+
export declare class ProvisioningResourceClient<O> {
|
|
27
|
+
protected httpClient: HttpClient<O>;
|
|
28
|
+
constructor(httpClient: HttpClient<O>);
|
|
59
29
|
/**
|
|
60
|
-
* HTTP
|
|
61
|
-
* Java method: org.openremote.model.
|
|
30
|
+
* HTTP POST /provisioning
|
|
31
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
62
32
|
*/
|
|
63
|
-
|
|
33
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
64
34
|
/**
|
|
65
|
-
* HTTP
|
|
66
|
-
* Java method: org.openremote.model.
|
|
35
|
+
* HTTP GET /provisioning
|
|
36
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
67
37
|
*/
|
|
68
|
-
|
|
38
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
69
39
|
/**
|
|
70
|
-
* HTTP
|
|
71
|
-
* Java method: org.openremote.model.
|
|
40
|
+
* HTTP DELETE /provisioning/{id}
|
|
41
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
72
42
|
*/
|
|
73
|
-
|
|
74
|
-
realm?: string;
|
|
75
|
-
userId?: string;
|
|
76
|
-
assetId?: string;
|
|
77
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
43
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
78
44
|
/**
|
|
79
|
-
* HTTP
|
|
80
|
-
* Java method: org.openremote.model.
|
|
45
|
+
* HTTP PUT /provisioning/{id}
|
|
46
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
81
47
|
*/
|
|
82
|
-
|
|
48
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
49
|
+
}
|
|
50
|
+
export declare class MapResourceClient<O> {
|
|
51
|
+
protected httpClient: HttpClient<O>;
|
|
52
|
+
constructor(httpClient: HttpClient<O>);
|
|
83
53
|
/**
|
|
84
|
-
* HTTP
|
|
85
|
-
* Java method: org.openremote.model.
|
|
54
|
+
* HTTP GET /map
|
|
55
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
86
56
|
*/
|
|
87
|
-
|
|
57
|
+
getSettings(options?: O): RestResponse<{
|
|
58
|
+
[id: string]: unknown;
|
|
59
|
+
}>;
|
|
88
60
|
/**
|
|
89
|
-
* HTTP
|
|
90
|
-
* Java method: org.openremote.model.
|
|
61
|
+
* HTTP PUT /map
|
|
62
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
91
63
|
*/
|
|
92
|
-
|
|
64
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
65
|
+
[id: string]: unknown;
|
|
66
|
+
}>;
|
|
93
67
|
/**
|
|
94
|
-
* HTTP
|
|
95
|
-
* Java method: org.openremote.model.
|
|
68
|
+
* HTTP DELETE /map/deleteMap
|
|
69
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
96
70
|
*/
|
|
97
|
-
|
|
71
|
+
deleteMap(options?: O): RestResponse<{
|
|
72
|
+
[id: string]: unknown;
|
|
73
|
+
}>;
|
|
98
74
|
/**
|
|
99
|
-
* HTTP
|
|
100
|
-
* Java method: org.openremote.model.
|
|
75
|
+
* HTTP GET /map/getCustomMapInfo
|
|
76
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
101
77
|
*/
|
|
102
|
-
|
|
78
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
79
|
+
[id: string]: unknown;
|
|
80
|
+
}>;
|
|
103
81
|
/**
|
|
104
|
-
* HTTP
|
|
105
|
-
* Java method: org.openremote.model.
|
|
82
|
+
* HTTP GET /map/js
|
|
83
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
106
84
|
*/
|
|
107
|
-
|
|
85
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
86
|
+
[id: string]: unknown;
|
|
87
|
+
}>;
|
|
108
88
|
/**
|
|
109
|
-
* HTTP
|
|
110
|
-
* Java method: org.openremote.model.
|
|
89
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
90
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
111
91
|
*/
|
|
112
|
-
|
|
92
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
113
93
|
/**
|
|
114
|
-
* HTTP
|
|
115
|
-
* Java method: org.openremote.model.
|
|
94
|
+
* HTTP POST /map/upload
|
|
95
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
116
96
|
*/
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}, options?: O): RestResponse<
|
|
97
|
+
uploadMap(queryParams?: {
|
|
98
|
+
filename?: string;
|
|
99
|
+
}, options?: O): RestResponse<{
|
|
100
|
+
[id: string]: unknown;
|
|
101
|
+
}>;
|
|
120
102
|
}
|
|
121
|
-
export declare class
|
|
103
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
122
104
|
protected httpClient: HttpClient<O>;
|
|
123
105
|
constructor(httpClient: HttpClient<O>);
|
|
124
106
|
/**
|
|
125
|
-
* HTTP
|
|
126
|
-
* Java method: org.openremote.model.
|
|
127
|
-
*/
|
|
128
|
-
getAssetDescriptors(queryParams?: {
|
|
129
|
-
parentId?: string;
|
|
130
|
-
parentType?: string;
|
|
131
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
132
|
-
/**
|
|
133
|
-
* HTTP GET /model/assetInfo/{assetType}
|
|
134
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
107
|
+
* HTTP POST /gateway/tunnel
|
|
108
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
135
109
|
*/
|
|
136
|
-
|
|
137
|
-
parentId?: string;
|
|
138
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
110
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
139
111
|
/**
|
|
140
|
-
* HTTP
|
|
141
|
-
* Java method: org.openremote.model.
|
|
112
|
+
* HTTP DELETE /gateway/tunnel
|
|
113
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
142
114
|
*/
|
|
143
|
-
|
|
144
|
-
parentId?: string;
|
|
145
|
-
parentType?: string;
|
|
146
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
115
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
147
116
|
/**
|
|
148
|
-
* HTTP GET /
|
|
149
|
-
* Java method: org.openremote.model.
|
|
117
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
118
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
150
119
|
*/
|
|
151
|
-
|
|
152
|
-
name?: string;
|
|
153
|
-
hash?: string;
|
|
154
|
-
}, options?: O): RestResponse<any>;
|
|
120
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
155
121
|
/**
|
|
156
|
-
* HTTP GET /
|
|
157
|
-
* Java method: org.openremote.model.
|
|
122
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
123
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
158
124
|
*/
|
|
159
|
-
|
|
160
|
-
parentId?: string;
|
|
161
|
-
}, options?: O): RestResponse<{
|
|
162
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
163
|
-
}>;
|
|
125
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
164
126
|
/**
|
|
165
|
-
* HTTP GET /
|
|
166
|
-
* Java method: org.openremote.model.
|
|
127
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
128
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
167
129
|
*/
|
|
168
|
-
|
|
169
|
-
parentId?: string;
|
|
170
|
-
}, options?: O): RestResponse<{
|
|
171
|
-
[index: string]: Model.ValueDescriptor;
|
|
172
|
-
}>;
|
|
130
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
173
131
|
}
|
|
174
132
|
export declare class RulesResourceClient<O> {
|
|
175
133
|
protected httpClient: HttpClient<O>;
|
|
@@ -279,6 +237,24 @@ export declare class RulesResourceClient<O> {
|
|
|
279
237
|
*/
|
|
280
238
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
281
239
|
}
|
|
240
|
+
export declare class StatusResourceClient<O> {
|
|
241
|
+
protected httpClient: HttpClient<O>;
|
|
242
|
+
constructor(httpClient: HttpClient<O>);
|
|
243
|
+
/**
|
|
244
|
+
* HTTP GET /health
|
|
245
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
246
|
+
*/
|
|
247
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
248
|
+
[index: string]: any;
|
|
249
|
+
}>;
|
|
250
|
+
/**
|
|
251
|
+
* HTTP GET /info
|
|
252
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
253
|
+
*/
|
|
254
|
+
getInfo(options?: O): RestResponse<{
|
|
255
|
+
[index: string]: any;
|
|
256
|
+
}>;
|
|
257
|
+
}
|
|
282
258
|
export declare class AppResourceClient<O> {
|
|
283
259
|
protected httpClient: HttpClient<O>;
|
|
284
260
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -298,36 +274,168 @@ export declare class AppResourceClient<O> {
|
|
|
298
274
|
*/
|
|
299
275
|
getAppInfos(options?: O): RestResponse<any>;
|
|
300
276
|
}
|
|
301
|
-
export declare class
|
|
277
|
+
export declare class AlarmResourceClient<O> {
|
|
302
278
|
protected httpClient: HttpClient<O>;
|
|
303
279
|
constructor(httpClient: HttpClient<O>);
|
|
304
280
|
/**
|
|
305
|
-
* HTTP
|
|
306
|
-
* Java method: org.openremote.model.
|
|
281
|
+
* HTTP POST /alarm
|
|
282
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
307
283
|
*/
|
|
308
|
-
|
|
284
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
285
|
+
assetIds?: string[];
|
|
286
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
309
287
|
/**
|
|
310
|
-
* HTTP
|
|
311
|
-
* Java method: org.openremote.model.
|
|
288
|
+
* HTTP GET /alarm
|
|
289
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
312
290
|
*/
|
|
313
|
-
|
|
291
|
+
getAlarms(queryParams?: {
|
|
292
|
+
realm?: string;
|
|
293
|
+
status?: Model.AlarmStatus;
|
|
294
|
+
assetId?: string;
|
|
295
|
+
assigneeId?: string;
|
|
296
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
314
297
|
/**
|
|
315
|
-
* HTTP
|
|
316
|
-
* Java method: org.openremote.model.
|
|
298
|
+
* HTTP DELETE /alarm
|
|
299
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
317
300
|
*/
|
|
318
|
-
|
|
301
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
319
302
|
/**
|
|
320
|
-
* HTTP PUT /
|
|
321
|
-
* Java method: org.openremote.model.
|
|
303
|
+
* HTTP PUT /alarm/assets
|
|
304
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
322
305
|
*/
|
|
323
|
-
|
|
306
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
324
307
|
/**
|
|
325
|
-
* HTTP
|
|
326
|
-
* Java method: org.openremote.model.
|
|
308
|
+
* HTTP GET /alarm/{alarmId}
|
|
309
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
327
310
|
*/
|
|
328
|
-
|
|
311
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
329
312
|
/**
|
|
330
|
-
* HTTP
|
|
313
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
314
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
315
|
+
*/
|
|
316
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
317
|
+
/**
|
|
318
|
+
* HTTP PUT /alarm/{alarmId}
|
|
319
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
320
|
+
*/
|
|
321
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
322
|
+
/**
|
|
323
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
324
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
325
|
+
*/
|
|
326
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
327
|
+
realm?: string;
|
|
328
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
329
|
+
}
|
|
330
|
+
export declare class FlowResourceClient<O> {
|
|
331
|
+
protected httpClient: HttpClient<O>;
|
|
332
|
+
constructor(httpClient: HttpClient<O>);
|
|
333
|
+
/**
|
|
334
|
+
* HTTP GET /flow
|
|
335
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
336
|
+
*/
|
|
337
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
338
|
+
/**
|
|
339
|
+
* HTTP GET /flow/{name}
|
|
340
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
341
|
+
*/
|
|
342
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
343
|
+
/**
|
|
344
|
+
* HTTP GET /flow/{type}
|
|
345
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
346
|
+
*/
|
|
347
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
348
|
+
}
|
|
349
|
+
export declare class DashboardResourceClient<O> {
|
|
350
|
+
protected httpClient: HttpClient<O>;
|
|
351
|
+
constructor(httpClient: HttpClient<O>);
|
|
352
|
+
/**
|
|
353
|
+
* HTTP POST /dashboard
|
|
354
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
355
|
+
*/
|
|
356
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
357
|
+
/**
|
|
358
|
+
* HTTP PUT /dashboard
|
|
359
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
360
|
+
*/
|
|
361
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
362
|
+
/**
|
|
363
|
+
* HTTP GET /dashboard/all/{realm}
|
|
364
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
365
|
+
*/
|
|
366
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
367
|
+
/**
|
|
368
|
+
* HTTP POST /dashboard/query
|
|
369
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
370
|
+
*/
|
|
371
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
372
|
+
/**
|
|
373
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
374
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
375
|
+
*/
|
|
376
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
377
|
+
/**
|
|
378
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
379
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
380
|
+
*/
|
|
381
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
382
|
+
}
|
|
383
|
+
export declare class ConfigurationResourceClient<O> {
|
|
384
|
+
protected httpClient: HttpClient<O>;
|
|
385
|
+
constructor(httpClient: HttpClient<O>);
|
|
386
|
+
/**
|
|
387
|
+
* HTTP GET /configuration/manager
|
|
388
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
389
|
+
*/
|
|
390
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
391
|
+
/**
|
|
392
|
+
* HTTP PUT /configuration/manager
|
|
393
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
394
|
+
*/
|
|
395
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
396
|
+
/**
|
|
397
|
+
* HTTP POST /configuration/manager/file
|
|
398
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
399
|
+
*/
|
|
400
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
401
|
+
path?: string;
|
|
402
|
+
}, options?: O): RestResponse<string>;
|
|
403
|
+
/**
|
|
404
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
405
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
406
|
+
*/
|
|
407
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
408
|
+
}
|
|
409
|
+
export declare class UserResourceClient<O> {
|
|
410
|
+
protected httpClient: HttpClient<O>;
|
|
411
|
+
constructor(httpClient: HttpClient<O>);
|
|
412
|
+
/**
|
|
413
|
+
* HTTP PUT /user/locale
|
|
414
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
|
|
415
|
+
*/
|
|
416
|
+
updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
|
|
417
|
+
/**
|
|
418
|
+
* HTTP POST /user/query
|
|
419
|
+
* Java method: org.openremote.model.security.UserResource.query
|
|
420
|
+
*/
|
|
421
|
+
query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
|
|
422
|
+
/**
|
|
423
|
+
* HTTP PUT /user/request-password-reset
|
|
424
|
+
* Java method: org.openremote.model.security.UserResource.requestPasswordResetCurrent
|
|
425
|
+
*/
|
|
426
|
+
requestPasswordResetCurrent(options?: O): RestResponse<void>;
|
|
427
|
+
/**
|
|
428
|
+
* HTTP PUT /user/reset-password
|
|
429
|
+
* Java method: org.openremote.model.security.UserResource.updatePasswordCurrent
|
|
430
|
+
*/
|
|
431
|
+
updatePasswordCurrent(credential: Model.Credential, options?: O): RestResponse<void>;
|
|
432
|
+
/**
|
|
433
|
+
* HTTP PUT /user/update
|
|
434
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrent
|
|
435
|
+
*/
|
|
436
|
+
updateCurrent(user: Model.User, options?: O): RestResponse<Model.User>;
|
|
437
|
+
/**
|
|
438
|
+
* HTTP GET /user/user
|
|
331
439
|
* Java method: org.openremote.model.security.UserResource.getCurrent
|
|
332
440
|
*/
|
|
333
441
|
getCurrent(options?: O): RestResponse<Model.User>;
|
|
@@ -458,116 +566,206 @@ export declare class GatewayClientResourceClient<O> {
|
|
|
458
566
|
*/
|
|
459
567
|
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
460
568
|
}
|
|
461
|
-
export declare class
|
|
569
|
+
export declare class AssetResourceClient<O> {
|
|
462
570
|
protected httpClient: HttpClient<O>;
|
|
463
571
|
constructor(httpClient: HttpClient<O>);
|
|
464
572
|
/**
|
|
465
|
-
* HTTP
|
|
466
|
-
* Java method: org.openremote.model.
|
|
573
|
+
* HTTP POST /asset
|
|
574
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
467
575
|
*/
|
|
468
|
-
|
|
576
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
469
577
|
/**
|
|
470
|
-
* HTTP
|
|
471
|
-
* Java method: org.openremote.model.
|
|
578
|
+
* HTTP DELETE /asset
|
|
579
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
472
580
|
*/
|
|
473
|
-
|
|
581
|
+
delete(queryParams?: {
|
|
582
|
+
assetId?: string[];
|
|
583
|
+
}, options?: O): RestResponse<void>;
|
|
474
584
|
/**
|
|
475
|
-
* HTTP
|
|
476
|
-
* Java method: org.openremote.model.
|
|
585
|
+
* HTTP PUT /asset/attributes
|
|
586
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
477
587
|
*/
|
|
478
|
-
|
|
588
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
479
589
|
/**
|
|
480
|
-
* HTTP
|
|
481
|
-
* Java method: org.openremote.model.
|
|
590
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
591
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
482
592
|
*/
|
|
483
|
-
|
|
484
|
-
level?: Model.SyslogLevel;
|
|
485
|
-
per_page?: number;
|
|
486
|
-
page?: number;
|
|
487
|
-
from?: number;
|
|
488
|
-
to?: number;
|
|
489
|
-
category?: Model.SyslogCategory[];
|
|
490
|
-
subCategory?: string[];
|
|
491
|
-
}, options?: O): RestResponse<any>;
|
|
492
|
-
}
|
|
493
|
-
export declare class AlarmResourceClient<O> {
|
|
494
|
-
protected httpClient: HttpClient<O>;
|
|
495
|
-
constructor(httpClient: HttpClient<O>);
|
|
593
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
496
594
|
/**
|
|
497
|
-
* HTTP
|
|
498
|
-
* Java method: org.openremote.model.
|
|
595
|
+
* HTTP DELETE /asset/parent
|
|
596
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
499
597
|
*/
|
|
500
|
-
|
|
598
|
+
updateNoneParent(queryParams?: {
|
|
501
599
|
assetIds?: string[];
|
|
502
|
-
}, options?: O): RestResponse<
|
|
600
|
+
}, options?: O): RestResponse<void>;
|
|
503
601
|
/**
|
|
504
|
-
* HTTP GET /
|
|
505
|
-
* Java method: org.openremote.model.
|
|
602
|
+
* HTTP GET /asset/partial/{assetId}
|
|
603
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
506
604
|
*/
|
|
507
|
-
|
|
508
|
-
realm?: string;
|
|
509
|
-
status?: Model.AlarmStatus;
|
|
510
|
-
assetId?: string;
|
|
511
|
-
assigneeId?: string;
|
|
512
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
605
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
513
606
|
/**
|
|
514
|
-
* HTTP
|
|
515
|
-
* Java method: org.openremote.model.
|
|
607
|
+
* HTTP POST /asset/query
|
|
608
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
516
609
|
*/
|
|
517
|
-
|
|
610
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
518
611
|
/**
|
|
519
|
-
* HTTP
|
|
520
|
-
* Java method: org.openremote.model.
|
|
612
|
+
* HTTP POST /asset/tree
|
|
613
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
521
614
|
*/
|
|
522
|
-
|
|
615
|
+
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
523
616
|
/**
|
|
524
|
-
* HTTP GET /
|
|
525
|
-
* Java method: org.openremote.model.
|
|
617
|
+
* HTTP GET /asset/user/current
|
|
618
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
526
619
|
*/
|
|
527
|
-
|
|
620
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
528
621
|
/**
|
|
529
|
-
* HTTP
|
|
530
|
-
* Java method: org.openremote.model.
|
|
622
|
+
* HTTP POST /asset/user/link
|
|
623
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
531
624
|
*/
|
|
532
|
-
|
|
625
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
533
626
|
/**
|
|
534
|
-
* HTTP
|
|
535
|
-
* Java method: org.openremote.model.
|
|
627
|
+
* HTTP GET /asset/user/link
|
|
628
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
536
629
|
*/
|
|
537
|
-
|
|
630
|
+
getUserAssetLinks(queryParams?: {
|
|
631
|
+
realm?: string;
|
|
632
|
+
userId?: string;
|
|
633
|
+
assetId?: string;
|
|
634
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
538
635
|
/**
|
|
539
|
-
* HTTP
|
|
540
|
-
* Java method: org.openremote.model.
|
|
636
|
+
* HTTP POST /asset/user/link/delete
|
|
637
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
541
638
|
*/
|
|
542
|
-
|
|
543
|
-
realm?: string;
|
|
544
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
545
|
-
}
|
|
546
|
-
export declare class ExternalServiceResourceClient<O> {
|
|
547
|
-
protected httpClient: HttpClient<O>;
|
|
548
|
-
constructor(httpClient: HttpClient<O>);
|
|
639
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
549
640
|
/**
|
|
550
|
-
*
|
|
551
|
-
*
|
|
552
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
641
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
642
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
553
643
|
*/
|
|
554
|
-
|
|
555
|
-
realm?: string;
|
|
556
|
-
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
644
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
557
645
|
/**
|
|
558
|
-
*
|
|
559
|
-
*
|
|
560
|
-
* Response code 409 - ExternalService instance already registered
|
|
561
|
-
* HTTP POST /service
|
|
562
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
646
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
647
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
563
648
|
*/
|
|
564
|
-
|
|
649
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
565
650
|
/**
|
|
566
|
-
*
|
|
567
|
-
*
|
|
568
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
651
|
+
* HTTP GET /asset/{assetId}
|
|
652
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
569
653
|
*/
|
|
570
|
-
|
|
654
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
655
|
+
/**
|
|
656
|
+
* HTTP PUT /asset/{assetId}
|
|
657
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
658
|
+
*/
|
|
659
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
660
|
+
/**
|
|
661
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
662
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
663
|
+
*/
|
|
664
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
665
|
+
/**
|
|
666
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
667
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
668
|
+
*/
|
|
669
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
670
|
+
/**
|
|
671
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
672
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
673
|
+
*/
|
|
674
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
675
|
+
assetIds?: string[];
|
|
676
|
+
}, options?: O): RestResponse<void>;
|
|
677
|
+
}
|
|
678
|
+
export declare class RealmResourceClient<O> {
|
|
679
|
+
protected httpClient: HttpClient<O>;
|
|
680
|
+
constructor(httpClient: HttpClient<O>);
|
|
681
|
+
/**
|
|
682
|
+
* HTTP POST /realm
|
|
683
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
684
|
+
*/
|
|
685
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
686
|
+
/**
|
|
687
|
+
* HTTP GET /realm
|
|
688
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
689
|
+
*/
|
|
690
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
691
|
+
/**
|
|
692
|
+
* HTTP GET /realm/accessible
|
|
693
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
694
|
+
*/
|
|
695
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
696
|
+
/**
|
|
697
|
+
* HTTP DELETE /realm/{name}
|
|
698
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
699
|
+
*/
|
|
700
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
701
|
+
/**
|
|
702
|
+
* HTTP GET /realm/{name}
|
|
703
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
704
|
+
*/
|
|
705
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
706
|
+
/**
|
|
707
|
+
* HTTP PUT /realm/{name}
|
|
708
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
709
|
+
*/
|
|
710
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
711
|
+
}
|
|
712
|
+
export declare class SyslogResourceClient<O> {
|
|
713
|
+
protected httpClient: HttpClient<O>;
|
|
714
|
+
constructor(httpClient: HttpClient<O>);
|
|
715
|
+
/**
|
|
716
|
+
* HTTP GET /syslog/config
|
|
717
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
718
|
+
*/
|
|
719
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
720
|
+
/**
|
|
721
|
+
* HTTP PUT /syslog/config
|
|
722
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
723
|
+
*/
|
|
724
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
725
|
+
/**
|
|
726
|
+
* HTTP DELETE /syslog/event
|
|
727
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
728
|
+
*/
|
|
729
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
730
|
+
/**
|
|
731
|
+
* HTTP GET /syslog/event
|
|
732
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
733
|
+
*/
|
|
734
|
+
getEvents(queryParams?: {
|
|
735
|
+
level?: Model.SyslogLevel;
|
|
736
|
+
per_page?: number;
|
|
737
|
+
page?: number;
|
|
738
|
+
from?: number;
|
|
739
|
+
to?: number;
|
|
740
|
+
category?: Model.SyslogCategory[];
|
|
741
|
+
subCategory?: string[];
|
|
742
|
+
}, options?: O): RestResponse<any>;
|
|
743
|
+
}
|
|
744
|
+
export declare class ExternalServiceResourceClient<O> {
|
|
745
|
+
protected httpClient: HttpClient<O>;
|
|
746
|
+
constructor(httpClient: HttpClient<O>);
|
|
747
|
+
/**
|
|
748
|
+
* Response code 200 - List of registered external services
|
|
749
|
+
* HTTP GET /service
|
|
750
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
751
|
+
*/
|
|
752
|
+
getServices(queryParams?: {
|
|
753
|
+
realm?: string;
|
|
754
|
+
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
755
|
+
/**
|
|
756
|
+
* Response code 200 - Service registered successfully
|
|
757
|
+
* Response code 400 - Invalid external service object
|
|
758
|
+
* Response code 409 - ExternalService instance already registered
|
|
759
|
+
* HTTP POST /service
|
|
760
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
761
|
+
*/
|
|
762
|
+
registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
763
|
+
/**
|
|
764
|
+
* Response code 200 - List of registered external services
|
|
765
|
+
* HTTP GET /service/global
|
|
766
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
767
|
+
*/
|
|
768
|
+
getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
|
|
571
769
|
/**
|
|
572
770
|
* Response code 200 - Service registered successfully
|
|
573
771
|
* Response code 400 - Invalid external service object
|
|
@@ -598,25 +796,6 @@ export declare class ExternalServiceResourceClient<O> {
|
|
|
598
796
|
*/
|
|
599
797
|
heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
600
798
|
}
|
|
601
|
-
export declare class FlowResourceClient<O> {
|
|
602
|
-
protected httpClient: HttpClient<O>;
|
|
603
|
-
constructor(httpClient: HttpClient<O>);
|
|
604
|
-
/**
|
|
605
|
-
* HTTP GET /flow
|
|
606
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
607
|
-
*/
|
|
608
|
-
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
609
|
-
/**
|
|
610
|
-
* HTTP GET /flow/{name}
|
|
611
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
612
|
-
*/
|
|
613
|
-
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
614
|
-
/**
|
|
615
|
-
* HTTP GET /flow/{type}
|
|
616
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
617
|
-
*/
|
|
618
|
-
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
619
|
-
}
|
|
620
799
|
export declare class AssetDatapointResourceClient<O> {
|
|
621
800
|
protected httpClient: HttpClient<O>;
|
|
622
801
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -643,52 +822,93 @@ export declare class AssetDatapointResourceClient<O> {
|
|
|
643
822
|
*/
|
|
644
823
|
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
645
824
|
}
|
|
646
|
-
export declare class
|
|
825
|
+
export declare class AgentResourceClient<O> {
|
|
647
826
|
protected httpClient: HttpClient<O>;
|
|
648
827
|
constructor(httpClient: HttpClient<O>);
|
|
649
828
|
/**
|
|
650
|
-
* HTTP GET /
|
|
651
|
-
* Java method: org.openremote.model.
|
|
829
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
830
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
652
831
|
*/
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
}>;
|
|
832
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
833
|
+
realm?: string;
|
|
834
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
656
835
|
/**
|
|
657
|
-
* HTTP
|
|
658
|
-
* Java method: org.openremote.model.
|
|
836
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
837
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
659
838
|
*/
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
}>;
|
|
839
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
840
|
+
realm?: string;
|
|
841
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
842
|
+
/**
|
|
843
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
844
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
845
|
+
*/
|
|
846
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
847
|
+
parentId?: string;
|
|
848
|
+
realm?: string;
|
|
849
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
663
850
|
}
|
|
664
|
-
export declare class
|
|
851
|
+
export declare class AssetModelResourceClient<O> {
|
|
665
852
|
protected httpClient: HttpClient<O>;
|
|
666
853
|
constructor(httpClient: HttpClient<O>);
|
|
667
854
|
/**
|
|
668
|
-
* HTTP
|
|
669
|
-
* Java method: org.openremote.model.
|
|
855
|
+
* HTTP GET /model/assetDescriptors
|
|
856
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
670
857
|
*/
|
|
671
|
-
|
|
858
|
+
getAssetDescriptors(queryParams?: {
|
|
859
|
+
parentId?: string;
|
|
860
|
+
parentType?: string;
|
|
861
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
672
862
|
/**
|
|
673
|
-
* HTTP
|
|
674
|
-
* Java method: org.openremote.model.
|
|
863
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
864
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
675
865
|
*/
|
|
676
|
-
|
|
866
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
867
|
+
parentId?: string;
|
|
868
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
677
869
|
/**
|
|
678
|
-
* HTTP GET /
|
|
679
|
-
* Java method: org.openremote.model.
|
|
870
|
+
* HTTP GET /model/assetInfos
|
|
871
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
680
872
|
*/
|
|
681
|
-
|
|
873
|
+
getAssetInfos(queryParams?: {
|
|
874
|
+
parentId?: string;
|
|
875
|
+
parentType?: string;
|
|
876
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
682
877
|
/**
|
|
683
|
-
* HTTP GET /
|
|
684
|
-
* Java method: org.openremote.model.
|
|
878
|
+
* HTTP GET /model/getValueDescriptorSchema
|
|
879
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
|
|
685
880
|
*/
|
|
686
|
-
|
|
881
|
+
getValueDescriptorSchema(queryParams?: {
|
|
882
|
+
name?: string;
|
|
883
|
+
hash?: string;
|
|
884
|
+
}, options?: O): RestResponse<any>;
|
|
687
885
|
/**
|
|
688
|
-
* HTTP GET /
|
|
689
|
-
* Java method: org.openremote.model.
|
|
886
|
+
* HTTP GET /model/metaItemDescriptors
|
|
887
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
690
888
|
*/
|
|
691
|
-
|
|
889
|
+
getMetaItemDescriptors(queryParams?: {
|
|
890
|
+
parentId?: string;
|
|
891
|
+
}, options?: O): RestResponse<{
|
|
892
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
893
|
+
}>;
|
|
894
|
+
/**
|
|
895
|
+
* HTTP GET /model/valueDescriptors
|
|
896
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
897
|
+
*/
|
|
898
|
+
getValueDescriptors(queryParams?: {
|
|
899
|
+
parentId?: string;
|
|
900
|
+
}, options?: O): RestResponse<{
|
|
901
|
+
[index: string]: Model.ValueDescriptor;
|
|
902
|
+
}>;
|
|
903
|
+
}
|
|
904
|
+
export declare class ConsoleResourceClient<O> {
|
|
905
|
+
protected httpClient: HttpClient<O>;
|
|
906
|
+
constructor(httpClient: HttpClient<O>);
|
|
907
|
+
/**
|
|
908
|
+
* HTTP POST /console/register
|
|
909
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
910
|
+
*/
|
|
911
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
692
912
|
}
|
|
693
913
|
export declare class NotificationResourceClient<O> {
|
|
694
914
|
protected httpClient: HttpClient<O>;
|
|
@@ -744,273 +964,53 @@ export declare class NotificationResourceClient<O> {
|
|
|
744
964
|
targetId?: string;
|
|
745
965
|
}, options?: O): RestResponse<void>;
|
|
746
966
|
}
|
|
747
|
-
export declare class DashboardResourceClient<O> {
|
|
748
|
-
protected httpClient: HttpClient<O>;
|
|
749
|
-
constructor(httpClient: HttpClient<O>);
|
|
750
|
-
/**
|
|
751
|
-
* HTTP POST /dashboard
|
|
752
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
753
|
-
*/
|
|
754
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
755
|
-
/**
|
|
756
|
-
* HTTP PUT /dashboard
|
|
757
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
758
|
-
*/
|
|
759
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
760
|
-
/**
|
|
761
|
-
* HTTP GET /dashboard/all/{realm}
|
|
762
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
763
|
-
*/
|
|
764
|
-
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
765
|
-
/**
|
|
766
|
-
* HTTP POST /dashboard/query
|
|
767
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
768
|
-
*/
|
|
769
|
-
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
770
|
-
/**
|
|
771
|
-
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
772
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
773
|
-
*/
|
|
774
|
-
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
775
|
-
/**
|
|
776
|
-
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
777
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
778
|
-
*/
|
|
779
|
-
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
780
|
-
}
|
|
781
|
-
export declare class ConsoleResourceClient<O> {
|
|
782
|
-
protected httpClient: HttpClient<O>;
|
|
783
|
-
constructor(httpClient: HttpClient<O>);
|
|
784
|
-
/**
|
|
785
|
-
* HTTP POST /console/register
|
|
786
|
-
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
787
|
-
*/
|
|
788
|
-
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
789
|
-
}
|
|
790
|
-
export declare class AgentResourceClient<O> {
|
|
791
|
-
protected httpClient: HttpClient<O>;
|
|
792
|
-
constructor(httpClient: HttpClient<O>);
|
|
793
|
-
/**
|
|
794
|
-
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
795
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
796
|
-
*/
|
|
797
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
798
|
-
realm?: string;
|
|
799
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
800
|
-
/**
|
|
801
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
802
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
803
|
-
*/
|
|
804
|
-
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
805
|
-
realm?: string;
|
|
806
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
807
|
-
/**
|
|
808
|
-
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
809
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
810
|
-
*/
|
|
811
|
-
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
812
|
-
parentId?: string;
|
|
813
|
-
realm?: string;
|
|
814
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
815
|
-
}
|
|
816
|
-
export declare class MapResourceClient<O> {
|
|
817
|
-
protected httpClient: HttpClient<O>;
|
|
818
|
-
constructor(httpClient: HttpClient<O>);
|
|
819
|
-
/**
|
|
820
|
-
* HTTP GET /map
|
|
821
|
-
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
822
|
-
*/
|
|
823
|
-
getSettings(options?: O): RestResponse<{
|
|
824
|
-
[id: string]: unknown;
|
|
825
|
-
}>;
|
|
826
|
-
/**
|
|
827
|
-
* HTTP PUT /map
|
|
828
|
-
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
829
|
-
*/
|
|
830
|
-
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
831
|
-
[id: string]: unknown;
|
|
832
|
-
}>;
|
|
833
|
-
/**
|
|
834
|
-
* HTTP DELETE /map/deleteMap
|
|
835
|
-
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
836
|
-
*/
|
|
837
|
-
deleteMap(options?: O): RestResponse<{
|
|
838
|
-
[id: string]: unknown;
|
|
839
|
-
}>;
|
|
840
|
-
/**
|
|
841
|
-
* HTTP GET /map/getCustomMapInfo
|
|
842
|
-
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
843
|
-
*/
|
|
844
|
-
getCustomMapInfo(options?: O): RestResponse<{
|
|
845
|
-
[id: string]: unknown;
|
|
846
|
-
}>;
|
|
847
|
-
/**
|
|
848
|
-
* HTTP GET /map/js
|
|
849
|
-
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
850
|
-
*/
|
|
851
|
-
getSettingsJs(options?: O): RestResponse<{
|
|
852
|
-
[id: string]: unknown;
|
|
853
|
-
}>;
|
|
854
|
-
/**
|
|
855
|
-
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
856
|
-
* Java method: org.openremote.model.map.MapResource.getTile
|
|
857
|
-
*/
|
|
858
|
-
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
859
|
-
/**
|
|
860
|
-
* HTTP POST /map/upload
|
|
861
|
-
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
862
|
-
*/
|
|
863
|
-
uploadMap(queryParams?: {
|
|
864
|
-
filename?: string;
|
|
865
|
-
}, options?: O): RestResponse<{
|
|
866
|
-
[id: string]: unknown;
|
|
867
|
-
}>;
|
|
868
|
-
}
|
|
869
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
870
|
-
protected httpClient: HttpClient<O>;
|
|
871
|
-
constructor(httpClient: HttpClient<O>);
|
|
872
|
-
/**
|
|
873
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
874
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
875
|
-
*/
|
|
876
|
-
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
877
|
-
/**
|
|
878
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
879
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
880
|
-
*/
|
|
881
|
-
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
882
|
-
}
|
|
883
|
-
export declare class RealmResourceClient<O> {
|
|
884
|
-
protected httpClient: HttpClient<O>;
|
|
885
|
-
constructor(httpClient: HttpClient<O>);
|
|
886
|
-
/**
|
|
887
|
-
* HTTP POST /realm
|
|
888
|
-
* Java method: org.openremote.model.security.RealmResource.create
|
|
889
|
-
*/
|
|
890
|
-
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
891
|
-
/**
|
|
892
|
-
* HTTP GET /realm
|
|
893
|
-
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
894
|
-
*/
|
|
895
|
-
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
896
|
-
/**
|
|
897
|
-
* HTTP GET /realm/accessible
|
|
898
|
-
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
899
|
-
*/
|
|
900
|
-
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
901
|
-
/**
|
|
902
|
-
* HTTP DELETE /realm/{name}
|
|
903
|
-
* Java method: org.openremote.model.security.RealmResource.delete
|
|
904
|
-
*/
|
|
905
|
-
delete(name: string, options?: O): RestResponse<void>;
|
|
906
|
-
/**
|
|
907
|
-
* HTTP GET /realm/{name}
|
|
908
|
-
* Java method: org.openremote.model.security.RealmResource.get
|
|
909
|
-
*/
|
|
910
|
-
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
911
|
-
/**
|
|
912
|
-
* HTTP PUT /realm/{name}
|
|
913
|
-
* Java method: org.openremote.model.security.RealmResource.update
|
|
914
|
-
*/
|
|
915
|
-
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
916
|
-
}
|
|
917
|
-
export declare class ProvisioningResourceClient<O> {
|
|
918
|
-
protected httpClient: HttpClient<O>;
|
|
919
|
-
constructor(httpClient: HttpClient<O>);
|
|
920
|
-
/**
|
|
921
|
-
* HTTP POST /provisioning
|
|
922
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
923
|
-
*/
|
|
924
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
925
|
-
/**
|
|
926
|
-
* HTTP GET /provisioning
|
|
927
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
928
|
-
*/
|
|
929
|
-
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
930
|
-
/**
|
|
931
|
-
* HTTP DELETE /provisioning/{id}
|
|
932
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
933
|
-
*/
|
|
934
|
-
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
935
|
-
/**
|
|
936
|
-
* HTTP PUT /provisioning/{id}
|
|
937
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
938
|
-
*/
|
|
939
|
-
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
940
|
-
}
|
|
941
|
-
export declare class ConfigurationResourceClient<O> {
|
|
942
|
-
protected httpClient: HttpClient<O>;
|
|
943
|
-
constructor(httpClient: HttpClient<O>);
|
|
944
|
-
/**
|
|
945
|
-
* HTTP GET /configuration/manager
|
|
946
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
947
|
-
*/
|
|
948
|
-
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
949
|
-
/**
|
|
950
|
-
* HTTP PUT /configuration/manager
|
|
951
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
952
|
-
*/
|
|
953
|
-
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
954
|
-
/**
|
|
955
|
-
* HTTP POST /configuration/manager/file
|
|
956
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
957
|
-
*/
|
|
958
|
-
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
959
|
-
path?: string;
|
|
960
|
-
}, options?: O): RestResponse<string>;
|
|
961
|
-
/**
|
|
962
|
-
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
963
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
964
|
-
*/
|
|
965
|
-
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
966
|
-
}
|
|
967
967
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
968
968
|
export declare class ApiClient {
|
|
969
|
-
protected
|
|
970
|
-
protected
|
|
969
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
970
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
971
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
972
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
971
973
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
974
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
972
975
|
protected _appResource: AxiosAppResourceClient;
|
|
976
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
977
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
978
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
979
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
973
980
|
protected _userResource: AxiosUserResourceClient;
|
|
974
981
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
982
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
983
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
975
984
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
976
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
977
985
|
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
978
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
979
986
|
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
980
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
981
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
982
|
-
protected _notificationResource: AxiosNotificationResourceClient;
|
|
983
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
984
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
985
987
|
protected _agentResource: AxiosAgentResourceClient;
|
|
986
|
-
protected
|
|
987
|
-
protected
|
|
988
|
-
protected
|
|
989
|
-
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
990
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
988
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
989
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
990
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
991
991
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
992
|
-
get
|
|
993
|
-
get
|
|
992
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
993
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
994
|
+
get MapResource(): AxiosMapResourceClient;
|
|
995
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
994
996
|
get RulesResource(): AxiosRulesResourceClient;
|
|
997
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
995
998
|
get AppResource(): AxiosAppResourceClient;
|
|
999
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1000
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
1001
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1002
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
996
1003
|
get UserResource(): AxiosUserResourceClient;
|
|
997
1004
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
1005
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
1006
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
998
1007
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
999
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1000
1008
|
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
1001
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
1002
1009
|
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
1003
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
1004
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
1005
|
-
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1006
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1007
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1008
1010
|
get AgentResource(): AxiosAgentResourceClient;
|
|
1009
|
-
get
|
|
1010
|
-
get
|
|
1011
|
-
get
|
|
1012
|
-
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
1013
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
1011
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1012
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1013
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1014
1014
|
}
|
|
1015
1015
|
import * as Axios from "axios";
|
|
1016
1016
|
declare module "axios" {
|
|
@@ -1018,69 +1018,70 @@ declare module "axios" {
|
|
|
1018
1018
|
data: R;
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
|
-
export declare class
|
|
1021
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1022
1022
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1023
1023
|
}
|
|
1024
|
-
export declare class
|
|
1024
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1025
1025
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1026
1026
|
}
|
|
1027
|
-
export declare class
|
|
1027
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1028
1028
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1029
1029
|
}
|
|
1030
|
-
export declare class
|
|
1030
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1031
1031
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1032
1032
|
}
|
|
1033
|
-
export declare class
|
|
1033
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1034
1034
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1035
1035
|
}
|
|
1036
|
-
export declare class
|
|
1036
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1037
1037
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1038
1038
|
}
|
|
1039
|
-
export declare class
|
|
1039
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1040
1040
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1041
1041
|
}
|
|
1042
1042
|
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1043
1043
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1044
1044
|
}
|
|
1045
|
-
export declare class
|
|
1045
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1046
1046
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1047
1047
|
}
|
|
1048
|
-
export declare class
|
|
1048
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1049
1049
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1050
1050
|
}
|
|
1051
|
-
export declare class
|
|
1051
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1052
1052
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1053
1053
|
}
|
|
1054
|
-
export declare class
|
|
1054
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1055
1055
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1056
1056
|
}
|
|
1057
|
-
export declare class
|
|
1057
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1058
1058
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1059
1059
|
}
|
|
1060
|
-
export declare class
|
|
1060
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1061
1061
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1062
1062
|
}
|
|
1063
|
-
export declare class
|
|
1063
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1064
1064
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1065
1065
|
}
|
|
1066
|
-
export declare class
|
|
1066
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1067
1067
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1068
1068
|
}
|
|
1069
|
-
export declare class
|
|
1069
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1070
1070
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1071
1071
|
}
|
|
1072
|
-
export declare class
|
|
1072
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1073
1073
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1074
1074
|
}
|
|
1075
|
-
export declare class
|
|
1075
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1076
1076
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1077
1077
|
}
|
|
1078
|
-
export declare class
|
|
1078
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1079
1079
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1080
1080
|
}
|
|
1081
|
-
export declare class
|
|
1081
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1082
1082
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1083
1083
|
}
|
|
1084
|
-
export declare class
|
|
1084
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1085
1085
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1086
1086
|
}
|
|
1087
|
+
//# sourceMappingURL=restclient.d.ts.map
|