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