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