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