@openremote/rest 1.13.0-snapshot.20251218130832 → 1.13.0-snapshot.20251218141334

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,39 +9,39 @@ export interface HttpClient<O> {
9
9
  options?: O;
10
10
  }): RestResponse<R>;
11
11
  }
12
- export declare class RealmResourceClient<O> {
12
+ export declare class DashboardResourceClient<O> {
13
13
  protected httpClient: HttpClient<O>;
14
14
  constructor(httpClient: HttpClient<O>);
15
15
  /**
16
- * HTTP POST /realm
17
- * Java method: org.openremote.model.security.RealmResource.create
16
+ * HTTP POST /dashboard
17
+ * Java method: org.openremote.model.dashboard.DashboardResource.create
18
18
  */
19
- create(realm: Model.Realm, options?: O): RestResponse<void>;
19
+ create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
20
20
  /**
21
- * HTTP GET /realm
22
- * Java method: org.openremote.model.security.RealmResource.getAll
21
+ * HTTP PUT /dashboard
22
+ * Java method: org.openremote.model.dashboard.DashboardResource.update
23
23
  */
24
- getAll(options?: O): RestResponse<Model.Realm[]>;
24
+ update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
25
25
  /**
26
- * HTTP GET /realm/accessible
27
- * Java method: org.openremote.model.security.RealmResource.getAccessible
26
+ * HTTP GET /dashboard/all/{realm}
27
+ * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
28
28
  */
29
- getAccessible(options?: O): RestResponse<Model.Realm[]>;
29
+ getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
30
30
  /**
31
- * HTTP DELETE /realm/{name}
32
- * Java method: org.openremote.model.security.RealmResource.delete
31
+ * HTTP POST /dashboard/query
32
+ * Java method: org.openremote.model.dashboard.DashboardResource.query
33
33
  */
34
- delete(name: string, options?: O): RestResponse<void>;
34
+ query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
35
35
  /**
36
- * HTTP GET /realm/{name}
37
- * Java method: org.openremote.model.security.RealmResource.get
36
+ * HTTP DELETE /dashboard/{realm}/{dashboardId}
37
+ * Java method: org.openremote.model.dashboard.DashboardResource.delete
38
38
  */
39
- get(name: string, options?: O): RestResponse<Model.Realm>;
39
+ delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
40
40
  /**
41
- * HTTP PUT /realm/{name}
42
- * Java method: org.openremote.model.security.RealmResource.update
41
+ * HTTP GET /dashboard/{realm}/{dashboardId}
42
+ * Java method: org.openremote.model.dashboard.DashboardResource.get
43
43
  */
44
- update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
44
+ get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
45
45
  }
46
46
  export declare class StatusResourceClient<O> {
47
47
  protected httpClient: HttpClient<O>;
@@ -61,29 +61,6 @@ export declare class StatusResourceClient<O> {
61
61
  [index: string]: any;
62
62
  }>;
63
63
  }
64
- export declare class ConsoleResourceClient<O> {
65
- protected httpClient: HttpClient<O>;
66
- constructor(httpClient: HttpClient<O>);
67
- /**
68
- * HTTP POST /console/register
69
- * Java method: org.openremote.model.console.ConsoleResource.register
70
- */
71
- register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
72
- }
73
- export declare class AssetPredictedDatapointResourceClient<O> {
74
- protected httpClient: HttpClient<O>;
75
- constructor(httpClient: HttpClient<O>);
76
- /**
77
- * HTTP POST /asset/predicted/{assetId}/{attributeName}
78
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
79
- */
80
- getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
81
- /**
82
- * HTTP PUT /asset/predicted/{assetId}/{attributeName}
83
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
84
- */
85
- writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
86
- }
87
64
  export declare class AssetDatapointResourceClient<O> {
88
65
  protected httpClient: HttpClient<O>;
89
66
  constructor(httpClient: HttpClient<O>);
@@ -110,6 +87,268 @@ export declare class AssetDatapointResourceClient<O> {
110
87
  */
111
88
  getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
112
89
  }
90
+ export declare class AssetResourceClient<O> {
91
+ protected httpClient: HttpClient<O>;
92
+ constructor(httpClient: HttpClient<O>);
93
+ /**
94
+ * HTTP POST /asset
95
+ * Java method: org.openremote.model.asset.AssetResource.create
96
+ */
97
+ create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
98
+ /**
99
+ * HTTP DELETE /asset
100
+ * Java method: org.openremote.model.asset.AssetResource.delete
101
+ */
102
+ delete(queryParams?: {
103
+ assetId?: string[];
104
+ }, options?: O): RestResponse<void>;
105
+ /**
106
+ * HTTP PUT /asset/attributes
107
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
108
+ */
109
+ writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
110
+ /**
111
+ * HTTP PUT /asset/attributes/timestamp
112
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
113
+ */
114
+ writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
115
+ /**
116
+ * HTTP DELETE /asset/parent
117
+ * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
118
+ */
119
+ updateNoneParent(queryParams?: {
120
+ assetIds?: string[];
121
+ }, options?: O): RestResponse<void>;
122
+ /**
123
+ * HTTP GET /asset/partial/{assetId}
124
+ * Java method: org.openremote.model.asset.AssetResource.getPartial
125
+ */
126
+ getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
127
+ /**
128
+ * HTTP POST /asset/query
129
+ * Java method: org.openremote.model.asset.AssetResource.queryAssets
130
+ */
131
+ queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
132
+ /**
133
+ * HTTP POST /asset/tree
134
+ * Java method: org.openremote.model.asset.AssetResource.queryAssetTree
135
+ */
136
+ queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
137
+ /**
138
+ * HTTP GET /asset/user/current
139
+ * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
140
+ */
141
+ getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
142
+ /**
143
+ * HTTP POST /asset/user/link
144
+ * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
145
+ */
146
+ createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
147
+ /**
148
+ * HTTP GET /asset/user/link
149
+ * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
150
+ */
151
+ getUserAssetLinks(queryParams?: {
152
+ realm?: string;
153
+ userId?: string;
154
+ assetId?: string;
155
+ }, options?: O): RestResponse<Model.UserAssetLink[]>;
156
+ /**
157
+ * HTTP POST /asset/user/link/delete
158
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
159
+ */
160
+ deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
161
+ /**
162
+ * HTTP DELETE /asset/user/link/{realm}/{userId}
163
+ * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
164
+ */
165
+ deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
166
+ /**
167
+ * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
168
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
169
+ */
170
+ deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
171
+ /**
172
+ * HTTP GET /asset/{assetId}
173
+ * Java method: org.openremote.model.asset.AssetResource.get
174
+ */
175
+ get(assetId: string, options?: O): RestResponse<Model.Asset>;
176
+ /**
177
+ * HTTP PUT /asset/{assetId}
178
+ * Java method: org.openremote.model.asset.AssetResource.update
179
+ */
180
+ update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
181
+ /**
182
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}
183
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
184
+ */
185
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
186
+ /**
187
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
188
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
189
+ */
190
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
191
+ /**
192
+ * HTTP PUT /asset/{parentAssetId}/child
193
+ * Java method: org.openremote.model.asset.AssetResource.updateParent
194
+ */
195
+ updateParent(parentAssetId: string, queryParams?: {
196
+ assetIds?: string[];
197
+ }, options?: O): RestResponse<void>;
198
+ }
199
+ export declare class AssetModelResourceClient<O> {
200
+ protected httpClient: HttpClient<O>;
201
+ constructor(httpClient: HttpClient<O>);
202
+ /**
203
+ * HTTP GET /model/assetDescriptors
204
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
205
+ */
206
+ getAssetDescriptors(queryParams?: {
207
+ parentId?: string;
208
+ parentType?: string;
209
+ }, options?: O): RestResponse<Model.AssetDescriptor[]>;
210
+ /**
211
+ * HTTP GET /model/assetInfo/{assetType}
212
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
213
+ */
214
+ getAssetInfo(assetType: string, queryParams?: {
215
+ parentId?: string;
216
+ }, options?: O): RestResponse<Model.AssetTypeInfo>;
217
+ /**
218
+ * HTTP GET /model/assetInfos
219
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
220
+ */
221
+ getAssetInfos(queryParams?: {
222
+ parentId?: string;
223
+ parentType?: string;
224
+ }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
225
+ /**
226
+ * HTTP GET /model/getValueDescriptorSchema
227
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
228
+ */
229
+ getValueDescriptorSchema(queryParams?: {
230
+ name?: string;
231
+ hash?: string;
232
+ }, options?: O): RestResponse<any>;
233
+ /**
234
+ * HTTP GET /model/metaItemDescriptors
235
+ * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
236
+ */
237
+ getMetaItemDescriptors(queryParams?: {
238
+ parentId?: string;
239
+ }, options?: O): RestResponse<{
240
+ [index: string]: Model.MetaItemDescriptor;
241
+ }>;
242
+ /**
243
+ * HTTP GET /model/valueDescriptors
244
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
245
+ */
246
+ getValueDescriptors(queryParams?: {
247
+ parentId?: string;
248
+ }, options?: O): RestResponse<{
249
+ [index: string]: Model.ValueDescriptor;
250
+ }>;
251
+ }
252
+ export declare class AppResourceClient<O> {
253
+ protected httpClient: HttpClient<O>;
254
+ constructor(httpClient: HttpClient<O>);
255
+ /**
256
+ * HTTP GET /apps
257
+ * Java method: org.openremote.model.apps.AppResource.getApps
258
+ */
259
+ getApps(options?: O): RestResponse<string[]>;
260
+ /**
261
+ * HTTP GET /apps/consoleConfig
262
+ * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
263
+ */
264
+ getConsoleConfig(options?: O): RestResponse<any>;
265
+ /**
266
+ * HTTP GET /apps/info
267
+ * Java method: org.openremote.model.apps.AppResource.getAppInfos
268
+ */
269
+ getAppInfos(options?: O): RestResponse<any>;
270
+ }
271
+ export declare class FlowResourceClient<O> {
272
+ protected httpClient: HttpClient<O>;
273
+ constructor(httpClient: HttpClient<O>);
274
+ /**
275
+ * HTTP GET /flow
276
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
277
+ */
278
+ getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
279
+ /**
280
+ * HTTP GET /flow/{name}
281
+ * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
282
+ */
283
+ getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
284
+ /**
285
+ * HTTP GET /flow/{type}
286
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
287
+ */
288
+ getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
289
+ }
290
+ export declare class MapResourceClient<O> {
291
+ protected httpClient: HttpClient<O>;
292
+ constructor(httpClient: HttpClient<O>);
293
+ /**
294
+ * HTTP GET /map
295
+ * Java method: org.openremote.model.map.MapResource.getSettings
296
+ */
297
+ getSettings(options?: O): RestResponse<{
298
+ [id: string]: unknown;
299
+ }>;
300
+ /**
301
+ * HTTP PUT /map
302
+ * Java method: org.openremote.model.map.MapResource.saveSettings
303
+ */
304
+ saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
305
+ [id: string]: unknown;
306
+ }>;
307
+ /**
308
+ * HTTP DELETE /map/deleteMap
309
+ * Java method: org.openremote.model.map.MapResource.deleteMap
310
+ */
311
+ deleteMap(options?: O): RestResponse<{
312
+ [id: string]: unknown;
313
+ }>;
314
+ /**
315
+ * HTTP GET /map/getCustomMapInfo
316
+ * Java method: org.openremote.model.map.MapResource.getCustomMapInfo
317
+ */
318
+ getCustomMapInfo(options?: O): RestResponse<{
319
+ [id: string]: unknown;
320
+ }>;
321
+ /**
322
+ * HTTP GET /map/js
323
+ * Java method: org.openremote.model.map.MapResource.getSettingsJs
324
+ */
325
+ getSettingsJs(options?: O): RestResponse<{
326
+ [id: string]: unknown;
327
+ }>;
328
+ /**
329
+ * HTTP GET /map/tile/{zoom}/{column}/{row}
330
+ * Java method: org.openremote.model.map.MapResource.getTile
331
+ */
332
+ getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
333
+ /**
334
+ * HTTP POST /map/upload
335
+ * Java method: org.openremote.model.map.MapResource.uploadMap
336
+ */
337
+ uploadMap(queryParams?: {
338
+ filename?: string;
339
+ }, options?: O): RestResponse<{
340
+ [id: string]: unknown;
341
+ }>;
342
+ }
343
+ export declare class ConsoleResourceClient<O> {
344
+ protected httpClient: HttpClient<O>;
345
+ constructor(httpClient: HttpClient<O>);
346
+ /**
347
+ * HTTP POST /console/register
348
+ * Java method: org.openremote.model.console.ConsoleResource.register
349
+ */
350
+ register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
351
+ }
113
352
  export declare class UserResourceClient<O> {
114
353
  protected httpClient: HttpClient<O>;
115
354
  constructor(httpClient: HttpClient<O>);
@@ -234,38 +473,6 @@ export declare class UserResourceClient<O> {
234
473
  */
235
474
  get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
236
475
  }
237
- export declare class SyslogResourceClient<O> {
238
- protected httpClient: HttpClient<O>;
239
- constructor(httpClient: HttpClient<O>);
240
- /**
241
- * HTTP GET /syslog/config
242
- * Java method: org.openremote.model.syslog.SyslogResource.getConfig
243
- */
244
- getConfig(options?: O): RestResponse<Model.SyslogConfig>;
245
- /**
246
- * HTTP PUT /syslog/config
247
- * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
248
- */
249
- updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
250
- /**
251
- * HTTP DELETE /syslog/event
252
- * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
253
- */
254
- clearEvents(options?: O): RestResponse<void>;
255
- /**
256
- * HTTP GET /syslog/event
257
- * Java method: org.openremote.model.syslog.SyslogResource.getEvents
258
- */
259
- getEvents(queryParams?: {
260
- level?: Model.SyslogLevel;
261
- per_page?: number;
262
- page?: number;
263
- from?: number;
264
- to?: number;
265
- category?: Model.SyslogCategory[];
266
- subCategory?: string[];
267
- }, options?: O): RestResponse<any>;
268
- }
269
476
  export declare class ConfigurationResourceClient<O> {
270
477
  protected httpClient: HttpClient<O>;
271
478
  constructor(httpClient: HttpClient<O>);
@@ -292,49 +499,6 @@ export declare class ConfigurationResourceClient<O> {
292
499
  */
293
500
  getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
294
501
  }
295
- export declare class FlowResourceClient<O> {
296
- protected httpClient: HttpClient<O>;
297
- constructor(httpClient: HttpClient<O>);
298
- /**
299
- * HTTP GET /flow
300
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
301
- */
302
- getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
303
- /**
304
- * HTTP GET /flow/{name}
305
- * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
306
- */
307
- getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
308
- /**
309
- * HTTP GET /flow/{type}
310
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
311
- */
312
- getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
313
- }
314
- export declare class ProvisioningResourceClient<O> {
315
- protected httpClient: HttpClient<O>;
316
- constructor(httpClient: HttpClient<O>);
317
- /**
318
- * HTTP POST /provisioning
319
- * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
320
- */
321
- createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
322
- /**
323
- * HTTP GET /provisioning
324
- * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
325
- */
326
- getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
327
- /**
328
- * HTTP DELETE /provisioning/{id}
329
- * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
330
- */
331
- deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
332
- /**
333
- * HTTP PUT /provisioning/{id}
334
- * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
335
- */
336
- updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
337
- }
338
502
  export declare class AgentResourceClient<O> {
339
503
  protected httpClient: HttpClient<O>;
340
504
  constructor(httpClient: HttpClient<O>);
@@ -361,58 +525,51 @@ export declare class AgentResourceClient<O> {
361
525
  realm?: string;
362
526
  }, options?: O): RestResponse<Model.Agent[]>;
363
527
  }
364
- export declare class AssetModelResourceClient<O> {
528
+ export declare class AssetPredictedDatapointResourceClient<O> {
365
529
  protected httpClient: HttpClient<O>;
366
530
  constructor(httpClient: HttpClient<O>);
367
531
  /**
368
- * HTTP GET /model/assetDescriptors
369
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
532
+ * HTTP POST /asset/predicted/{assetId}/{attributeName}
533
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
370
534
  */
371
- getAssetDescriptors(queryParams?: {
372
- parentId?: string;
373
- parentType?: string;
374
- }, options?: O): RestResponse<Model.AssetDescriptor[]>;
535
+ getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
375
536
  /**
376
- * HTTP GET /model/assetInfo/{assetType}
377
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
537
+ * HTTP PUT /asset/predicted/{assetId}/{attributeName}
538
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
378
539
  */
379
- getAssetInfo(assetType: string, queryParams?: {
380
- parentId?: string;
381
- }, options?: O): RestResponse<Model.AssetTypeInfo>;
540
+ writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
541
+ }
542
+ export declare class SyslogResourceClient<O> {
543
+ protected httpClient: HttpClient<O>;
544
+ constructor(httpClient: HttpClient<O>);
382
545
  /**
383
- * HTTP GET /model/assetInfos
384
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
385
- */
386
- getAssetInfos(queryParams?: {
387
- parentId?: string;
388
- parentType?: string;
389
- }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
546
+ * HTTP GET /syslog/config
547
+ * Java method: org.openremote.model.syslog.SyslogResource.getConfig
548
+ */
549
+ getConfig(options?: O): RestResponse<Model.SyslogConfig>;
390
550
  /**
391
- * HTTP GET /model/getValueDescriptorSchema
392
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
551
+ * HTTP PUT /syslog/config
552
+ * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
393
553
  */
394
- getValueDescriptorSchema(queryParams?: {
395
- name?: string;
396
- hash?: string;
397
- }, options?: O): RestResponse<any>;
554
+ updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
398
555
  /**
399
- * HTTP GET /model/metaItemDescriptors
400
- * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
556
+ * HTTP DELETE /syslog/event
557
+ * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
401
558
  */
402
- getMetaItemDescriptors(queryParams?: {
403
- parentId?: string;
404
- }, options?: O): RestResponse<{
405
- [index: string]: Model.MetaItemDescriptor;
406
- }>;
559
+ clearEvents(options?: O): RestResponse<void>;
407
560
  /**
408
- * HTTP GET /model/valueDescriptors
409
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
561
+ * HTTP GET /syslog/event
562
+ * Java method: org.openremote.model.syslog.SyslogResource.getEvents
410
563
  */
411
- getValueDescriptors(queryParams?: {
412
- parentId?: string;
413
- }, options?: O): RestResponse<{
414
- [index: string]: Model.ValueDescriptor;
415
- }>;
564
+ getEvents(queryParams?: {
565
+ level?: Model.SyslogLevel;
566
+ per_page?: number;
567
+ page?: number;
568
+ from?: number;
569
+ to?: number;
570
+ category?: Model.SyslogCategory[];
571
+ subCategory?: string[];
572
+ }, options?: O): RestResponse<any>;
416
573
  }
417
574
  export declare class ExternalServiceResourceClient<O> {
418
575
  protected httpClient: HttpClient<O>;
@@ -469,87 +626,29 @@ export declare class ExternalServiceResourceClient<O> {
469
626
  */
470
627
  heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
471
628
  }
472
- export declare class MapResourceClient<O> {
473
- protected httpClient: HttpClient<O>;
474
- constructor(httpClient: HttpClient<O>);
475
- /**
476
- * HTTP GET /map
477
- * Java method: org.openremote.model.map.MapResource.getSettings
478
- */
479
- getSettings(options?: O): RestResponse<{
480
- [id: string]: unknown;
481
- }>;
482
- /**
483
- * HTTP PUT /map
484
- * Java method: org.openremote.model.map.MapResource.saveSettings
485
- */
486
- saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
487
- [id: string]: unknown;
488
- }>;
489
- /**
490
- * HTTP DELETE /map/deleteMap
491
- * Java method: org.openremote.model.map.MapResource.deleteMap
492
- */
493
- deleteMap(options?: O): RestResponse<{
494
- [id: string]: unknown;
495
- }>;
496
- /**
497
- * HTTP GET /map/getCustomMapInfo
498
- * Java method: org.openremote.model.map.MapResource.getCustomMapInfo
499
- */
500
- getCustomMapInfo(options?: O): RestResponse<{
501
- [id: string]: unknown;
502
- }>;
503
- /**
504
- * HTTP GET /map/js
505
- * Java method: org.openremote.model.map.MapResource.getSettingsJs
506
- */
507
- getSettingsJs(options?: O): RestResponse<{
508
- [id: string]: unknown;
509
- }>;
510
- /**
511
- * HTTP GET /map/tile/{zoom}/{column}/{row}
512
- * Java method: org.openremote.model.map.MapResource.getTile
513
- */
514
- getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
515
- /**
516
- * HTTP POST /map/upload
517
- * Java method: org.openremote.model.map.MapResource.uploadMap
518
- */
519
- uploadMap(queryParams?: {
520
- filename?: string;
521
- }, options?: O): RestResponse<{
522
- [id: string]: unknown;
523
- }>;
524
- }
525
- export declare class GatewayServiceResourceClient<O> {
629
+ export declare class ProvisioningResourceClient<O> {
526
630
  protected httpClient: HttpClient<O>;
527
631
  constructor(httpClient: HttpClient<O>);
528
632
  /**
529
- * HTTP POST /gateway/tunnel
530
- * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
531
- */
532
- startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
533
- /**
534
- * HTTP DELETE /gateway/tunnel
535
- * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
633
+ * HTTP POST /provisioning
634
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
536
635
  */
537
- stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
636
+ createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
538
637
  /**
539
- * HTTP GET /gateway/tunnel/{realm}
540
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
638
+ * HTTP GET /provisioning
639
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
541
640
  */
542
- getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
641
+ getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
543
642
  /**
544
- * HTTP GET /gateway/tunnel/{realm}/{id}
545
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
643
+ * HTTP DELETE /provisioning/{id}
644
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
546
645
  */
547
- getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
646
+ deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
548
647
  /**
549
- * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
550
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
648
+ * HTTP PUT /provisioning/{id}
649
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
551
650
  */
552
- getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
651
+ updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
553
652
  }
554
653
  export declare class RulesResourceClient<O> {
555
654
  protected httpClient: HttpClient<O>;
@@ -659,167 +758,39 @@ export declare class RulesResourceClient<O> {
659
758
  */
660
759
  updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
661
760
  }
662
- export declare class AlarmResourceClient<O> {
663
- protected httpClient: HttpClient<O>;
664
- constructor(httpClient: HttpClient<O>);
665
- /**
666
- * HTTP POST /alarm
667
- * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
668
- */
669
- createAlarm(alarm: Model.Alarm, queryParams?: {
670
- assetIds?: string[];
671
- }, options?: O): RestResponse<Model.SentAlarm>;
672
- /**
673
- * HTTP GET /alarm
674
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
675
- */
676
- getAlarms(queryParams?: {
677
- realm?: string;
678
- status?: Model.AlarmStatus;
679
- assetId?: string;
680
- assigneeId?: string;
681
- }, options?: O): RestResponse<Model.SentAlarm[]>;
682
- /**
683
- * HTTP DELETE /alarm
684
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
685
- */
686
- removeAlarms(ids: number[], options?: O): RestResponse<void>;
687
- /**
688
- * HTTP PUT /alarm/assets
689
- * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
690
- */
691
- setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
692
- /**
693
- * HTTP GET /alarm/{alarmId}
694
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
695
- */
696
- getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
697
- /**
698
- * HTTP DELETE /alarm/{alarmId}
699
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
700
- */
701
- removeAlarm(alarmId: number, options?: O): RestResponse<void>;
702
- /**
703
- * HTTP PUT /alarm/{alarmId}
704
- * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
705
- */
706
- updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
707
- /**
708
- * HTTP GET /alarm/{alarmId}/assets
709
- * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
710
- */
711
- getAssetLinks(alarmId: number, queryParams?: {
712
- realm?: string;
713
- }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
714
- }
715
- export declare class AssetResourceClient<O> {
761
+ export declare class RealmResourceClient<O> {
716
762
  protected httpClient: HttpClient<O>;
717
763
  constructor(httpClient: HttpClient<O>);
718
764
  /**
719
- * HTTP POST /asset
720
- * Java method: org.openremote.model.asset.AssetResource.create
721
- */
722
- create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
723
- /**
724
- * HTTP DELETE /asset
725
- * Java method: org.openremote.model.asset.AssetResource.delete
726
- */
727
- delete(queryParams?: {
728
- assetId?: string[];
729
- }, options?: O): RestResponse<void>;
730
- /**
731
- * HTTP PUT /asset/attributes
732
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
733
- */
734
- writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
735
- /**
736
- * HTTP PUT /asset/attributes/timestamp
737
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
738
- */
739
- writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
740
- /**
741
- * HTTP DELETE /asset/parent
742
- * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
743
- */
744
- updateNoneParent(queryParams?: {
745
- assetIds?: string[];
746
- }, options?: O): RestResponse<void>;
747
- /**
748
- * HTTP GET /asset/partial/{assetId}
749
- * Java method: org.openremote.model.asset.AssetResource.getPartial
750
- */
751
- getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
752
- /**
753
- * HTTP POST /asset/query
754
- * Java method: org.openremote.model.asset.AssetResource.queryAssets
755
- */
756
- queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
757
- /**
758
- * HTTP POST /asset/tree
759
- * Java method: org.openremote.model.asset.AssetResource.queryAssetTree
760
- */
761
- queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
762
- /**
763
- * HTTP GET /asset/user/current
764
- * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
765
- */
766
- getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
767
- /**
768
- * HTTP POST /asset/user/link
769
- * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
770
- */
771
- createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
772
- /**
773
- * HTTP GET /asset/user/link
774
- * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
775
- */
776
- getUserAssetLinks(queryParams?: {
777
- realm?: string;
778
- userId?: string;
779
- assetId?: string;
780
- }, options?: O): RestResponse<Model.UserAssetLink[]>;
781
- /**
782
- * HTTP POST /asset/user/link/delete
783
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
784
- */
785
- deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
786
- /**
787
- * HTTP DELETE /asset/user/link/{realm}/{userId}
788
- * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
789
- */
790
- deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
791
- /**
792
- * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
793
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
765
+ * HTTP POST /realm
766
+ * Java method: org.openremote.model.security.RealmResource.create
794
767
  */
795
- deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
768
+ create(realm: Model.Realm, options?: O): RestResponse<void>;
796
769
  /**
797
- * HTTP GET /asset/{assetId}
798
- * Java method: org.openremote.model.asset.AssetResource.get
770
+ * HTTP GET /realm
771
+ * Java method: org.openremote.model.security.RealmResource.getAll
799
772
  */
800
- get(assetId: string, options?: O): RestResponse<Model.Asset>;
773
+ getAll(options?: O): RestResponse<Model.Realm[]>;
801
774
  /**
802
- * HTTP PUT /asset/{assetId}
803
- * Java method: org.openremote.model.asset.AssetResource.update
775
+ * HTTP GET /realm/accessible
776
+ * Java method: org.openremote.model.security.RealmResource.getAccessible
804
777
  */
805
- update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
778
+ getAccessible(options?: O): RestResponse<Model.Realm[]>;
806
779
  /**
807
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}
808
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
780
+ * HTTP DELETE /realm/{name}
781
+ * Java method: org.openremote.model.security.RealmResource.delete
809
782
  */
810
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
783
+ delete(name: string, options?: O): RestResponse<void>;
811
784
  /**
812
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
813
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
785
+ * HTTP GET /realm/{name}
786
+ * Java method: org.openremote.model.security.RealmResource.get
814
787
  */
815
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
788
+ get(name: string, options?: O): RestResponse<Model.Realm>;
816
789
  /**
817
- * HTTP PUT /asset/{parentAssetId}/child
818
- * Java method: org.openremote.model.asset.AssetResource.updateParent
790
+ * HTTP PUT /realm/{name}
791
+ * Java method: org.openremote.model.security.RealmResource.update
819
792
  */
820
- updateParent(parentAssetId: string, queryParams?: {
821
- assetIds?: string[];
822
- }, options?: O): RestResponse<void>;
793
+ update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
823
794
  }
824
795
  export declare class NotificationResourceClient<O> {
825
796
  protected httpClient: HttpClient<O>;
@@ -875,142 +846,171 @@ export declare class NotificationResourceClient<O> {
875
846
  targetId?: string;
876
847
  }, options?: O): RestResponse<void>;
877
848
  }
878
- export declare class GatewayClientResourceClient<O> {
849
+ export declare class AlarmResourceClient<O> {
879
850
  protected httpClient: HttpClient<O>;
880
851
  constructor(httpClient: HttpClient<O>);
881
852
  /**
882
- * HTTP DELETE /gateway/connection
883
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
853
+ * HTTP POST /alarm
854
+ * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
884
855
  */
885
- deleteConnections(queryParams?: {
886
- realm?: string[];
887
- }, options?: O): RestResponse<void>;
856
+ createAlarm(alarm: Model.Alarm, queryParams?: {
857
+ assetIds?: string[];
858
+ }, options?: O): RestResponse<Model.SentAlarm>;
888
859
  /**
889
- * HTTP GET /gateway/connection
890
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
860
+ * HTTP GET /alarm
861
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
891
862
  */
892
- getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
863
+ getAlarms(queryParams?: {
864
+ realm?: string;
865
+ status?: Model.AlarmStatus;
866
+ assetId?: string;
867
+ assigneeId?: string;
868
+ }, options?: O): RestResponse<Model.SentAlarm[]>;
893
869
  /**
894
- * HTTP DELETE /gateway/connection/{realm}
895
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
870
+ * HTTP DELETE /alarm
871
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
896
872
  */
897
- deleteConnection(realm: string, options?: O): RestResponse<void>;
873
+ removeAlarms(ids: number[], options?: O): RestResponse<void>;
898
874
  /**
899
- * HTTP GET /gateway/connection/{realm}
900
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
875
+ * HTTP PUT /alarm/assets
876
+ * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
901
877
  */
902
- getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
878
+ setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
903
879
  /**
904
- * HTTP PUT /gateway/connection/{realm}
905
- * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
880
+ * HTTP GET /alarm/{alarmId}
881
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
906
882
  */
907
- setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
883
+ getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
908
884
  /**
909
- * HTTP GET /gateway/status/{realm}
910
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
885
+ * HTTP DELETE /alarm/{alarmId}
886
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
911
887
  */
912
- getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
888
+ removeAlarm(alarmId: number, options?: O): RestResponse<void>;
889
+ /**
890
+ * HTTP PUT /alarm/{alarmId}
891
+ * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
892
+ */
893
+ updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
894
+ /**
895
+ * HTTP GET /alarm/{alarmId}/assets
896
+ * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
897
+ */
898
+ getAssetLinks(alarmId: number, queryParams?: {
899
+ realm?: string;
900
+ }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
913
901
  }
914
- export declare class AppResourceClient<O> {
902
+ export declare class GatewayServiceResourceClient<O> {
915
903
  protected httpClient: HttpClient<O>;
916
904
  constructor(httpClient: HttpClient<O>);
917
905
  /**
918
- * HTTP GET /apps
919
- * Java method: org.openremote.model.apps.AppResource.getApps
906
+ * HTTP POST /gateway/tunnel
907
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
920
908
  */
921
- getApps(options?: O): RestResponse<string[]>;
909
+ startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
922
910
  /**
923
- * HTTP GET /apps/consoleConfig
924
- * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
911
+ * HTTP DELETE /gateway/tunnel
912
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
925
913
  */
926
- getConsoleConfig(options?: O): RestResponse<any>;
914
+ stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
927
915
  /**
928
- * HTTP GET /apps/info
929
- * Java method: org.openremote.model.apps.AppResource.getAppInfos
916
+ * HTTP GET /gateway/tunnel/{realm}
917
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
930
918
  */
931
- getAppInfos(options?: O): RestResponse<any>;
919
+ getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
920
+ /**
921
+ * HTTP GET /gateway/tunnel/{realm}/{id}
922
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
923
+ */
924
+ getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
925
+ /**
926
+ * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
927
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
928
+ */
929
+ getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
932
930
  }
933
- export declare class DashboardResourceClient<O> {
931
+ export declare class GatewayClientResourceClient<O> {
934
932
  protected httpClient: HttpClient<O>;
935
933
  constructor(httpClient: HttpClient<O>);
936
934
  /**
937
- * HTTP POST /dashboard
938
- * Java method: org.openremote.model.dashboard.DashboardResource.create
935
+ * HTTP DELETE /gateway/connection
936
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
939
937
  */
940
- create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
938
+ deleteConnections(queryParams?: {
939
+ realm?: string[];
940
+ }, options?: O): RestResponse<void>;
941
941
  /**
942
- * HTTP PUT /dashboard
943
- * Java method: org.openremote.model.dashboard.DashboardResource.update
942
+ * HTTP GET /gateway/connection
943
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
944
944
  */
945
- update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
945
+ getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
946
946
  /**
947
- * HTTP GET /dashboard/all/{realm}
948
- * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
947
+ * HTTP DELETE /gateway/connection/{realm}
948
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
949
949
  */
950
- getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
950
+ deleteConnection(realm: string, options?: O): RestResponse<void>;
951
951
  /**
952
- * HTTP POST /dashboard/query
953
- * Java method: org.openremote.model.dashboard.DashboardResource.query
952
+ * HTTP GET /gateway/connection/{realm}
953
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
954
954
  */
955
- query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
955
+ getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
956
956
  /**
957
- * HTTP DELETE /dashboard/{realm}/{dashboardId}
958
- * Java method: org.openremote.model.dashboard.DashboardResource.delete
957
+ * HTTP PUT /gateway/connection/{realm}
958
+ * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
959
959
  */
960
- delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
960
+ setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
961
961
  /**
962
- * HTTP GET /dashboard/{realm}/{dashboardId}
963
- * Java method: org.openremote.model.dashboard.DashboardResource.get
962
+ * HTTP GET /gateway/status/{realm}
963
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
964
964
  */
965
- get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
965
+ getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
966
966
  }
967
967
  export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
968
968
  export declare class ApiClient {
969
- protected _realmResource: AxiosRealmResourceClient;
969
+ protected _dashboardResource: AxiosDashboardResourceClient;
970
970
  protected _statusResource: AxiosStatusResourceClient;
971
- protected _consoleResource: AxiosConsoleResourceClient;
972
- protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
973
971
  protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
972
+ protected _assetResource: AxiosAssetResourceClient;
973
+ protected _assetModelResource: AxiosAssetModelResourceClient;
974
+ protected _appResource: AxiosAppResourceClient;
975
+ protected _flowResource: AxiosFlowResourceClient;
976
+ protected _mapResource: AxiosMapResourceClient;
977
+ protected _consoleResource: AxiosConsoleResourceClient;
974
978
  protected _userResource: AxiosUserResourceClient;
975
- protected _syslogResource: AxiosSyslogResourceClient;
976
979
  protected _configurationResource: AxiosConfigurationResourceClient;
977
- protected _flowResource: AxiosFlowResourceClient;
978
- protected _provisioningResource: AxiosProvisioningResourceClient;
979
980
  protected _agentResource: AxiosAgentResourceClient;
980
- protected _assetModelResource: AxiosAssetModelResourceClient;
981
+ protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
982
+ protected _syslogResource: AxiosSyslogResourceClient;
981
983
  protected _externalServiceResource: AxiosExternalServiceResourceClient;
982
- protected _mapResource: AxiosMapResourceClient;
983
- protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
984
+ protected _provisioningResource: AxiosProvisioningResourceClient;
984
985
  protected _rulesResource: AxiosRulesResourceClient;
985
- protected _alarmResource: AxiosAlarmResourceClient;
986
- protected _assetResource: AxiosAssetResourceClient;
986
+ protected _realmResource: AxiosRealmResourceClient;
987
987
  protected _notificationResource: AxiosNotificationResourceClient;
988
+ protected _alarmResource: AxiosAlarmResourceClient;
989
+ protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
988
990
  protected _gatewayClientResource: AxiosGatewayClientResourceClient;
989
- protected _appResource: AxiosAppResourceClient;
990
- protected _dashboardResource: AxiosDashboardResourceClient;
991
991
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
992
- get RealmResource(): AxiosRealmResourceClient;
992
+ get DashboardResource(): AxiosDashboardResourceClient;
993
993
  get StatusResource(): AxiosStatusResourceClient;
994
- get ConsoleResource(): AxiosConsoleResourceClient;
995
- get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
996
994
  get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
995
+ get AssetResource(): AxiosAssetResourceClient;
996
+ get AssetModelResource(): AxiosAssetModelResourceClient;
997
+ get AppResource(): AxiosAppResourceClient;
998
+ get FlowResource(): AxiosFlowResourceClient;
999
+ get MapResource(): AxiosMapResourceClient;
1000
+ get ConsoleResource(): AxiosConsoleResourceClient;
997
1001
  get UserResource(): AxiosUserResourceClient;
998
- get SyslogResource(): AxiosSyslogResourceClient;
999
1002
  get ConfigurationResource(): AxiosConfigurationResourceClient;
1000
- get FlowResource(): AxiosFlowResourceClient;
1001
- get ProvisioningResource(): AxiosProvisioningResourceClient;
1002
1003
  get AgentResource(): AxiosAgentResourceClient;
1003
- get AssetModelResource(): AxiosAssetModelResourceClient;
1004
+ get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
1005
+ get SyslogResource(): AxiosSyslogResourceClient;
1004
1006
  get ExternalServiceResource(): AxiosExternalServiceResourceClient;
1005
- get MapResource(): AxiosMapResourceClient;
1006
- get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
1007
+ get ProvisioningResource(): AxiosProvisioningResourceClient;
1007
1008
  get RulesResource(): AxiosRulesResourceClient;
1008
- get AlarmResource(): AxiosAlarmResourceClient;
1009
- get AssetResource(): AxiosAssetResourceClient;
1009
+ get RealmResource(): AxiosRealmResourceClient;
1010
1010
  get NotificationResource(): AxiosNotificationResourceClient;
1011
+ get AlarmResource(): AxiosAlarmResourceClient;
1012
+ get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
1011
1013
  get GatewayClientResource(): AxiosGatewayClientResourceClient;
1012
- get AppResource(): AxiosAppResourceClient;
1013
- get DashboardResource(): AxiosDashboardResourceClient;
1014
1014
  }
1015
1015
  import * as Axios from "axios";
1016
1016
  declare module "axios" {
@@ -1018,70 +1018,70 @@ declare module "axios" {
1018
1018
  data: R;
1019
1019
  }
1020
1020
  }
1021
- export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1021
+ export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1022
1022
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1023
1023
  }
1024
1024
  export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
1025
1025
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1026
1026
  }
1027
- export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
1027
+ export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
1028
1028
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1029
1029
  }
1030
- export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1030
+ export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
1031
1031
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1032
1032
  }
1033
- export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
1033
+ export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
1034
1034
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1035
1035
  }
1036
- export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1036
+ export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1037
1037
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1038
1038
  }
1039
- export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1039
+ export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1040
1040
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1041
1041
  }
1042
- export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1042
+ export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
1043
1043
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1044
1044
  }
1045
- export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1045
+ export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
1046
1046
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1047
1047
  }
1048
- export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
1048
+ export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1049
1049
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1050
1050
  }
1051
- export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
1051
+ export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1052
1052
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1053
1053
  }
1054
- export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
1054
+ export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
1055
1055
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1056
1056
  }
1057
- export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
1057
+ export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1058
1058
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1059
1059
  }
1060
- export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
1060
+ export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1061
1061
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1062
1062
  }
1063
- export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1063
+ export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
1064
1064
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1065
1065
  }
1066
- export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
1066
+ export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
1067
1067
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1068
1068
  }
1069
- export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1069
+ export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
1070
1070
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1071
1071
  }
1072
- export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
1072
+ export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1073
1073
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1074
1074
  }
1075
1075
  export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
1076
1076
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1077
1077
  }
1078
- export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1078
+ export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1079
1079
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1080
1080
  }
1081
- export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1081
+ export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1082
1082
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1083
1083
  }
1084
- export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1084
+ export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1085
1085
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1086
1086
  }
1087
1087
  //# sourceMappingURL=restclient.d.ts.map