@openremote/rest 1.10.0-snapshot.20251023140106 → 1.10.0-snapshot.20251024152254
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.bundle.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/lib/restclient.d.ts +573 -573
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +3 -3
package/lib/restclient.d.ts
CHANGED
|
@@ -133,747 +133,706 @@ export declare class UserResourceClient<O> {
|
|
|
133
133
|
*/
|
|
134
134
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
135
135
|
}
|
|
136
|
-
export declare class
|
|
136
|
+
export declare class AlarmResourceClient<O> {
|
|
137
137
|
protected httpClient: HttpClient<O>;
|
|
138
138
|
constructor(httpClient: HttpClient<O>);
|
|
139
139
|
/**
|
|
140
|
-
* HTTP POST /
|
|
141
|
-
* Java method: org.openremote.model.
|
|
140
|
+
* HTTP POST /alarm
|
|
141
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
142
142
|
*/
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
protected httpClient: HttpClient<O>;
|
|
147
|
-
constructor(httpClient: HttpClient<O>);
|
|
143
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
144
|
+
assetIds?: string[];
|
|
145
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
148
146
|
/**
|
|
149
|
-
* HTTP GET /
|
|
150
|
-
* Java method: org.openremote.model.
|
|
147
|
+
* HTTP GET /alarm
|
|
148
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
151
149
|
*/
|
|
152
|
-
|
|
150
|
+
getAlarms(queryParams?: {
|
|
151
|
+
realm?: string;
|
|
152
|
+
status?: Model.AlarmStatus;
|
|
153
|
+
assetId?: string;
|
|
154
|
+
assigneeId?: string;
|
|
155
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
153
156
|
/**
|
|
154
|
-
* HTTP
|
|
155
|
-
* Java method: org.openremote.model.
|
|
157
|
+
* HTTP DELETE /alarm
|
|
158
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
156
159
|
*/
|
|
157
|
-
|
|
160
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
158
161
|
/**
|
|
159
|
-
* HTTP
|
|
160
|
-
* Java method: org.openremote.model.
|
|
162
|
+
* HTTP PUT /alarm/assets
|
|
163
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
161
164
|
*/
|
|
162
|
-
|
|
163
|
-
}
|
|
164
|
-
export declare class SyslogResourceClient<O> {
|
|
165
|
-
protected httpClient: HttpClient<O>;
|
|
166
|
-
constructor(httpClient: HttpClient<O>);
|
|
165
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
167
166
|
/**
|
|
168
|
-
* HTTP GET /
|
|
169
|
-
* Java method: org.openremote.model.
|
|
167
|
+
* HTTP GET /alarm/{alarmId}
|
|
168
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
170
169
|
*/
|
|
171
|
-
|
|
170
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
172
171
|
/**
|
|
173
|
-
* HTTP
|
|
174
|
-
* Java method: org.openremote.model.
|
|
172
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
173
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
175
174
|
*/
|
|
176
|
-
|
|
175
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
177
176
|
/**
|
|
178
|
-
* HTTP
|
|
179
|
-
* Java method: org.openremote.model.
|
|
177
|
+
* HTTP PUT /alarm/{alarmId}
|
|
178
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
180
179
|
*/
|
|
181
|
-
|
|
180
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
182
181
|
/**
|
|
183
|
-
* HTTP GET /
|
|
184
|
-
* Java method: org.openremote.model.
|
|
182
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
183
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
185
184
|
*/
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
page?: number;
|
|
190
|
-
from?: number;
|
|
191
|
-
to?: number;
|
|
192
|
-
category?: Model.SyslogCategory[];
|
|
193
|
-
subCategory?: string[];
|
|
194
|
-
}, options?: O): RestResponse<any>;
|
|
185
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
186
|
+
realm?: string;
|
|
187
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
195
188
|
}
|
|
196
|
-
export declare class
|
|
189
|
+
export declare class RealmResourceClient<O> {
|
|
197
190
|
protected httpClient: HttpClient<O>;
|
|
198
191
|
constructor(httpClient: HttpClient<O>);
|
|
199
192
|
/**
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
203
|
-
*/
|
|
204
|
-
getServices(queryParams?: {
|
|
205
|
-
realm?: string;
|
|
206
|
-
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
207
|
-
/**
|
|
208
|
-
* Response code 200 - Service registered successfully
|
|
209
|
-
* Response code 400 - Invalid external service object
|
|
210
|
-
* Response code 409 - ExternalService instance already registered
|
|
211
|
-
* HTTP POST /service
|
|
212
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
193
|
+
* HTTP POST /realm
|
|
194
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
213
195
|
*/
|
|
214
|
-
|
|
196
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
215
197
|
/**
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
198
|
+
* HTTP GET /realm
|
|
199
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
219
200
|
*/
|
|
220
|
-
|
|
201
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
221
202
|
/**
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
* Response code 409 - ExternalService instance already registered
|
|
225
|
-
* HTTP POST /service/global
|
|
226
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
203
|
+
* HTTP GET /realm/accessible
|
|
204
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
227
205
|
*/
|
|
228
|
-
|
|
206
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
229
207
|
/**
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
233
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
208
|
+
* HTTP DELETE /realm/{name}
|
|
209
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
234
210
|
*/
|
|
235
|
-
|
|
211
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
236
212
|
/**
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
* HTTP GET /service/{serviceId}/{instanceId}
|
|
240
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
213
|
+
* HTTP GET /realm/{name}
|
|
214
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
241
215
|
*/
|
|
242
|
-
|
|
216
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
243
217
|
/**
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
247
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
218
|
+
* HTTP PUT /realm/{name}
|
|
219
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
248
220
|
*/
|
|
249
|
-
|
|
221
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
250
222
|
}
|
|
251
|
-
export declare class
|
|
223
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
252
224
|
protected httpClient: HttpClient<O>;
|
|
253
225
|
constructor(httpClient: HttpClient<O>);
|
|
254
226
|
/**
|
|
255
|
-
* HTTP
|
|
256
|
-
* Java method: org.openremote.model.
|
|
227
|
+
* HTTP GET /asset/datapoint/export
|
|
228
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
257
229
|
*/
|
|
258
|
-
|
|
230
|
+
getDatapointExport(queryParams?: {
|
|
231
|
+
attributeRefs?: string;
|
|
232
|
+
fromTimestamp?: number;
|
|
233
|
+
toTimestamp?: number;
|
|
234
|
+
}, options?: O): RestResponse<any>;
|
|
259
235
|
/**
|
|
260
|
-
* HTTP GET /
|
|
261
|
-
* Java method: org.openremote.model.
|
|
236
|
+
* HTTP GET /asset/datapoint/periods
|
|
237
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
262
238
|
*/
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
}, options?: O): RestResponse<Model.
|
|
239
|
+
getDatapointPeriod(queryParams?: {
|
|
240
|
+
assetId?: string;
|
|
241
|
+
attributeName?: string;
|
|
242
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
267
243
|
/**
|
|
268
|
-
* HTTP POST /
|
|
269
|
-
* Java method: org.openremote.model.
|
|
244
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
245
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
270
246
|
*/
|
|
271
|
-
|
|
247
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
248
|
+
}
|
|
249
|
+
export declare class ProvisioningResourceClient<O> {
|
|
250
|
+
protected httpClient: HttpClient<O>;
|
|
251
|
+
constructor(httpClient: HttpClient<O>);
|
|
272
252
|
/**
|
|
273
|
-
* HTTP
|
|
274
|
-
* Java method: org.openremote.model.
|
|
253
|
+
* HTTP POST /provisioning
|
|
254
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
275
255
|
*/
|
|
276
|
-
|
|
277
|
-
language?: Model.RulesetLang[];
|
|
278
|
-
fullyPopulate?: boolean;
|
|
279
|
-
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
256
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
280
257
|
/**
|
|
281
|
-
* HTTP
|
|
282
|
-
* Java method: org.openremote.model.
|
|
258
|
+
* HTTP GET /provisioning
|
|
259
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
283
260
|
*/
|
|
284
|
-
|
|
261
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
285
262
|
/**
|
|
286
|
-
* HTTP
|
|
287
|
-
* Java method: org.openremote.model.
|
|
263
|
+
* HTTP DELETE /provisioning/{id}
|
|
264
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
288
265
|
*/
|
|
289
|
-
|
|
266
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
290
267
|
/**
|
|
291
|
-
* HTTP PUT /
|
|
292
|
-
* Java method: org.openremote.model.
|
|
268
|
+
* HTTP PUT /provisioning/{id}
|
|
269
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
293
270
|
*/
|
|
294
|
-
|
|
271
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
272
|
+
}
|
|
273
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
274
|
+
protected httpClient: HttpClient<O>;
|
|
275
|
+
constructor(httpClient: HttpClient<O>);
|
|
295
276
|
/**
|
|
296
|
-
* HTTP
|
|
297
|
-
* Java method: org.openremote.model.
|
|
277
|
+
* HTTP POST /gateway/tunnel
|
|
278
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
298
279
|
*/
|
|
299
|
-
|
|
280
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
300
281
|
/**
|
|
301
|
-
* HTTP
|
|
302
|
-
* Java method: org.openremote.model.
|
|
282
|
+
* HTTP DELETE /gateway/tunnel
|
|
283
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
303
284
|
*/
|
|
304
|
-
|
|
285
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
305
286
|
/**
|
|
306
|
-
* HTTP GET /
|
|
307
|
-
* Java method: org.openremote.model.
|
|
287
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
288
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
308
289
|
*/
|
|
309
|
-
|
|
290
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
310
291
|
/**
|
|
311
|
-
* HTTP GET /
|
|
312
|
-
* Java method: org.openremote.model.
|
|
292
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
293
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
313
294
|
*/
|
|
314
|
-
|
|
295
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
315
296
|
/**
|
|
316
|
-
* HTTP
|
|
317
|
-
* Java method: org.openremote.model.
|
|
297
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
298
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
318
299
|
*/
|
|
319
|
-
|
|
300
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
301
|
+
}
|
|
302
|
+
export declare class AssetResourceClient<O> {
|
|
303
|
+
protected httpClient: HttpClient<O>;
|
|
304
|
+
constructor(httpClient: HttpClient<O>);
|
|
320
305
|
/**
|
|
321
|
-
* HTTP
|
|
322
|
-
* Java method: org.openremote.model.
|
|
306
|
+
* HTTP POST /asset
|
|
307
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
323
308
|
*/
|
|
324
|
-
|
|
325
|
-
language?: Model.RulesetLang[];
|
|
326
|
-
fullyPopulate?: boolean;
|
|
327
|
-
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
309
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
328
310
|
/**
|
|
329
|
-
* HTTP DELETE /
|
|
330
|
-
* Java method: org.openremote.model.
|
|
311
|
+
* HTTP DELETE /asset
|
|
312
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
331
313
|
*/
|
|
332
|
-
|
|
314
|
+
delete(queryParams?: {
|
|
315
|
+
assetId?: string[];
|
|
316
|
+
}, options?: O): RestResponse<void>;
|
|
333
317
|
/**
|
|
334
|
-
* HTTP
|
|
335
|
-
* Java method: org.openremote.model.
|
|
318
|
+
* HTTP PUT /asset/attributes
|
|
319
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
336
320
|
*/
|
|
337
|
-
|
|
321
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
338
322
|
/**
|
|
339
|
-
* HTTP PUT /
|
|
340
|
-
* Java method: org.openremote.model.
|
|
341
|
-
*/
|
|
342
|
-
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
343
|
-
/**
|
|
344
|
-
* HTTP DELETE /rules/{id}
|
|
345
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
323
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
324
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
346
325
|
*/
|
|
347
|
-
|
|
326
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
348
327
|
/**
|
|
349
|
-
* HTTP
|
|
350
|
-
* Java method: org.openremote.model.
|
|
328
|
+
* HTTP DELETE /asset/parent
|
|
329
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
351
330
|
*/
|
|
352
|
-
|
|
331
|
+
updateNoneParent(queryParams?: {
|
|
332
|
+
assetIds?: string[];
|
|
333
|
+
}, options?: O): RestResponse<void>;
|
|
353
334
|
/**
|
|
354
|
-
* HTTP
|
|
355
|
-
* Java method: org.openremote.model.
|
|
335
|
+
* HTTP GET /asset/partial/{assetId}
|
|
336
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
356
337
|
*/
|
|
357
|
-
|
|
358
|
-
}
|
|
359
|
-
export declare class ConfigurationResourceClient<O> {
|
|
360
|
-
protected httpClient: HttpClient<O>;
|
|
361
|
-
constructor(httpClient: HttpClient<O>);
|
|
338
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
362
339
|
/**
|
|
363
|
-
* HTTP
|
|
364
|
-
* Java method: org.openremote.model.
|
|
340
|
+
* HTTP POST /asset/query
|
|
341
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
365
342
|
*/
|
|
366
|
-
|
|
343
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
367
344
|
/**
|
|
368
|
-
* HTTP
|
|
369
|
-
* Java method: org.openremote.model.
|
|
345
|
+
* HTTP POST /asset/tree
|
|
346
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
370
347
|
*/
|
|
371
|
-
|
|
348
|
+
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
372
349
|
/**
|
|
373
|
-
* HTTP
|
|
374
|
-
* Java method: org.openremote.model.
|
|
350
|
+
* HTTP GET /asset/user/current
|
|
351
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
375
352
|
*/
|
|
376
|
-
|
|
377
|
-
path?: string;
|
|
378
|
-
}, options?: O): RestResponse<string>;
|
|
353
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
379
354
|
/**
|
|
380
|
-
* HTTP
|
|
381
|
-
* Java method: org.openremote.model.
|
|
355
|
+
* HTTP POST /asset/user/link
|
|
356
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
382
357
|
*/
|
|
383
|
-
|
|
384
|
-
}
|
|
385
|
-
export declare class StatusResourceClient<O> {
|
|
386
|
-
protected httpClient: HttpClient<O>;
|
|
387
|
-
constructor(httpClient: HttpClient<O>);
|
|
358
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
388
359
|
/**
|
|
389
|
-
* HTTP GET /
|
|
390
|
-
* Java method: org.openremote.model.
|
|
360
|
+
* HTTP GET /asset/user/link
|
|
361
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
391
362
|
*/
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
363
|
+
getUserAssetLinks(queryParams?: {
|
|
364
|
+
realm?: string;
|
|
365
|
+
userId?: string;
|
|
366
|
+
assetId?: string;
|
|
367
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
395
368
|
/**
|
|
396
|
-
* HTTP
|
|
397
|
-
* Java method: org.openremote.model.
|
|
369
|
+
* HTTP POST /asset/user/link/delete
|
|
370
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
398
371
|
*/
|
|
399
|
-
|
|
400
|
-
[index: string]: any;
|
|
401
|
-
}>;
|
|
402
|
-
}
|
|
403
|
-
export declare class MapResourceClient<O> {
|
|
404
|
-
protected httpClient: HttpClient<O>;
|
|
405
|
-
constructor(httpClient: HttpClient<O>);
|
|
372
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
406
373
|
/**
|
|
407
|
-
* HTTP
|
|
408
|
-
* Java method: org.openremote.model.
|
|
374
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
375
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
409
376
|
*/
|
|
410
|
-
|
|
411
|
-
[id: string]: unknown;
|
|
412
|
-
}>;
|
|
377
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
413
378
|
/**
|
|
414
|
-
* HTTP
|
|
415
|
-
* Java method: org.openremote.model.
|
|
379
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
380
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
416
381
|
*/
|
|
417
|
-
|
|
418
|
-
[id: string]: unknown;
|
|
419
|
-
}>;
|
|
382
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
420
383
|
/**
|
|
421
|
-
* HTTP
|
|
422
|
-
* Java method: org.openremote.model.
|
|
384
|
+
* HTTP GET /asset/{assetId}
|
|
385
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
423
386
|
*/
|
|
424
|
-
|
|
425
|
-
[id: string]: unknown;
|
|
426
|
-
}>;
|
|
387
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
427
388
|
/**
|
|
428
|
-
* HTTP
|
|
429
|
-
* Java method: org.openremote.model.
|
|
389
|
+
* HTTP PUT /asset/{assetId}
|
|
390
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
430
391
|
*/
|
|
431
|
-
|
|
432
|
-
[id: string]: unknown;
|
|
433
|
-
}>;
|
|
392
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
434
393
|
/**
|
|
435
|
-
* HTTP
|
|
436
|
-
* Java method: org.openremote.model.
|
|
394
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
395
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
437
396
|
*/
|
|
438
|
-
|
|
439
|
-
[id: string]: unknown;
|
|
440
|
-
}>;
|
|
397
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
441
398
|
/**
|
|
442
|
-
* HTTP
|
|
443
|
-
* Java method: org.openremote.model.
|
|
399
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
400
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
444
401
|
*/
|
|
445
|
-
|
|
402
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
446
403
|
/**
|
|
447
|
-
* HTTP
|
|
448
|
-
* Java method: org.openremote.model.
|
|
404
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
405
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
449
406
|
*/
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
}, options?: O): RestResponse<
|
|
453
|
-
[id: string]: unknown;
|
|
454
|
-
}>;
|
|
407
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
408
|
+
assetIds?: string[];
|
|
409
|
+
}, options?: O): RestResponse<void>;
|
|
455
410
|
}
|
|
456
|
-
export declare class
|
|
411
|
+
export declare class FlowResourceClient<O> {
|
|
457
412
|
protected httpClient: HttpClient<O>;
|
|
458
413
|
constructor(httpClient: HttpClient<O>);
|
|
459
414
|
/**
|
|
460
|
-
* HTTP
|
|
461
|
-
* Java method: org.openremote.model.
|
|
415
|
+
* HTTP GET /flow
|
|
416
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
462
417
|
*/
|
|
463
|
-
|
|
418
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
464
419
|
/**
|
|
465
|
-
* HTTP
|
|
466
|
-
* Java method: org.openremote.model.
|
|
420
|
+
* HTTP GET /flow/{name}
|
|
421
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
467
422
|
*/
|
|
468
|
-
|
|
423
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
424
|
+
/**
|
|
425
|
+
* HTTP GET /flow/{type}
|
|
426
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
427
|
+
*/
|
|
428
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
469
429
|
}
|
|
470
|
-
export declare class
|
|
430
|
+
export declare class RulesResourceClient<O> {
|
|
471
431
|
protected httpClient: HttpClient<O>;
|
|
472
432
|
constructor(httpClient: HttpClient<O>);
|
|
473
433
|
/**
|
|
474
|
-
* HTTP POST /
|
|
475
|
-
* Java method: org.openremote.model.
|
|
476
|
-
*/
|
|
477
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
478
|
-
/**
|
|
479
|
-
* HTTP PUT /dashboard
|
|
480
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
434
|
+
* HTTP POST /rules
|
|
435
|
+
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
481
436
|
*/
|
|
482
|
-
|
|
437
|
+
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
483
438
|
/**
|
|
484
|
-
* HTTP GET /
|
|
485
|
-
* Java method: org.openremote.model.
|
|
439
|
+
* HTTP GET /rules
|
|
440
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
486
441
|
*/
|
|
487
|
-
|
|
442
|
+
getGlobalRulesets(queryParams?: {
|
|
443
|
+
language?: Model.RulesetLang[];
|
|
444
|
+
fullyPopulate?: boolean;
|
|
445
|
+
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
488
446
|
/**
|
|
489
|
-
* HTTP POST /
|
|
490
|
-
* Java method: org.openremote.model.
|
|
447
|
+
* HTTP POST /rules/asset
|
|
448
|
+
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
491
449
|
*/
|
|
492
|
-
|
|
450
|
+
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
493
451
|
/**
|
|
494
|
-
* HTTP
|
|
495
|
-
* Java method: org.openremote.model.
|
|
452
|
+
* HTTP GET /rules/asset/for/{assetId}
|
|
453
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
496
454
|
*/
|
|
497
|
-
|
|
455
|
+
getAssetRulesets(assetId: string, queryParams?: {
|
|
456
|
+
language?: Model.RulesetLang[];
|
|
457
|
+
fullyPopulate?: boolean;
|
|
458
|
+
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
498
459
|
/**
|
|
499
|
-
* HTTP
|
|
500
|
-
* Java method: org.openremote.model.
|
|
460
|
+
* HTTP DELETE /rules/asset/{id}
|
|
461
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
501
462
|
*/
|
|
502
|
-
|
|
503
|
-
}
|
|
504
|
-
export declare class AgentResourceClient<O> {
|
|
505
|
-
protected httpClient: HttpClient<O>;
|
|
506
|
-
constructor(httpClient: HttpClient<O>);
|
|
463
|
+
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
507
464
|
/**
|
|
508
|
-
* HTTP GET /
|
|
509
|
-
* Java method: org.openremote.model.
|
|
465
|
+
* HTTP GET /rules/asset/{id}
|
|
466
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
510
467
|
*/
|
|
511
|
-
|
|
512
|
-
realm?: string;
|
|
513
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
468
|
+
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
514
469
|
/**
|
|
515
|
-
* HTTP
|
|
516
|
-
* Java method: org.openremote.model.
|
|
470
|
+
* HTTP PUT /rules/asset/{id}
|
|
471
|
+
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
517
472
|
*/
|
|
518
|
-
|
|
519
|
-
realm?: string;
|
|
520
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
473
|
+
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
521
474
|
/**
|
|
522
|
-
* HTTP GET /
|
|
523
|
-
* Java method: org.openremote.model.
|
|
475
|
+
* HTTP GET /rules/geofences/{assetId}
|
|
476
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
524
477
|
*/
|
|
525
|
-
|
|
526
|
-
parentId?: string;
|
|
527
|
-
realm?: string;
|
|
528
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
529
|
-
}
|
|
530
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
531
|
-
protected httpClient: HttpClient<O>;
|
|
532
|
-
constructor(httpClient: HttpClient<O>);
|
|
478
|
+
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
533
479
|
/**
|
|
534
|
-
* HTTP GET /asset/
|
|
535
|
-
* Java method: org.openremote.model.
|
|
480
|
+
* HTTP GET /rules/info/asset/{assetId}
|
|
481
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
536
482
|
*/
|
|
537
|
-
|
|
538
|
-
attributeRefs?: string;
|
|
539
|
-
fromTimestamp?: number;
|
|
540
|
-
toTimestamp?: number;
|
|
541
|
-
}, options?: O): RestResponse<any>;
|
|
483
|
+
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
542
484
|
/**
|
|
543
|
-
* HTTP GET /
|
|
544
|
-
* Java method: org.openremote.model.
|
|
485
|
+
* HTTP GET /rules/info/global
|
|
486
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
545
487
|
*/
|
|
546
|
-
|
|
547
|
-
assetId?: string;
|
|
548
|
-
attributeName?: string;
|
|
549
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
488
|
+
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
550
489
|
/**
|
|
551
|
-
* HTTP
|
|
552
|
-
* Java method: org.openremote.model.
|
|
490
|
+
* HTTP GET /rules/info/realm/{realm}
|
|
491
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
553
492
|
*/
|
|
554
|
-
|
|
555
|
-
}
|
|
556
|
-
export declare class AlarmResourceClient<O> {
|
|
557
|
-
protected httpClient: HttpClient<O>;
|
|
558
|
-
constructor(httpClient: HttpClient<O>);
|
|
493
|
+
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
559
494
|
/**
|
|
560
|
-
* HTTP POST /
|
|
561
|
-
* Java method: org.openremote.model.
|
|
495
|
+
* HTTP POST /rules/realm
|
|
496
|
+
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
562
497
|
*/
|
|
563
|
-
|
|
564
|
-
assetIds?: string[];
|
|
565
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
498
|
+
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
566
499
|
/**
|
|
567
|
-
* HTTP GET /
|
|
568
|
-
* Java method: org.openremote.model.
|
|
500
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
501
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
569
502
|
*/
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
assigneeId?: string;
|
|
575
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
503
|
+
getRealmRulesets(realm: string, queryParams?: {
|
|
504
|
+
language?: Model.RulesetLang[];
|
|
505
|
+
fullyPopulate?: boolean;
|
|
506
|
+
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
576
507
|
/**
|
|
577
|
-
* HTTP DELETE /
|
|
578
|
-
* Java method: org.openremote.model.
|
|
508
|
+
* HTTP DELETE /rules/realm/{id}
|
|
509
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
579
510
|
*/
|
|
580
|
-
|
|
511
|
+
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
581
512
|
/**
|
|
582
|
-
* HTTP
|
|
583
|
-
* Java method: org.openremote.model.
|
|
513
|
+
* HTTP GET /rules/realm/{id}
|
|
514
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
584
515
|
*/
|
|
585
|
-
|
|
516
|
+
getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
|
|
586
517
|
/**
|
|
587
|
-
* HTTP
|
|
588
|
-
* Java method: org.openremote.model.
|
|
518
|
+
* HTTP PUT /rules/realm/{id}
|
|
519
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
589
520
|
*/
|
|
590
|
-
|
|
521
|
+
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
591
522
|
/**
|
|
592
|
-
* HTTP DELETE /
|
|
593
|
-
* Java method: org.openremote.model.
|
|
523
|
+
* HTTP DELETE /rules/{id}
|
|
524
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
594
525
|
*/
|
|
595
|
-
|
|
526
|
+
deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
|
|
596
527
|
/**
|
|
597
|
-
* HTTP
|
|
598
|
-
* Java method: org.openremote.model.
|
|
528
|
+
* HTTP GET /rules/{id}
|
|
529
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
599
530
|
*/
|
|
600
|
-
|
|
531
|
+
getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
601
532
|
/**
|
|
602
|
-
* HTTP
|
|
603
|
-
* Java method: org.openremote.model.
|
|
533
|
+
* HTTP PUT /rules/{id}
|
|
534
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
604
535
|
*/
|
|
605
|
-
|
|
606
|
-
realm?: string;
|
|
607
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
536
|
+
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
608
537
|
}
|
|
609
|
-
export declare class
|
|
538
|
+
export declare class DashboardResourceClient<O> {
|
|
610
539
|
protected httpClient: HttpClient<O>;
|
|
611
540
|
constructor(httpClient: HttpClient<O>);
|
|
612
541
|
/**
|
|
613
|
-
* HTTP POST /
|
|
614
|
-
* Java method: org.openremote.model.
|
|
615
|
-
*/
|
|
616
|
-
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
617
|
-
/**
|
|
618
|
-
* HTTP GET /realm
|
|
619
|
-
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
620
|
-
*/
|
|
621
|
-
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
622
|
-
/**
|
|
623
|
-
* HTTP GET /realm/accessible
|
|
624
|
-
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
625
|
-
*/
|
|
626
|
-
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
627
|
-
/**
|
|
628
|
-
* HTTP DELETE /realm/{name}
|
|
629
|
-
* Java method: org.openremote.model.security.RealmResource.delete
|
|
630
|
-
*/
|
|
631
|
-
delete(name: string, options?: O): RestResponse<void>;
|
|
632
|
-
/**
|
|
633
|
-
* HTTP GET /realm/{name}
|
|
634
|
-
* Java method: org.openremote.model.security.RealmResource.get
|
|
542
|
+
* HTTP POST /dashboard
|
|
543
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
635
544
|
*/
|
|
636
|
-
|
|
545
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
637
546
|
/**
|
|
638
|
-
* HTTP PUT /
|
|
639
|
-
* Java method: org.openremote.model.
|
|
547
|
+
* HTTP PUT /dashboard
|
|
548
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
640
549
|
*/
|
|
641
|
-
update(
|
|
642
|
-
}
|
|
643
|
-
export declare class ProvisioningResourceClient<O> {
|
|
644
|
-
protected httpClient: HttpClient<O>;
|
|
645
|
-
constructor(httpClient: HttpClient<O>);
|
|
550
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
646
551
|
/**
|
|
647
|
-
* HTTP
|
|
648
|
-
* Java method: org.openremote.model.
|
|
552
|
+
* HTTP GET /dashboard/all/{realm}
|
|
553
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
649
554
|
*/
|
|
650
|
-
|
|
555
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
651
556
|
/**
|
|
652
|
-
* HTTP
|
|
653
|
-
* Java method: org.openremote.model.
|
|
557
|
+
* HTTP POST /dashboard/query
|
|
558
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
654
559
|
*/
|
|
655
|
-
|
|
560
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
656
561
|
/**
|
|
657
|
-
* HTTP DELETE /
|
|
658
|
-
* Java method: org.openremote.model.
|
|
562
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
563
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
659
564
|
*/
|
|
660
|
-
|
|
565
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
661
566
|
/**
|
|
662
|
-
* HTTP
|
|
663
|
-
* Java method: org.openremote.model.
|
|
567
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
568
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
664
569
|
*/
|
|
665
|
-
|
|
570
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
666
571
|
}
|
|
667
|
-
export declare class
|
|
572
|
+
export declare class AgentResourceClient<O> {
|
|
668
573
|
protected httpClient: HttpClient<O>;
|
|
669
574
|
constructor(httpClient: HttpClient<O>);
|
|
670
575
|
/**
|
|
671
|
-
* HTTP
|
|
672
|
-
* Java method: org.openremote.model.
|
|
673
|
-
*/
|
|
674
|
-
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
675
|
-
/**
|
|
676
|
-
* HTTP DELETE /gateway/tunnel
|
|
677
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
678
|
-
*/
|
|
679
|
-
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
680
|
-
/**
|
|
681
|
-
* HTTP GET /gateway/tunnel/{realm}
|
|
682
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
576
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
577
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
683
578
|
*/
|
|
684
|
-
|
|
579
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
580
|
+
realm?: string;
|
|
581
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
685
582
|
/**
|
|
686
|
-
* HTTP
|
|
687
|
-
* Java method: org.openremote.model.
|
|
583
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
584
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
688
585
|
*/
|
|
689
|
-
|
|
586
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
587
|
+
realm?: string;
|
|
588
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
690
589
|
/**
|
|
691
|
-
* HTTP GET /
|
|
692
|
-
* Java method: org.openremote.model.
|
|
590
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
591
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
693
592
|
*/
|
|
694
|
-
|
|
593
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
594
|
+
parentId?: string;
|
|
595
|
+
realm?: string;
|
|
596
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
695
597
|
}
|
|
696
|
-
export declare class
|
|
598
|
+
export declare class NotificationResourceClient<O> {
|
|
697
599
|
protected httpClient: HttpClient<O>;
|
|
698
600
|
constructor(httpClient: HttpClient<O>);
|
|
699
601
|
/**
|
|
700
|
-
* HTTP
|
|
701
|
-
* Java method: org.openremote.model.
|
|
602
|
+
* HTTP GET /notification
|
|
603
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
702
604
|
*/
|
|
703
|
-
|
|
605
|
+
getNotifications(queryParams?: {
|
|
606
|
+
id?: number;
|
|
607
|
+
type?: string;
|
|
608
|
+
from?: number;
|
|
609
|
+
to?: number;
|
|
610
|
+
realmId?: string;
|
|
611
|
+
userId?: string;
|
|
612
|
+
assetId?: string;
|
|
613
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
704
614
|
/**
|
|
705
|
-
* HTTP DELETE /
|
|
706
|
-
* Java method: org.openremote.model.
|
|
615
|
+
* HTTP DELETE /notification
|
|
616
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
707
617
|
*/
|
|
708
|
-
|
|
709
|
-
|
|
618
|
+
removeNotifications(queryParams?: {
|
|
619
|
+
id?: number;
|
|
620
|
+
type?: string;
|
|
621
|
+
from?: number;
|
|
622
|
+
to?: number;
|
|
623
|
+
realmId?: string;
|
|
624
|
+
userId?: string;
|
|
625
|
+
assetId?: string;
|
|
710
626
|
}, options?: O): RestResponse<void>;
|
|
711
627
|
/**
|
|
712
|
-
* HTTP
|
|
713
|
-
* Java method: org.openremote.model.
|
|
628
|
+
* HTTP POST /notification/alert
|
|
629
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
714
630
|
*/
|
|
715
|
-
|
|
631
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
716
632
|
/**
|
|
717
|
-
* HTTP
|
|
718
|
-
* Java method: org.openremote.model.
|
|
633
|
+
* HTTP DELETE /notification/{notificationId}
|
|
634
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
719
635
|
*/
|
|
720
|
-
|
|
636
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
721
637
|
/**
|
|
722
|
-
* HTTP
|
|
723
|
-
* Java method: org.openremote.model.
|
|
638
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
639
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
724
640
|
*/
|
|
725
|
-
|
|
726
|
-
|
|
641
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
642
|
+
targetId?: string;
|
|
727
643
|
}, options?: O): RestResponse<void>;
|
|
728
644
|
/**
|
|
729
|
-
* HTTP
|
|
730
|
-
* Java method: org.openremote.model.
|
|
645
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
646
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
731
647
|
*/
|
|
732
|
-
|
|
648
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
649
|
+
targetId?: string;
|
|
650
|
+
}, options?: O): RestResponse<void>;
|
|
651
|
+
}
|
|
652
|
+
export declare class GatewayClientResourceClient<O> {
|
|
653
|
+
protected httpClient: HttpClient<O>;
|
|
654
|
+
constructor(httpClient: HttpClient<O>);
|
|
733
655
|
/**
|
|
734
|
-
* HTTP
|
|
735
|
-
* Java method: org.openremote.model.
|
|
656
|
+
* HTTP DELETE /gateway/connection
|
|
657
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
736
658
|
*/
|
|
737
|
-
|
|
659
|
+
deleteConnections(queryParams?: {
|
|
660
|
+
realm?: string[];
|
|
661
|
+
}, options?: O): RestResponse<void>;
|
|
738
662
|
/**
|
|
739
|
-
* HTTP
|
|
740
|
-
* Java method: org.openremote.model.
|
|
663
|
+
* HTTP GET /gateway/connection
|
|
664
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
741
665
|
*/
|
|
742
|
-
|
|
666
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
743
667
|
/**
|
|
744
|
-
* HTTP
|
|
745
|
-
* Java method: org.openremote.model.
|
|
668
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
669
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
746
670
|
*/
|
|
747
|
-
|
|
671
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
748
672
|
/**
|
|
749
|
-
* HTTP
|
|
750
|
-
* Java method: org.openremote.model.
|
|
673
|
+
* HTTP GET /gateway/connection/{realm}
|
|
674
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
751
675
|
*/
|
|
752
|
-
|
|
676
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
753
677
|
/**
|
|
754
|
-
* HTTP
|
|
755
|
-
* Java method: org.openremote.model.
|
|
678
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
679
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
756
680
|
*/
|
|
757
|
-
|
|
758
|
-
realm?: string;
|
|
759
|
-
userId?: string;
|
|
760
|
-
assetId?: string;
|
|
761
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
681
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
762
682
|
/**
|
|
763
|
-
* HTTP
|
|
764
|
-
* Java method: org.openremote.model.
|
|
683
|
+
* HTTP GET /gateway/status/{realm}
|
|
684
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
765
685
|
*/
|
|
766
|
-
|
|
686
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
687
|
+
}
|
|
688
|
+
export declare class ConsoleResourceClient<O> {
|
|
689
|
+
protected httpClient: HttpClient<O>;
|
|
690
|
+
constructor(httpClient: HttpClient<O>);
|
|
767
691
|
/**
|
|
768
|
-
* HTTP
|
|
769
|
-
* Java method: org.openremote.model.
|
|
692
|
+
* HTTP POST /console/register
|
|
693
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
770
694
|
*/
|
|
771
|
-
|
|
695
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
696
|
+
}
|
|
697
|
+
export declare class ExternalServiceResourceClient<O> {
|
|
698
|
+
protected httpClient: HttpClient<O>;
|
|
699
|
+
constructor(httpClient: HttpClient<O>);
|
|
772
700
|
/**
|
|
773
|
-
*
|
|
774
|
-
*
|
|
701
|
+
* Response code 200 - List of registered external services
|
|
702
|
+
* HTTP GET /service
|
|
703
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
775
704
|
*/
|
|
776
|
-
|
|
705
|
+
getServices(queryParams?: {
|
|
706
|
+
realm?: string;
|
|
707
|
+
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
777
708
|
/**
|
|
778
|
-
*
|
|
779
|
-
*
|
|
709
|
+
* Response code 200 - Service registered successfully
|
|
710
|
+
* Response code 400 - Invalid external service object
|
|
711
|
+
* Response code 409 - ExternalService instance already registered
|
|
712
|
+
* HTTP POST /service
|
|
713
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
780
714
|
*/
|
|
781
|
-
|
|
715
|
+
registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
782
716
|
/**
|
|
783
|
-
*
|
|
784
|
-
*
|
|
717
|
+
* Response code 200 - List of registered external services
|
|
718
|
+
* HTTP GET /service/global
|
|
719
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
785
720
|
*/
|
|
786
|
-
|
|
721
|
+
getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
|
|
787
722
|
/**
|
|
788
|
-
*
|
|
789
|
-
*
|
|
723
|
+
* Response code 200 - Service registered successfully
|
|
724
|
+
* Response code 400 - Invalid external service object
|
|
725
|
+
* Response code 409 - ExternalService instance already registered
|
|
726
|
+
* HTTP POST /service/global
|
|
727
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
790
728
|
*/
|
|
791
|
-
|
|
729
|
+
registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
792
730
|
/**
|
|
793
|
-
*
|
|
794
|
-
*
|
|
731
|
+
* Response code 204 - Service deregistered successfully
|
|
732
|
+
* Response code 404 - Service instance not found
|
|
733
|
+
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
734
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
795
735
|
*/
|
|
796
|
-
|
|
736
|
+
deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
797
737
|
/**
|
|
798
|
-
*
|
|
799
|
-
*
|
|
738
|
+
* Response code 200 - ExternalService retrieved successfully
|
|
739
|
+
* Response code 404 - ExternalService not found
|
|
740
|
+
* HTTP GET /service/{serviceId}/{instanceId}
|
|
741
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
800
742
|
*/
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
743
|
+
getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
|
|
744
|
+
/**
|
|
745
|
+
* Response code 204 - Heartbeat sent successfully
|
|
746
|
+
* Response code 404 - Service instance not found
|
|
747
|
+
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
748
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
749
|
+
*/
|
|
750
|
+
heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
804
751
|
}
|
|
805
|
-
export declare class
|
|
752
|
+
export declare class SyslogResourceClient<O> {
|
|
806
753
|
protected httpClient: HttpClient<O>;
|
|
807
754
|
constructor(httpClient: HttpClient<O>);
|
|
808
755
|
/**
|
|
809
|
-
* HTTP GET /
|
|
810
|
-
* Java method: org.openremote.model.
|
|
756
|
+
* HTTP GET /syslog/config
|
|
757
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
811
758
|
*/
|
|
812
|
-
|
|
759
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
813
760
|
/**
|
|
814
|
-
* HTTP
|
|
815
|
-
* Java method: org.openremote.model.
|
|
761
|
+
* HTTP PUT /syslog/config
|
|
762
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
816
763
|
*/
|
|
817
|
-
|
|
764
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
818
765
|
/**
|
|
819
|
-
* HTTP
|
|
820
|
-
* Java method: org.openremote.model.
|
|
766
|
+
* HTTP DELETE /syslog/event
|
|
767
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
821
768
|
*/
|
|
822
|
-
|
|
769
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
770
|
+
/**
|
|
771
|
+
* HTTP GET /syslog/event
|
|
772
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
773
|
+
*/
|
|
774
|
+
getEvents(queryParams?: {
|
|
775
|
+
level?: Model.SyslogLevel;
|
|
776
|
+
per_page?: number;
|
|
777
|
+
page?: number;
|
|
778
|
+
from?: number;
|
|
779
|
+
to?: number;
|
|
780
|
+
category?: Model.SyslogCategory[];
|
|
781
|
+
subCategory?: string[];
|
|
782
|
+
}, options?: O): RestResponse<any>;
|
|
823
783
|
}
|
|
824
|
-
export declare class
|
|
784
|
+
export declare class MapResourceClient<O> {
|
|
825
785
|
protected httpClient: HttpClient<O>;
|
|
826
786
|
constructor(httpClient: HttpClient<O>);
|
|
827
787
|
/**
|
|
828
|
-
* HTTP GET /
|
|
829
|
-
* Java method: org.openremote.model.
|
|
788
|
+
* HTTP GET /map
|
|
789
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
830
790
|
*/
|
|
831
|
-
|
|
832
|
-
id
|
|
833
|
-
|
|
834
|
-
from?: number;
|
|
835
|
-
to?: number;
|
|
836
|
-
realmId?: string;
|
|
837
|
-
userId?: string;
|
|
838
|
-
assetId?: string;
|
|
839
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
791
|
+
getSettings(options?: O): RestResponse<{
|
|
792
|
+
[id: string]: unknown;
|
|
793
|
+
}>;
|
|
840
794
|
/**
|
|
841
|
-
* HTTP
|
|
842
|
-
* Java method: org.openremote.model.
|
|
795
|
+
* HTTP PUT /map
|
|
796
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
843
797
|
*/
|
|
844
|
-
|
|
845
|
-
id
|
|
846
|
-
|
|
847
|
-
from?: number;
|
|
848
|
-
to?: number;
|
|
849
|
-
realmId?: string;
|
|
850
|
-
userId?: string;
|
|
851
|
-
assetId?: string;
|
|
852
|
-
}, options?: O): RestResponse<void>;
|
|
798
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
799
|
+
[id: string]: unknown;
|
|
800
|
+
}>;
|
|
853
801
|
/**
|
|
854
|
-
* HTTP
|
|
855
|
-
* Java method: org.openremote.model.
|
|
802
|
+
* HTTP DELETE /map/deleteMap
|
|
803
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
856
804
|
*/
|
|
857
|
-
|
|
805
|
+
deleteMap(options?: O): RestResponse<{
|
|
806
|
+
[id: string]: unknown;
|
|
807
|
+
}>;
|
|
858
808
|
/**
|
|
859
|
-
* HTTP
|
|
860
|
-
* Java method: org.openremote.model.
|
|
809
|
+
* HTTP GET /map/getCustomMapInfo
|
|
810
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
861
811
|
*/
|
|
862
|
-
|
|
812
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
813
|
+
[id: string]: unknown;
|
|
814
|
+
}>;
|
|
863
815
|
/**
|
|
864
|
-
* HTTP
|
|
865
|
-
* Java method: org.openremote.model.
|
|
816
|
+
* HTTP GET /map/js
|
|
817
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
866
818
|
*/
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
}
|
|
819
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
820
|
+
[id: string]: unknown;
|
|
821
|
+
}>;
|
|
870
822
|
/**
|
|
871
|
-
* HTTP
|
|
872
|
-
* Java method: org.openremote.model.
|
|
823
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
824
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
873
825
|
*/
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
826
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
827
|
+
/**
|
|
828
|
+
* HTTP POST /map/upload
|
|
829
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
830
|
+
*/
|
|
831
|
+
uploadMap(queryParams?: {
|
|
832
|
+
filename?: string;
|
|
833
|
+
}, options?: O): RestResponse<{
|
|
834
|
+
[id: string]: unknown;
|
|
835
|
+
}>;
|
|
877
836
|
}
|
|
878
837
|
export declare class AssetModelResourceClient<O> {
|
|
879
838
|
protected httpClient: HttpClient<O>;
|
|
@@ -928,89 +887,130 @@ export declare class AssetModelResourceClient<O> {
|
|
|
928
887
|
[index: string]: Model.ValueDescriptor;
|
|
929
888
|
}>;
|
|
930
889
|
}
|
|
931
|
-
export declare class
|
|
890
|
+
export declare class AppResourceClient<O> {
|
|
932
891
|
protected httpClient: HttpClient<O>;
|
|
933
892
|
constructor(httpClient: HttpClient<O>);
|
|
934
893
|
/**
|
|
935
|
-
* HTTP
|
|
936
|
-
* Java method: org.openremote.model.
|
|
894
|
+
* HTTP GET /apps
|
|
895
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
937
896
|
*/
|
|
938
|
-
|
|
939
|
-
realm?: string[];
|
|
940
|
-
}, options?: O): RestResponse<void>;
|
|
897
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
941
898
|
/**
|
|
942
|
-
* HTTP GET /
|
|
943
|
-
* Java method: org.openremote.model.
|
|
899
|
+
* HTTP GET /apps/consoleConfig
|
|
900
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
944
901
|
*/
|
|
945
|
-
|
|
902
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
946
903
|
/**
|
|
947
|
-
* HTTP
|
|
948
|
-
* Java method: org.openremote.model.
|
|
904
|
+
* HTTP GET /apps/info
|
|
905
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
949
906
|
*/
|
|
950
|
-
|
|
907
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
908
|
+
}
|
|
909
|
+
export declare class StatusResourceClient<O> {
|
|
910
|
+
protected httpClient: HttpClient<O>;
|
|
911
|
+
constructor(httpClient: HttpClient<O>);
|
|
951
912
|
/**
|
|
952
|
-
* HTTP GET /
|
|
953
|
-
* Java method: org.openremote.model.
|
|
913
|
+
* HTTP GET /health
|
|
914
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
954
915
|
*/
|
|
955
|
-
|
|
916
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
917
|
+
[index: string]: any;
|
|
918
|
+
}>;
|
|
956
919
|
/**
|
|
957
|
-
* HTTP
|
|
958
|
-
* Java method: org.openremote.model.
|
|
920
|
+
* HTTP GET /info
|
|
921
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
959
922
|
*/
|
|
960
|
-
|
|
923
|
+
getInfo(options?: O): RestResponse<{
|
|
924
|
+
[index: string]: any;
|
|
925
|
+
}>;
|
|
926
|
+
}
|
|
927
|
+
export declare class ConfigurationResourceClient<O> {
|
|
928
|
+
protected httpClient: HttpClient<O>;
|
|
929
|
+
constructor(httpClient: HttpClient<O>);
|
|
961
930
|
/**
|
|
962
|
-
* HTTP GET /
|
|
963
|
-
* Java method: org.openremote.model.
|
|
931
|
+
* HTTP GET /configuration/manager
|
|
932
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
964
933
|
*/
|
|
965
|
-
|
|
934
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
935
|
+
/**
|
|
936
|
+
* HTTP PUT /configuration/manager
|
|
937
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
938
|
+
*/
|
|
939
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
940
|
+
/**
|
|
941
|
+
* HTTP POST /configuration/manager/file
|
|
942
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
943
|
+
*/
|
|
944
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
945
|
+
path?: string;
|
|
946
|
+
}, options?: O): RestResponse<string>;
|
|
947
|
+
/**
|
|
948
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
949
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
950
|
+
*/
|
|
951
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
952
|
+
}
|
|
953
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
954
|
+
protected httpClient: HttpClient<O>;
|
|
955
|
+
constructor(httpClient: HttpClient<O>);
|
|
956
|
+
/**
|
|
957
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
958
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
959
|
+
*/
|
|
960
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
961
|
+
/**
|
|
962
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
963
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
964
|
+
*/
|
|
965
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
966
966
|
}
|
|
967
967
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
968
968
|
export declare class ApiClient {
|
|
969
969
|
protected _userResource: AxiosUserResourceClient;
|
|
970
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
971
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
972
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
973
|
-
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
974
|
-
protected _rulesResource: AxiosRulesResourceClient;
|
|
975
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
976
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
977
|
-
protected _mapResource: AxiosMapResourceClient;
|
|
978
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
979
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
980
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
981
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
982
970
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
983
971
|
protected _realmResource: AxiosRealmResourceClient;
|
|
972
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
984
973
|
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
985
974
|
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
986
975
|
protected _assetResource: AxiosAssetResourceClient;
|
|
987
|
-
protected
|
|
976
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
977
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
978
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
979
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
988
980
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
989
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
990
981
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
982
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
983
|
+
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
984
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
985
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
986
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
987
|
+
protected _appResource: AxiosAppResourceClient;
|
|
988
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
989
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
990
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
991
991
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
992
992
|
get UserResource(): AxiosUserResourceClient;
|
|
993
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
994
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
995
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
996
|
-
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
997
|
-
get RulesResource(): AxiosRulesResourceClient;
|
|
998
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
999
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
1000
|
-
get MapResource(): AxiosMapResourceClient;
|
|
1001
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1002
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1003
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
1004
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
1005
993
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1006
994
|
get RealmResource(): AxiosRealmResourceClient;
|
|
995
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
1007
996
|
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
1008
997
|
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
1009
998
|
get AssetResource(): AxiosAssetResourceClient;
|
|
1010
|
-
get
|
|
999
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
1000
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
1001
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1002
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
1011
1003
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1012
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1013
1004
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
1005
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1006
|
+
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
1007
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
1008
|
+
get MapResource(): AxiosMapResourceClient;
|
|
1009
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1010
|
+
get AppResource(): AxiosAppResourceClient;
|
|
1011
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
1012
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
1013
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1014
1014
|
}
|
|
1015
1015
|
import * as Axios from "axios";
|
|
1016
1016
|
declare module "axios" {
|
|
@@ -1021,31 +1021,28 @@ declare module "axios" {
|
|
|
1021
1021
|
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1022
1022
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1023
1023
|
}
|
|
1024
|
-
export declare class
|
|
1025
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1026
|
-
}
|
|
1027
|
-
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1024
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1028
1025
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1029
1026
|
}
|
|
1030
|
-
export declare class
|
|
1027
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1031
1028
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1032
1029
|
}
|
|
1033
|
-
export declare class
|
|
1030
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1034
1031
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1035
1032
|
}
|
|
1036
|
-
export declare class
|
|
1033
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1037
1034
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1038
1035
|
}
|
|
1039
|
-
export declare class
|
|
1036
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1040
1037
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1041
1038
|
}
|
|
1042
|
-
export declare class
|
|
1039
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1043
1040
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1044
1041
|
}
|
|
1045
|
-
export declare class
|
|
1042
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1046
1043
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1047
1044
|
}
|
|
1048
|
-
export declare class
|
|
1045
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1049
1046
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1050
1047
|
}
|
|
1051
1048
|
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
@@ -1054,33 +1051,36 @@ export declare class AxiosDashboardResourceClient extends DashboardResourceClien
|
|
|
1054
1051
|
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1055
1052
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1056
1053
|
}
|
|
1057
|
-
export declare class
|
|
1054
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1058
1055
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1059
1056
|
}
|
|
1060
|
-
export declare class
|
|
1057
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1061
1058
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1062
1059
|
}
|
|
1063
|
-
export declare class
|
|
1060
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1064
1061
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1065
1062
|
}
|
|
1066
|
-
export declare class
|
|
1063
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1067
1064
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1068
1065
|
}
|
|
1069
|
-
export declare class
|
|
1066
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1070
1067
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1071
1068
|
}
|
|
1072
|
-
export declare class
|
|
1069
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1070
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1071
|
+
}
|
|
1072
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1073
1073
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1074
1074
|
}
|
|
1075
1075
|
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1076
1076
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1077
1077
|
}
|
|
1078
|
-
export declare class
|
|
1078
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1079
1079
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1080
1080
|
}
|
|
1081
|
-
export declare class
|
|
1081
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1082
1082
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1083
1083
|
}
|
|
1084
|
-
export declare class
|
|
1084
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1085
1085
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1086
1086
|
}
|