@openremote/rest 1.13.0-snapshot.20260112092956 → 1.13.0-snapshot.20260112105718

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