@openremote/rest 1.5.0-snapshot.20250423090305 → 1.5.0

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