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