@openremote/rest 1.3.0 → 1.3.1
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 +542 -542
- 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,199 +9,347 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class ProvisioningResourceClient<O> {
|
|
13
13
|
protected httpClient: HttpClient<O>;
|
|
14
14
|
constructor(httpClient: HttpClient<O>);
|
|
15
15
|
/**
|
|
16
|
-
* HTTP
|
|
17
|
-
* Java method: org.openremote.model.
|
|
16
|
+
* HTTP POST /provisioning
|
|
17
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
18
18
|
*/
|
|
19
|
-
|
|
20
|
-
[index: string]: any;
|
|
21
|
-
}>;
|
|
19
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
22
20
|
/**
|
|
23
|
-
* HTTP GET /
|
|
24
|
-
* Java method: org.openremote.model.
|
|
21
|
+
* HTTP GET /provisioning
|
|
22
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
25
23
|
*/
|
|
26
|
-
|
|
27
|
-
[index: string]: any;
|
|
28
|
-
}>;
|
|
29
|
-
}
|
|
30
|
-
export declare class UserResourceClient<O> {
|
|
31
|
-
protected httpClient: HttpClient<O>;
|
|
32
|
-
constructor(httpClient: HttpClient<O>);
|
|
24
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
33
25
|
/**
|
|
34
|
-
* HTTP
|
|
35
|
-
* Java method: org.openremote.model.
|
|
26
|
+
* HTTP DELETE /provisioning/{id}
|
|
27
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
36
28
|
*/
|
|
37
|
-
|
|
29
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
38
30
|
/**
|
|
39
|
-
* HTTP
|
|
40
|
-
* Java method: org.openremote.model.
|
|
31
|
+
* HTTP PUT /provisioning/{id}
|
|
32
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
41
33
|
*/
|
|
42
|
-
|
|
34
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
35
|
+
}
|
|
36
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
37
|
+
protected httpClient: HttpClient<O>;
|
|
38
|
+
constructor(httpClient: HttpClient<O>);
|
|
43
39
|
/**
|
|
44
|
-
* HTTP
|
|
45
|
-
* Java method: org.openremote.model.
|
|
40
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
41
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
46
42
|
*/
|
|
47
|
-
|
|
43
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
48
44
|
/**
|
|
49
|
-
* HTTP
|
|
50
|
-
* Java method: org.openremote.model.
|
|
45
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
46
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
51
47
|
*/
|
|
52
|
-
|
|
48
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
49
|
+
}
|
|
50
|
+
export declare class AppResourceClient<O> {
|
|
51
|
+
protected httpClient: HttpClient<O>;
|
|
52
|
+
constructor(httpClient: HttpClient<O>);
|
|
53
53
|
/**
|
|
54
|
-
* HTTP GET /
|
|
55
|
-
* Java method: org.openremote.model.
|
|
54
|
+
* HTTP GET /apps
|
|
55
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
56
56
|
*/
|
|
57
|
-
|
|
57
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
58
58
|
/**
|
|
59
|
-
* HTTP GET /
|
|
60
|
-
* Java method: org.openremote.model.
|
|
59
|
+
* HTTP GET /apps/consoleConfig
|
|
60
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
63
63
|
/**
|
|
64
|
-
* HTTP GET /
|
|
65
|
-
* Java method: org.openremote.model.
|
|
64
|
+
* HTTP GET /apps/info
|
|
65
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
68
|
+
}
|
|
69
|
+
export declare class FlowResourceClient<O> {
|
|
70
|
+
protected httpClient: HttpClient<O>;
|
|
71
|
+
constructor(httpClient: HttpClient<O>);
|
|
68
72
|
/**
|
|
69
|
-
* HTTP
|
|
70
|
-
* Java method: org.openremote.model.
|
|
73
|
+
* HTTP GET /flow
|
|
74
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
71
75
|
*/
|
|
72
|
-
|
|
76
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
73
77
|
/**
|
|
74
|
-
* HTTP GET /
|
|
75
|
-
* Java method: org.openremote.model.
|
|
78
|
+
* HTTP GET /flow/{name}
|
|
79
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
76
80
|
*/
|
|
77
|
-
|
|
81
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
78
82
|
/**
|
|
79
|
-
* HTTP GET /
|
|
80
|
-
* Java method: org.openremote.model.
|
|
83
|
+
* HTTP GET /flow/{type}
|
|
84
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
81
85
|
*/
|
|
82
|
-
|
|
86
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
87
|
+
}
|
|
88
|
+
export declare class AlarmResourceClient<O> {
|
|
89
|
+
protected httpClient: HttpClient<O>;
|
|
90
|
+
constructor(httpClient: HttpClient<O>);
|
|
83
91
|
/**
|
|
84
|
-
* HTTP
|
|
85
|
-
* Java method: org.openremote.model.
|
|
92
|
+
* HTTP POST /alarm
|
|
93
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
86
94
|
*/
|
|
87
|
-
|
|
95
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
96
|
+
assetIds?: string[];
|
|
97
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
88
98
|
/**
|
|
89
|
-
* HTTP GET /
|
|
90
|
-
* Java method: org.openremote.model.
|
|
99
|
+
* HTTP GET /alarm
|
|
100
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
91
101
|
*/
|
|
92
|
-
|
|
102
|
+
getAlarms(queryParams?: {
|
|
103
|
+
realm?: string;
|
|
104
|
+
status?: Model.AlarmStatus;
|
|
105
|
+
assetId?: string;
|
|
106
|
+
assigneeId?: string;
|
|
107
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
93
108
|
/**
|
|
94
|
-
* HTTP
|
|
95
|
-
* Java method: org.openremote.model.
|
|
109
|
+
* HTTP DELETE /alarm
|
|
110
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
96
111
|
*/
|
|
97
|
-
|
|
112
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
98
113
|
/**
|
|
99
|
-
* HTTP
|
|
100
|
-
* Java method: org.openremote.model.
|
|
114
|
+
* HTTP PUT /alarm/assets
|
|
115
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
101
116
|
*/
|
|
102
|
-
|
|
117
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
103
118
|
/**
|
|
104
|
-
* HTTP
|
|
105
|
-
* Java method: org.openremote.model.
|
|
119
|
+
* HTTP GET /alarm/{alarmId}
|
|
120
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
106
121
|
*/
|
|
107
|
-
|
|
122
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
108
123
|
/**
|
|
109
|
-
* HTTP
|
|
110
|
-
* Java method: org.openremote.model.
|
|
124
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
125
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
111
126
|
*/
|
|
112
|
-
|
|
127
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
113
128
|
/**
|
|
114
|
-
* HTTP PUT /
|
|
115
|
-
* Java method: org.openremote.model.
|
|
129
|
+
* HTTP PUT /alarm/{alarmId}
|
|
130
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
116
131
|
*/
|
|
117
|
-
|
|
132
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
118
133
|
/**
|
|
119
|
-
* HTTP GET /
|
|
120
|
-
* Java method: org.openremote.model.
|
|
134
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
135
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
121
136
|
*/
|
|
122
|
-
|
|
137
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
138
|
+
realm?: string;
|
|
139
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
140
|
+
}
|
|
141
|
+
export declare class StatusResourceClient<O> {
|
|
142
|
+
protected httpClient: HttpClient<O>;
|
|
143
|
+
constructor(httpClient: HttpClient<O>);
|
|
123
144
|
/**
|
|
124
|
-
* HTTP
|
|
125
|
-
* Java method: org.openremote.model.
|
|
145
|
+
* HTTP GET /health
|
|
146
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
126
147
|
*/
|
|
127
|
-
|
|
148
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
149
|
+
[index: string]: any;
|
|
150
|
+
}>;
|
|
128
151
|
/**
|
|
129
|
-
* HTTP
|
|
130
|
-
* Java method: org.openremote.model.
|
|
152
|
+
* HTTP GET /info
|
|
153
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
131
154
|
*/
|
|
132
|
-
|
|
155
|
+
getInfo(options?: O): RestResponse<{
|
|
156
|
+
[index: string]: any;
|
|
157
|
+
}>;
|
|
158
|
+
}
|
|
159
|
+
export declare class MapResourceClient<O> {
|
|
160
|
+
protected httpClient: HttpClient<O>;
|
|
161
|
+
constructor(httpClient: HttpClient<O>);
|
|
133
162
|
/**
|
|
134
|
-
* HTTP
|
|
135
|
-
* Java method: org.openremote.model.
|
|
163
|
+
* HTTP GET /map
|
|
164
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
136
165
|
*/
|
|
137
|
-
|
|
166
|
+
getSettings(options?: O): RestResponse<{
|
|
167
|
+
[id: string]: unknown;
|
|
168
|
+
}>;
|
|
138
169
|
/**
|
|
139
|
-
* HTTP
|
|
140
|
-
* Java method: org.openremote.model.
|
|
170
|
+
* HTTP PUT /map
|
|
171
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
141
172
|
*/
|
|
142
|
-
|
|
173
|
+
saveSettings(mapConfig: {
|
|
174
|
+
[index: string]: Model.MapRealmConfig;
|
|
175
|
+
}, options?: O): RestResponse<any>;
|
|
143
176
|
/**
|
|
144
|
-
* HTTP
|
|
145
|
-
* Java method: org.openremote.model.
|
|
177
|
+
* HTTP GET /map/js
|
|
178
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
146
179
|
*/
|
|
147
|
-
|
|
180
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
181
|
+
[id: string]: unknown;
|
|
182
|
+
}>;
|
|
148
183
|
/**
|
|
149
|
-
* HTTP GET /
|
|
150
|
-
* Java method: org.openremote.model.
|
|
184
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
185
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
151
186
|
*/
|
|
152
|
-
|
|
187
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
153
188
|
}
|
|
154
|
-
export declare class
|
|
189
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
155
190
|
protected httpClient: HttpClient<O>;
|
|
156
191
|
constructor(httpClient: HttpClient<O>);
|
|
157
192
|
/**
|
|
158
|
-
* HTTP
|
|
159
|
-
* Java method: org.openremote.model.
|
|
193
|
+
* HTTP POST /gateway/tunnel
|
|
194
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
160
195
|
*/
|
|
161
|
-
|
|
162
|
-
realm?: string;
|
|
163
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
196
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
164
197
|
/**
|
|
165
|
-
* HTTP
|
|
166
|
-
* Java method: org.openremote.model.
|
|
198
|
+
* HTTP DELETE /gateway/tunnel
|
|
199
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
167
200
|
*/
|
|
168
|
-
|
|
169
|
-
realm?: string;
|
|
170
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
201
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
171
202
|
/**
|
|
172
|
-
* HTTP GET /
|
|
173
|
-
* Java method: org.openremote.model.
|
|
203
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
204
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
174
205
|
*/
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
206
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
207
|
+
/**
|
|
208
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
209
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
210
|
+
*/
|
|
211
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
212
|
+
/**
|
|
213
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
214
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
215
|
+
*/
|
|
216
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
179
217
|
}
|
|
180
|
-
export declare class
|
|
218
|
+
export declare class SyslogResourceClient<O> {
|
|
181
219
|
protected httpClient: HttpClient<O>;
|
|
182
220
|
constructor(httpClient: HttpClient<O>);
|
|
183
221
|
/**
|
|
184
|
-
* HTTP GET /
|
|
185
|
-
* Java method: org.openremote.model.
|
|
222
|
+
* HTTP GET /syslog/config
|
|
223
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
186
224
|
*/
|
|
187
|
-
|
|
225
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
188
226
|
/**
|
|
189
|
-
* HTTP PUT /
|
|
190
|
-
* Java method: org.openremote.model.
|
|
227
|
+
* HTTP PUT /syslog/config
|
|
228
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
191
229
|
*/
|
|
192
|
-
|
|
230
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
193
231
|
/**
|
|
194
|
-
* HTTP
|
|
195
|
-
* Java method: org.openremote.model.
|
|
232
|
+
* HTTP DELETE /syslog/event
|
|
233
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
196
234
|
*/
|
|
197
|
-
|
|
198
|
-
path?: string;
|
|
199
|
-
}, options?: O): RestResponse<string>;
|
|
235
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
200
236
|
/**
|
|
201
|
-
* HTTP GET /
|
|
202
|
-
* Java method: org.openremote.model.
|
|
237
|
+
* HTTP GET /syslog/event
|
|
238
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
203
239
|
*/
|
|
204
|
-
|
|
240
|
+
getEvents(queryParams?: {
|
|
241
|
+
level?: Model.SyslogLevel;
|
|
242
|
+
per_page?: number;
|
|
243
|
+
page?: number;
|
|
244
|
+
from?: number;
|
|
245
|
+
to?: number;
|
|
246
|
+
category?: Model.SyslogCategory[];
|
|
247
|
+
subCategory?: string[];
|
|
248
|
+
}, options?: O): RestResponse<any>;
|
|
249
|
+
}
|
|
250
|
+
export declare class AssetResourceClient<O> {
|
|
251
|
+
protected httpClient: HttpClient<O>;
|
|
252
|
+
constructor(httpClient: HttpClient<O>);
|
|
253
|
+
/**
|
|
254
|
+
* HTTP POST /asset
|
|
255
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
256
|
+
*/
|
|
257
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
258
|
+
/**
|
|
259
|
+
* HTTP DELETE /asset
|
|
260
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
261
|
+
*/
|
|
262
|
+
delete(queryParams?: {
|
|
263
|
+
assetId?: string[];
|
|
264
|
+
}, options?: O): RestResponse<void>;
|
|
265
|
+
/**
|
|
266
|
+
* HTTP PUT /asset/attributes
|
|
267
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
268
|
+
*/
|
|
269
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
270
|
+
/**
|
|
271
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
272
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
273
|
+
*/
|
|
274
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
275
|
+
/**
|
|
276
|
+
* HTTP DELETE /asset/parent
|
|
277
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
278
|
+
*/
|
|
279
|
+
updateNoneParent(queryParams?: {
|
|
280
|
+
assetIds?: string[];
|
|
281
|
+
}, options?: O): RestResponse<void>;
|
|
282
|
+
/**
|
|
283
|
+
* HTTP GET /asset/partial/{assetId}
|
|
284
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
285
|
+
*/
|
|
286
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
287
|
+
/**
|
|
288
|
+
* HTTP POST /asset/query
|
|
289
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
290
|
+
*/
|
|
291
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
292
|
+
/**
|
|
293
|
+
* HTTP GET /asset/user/current
|
|
294
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
295
|
+
*/
|
|
296
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
297
|
+
/**
|
|
298
|
+
* HTTP POST /asset/user/link
|
|
299
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
300
|
+
*/
|
|
301
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
302
|
+
/**
|
|
303
|
+
* HTTP GET /asset/user/link
|
|
304
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
305
|
+
*/
|
|
306
|
+
getUserAssetLinks(queryParams?: {
|
|
307
|
+
realm?: string;
|
|
308
|
+
userId?: string;
|
|
309
|
+
assetId?: string;
|
|
310
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
311
|
+
/**
|
|
312
|
+
* HTTP POST /asset/user/link/delete
|
|
313
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
314
|
+
*/
|
|
315
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
316
|
+
/**
|
|
317
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
318
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
319
|
+
*/
|
|
320
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
321
|
+
/**
|
|
322
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
323
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
324
|
+
*/
|
|
325
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
326
|
+
/**
|
|
327
|
+
* HTTP GET /asset/{assetId}
|
|
328
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
329
|
+
*/
|
|
330
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
331
|
+
/**
|
|
332
|
+
* HTTP PUT /asset/{assetId}
|
|
333
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
334
|
+
*/
|
|
335
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
336
|
+
/**
|
|
337
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
338
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
339
|
+
*/
|
|
340
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
341
|
+
/**
|
|
342
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
343
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
344
|
+
*/
|
|
345
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
346
|
+
/**
|
|
347
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
348
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
349
|
+
*/
|
|
350
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
351
|
+
assetIds?: string[];
|
|
352
|
+
}, options?: O): RestResponse<void>;
|
|
205
353
|
}
|
|
206
354
|
export declare class RulesResourceClient<O> {
|
|
207
355
|
protected httpClient: HttpClient<O>;
|
|
@@ -345,234 +493,245 @@ export declare class DashboardResourceClient<O> {
|
|
|
345
493
|
*/
|
|
346
494
|
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
347
495
|
}
|
|
348
|
-
export declare class
|
|
496
|
+
export declare class ConsoleResourceClient<O> {
|
|
349
497
|
protected httpClient: HttpClient<O>;
|
|
350
498
|
constructor(httpClient: HttpClient<O>);
|
|
351
499
|
/**
|
|
352
|
-
* HTTP POST /
|
|
353
|
-
* Java method: org.openremote.model.
|
|
500
|
+
* HTTP POST /console/register
|
|
501
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
354
502
|
*/
|
|
355
|
-
|
|
503
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
504
|
+
}
|
|
505
|
+
export declare class UserResourceClient<O> {
|
|
506
|
+
protected httpClient: HttpClient<O>;
|
|
507
|
+
constructor(httpClient: HttpClient<O>);
|
|
356
508
|
/**
|
|
357
|
-
* HTTP
|
|
358
|
-
* Java method: org.openremote.model.
|
|
509
|
+
* HTTP PUT /user/locale
|
|
510
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
|
|
359
511
|
*/
|
|
360
|
-
|
|
361
|
-
assetId?: string[];
|
|
362
|
-
}, options?: O): RestResponse<void>;
|
|
512
|
+
updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
|
|
363
513
|
/**
|
|
364
|
-
* HTTP
|
|
365
|
-
* Java method: org.openremote.model.
|
|
514
|
+
* HTTP POST /user/query
|
|
515
|
+
* Java method: org.openremote.model.security.UserResource.query
|
|
366
516
|
*/
|
|
367
|
-
|
|
517
|
+
query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
|
|
368
518
|
/**
|
|
369
|
-
* HTTP
|
|
370
|
-
* Java method: org.openremote.model.
|
|
519
|
+
* HTTP GET /user/user
|
|
520
|
+
* Java method: org.openremote.model.security.UserResource.getCurrent
|
|
371
521
|
*/
|
|
372
|
-
|
|
522
|
+
getCurrent(options?: O): RestResponse<Model.User>;
|
|
373
523
|
/**
|
|
374
|
-
* HTTP
|
|
375
|
-
* Java method: org.openremote.model.
|
|
524
|
+
* HTTP GET /user/userRealmRoles
|
|
525
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
|
|
376
526
|
*/
|
|
377
|
-
|
|
378
|
-
assetIds?: string[];
|
|
379
|
-
}, options?: O): RestResponse<void>;
|
|
527
|
+
getCurrentUserRealmRoles(options?: O): RestResponse<Model.Role[]>;
|
|
380
528
|
/**
|
|
381
|
-
* HTTP GET /
|
|
382
|
-
* Java method: org.openremote.model.
|
|
529
|
+
* HTTP GET /user/userRoles
|
|
530
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserRoles
|
|
383
531
|
*/
|
|
384
|
-
|
|
532
|
+
getCurrentUserRoles(options?: O): RestResponse<Model.Role[]>;
|
|
385
533
|
/**
|
|
386
|
-
* HTTP
|
|
387
|
-
* Java method: org.openremote.model.
|
|
534
|
+
* HTTP GET /user/userRoles/{clientId}
|
|
535
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
|
|
388
536
|
*/
|
|
389
|
-
|
|
537
|
+
getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
390
538
|
/**
|
|
391
|
-
* HTTP GET /
|
|
392
|
-
* Java method: org.openremote.model.
|
|
539
|
+
* HTTP GET /user/{realm}/disconnect/{sessionID}
|
|
540
|
+
* Java method: org.openremote.model.security.UserResource.disconnectUserSession
|
|
393
541
|
*/
|
|
394
|
-
|
|
542
|
+
disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
|
|
395
543
|
/**
|
|
396
|
-
* HTTP
|
|
397
|
-
* Java method: org.openremote.model.
|
|
544
|
+
* HTTP PUT /user/{realm}/reset-password/{userId}
|
|
545
|
+
* Java method: org.openremote.model.security.UserResource.resetPassword
|
|
398
546
|
*/
|
|
399
|
-
|
|
547
|
+
resetPassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
|
|
400
548
|
/**
|
|
401
|
-
* HTTP GET /
|
|
402
|
-
* Java method: org.openremote.model.
|
|
549
|
+
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
550
|
+
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
403
551
|
*/
|
|
404
|
-
|
|
405
|
-
realm?: string;
|
|
406
|
-
userId?: string;
|
|
407
|
-
assetId?: string;
|
|
408
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
552
|
+
resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
|
|
409
553
|
/**
|
|
410
|
-
* HTTP
|
|
411
|
-
* Java method: org.openremote.model.
|
|
554
|
+
* HTTP GET /user/{realm}/roles
|
|
555
|
+
* Java method: org.openremote.model.security.UserResource.getRoles
|
|
412
556
|
*/
|
|
413
|
-
|
|
557
|
+
getRoles(realm: string, options?: O): RestResponse<Model.Role[]>;
|
|
414
558
|
/**
|
|
415
|
-
* HTTP
|
|
416
|
-
* Java method: org.openremote.model.
|
|
559
|
+
* HTTP PUT /user/{realm}/roles
|
|
560
|
+
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
417
561
|
*/
|
|
418
|
-
|
|
562
|
+
updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
419
563
|
/**
|
|
420
|
-
* HTTP
|
|
421
|
-
* Java method: org.openremote.model.
|
|
564
|
+
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
565
|
+
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
422
566
|
*/
|
|
423
|
-
|
|
567
|
+
getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<Model.Role[]>;
|
|
424
568
|
/**
|
|
425
|
-
* HTTP
|
|
426
|
-
* Java method: org.openremote.model.
|
|
569
|
+
* HTTP PUT /user/{realm}/userRealmRoles/{userId}
|
|
570
|
+
* Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
|
|
427
571
|
*/
|
|
428
|
-
|
|
572
|
+
updateUserRealmRoles(realm: string, userId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
429
573
|
/**
|
|
430
|
-
* HTTP
|
|
431
|
-
* Java method: org.openremote.model.
|
|
574
|
+
* HTTP GET /user/{realm}/userRoles/{userId}
|
|
575
|
+
* Java method: org.openremote.model.security.UserResource.getUserRoles
|
|
432
576
|
*/
|
|
433
|
-
|
|
577
|
+
getUserRoles(realm: string, userId: string, options?: O): RestResponse<Model.Role[]>;
|
|
434
578
|
/**
|
|
435
|
-
* HTTP PUT /
|
|
436
|
-
* Java method: org.openremote.model.
|
|
579
|
+
* HTTP PUT /user/{realm}/userRoles/{userId}
|
|
580
|
+
* Java method: org.openremote.model.security.UserResource.updateUserRoles
|
|
437
581
|
*/
|
|
438
|
-
|
|
582
|
+
updateUserRoles(realm: string, userId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
439
583
|
/**
|
|
440
|
-
* HTTP
|
|
441
|
-
* Java method: org.openremote.model.
|
|
584
|
+
* HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
|
|
585
|
+
* Java method: org.openremote.model.security.UserResource.getUserClientRoles
|
|
442
586
|
*/
|
|
443
|
-
|
|
587
|
+
getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
444
588
|
/**
|
|
445
|
-
* HTTP PUT /
|
|
446
|
-
* Java method: org.openremote.model.
|
|
589
|
+
* HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
|
|
590
|
+
* Java method: org.openremote.model.security.UserResource.updateUserClientRoles
|
|
447
591
|
*/
|
|
448
|
-
|
|
449
|
-
assetIds?: string[];
|
|
450
|
-
}, options?: O): RestResponse<void>;
|
|
451
|
-
}
|
|
452
|
-
export declare class RealmResourceClient<O> {
|
|
453
|
-
protected httpClient: HttpClient<O>;
|
|
454
|
-
constructor(httpClient: HttpClient<O>);
|
|
592
|
+
updateUserClientRoles(realm: string, userId: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
455
593
|
/**
|
|
456
|
-
* HTTP
|
|
457
|
-
* Java method: org.openremote.model.security.
|
|
594
|
+
* HTTP GET /user/{realm}/userSessions/{userId}
|
|
595
|
+
* Java method: org.openremote.model.security.UserResource.getUserSessions
|
|
458
596
|
*/
|
|
459
|
-
|
|
597
|
+
getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
|
|
460
598
|
/**
|
|
461
|
-
* HTTP
|
|
462
|
-
* Java method: org.openremote.model.security.
|
|
599
|
+
* HTTP POST /user/{realm}/users
|
|
600
|
+
* Java method: org.openremote.model.security.UserResource.create
|
|
463
601
|
*/
|
|
464
|
-
|
|
602
|
+
create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
465
603
|
/**
|
|
466
|
-
* HTTP
|
|
467
|
-
* Java method: org.openremote.model.security.
|
|
604
|
+
* HTTP PUT /user/{realm}/users
|
|
605
|
+
* Java method: org.openremote.model.security.UserResource.update
|
|
468
606
|
*/
|
|
469
|
-
|
|
607
|
+
update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
470
608
|
/**
|
|
471
|
-
* HTTP DELETE /realm/{
|
|
472
|
-
* Java method: org.openremote.model.security.
|
|
609
|
+
* HTTP DELETE /user/{realm}/users/{userId}
|
|
610
|
+
* Java method: org.openremote.model.security.UserResource.delete
|
|
473
611
|
*/
|
|
474
|
-
delete(
|
|
612
|
+
delete(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
475
613
|
/**
|
|
476
|
-
* HTTP GET /realm/{
|
|
477
|
-
* Java method: org.openremote.model.security.
|
|
614
|
+
* HTTP GET /user/{realm}/{clientId}/roles
|
|
615
|
+
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
478
616
|
*/
|
|
479
|
-
|
|
617
|
+
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
480
618
|
/**
|
|
481
|
-
* HTTP PUT /realm/{
|
|
482
|
-
* Java method: org.openremote.model.security.
|
|
619
|
+
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
620
|
+
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
483
621
|
*/
|
|
484
|
-
|
|
622
|
+
updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
623
|
+
/**
|
|
624
|
+
* HTTP GET /user/{realm}/{userId}
|
|
625
|
+
* Java method: org.openremote.model.security.UserResource.get
|
|
626
|
+
*/
|
|
627
|
+
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
485
628
|
}
|
|
486
|
-
export declare class
|
|
629
|
+
export declare class AssetModelResourceClient<O> {
|
|
487
630
|
protected httpClient: HttpClient<O>;
|
|
488
631
|
constructor(httpClient: HttpClient<O>);
|
|
489
632
|
/**
|
|
490
|
-
* HTTP
|
|
491
|
-
* Java method: org.openremote.model.
|
|
633
|
+
* HTTP GET /model/assetDescriptors
|
|
634
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
492
635
|
*/
|
|
493
|
-
|
|
636
|
+
getAssetDescriptors(queryParams?: {
|
|
637
|
+
parentId?: string;
|
|
638
|
+
parentType?: string;
|
|
639
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
494
640
|
/**
|
|
495
|
-
* HTTP
|
|
496
|
-
* Java method: org.openremote.model.
|
|
641
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
642
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
497
643
|
*/
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
protected httpClient: HttpClient<O>;
|
|
502
|
-
constructor(httpClient: HttpClient<O>);
|
|
644
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
645
|
+
parentId?: string;
|
|
646
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
503
647
|
/**
|
|
504
|
-
* HTTP
|
|
505
|
-
* Java method: org.openremote.model.
|
|
648
|
+
* HTTP GET /model/assetInfos
|
|
649
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
506
650
|
*/
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
651
|
+
getAssetInfos(queryParams?: {
|
|
652
|
+
parentId?: string;
|
|
653
|
+
parentType?: string;
|
|
654
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
510
655
|
/**
|
|
511
|
-
* HTTP GET /
|
|
512
|
-
* Java method: org.openremote.model.
|
|
656
|
+
* HTTP GET /model/metaItemDescriptors
|
|
657
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
513
658
|
*/
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
659
|
+
getMetaItemDescriptors(queryParams?: {
|
|
660
|
+
parentId?: string;
|
|
661
|
+
}, options?: O): RestResponse<{
|
|
662
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
663
|
+
}>;
|
|
520
664
|
/**
|
|
521
|
-
* HTTP
|
|
522
|
-
* Java method: org.openremote.model.
|
|
665
|
+
* HTTP GET /model/valueDescriptors
|
|
666
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
523
667
|
*/
|
|
524
|
-
|
|
668
|
+
getValueDescriptors(queryParams?: {
|
|
669
|
+
parentId?: string;
|
|
670
|
+
}, options?: O): RestResponse<{
|
|
671
|
+
[index: string]: Model.ValueDescriptor;
|
|
672
|
+
}>;
|
|
673
|
+
}
|
|
674
|
+
export declare class GatewayClientResourceClient<O> {
|
|
675
|
+
protected httpClient: HttpClient<O>;
|
|
676
|
+
constructor(httpClient: HttpClient<O>);
|
|
525
677
|
/**
|
|
526
|
-
* HTTP
|
|
527
|
-
* Java method: org.openremote.model.
|
|
678
|
+
* HTTP DELETE /gateway/connection
|
|
679
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
528
680
|
*/
|
|
529
|
-
|
|
681
|
+
deleteConnections(queryParams?: {
|
|
682
|
+
realm?: string[];
|
|
683
|
+
}, options?: O): RestResponse<void>;
|
|
530
684
|
/**
|
|
531
|
-
* HTTP GET /
|
|
532
|
-
* Java method: org.openremote.model.
|
|
685
|
+
* HTTP GET /gateway/connection
|
|
686
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
533
687
|
*/
|
|
534
|
-
|
|
688
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
535
689
|
/**
|
|
536
|
-
* HTTP DELETE /
|
|
537
|
-
* Java method: org.openremote.model.
|
|
690
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
691
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
538
692
|
*/
|
|
539
|
-
|
|
693
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
540
694
|
/**
|
|
541
|
-
* HTTP
|
|
542
|
-
* Java method: org.openremote.model.
|
|
695
|
+
* HTTP GET /gateway/connection/{realm}
|
|
696
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
543
697
|
*/
|
|
544
|
-
|
|
698
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
545
699
|
/**
|
|
546
|
-
* HTTP
|
|
547
|
-
* Java method: org.openremote.model.
|
|
700
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
701
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
548
702
|
*/
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
703
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
704
|
+
/**
|
|
705
|
+
* HTTP GET /gateway/status/{realm}
|
|
706
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
707
|
+
*/
|
|
708
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
552
709
|
}
|
|
553
|
-
export declare class
|
|
710
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
554
711
|
protected httpClient: HttpClient<O>;
|
|
555
712
|
constructor(httpClient: HttpClient<O>);
|
|
556
713
|
/**
|
|
557
|
-
* HTTP
|
|
558
|
-
* Java method: org.openremote.model.
|
|
559
|
-
*/
|
|
560
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
561
|
-
/**
|
|
562
|
-
* HTTP GET /provisioning
|
|
563
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
714
|
+
* HTTP GET /asset/datapoint/export
|
|
715
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
564
716
|
*/
|
|
565
|
-
|
|
717
|
+
getDatapointExport(queryParams?: {
|
|
718
|
+
attributeRefs?: string;
|
|
719
|
+
fromTimestamp?: number;
|
|
720
|
+
toTimestamp?: number;
|
|
721
|
+
}, options?: O): RestResponse<any>;
|
|
566
722
|
/**
|
|
567
|
-
* HTTP
|
|
568
|
-
* Java method: org.openremote.model.
|
|
723
|
+
* HTTP GET /asset/datapoint/periods
|
|
724
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
569
725
|
*/
|
|
570
|
-
|
|
726
|
+
getDatapointPeriod(queryParams?: {
|
|
727
|
+
assetId?: string;
|
|
728
|
+
attributeName?: string;
|
|
729
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
571
730
|
/**
|
|
572
|
-
* HTTP
|
|
573
|
-
* Java method: org.openremote.model.
|
|
731
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
732
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
574
733
|
*/
|
|
575
|
-
|
|
734
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
576
735
|
}
|
|
577
736
|
export declare class NotificationResourceClient<O> {
|
|
578
737
|
protected httpClient: HttpClient<O>;
|
|
@@ -605,319 +764,160 @@ export declare class NotificationResourceClient<O> {
|
|
|
605
764
|
}, options?: O): RestResponse<void>;
|
|
606
765
|
/**
|
|
607
766
|
* HTTP POST /notification/alert
|
|
608
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
609
|
-
*/
|
|
610
|
-
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
611
|
-
/**
|
|
612
|
-
* HTTP DELETE /notification/{notificationId}
|
|
613
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
614
|
-
*/
|
|
615
|
-
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
616
|
-
/**
|
|
617
|
-
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
618
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
619
|
-
*/
|
|
620
|
-
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
621
|
-
targetId?: string;
|
|
622
|
-
}, options?: O): RestResponse<void>;
|
|
623
|
-
/**
|
|
624
|
-
* HTTP PUT /notification/{notificationId}/delivered
|
|
625
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
626
|
-
*/
|
|
627
|
-
notificationDelivered(notificationId: number, queryParams?: {
|
|
628
|
-
targetId?: string;
|
|
629
|
-
}, options?: O): RestResponse<void>;
|
|
630
|
-
}
|
|
631
|
-
export declare class ConsoleResourceClient<O> {
|
|
632
|
-
protected httpClient: HttpClient<O>;
|
|
633
|
-
constructor(httpClient: HttpClient<O>);
|
|
634
|
-
/**
|
|
635
|
-
* HTTP POST /console/register
|
|
636
|
-
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
637
|
-
*/
|
|
638
|
-
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
639
|
-
}
|
|
640
|
-
export declare class AppResourceClient<O> {
|
|
641
|
-
protected httpClient: HttpClient<O>;
|
|
642
|
-
constructor(httpClient: HttpClient<O>);
|
|
643
|
-
/**
|
|
644
|
-
* HTTP GET /apps
|
|
645
|
-
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
646
|
-
*/
|
|
647
|
-
getApps(options?: O): RestResponse<string[]>;
|
|
648
|
-
/**
|
|
649
|
-
* HTTP GET /apps/consoleConfig
|
|
650
|
-
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
651
|
-
*/
|
|
652
|
-
getConsoleConfig(options?: O): RestResponse<any>;
|
|
653
|
-
/**
|
|
654
|
-
* HTTP GET /apps/info
|
|
655
|
-
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
656
|
-
*/
|
|
657
|
-
getAppInfos(options?: O): RestResponse<any>;
|
|
658
|
-
}
|
|
659
|
-
export declare class SyslogResourceClient<O> {
|
|
660
|
-
protected httpClient: HttpClient<O>;
|
|
661
|
-
constructor(httpClient: HttpClient<O>);
|
|
662
|
-
/**
|
|
663
|
-
* HTTP GET /syslog/config
|
|
664
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
665
|
-
*/
|
|
666
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
667
|
-
/**
|
|
668
|
-
* HTTP PUT /syslog/config
|
|
669
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
670
|
-
*/
|
|
671
|
-
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
672
|
-
/**
|
|
673
|
-
* HTTP DELETE /syslog/event
|
|
674
|
-
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
675
|
-
*/
|
|
676
|
-
clearEvents(options?: O): RestResponse<void>;
|
|
677
|
-
/**
|
|
678
|
-
* HTTP GET /syslog/event
|
|
679
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
680
|
-
*/
|
|
681
|
-
getEvents(queryParams?: {
|
|
682
|
-
level?: Model.SyslogLevel;
|
|
683
|
-
per_page?: number;
|
|
684
|
-
page?: number;
|
|
685
|
-
from?: number;
|
|
686
|
-
to?: number;
|
|
687
|
-
category?: Model.SyslogCategory[];
|
|
688
|
-
subCategory?: string[];
|
|
689
|
-
}, options?: O): RestResponse<any>;
|
|
690
|
-
}
|
|
691
|
-
export declare class MapResourceClient<O> {
|
|
692
|
-
protected httpClient: HttpClient<O>;
|
|
693
|
-
constructor(httpClient: HttpClient<O>);
|
|
694
|
-
/**
|
|
695
|
-
* HTTP GET /map
|
|
696
|
-
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
697
|
-
*/
|
|
698
|
-
getSettings(options?: O): RestResponse<{
|
|
699
|
-
[id: string]: unknown;
|
|
700
|
-
}>;
|
|
701
|
-
/**
|
|
702
|
-
* HTTP PUT /map
|
|
703
|
-
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
704
|
-
*/
|
|
705
|
-
saveSettings(mapConfig: {
|
|
706
|
-
[index: string]: Model.MapRealmConfig;
|
|
707
|
-
}, options?: O): RestResponse<any>;
|
|
708
|
-
/**
|
|
709
|
-
* HTTP GET /map/js
|
|
710
|
-
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
711
|
-
*/
|
|
712
|
-
getSettingsJs(options?: O): RestResponse<{
|
|
713
|
-
[id: string]: unknown;
|
|
714
|
-
}>;
|
|
715
|
-
/**
|
|
716
|
-
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
717
|
-
* Java method: org.openremote.model.map.MapResource.getTile
|
|
718
|
-
*/
|
|
719
|
-
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
720
|
-
}
|
|
721
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
722
|
-
protected httpClient: HttpClient<O>;
|
|
723
|
-
constructor(httpClient: HttpClient<O>);
|
|
724
|
-
/**
|
|
725
|
-
* HTTP POST /gateway/tunnel
|
|
726
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
727
|
-
*/
|
|
728
|
-
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
729
|
-
/**
|
|
730
|
-
* HTTP DELETE /gateway/tunnel
|
|
731
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
732
|
-
*/
|
|
733
|
-
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
734
|
-
/**
|
|
735
|
-
* HTTP GET /gateway/tunnel/{realm}
|
|
736
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
737
|
-
*/
|
|
738
|
-
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
739
|
-
/**
|
|
740
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
741
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
742
|
-
*/
|
|
743
|
-
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
744
|
-
/**
|
|
745
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
746
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
767
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
747
768
|
*/
|
|
748
|
-
|
|
749
|
-
}
|
|
750
|
-
export declare class FlowResourceClient<O> {
|
|
751
|
-
protected httpClient: HttpClient<O>;
|
|
752
|
-
constructor(httpClient: HttpClient<O>);
|
|
769
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
753
770
|
/**
|
|
754
|
-
* HTTP
|
|
755
|
-
* Java method: org.openremote.model.
|
|
771
|
+
* HTTP DELETE /notification/{notificationId}
|
|
772
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
756
773
|
*/
|
|
757
|
-
|
|
774
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
758
775
|
/**
|
|
759
|
-
* HTTP
|
|
760
|
-
* Java method: org.openremote.model.
|
|
776
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
777
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
761
778
|
*/
|
|
762
|
-
|
|
779
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
780
|
+
targetId?: string;
|
|
781
|
+
}, options?: O): RestResponse<void>;
|
|
763
782
|
/**
|
|
764
|
-
* HTTP
|
|
765
|
-
* Java method: org.openremote.model.
|
|
783
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
784
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
766
785
|
*/
|
|
767
|
-
|
|
786
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
787
|
+
targetId?: string;
|
|
788
|
+
}, options?: O): RestResponse<void>;
|
|
768
789
|
}
|
|
769
|
-
export declare class
|
|
790
|
+
export declare class ConfigurationResourceClient<O> {
|
|
770
791
|
protected httpClient: HttpClient<O>;
|
|
771
792
|
constructor(httpClient: HttpClient<O>);
|
|
772
793
|
/**
|
|
773
|
-
* HTTP
|
|
774
|
-
* Java method: org.openremote.model.
|
|
775
|
-
*/
|
|
776
|
-
deleteConnections(queryParams?: {
|
|
777
|
-
realm?: string[];
|
|
778
|
-
}, options?: O): RestResponse<void>;
|
|
779
|
-
/**
|
|
780
|
-
* HTTP GET /gateway/connection
|
|
781
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
782
|
-
*/
|
|
783
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
784
|
-
/**
|
|
785
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
786
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
794
|
+
* HTTP GET /configuration/manager
|
|
795
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
787
796
|
*/
|
|
788
|
-
|
|
797
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
789
798
|
/**
|
|
790
|
-
* HTTP
|
|
791
|
-
* Java method: org.openremote.model.
|
|
799
|
+
* HTTP PUT /configuration/manager
|
|
800
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
792
801
|
*/
|
|
793
|
-
|
|
802
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
794
803
|
/**
|
|
795
|
-
* HTTP
|
|
796
|
-
* Java method: org.openremote.model.
|
|
804
|
+
* HTTP POST /configuration/manager/file
|
|
805
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
797
806
|
*/
|
|
798
|
-
|
|
807
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
808
|
+
path?: string;
|
|
809
|
+
}, options?: O): RestResponse<string>;
|
|
799
810
|
/**
|
|
800
|
-
* HTTP GET /
|
|
801
|
-
* Java method: org.openremote.model.
|
|
811
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
812
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
802
813
|
*/
|
|
803
|
-
|
|
814
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
804
815
|
}
|
|
805
|
-
export declare class
|
|
816
|
+
export declare class AgentResourceClient<O> {
|
|
806
817
|
protected httpClient: HttpClient<O>;
|
|
807
818
|
constructor(httpClient: HttpClient<O>);
|
|
808
819
|
/**
|
|
809
|
-
* HTTP GET /
|
|
810
|
-
* Java method: org.openremote.model.
|
|
820
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
821
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
811
822
|
*/
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
toTimestamp?: number;
|
|
816
|
-
}, options?: O): RestResponse<any>;
|
|
823
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
824
|
+
realm?: string;
|
|
825
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
817
826
|
/**
|
|
818
|
-
* HTTP
|
|
819
|
-
* Java method: org.openremote.model.
|
|
827
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
828
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
820
829
|
*/
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
830
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
831
|
+
realm?: string;
|
|
832
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
825
833
|
/**
|
|
826
|
-
* HTTP
|
|
827
|
-
* Java method: org.openremote.model.
|
|
834
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
835
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
828
836
|
*/
|
|
829
|
-
|
|
837
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
838
|
+
parentId?: string;
|
|
839
|
+
realm?: string;
|
|
840
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
830
841
|
}
|
|
831
|
-
export declare class
|
|
842
|
+
export declare class RealmResourceClient<O> {
|
|
832
843
|
protected httpClient: HttpClient<O>;
|
|
833
844
|
constructor(httpClient: HttpClient<O>);
|
|
834
845
|
/**
|
|
835
|
-
* HTTP
|
|
836
|
-
* Java method: org.openremote.model.
|
|
846
|
+
* HTTP POST /realm
|
|
847
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
837
848
|
*/
|
|
838
|
-
|
|
839
|
-
parentId?: string;
|
|
840
|
-
parentType?: string;
|
|
841
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
849
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
842
850
|
/**
|
|
843
|
-
* HTTP GET /
|
|
844
|
-
* Java method: org.openremote.model.
|
|
851
|
+
* HTTP GET /realm
|
|
852
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
845
853
|
*/
|
|
846
|
-
|
|
847
|
-
parentId?: string;
|
|
848
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
854
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
849
855
|
/**
|
|
850
|
-
* HTTP GET /
|
|
851
|
-
* Java method: org.openremote.model.
|
|
856
|
+
* HTTP GET /realm/accessible
|
|
857
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
852
858
|
*/
|
|
853
|
-
|
|
854
|
-
parentId?: string;
|
|
855
|
-
parentType?: string;
|
|
856
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
859
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
857
860
|
/**
|
|
858
|
-
* HTTP
|
|
859
|
-
* Java method: org.openremote.model.
|
|
861
|
+
* HTTP DELETE /realm/{name}
|
|
862
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
860
863
|
*/
|
|
861
|
-
|
|
862
|
-
parentId?: string;
|
|
863
|
-
}, options?: O): RestResponse<{
|
|
864
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
865
|
-
}>;
|
|
864
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
866
865
|
/**
|
|
867
|
-
* HTTP GET /
|
|
868
|
-
* Java method: org.openremote.model.
|
|
866
|
+
* HTTP GET /realm/{name}
|
|
867
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
869
868
|
*/
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
869
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
870
|
+
/**
|
|
871
|
+
* HTTP PUT /realm/{name}
|
|
872
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
873
|
+
*/
|
|
874
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
875
875
|
}
|
|
876
876
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
877
877
|
export declare class ApiClient {
|
|
878
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
879
|
-
protected _userResource: AxiosUserResourceClient;
|
|
880
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
881
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
882
|
-
protected _rulesResource: AxiosRulesResourceClient;
|
|
883
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
884
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
885
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
886
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
887
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
888
878
|
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
889
|
-
protected
|
|
890
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
879
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
891
880
|
protected _appResource: AxiosAppResourceClient;
|
|
892
|
-
protected
|
|
881
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
882
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
883
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
893
884
|
protected _mapResource: AxiosMapResourceClient;
|
|
894
885
|
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
895
|
-
protected
|
|
886
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
887
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
888
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
889
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
890
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
891
|
+
protected _userResource: AxiosUserResourceClient;
|
|
892
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
896
893
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
897
894
|
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
898
|
-
protected
|
|
895
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
896
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
897
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
898
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
899
899
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
900
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
901
|
-
get UserResource(): AxiosUserResourceClient;
|
|
902
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
903
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
904
|
-
get RulesResource(): AxiosRulesResourceClient;
|
|
905
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
906
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
907
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
908
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
909
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
910
900
|
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
911
|
-
get
|
|
912
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
901
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
913
902
|
get AppResource(): AxiosAppResourceClient;
|
|
914
|
-
get
|
|
903
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
904
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
905
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
915
906
|
get MapResource(): AxiosMapResourceClient;
|
|
916
907
|
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
917
|
-
get
|
|
908
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
909
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
910
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
911
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
912
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
913
|
+
get UserResource(): AxiosUserResourceClient;
|
|
914
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
918
915
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
919
916
|
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
920
|
-
get
|
|
917
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
918
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
919
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
920
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
921
921
|
}
|
|
922
922
|
import * as Axios from "axios";
|
|
923
923
|
declare module "axios" {
|
|
@@ -925,66 +925,66 @@ declare module "axios" {
|
|
|
925
925
|
data: R;
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
export declare class
|
|
928
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
929
929
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
930
930
|
}
|
|
931
|
-
export declare class
|
|
931
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
932
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
933
|
}
|
|
934
|
-
export declare class
|
|
934
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
935
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
936
|
}
|
|
937
|
-
export declare class
|
|
937
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
938
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
939
|
}
|
|
940
|
-
export declare class
|
|
940
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
941
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
942
|
}
|
|
943
|
-
export declare class
|
|
943
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
944
944
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
945
|
}
|
|
946
|
-
export declare class
|
|
946
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
947
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
948
|
}
|
|
949
|
-
export declare class
|
|
949
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
950
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
951
|
}
|
|
952
|
-
export declare class
|
|
952
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
953
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
954
|
}
|
|
955
|
-
export declare class
|
|
955
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
956
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
957
|
}
|
|
958
|
-
export declare class
|
|
958
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
959
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
960
|
}
|
|
961
|
-
export declare class
|
|
961
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
962
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
963
|
}
|
|
964
964
|
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
965
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
966
|
}
|
|
967
|
-
export declare class
|
|
967
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
968
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
969
|
}
|
|
970
|
-
export declare class
|
|
970
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
971
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
972
|
}
|
|
973
|
-
export declare class
|
|
973
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
974
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
975
|
}
|
|
976
|
-
export declare class
|
|
976
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
977
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
978
|
}
|
|
979
|
-
export declare class
|
|
979
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
980
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
981
|
}
|
|
982
|
-
export declare class
|
|
982
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
983
983
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
984
984
|
}
|
|
985
|
-
export declare class
|
|
985
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
986
986
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
987
|
}
|
|
988
|
-
export declare class
|
|
988
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
990
|
}
|