@openremote/rest 1.8.0-snapshot.20250725120000 → 1.8.0-snapshot.20250725120001

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/restclient.js CHANGED
@@ -1,915 +1,904 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- // Generated using typescript-generator version 3.2.1263 on 2025-07-25 10:49:04.
4
- export class AssetModelResourceClient {
3
+ // Generated using typescript-generator version 3.2.1263 on 2025-07-25 13:54:25.
4
+ export class NotificationResourceClient {
5
5
  constructor(httpClient) {
6
6
  this.httpClient = httpClient;
7
7
  }
8
8
  /**
9
- * HTTP GET /model/assetDescriptors
10
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
9
+ * HTTP GET /notification
10
+ * Java method: org.openremote.model.notification.NotificationResource.getNotifications
11
11
  */
12
- getAssetDescriptors(queryParams, options) {
13
- return this.httpClient.request({ method: "GET", url: uriEncoding `model/assetDescriptors`, queryParams: queryParams, options: options });
12
+ getNotifications(queryParams, options) {
13
+ return this.httpClient.request({ method: "GET", url: uriEncoding `notification`, queryParams: queryParams, options: options });
14
14
  }
15
15
  /**
16
- * HTTP GET /model/assetInfo/{assetType}
17
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
16
+ * HTTP DELETE /notification
17
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
18
18
  */
19
- getAssetInfo(assetType, queryParams, options) {
20
- return this.httpClient.request({ method: "GET", url: uriEncoding `model/assetInfo/${assetType}`, queryParams: queryParams, options: options });
19
+ removeNotifications(queryParams, options) {
20
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `notification`, queryParams: queryParams, options: options });
21
21
  }
22
22
  /**
23
- * HTTP GET /model/assetInfos
24
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
23
+ * HTTP POST /notification/alert
24
+ * Java method: org.openremote.model.notification.NotificationResource.sendNotification
25
25
  */
26
- getAssetInfos(queryParams, options) {
27
- return this.httpClient.request({ method: "GET", url: uriEncoding `model/assetInfos`, queryParams: queryParams, options: options });
26
+ sendNotification(notification, options) {
27
+ return this.httpClient.request({ method: "POST", url: uriEncoding `notification/alert`, data: notification, options: options });
28
28
  }
29
29
  /**
30
- * HTTP GET /model/metaItemDescriptors
31
- * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
30
+ * HTTP DELETE /notification/{notificationId}
31
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotification
32
32
  */
33
- getMetaItemDescriptors(queryParams, options) {
34
- return this.httpClient.request({ method: "GET", url: uriEncoding `model/metaItemDescriptors`, queryParams: queryParams, options: options });
33
+ removeNotification(notificationId, options) {
34
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `notification/${notificationId}`, options: options });
35
35
  }
36
36
  /**
37
- * HTTP GET /model/valueDescriptors
38
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
37
+ * HTTP PUT /notification/{notificationId}/acknowledged
38
+ * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
39
39
  */
40
- getValueDescriptors(queryParams, options) {
41
- return this.httpClient.request({ method: "GET", url: uriEncoding `model/valueDescriptors`, queryParams: queryParams, options: options });
40
+ notificationAcknowledged(notificationId, acknowledgement, queryParams, options) {
41
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `notification/${notificationId}/acknowledged`, queryParams: queryParams, data: acknowledgement, options: options });
42
+ }
43
+ /**
44
+ * HTTP PUT /notification/{notificationId}/delivered
45
+ * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
46
+ */
47
+ notificationDelivered(notificationId, queryParams, options) {
48
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `notification/${notificationId}/delivered`, queryParams: queryParams, options: options });
42
49
  }
43
50
  }
44
- export class AssetDatapointResourceClient {
51
+ export class ConfigurationResourceClient {
45
52
  constructor(httpClient) {
46
53
  this.httpClient = httpClient;
47
54
  }
48
55
  /**
49
- * HTTP GET /asset/datapoint/export
50
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
56
+ * HTTP GET /configuration/manager
57
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
51
58
  */
52
- getDatapointExport(queryParams, options) {
53
- return this.httpClient.request({ method: "GET", url: uriEncoding `asset/datapoint/export`, queryParams: queryParams, options: options });
59
+ getManagerConfig(options) {
60
+ return this.httpClient.request({ method: "GET", url: uriEncoding `configuration/manager`, options: options });
54
61
  }
55
62
  /**
56
- * HTTP GET /asset/datapoint/periods
57
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
63
+ * HTTP PUT /configuration/manager
64
+ * Java method: org.openremote.model.manager.ConfigurationResource.update
58
65
  */
59
- getDatapointPeriod(queryParams, options) {
60
- return this.httpClient.request({ method: "GET", url: uriEncoding `asset/datapoint/periods`, queryParams: queryParams, options: options });
66
+ update(managerConfiguration, options) {
67
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `configuration/manager`, data: managerConfiguration, options: options });
61
68
  }
62
69
  /**
63
- * HTTP POST /asset/datapoint/{assetId}/{attributeName}
64
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
70
+ * HTTP POST /configuration/manager/file
71
+ * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
65
72
  */
66
- getDatapoints(assetId, attributeName, query, options) {
67
- return this.httpClient.request({ method: "POST", url: uriEncoding `asset/datapoint/${assetId}/${attributeName}`, data: query, options: options });
68
- }
69
- }
70
- export class ConsoleResourceClient {
71
- constructor(httpClient) {
72
- this.httpClient = httpClient;
73
+ fileUpload(fileInfo, queryParams, options) {
74
+ return this.httpClient.request({ method: "POST", url: uriEncoding `configuration/manager/file`, queryParams: queryParams, data: fileInfo, options: options });
73
75
  }
74
76
  /**
75
- * HTTP POST /console/register
76
- * Java method: org.openremote.model.console.ConsoleResource.register
77
+ * HTTP GET /configuration/manager/image/{filename: .+}
78
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
77
79
  */
78
- register(consoleRegistration, options) {
79
- return this.httpClient.request({ method: "POST", url: uriEncoding `console/register`, data: consoleRegistration, options: options });
80
+ getManagerConfigImage(filename, options) {
81
+ return this.httpClient.request({ method: "GET", url: uriEncoding `configuration/manager/image/${filename}`, options: options });
80
82
  }
81
83
  }
82
- export class GatewayServiceResourceClient {
84
+ export class MapResourceClient {
83
85
  constructor(httpClient) {
84
86
  this.httpClient = httpClient;
85
87
  }
86
88
  /**
87
- * HTTP POST /gateway/tunnel
88
- * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
89
+ * HTTP GET /map
90
+ * Java method: org.openremote.model.map.MapResource.getSettings
89
91
  */
90
- startTunnel(tunnelInfo, options) {
91
- return this.httpClient.request({ method: "POST", url: uriEncoding `gateway/tunnel`, data: tunnelInfo, options: options });
92
+ getSettings(options) {
93
+ return this.httpClient.request({ method: "GET", url: uriEncoding `map`, options: options });
92
94
  }
93
95
  /**
94
- * HTTP DELETE /gateway/tunnel
95
- * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
96
+ * HTTP PUT /map
97
+ * Java method: org.openremote.model.map.MapResource.saveSettings
96
98
  */
97
- stopTunnel(tunnelInfo, options) {
98
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `gateway/tunnel`, data: tunnelInfo, options: options });
99
+ saveSettings(mapConfig, options) {
100
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `map`, data: mapConfig, options: options });
99
101
  }
100
102
  /**
101
- * HTTP GET /gateway/tunnel/{realm}
102
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
103
+ * HTTP DELETE /map/deleteMap
104
+ * Java method: org.openremote.model.map.MapResource.deleteMap
103
105
  */
104
- getAllActiveTunnelInfos(realm, options) {
105
- return this.httpClient.request({ method: "GET", url: uriEncoding `gateway/tunnel/${realm}`, options: options });
106
+ deleteMap(options) {
107
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `map/deleteMap`, options: options });
106
108
  }
107
109
  /**
108
- * HTTP GET /gateway/tunnel/{realm}/{id}
109
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
110
+ * HTTP GET /map/getCustomMapInfo
111
+ * Java method: org.openremote.model.map.MapResource.getCustomMapInfo
110
112
  */
111
- getGatewayActiveTunnelInfos(realm, id, options) {
112
- return this.httpClient.request({ method: "GET", url: uriEncoding `gateway/tunnel/${realm}/${id}`, options: options });
113
+ getCustomMapInfo(options) {
114
+ return this.httpClient.request({ method: "GET", url: uriEncoding `map/getCustomMapInfo`, options: options });
113
115
  }
114
116
  /**
115
- * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
116
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
117
+ * HTTP GET /map/js
118
+ * Java method: org.openremote.model.map.MapResource.getSettingsJs
117
119
  */
118
- getActiveTunnelInfo(realm, id, target, targetPort, options) {
119
- return this.httpClient.request({ method: "GET", url: uriEncoding `gateway/tunnel/${realm}/${id}/${target}/${targetPort}`, options: options });
120
- }
121
- }
122
- export class ProvisioningResourceClient {
123
- constructor(httpClient) {
124
- this.httpClient = httpClient;
120
+ getSettingsJs(options) {
121
+ return this.httpClient.request({ method: "GET", url: uriEncoding `map/js`, options: options });
125
122
  }
126
123
  /**
127
- * HTTP POST /provisioning
128
- * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
124
+ * HTTP GET /map/tile/{zoom}/{column}/{row}
125
+ * Java method: org.openremote.model.map.MapResource.getTile
129
126
  */
130
- createProvisioningConfig(provisioningConfig, options) {
131
- return this.httpClient.request({ method: "POST", url: uriEncoding `provisioning`, data: provisioningConfig, options: options });
127
+ getTile(zoom, column, row, options) {
128
+ return this.httpClient.request({ method: "GET", url: uriEncoding `map/tile/${zoom}/${column}/${row}`, options: options });
132
129
  }
133
130
  /**
134
- * HTTP GET /provisioning
135
- * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
131
+ * HTTP POST /map/upload
132
+ * Java method: org.openremote.model.map.MapResource.uploadMap
136
133
  */
137
- getProvisioningConfigs(options) {
138
- return this.httpClient.request({ method: "GET", url: uriEncoding `provisioning`, options: options });
134
+ uploadMap(queryParams, options) {
135
+ return this.httpClient.request({ method: "POST", url: uriEncoding `map/upload`, queryParams: queryParams, options: options });
136
+ }
137
+ }
138
+ export class AlarmResourceClient {
139
+ constructor(httpClient) {
140
+ this.httpClient = httpClient;
139
141
  }
140
142
  /**
141
- * HTTP DELETE /provisioning/{id}
142
- * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
143
+ * HTTP POST /alarm
144
+ * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
143
145
  */
144
- deleteProvisioningConfig(id, options) {
145
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `provisioning/${id}`, options: options });
146
+ createAlarm(alarm, queryParams, options) {
147
+ return this.httpClient.request({ method: "POST", url: uriEncoding `alarm`, queryParams: queryParams, data: alarm, options: options });
146
148
  }
147
149
  /**
148
- * HTTP PUT /provisioning/{id}
149
- * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
150
+ * HTTP GET /alarm
151
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
150
152
  */
151
- updateProvisioningConfig(id, provisioningConfig, options) {
152
- return this.httpClient.request({ method: "PUT", url: uriEncoding `provisioning/${id}`, data: provisioningConfig, options: options });
153
- }
154
- }
155
- export class NotificationResourceClient {
156
- constructor(httpClient) {
157
- this.httpClient = httpClient;
153
+ getAlarms(queryParams, options) {
154
+ return this.httpClient.request({ method: "GET", url: uriEncoding `alarm`, queryParams: queryParams, options: options });
158
155
  }
159
156
  /**
160
- * HTTP GET /notification
161
- * Java method: org.openremote.model.notification.NotificationResource.getNotifications
157
+ * HTTP DELETE /alarm
158
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
162
159
  */
163
- getNotifications(queryParams, options) {
164
- return this.httpClient.request({ method: "GET", url: uriEncoding `notification`, queryParams: queryParams, options: options });
160
+ removeAlarms(ids, options) {
161
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `alarm`, data: ids, options: options });
165
162
  }
166
163
  /**
167
- * HTTP DELETE /notification
168
- * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
164
+ * HTTP PUT /alarm/assets
165
+ * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
169
166
  */
170
- removeNotifications(queryParams, options) {
171
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `notification`, queryParams: queryParams, options: options });
167
+ setAssetLinks(links, options) {
168
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `alarm/assets`, data: links, options: options });
172
169
  }
173
170
  /**
174
- * HTTP POST /notification/alert
175
- * Java method: org.openremote.model.notification.NotificationResource.sendNotification
171
+ * HTTP GET /alarm/{alarmId}
172
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
176
173
  */
177
- sendNotification(notification, options) {
178
- return this.httpClient.request({ method: "POST", url: uriEncoding `notification/alert`, data: notification, options: options });
174
+ getAlarm(alarmId, options) {
175
+ return this.httpClient.request({ method: "GET", url: uriEncoding `alarm/${alarmId}`, options: options });
179
176
  }
180
177
  /**
181
- * HTTP DELETE /notification/{notificationId}
182
- * Java method: org.openremote.model.notification.NotificationResource.removeNotification
178
+ * HTTP DELETE /alarm/{alarmId}
179
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
183
180
  */
184
- removeNotification(notificationId, options) {
185
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `notification/${notificationId}`, options: options });
181
+ removeAlarm(alarmId, options) {
182
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `alarm/${alarmId}`, options: options });
186
183
  }
187
184
  /**
188
- * HTTP PUT /notification/{notificationId}/acknowledged
189
- * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
185
+ * HTTP PUT /alarm/{alarmId}
186
+ * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
190
187
  */
191
- notificationAcknowledged(notificationId, acknowledgement, queryParams, options) {
192
- return this.httpClient.request({ method: "PUT", url: uriEncoding `notification/${notificationId}/acknowledged`, queryParams: queryParams, data: acknowledgement, options: options });
188
+ updateAlarm(alarmId, alarm, options) {
189
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `alarm/${alarmId}`, data: alarm, options: options });
193
190
  }
194
191
  /**
195
- * HTTP PUT /notification/{notificationId}/delivered
196
- * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
192
+ * HTTP GET /alarm/{alarmId}/assets
193
+ * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
197
194
  */
198
- notificationDelivered(notificationId, queryParams, options) {
199
- return this.httpClient.request({ method: "PUT", url: uriEncoding `notification/${notificationId}/delivered`, queryParams: queryParams, options: options });
195
+ getAssetLinks(alarmId, queryParams, options) {
196
+ return this.httpClient.request({ method: "GET", url: uriEncoding `alarm/${alarmId}/assets`, queryParams: queryParams, options: options });
200
197
  }
201
198
  }
202
- export class RulesResourceClient {
199
+ export class SyslogResourceClient {
203
200
  constructor(httpClient) {
204
201
  this.httpClient = httpClient;
205
202
  }
206
203
  /**
207
- * HTTP POST /rules
208
- * Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
204
+ * HTTP GET /syslog/config
205
+ * Java method: org.openremote.model.syslog.SyslogResource.getConfig
209
206
  */
210
- createGlobalRuleset(ruleset, options) {
211
- return this.httpClient.request({ method: "POST", url: uriEncoding `rules`, data: ruleset, options: options });
207
+ getConfig(options) {
208
+ return this.httpClient.request({ method: "GET", url: uriEncoding `syslog/config`, options: options });
212
209
  }
213
210
  /**
214
- * HTTP GET /rules
215
- * Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
211
+ * HTTP PUT /syslog/config
212
+ * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
216
213
  */
217
- getGlobalRulesets(queryParams, options) {
218
- return this.httpClient.request({ method: "GET", url: uriEncoding `rules`, queryParams: queryParams, options: options });
214
+ updateConfig(config, options) {
215
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `syslog/config`, data: config, options: options });
219
216
  }
220
217
  /**
221
- * HTTP POST /rules/asset
222
- * Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
218
+ * HTTP DELETE /syslog/event
219
+ * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
223
220
  */
224
- createAssetRuleset(ruleset, options) {
225
- return this.httpClient.request({ method: "POST", url: uriEncoding `rules/asset`, data: ruleset, options: options });
221
+ clearEvents(options) {
222
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `syslog/event`, options: options });
226
223
  }
227
224
  /**
228
- * HTTP GET /rules/asset/for/{assetId}
229
- * Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
225
+ * HTTP GET /syslog/event
226
+ * Java method: org.openremote.model.syslog.SyslogResource.getEvents
230
227
  */
231
- getAssetRulesets(assetId, queryParams, options) {
232
- return this.httpClient.request({ method: "GET", url: uriEncoding `rules/asset/for/${assetId}`, queryParams: queryParams, options: options });
228
+ getEvents(queryParams, options) {
229
+ return this.httpClient.request({ method: "GET", url: uriEncoding `syslog/event`, queryParams: queryParams, options: options });
233
230
  }
234
- /**
235
- * HTTP DELETE /rules/asset/{id}
236
- * Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
237
- */
238
- deleteAssetRuleset(id, options) {
239
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `rules/asset/${id}`, options: options });
231
+ }
232
+ export class GatewayServiceResourceClient {
233
+ constructor(httpClient) {
234
+ this.httpClient = httpClient;
240
235
  }
241
236
  /**
242
- * HTTP GET /rules/asset/{id}
243
- * Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
237
+ * HTTP POST /gateway/tunnel
238
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
244
239
  */
245
- getAssetRuleset(id, options) {
246
- return this.httpClient.request({ method: "GET", url: uriEncoding `rules/asset/${id}`, options: options });
240
+ startTunnel(tunnelInfo, options) {
241
+ return this.httpClient.request({ method: "POST", url: uriEncoding `gateway/tunnel`, data: tunnelInfo, options: options });
247
242
  }
248
243
  /**
249
- * HTTP PUT /rules/asset/{id}
250
- * Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
244
+ * HTTP DELETE /gateway/tunnel
245
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
251
246
  */
252
- updateAssetRuleset(id, ruleset, options) {
253
- return this.httpClient.request({ method: "PUT", url: uriEncoding `rules/asset/${id}`, data: ruleset, options: options });
247
+ stopTunnel(tunnelInfo, options) {
248
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `gateway/tunnel`, data: tunnelInfo, options: options });
254
249
  }
255
250
  /**
256
- * HTTP GET /rules/geofences/{assetId}
257
- * Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
251
+ * HTTP GET /gateway/tunnel/{realm}
252
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
258
253
  */
259
- getAssetGeofences(assetId, options) {
260
- return this.httpClient.request({ method: "GET", url: uriEncoding `rules/geofences/${assetId}`, options: options });
254
+ getAllActiveTunnelInfos(realm, options) {
255
+ return this.httpClient.request({ method: "GET", url: uriEncoding `gateway/tunnel/${realm}`, options: options });
261
256
  }
262
257
  /**
263
- * HTTP GET /rules/info/asset/{assetId}
264
- * Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
258
+ * HTTP GET /gateway/tunnel/{realm}/{id}
259
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
265
260
  */
266
- getAssetEngineInfo(assetId, options) {
267
- return this.httpClient.request({ method: "GET", url: uriEncoding `rules/info/asset/${assetId}`, options: options });
261
+ getGatewayActiveTunnelInfos(realm, id, options) {
262
+ return this.httpClient.request({ method: "GET", url: uriEncoding `gateway/tunnel/${realm}/${id}`, options: options });
268
263
  }
269
264
  /**
270
- * HTTP GET /rules/info/global
271
- * Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
265
+ * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
266
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
272
267
  */
273
- getGlobalEngineInfo(options) {
274
- return this.httpClient.request({ method: "GET", url: uriEncoding `rules/info/global`, options: options });
268
+ getActiveTunnelInfo(realm, id, target, targetPort, options) {
269
+ return this.httpClient.request({ method: "GET", url: uriEncoding `gateway/tunnel/${realm}/${id}/${target}/${targetPort}`, options: options });
270
+ }
271
+ }
272
+ export class DashboardResourceClient {
273
+ constructor(httpClient) {
274
+ this.httpClient = httpClient;
275
275
  }
276
276
  /**
277
- * HTTP GET /rules/info/realm/{realm}
278
- * Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
277
+ * HTTP POST /dashboard
278
+ * Java method: org.openremote.model.dashboard.DashboardResource.create
279
279
  */
280
- getRealmEngineInfo(realm, options) {
281
- return this.httpClient.request({ method: "GET", url: uriEncoding `rules/info/realm/${realm}`, options: options });
280
+ create(dashboard, options) {
281
+ return this.httpClient.request({ method: "POST", url: uriEncoding `dashboard`, data: dashboard, options: options });
282
282
  }
283
283
  /**
284
- * HTTP POST /rules/realm
285
- * Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
284
+ * HTTP PUT /dashboard
285
+ * Java method: org.openremote.model.dashboard.DashboardResource.update
286
286
  */
287
- createRealmRuleset(ruleset, options) {
288
- return this.httpClient.request({ method: "POST", url: uriEncoding `rules/realm`, data: ruleset, options: options });
287
+ update(dashboard, options) {
288
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `dashboard`, data: dashboard, options: options });
289
289
  }
290
290
  /**
291
- * HTTP GET /rules/realm/for/{realm}
292
- * Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
291
+ * HTTP GET /dashboard/all/{realm}
292
+ * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
293
293
  */
294
- getRealmRulesets(realm, queryParams, options) {
295
- return this.httpClient.request({ method: "GET", url: uriEncoding `rules/realm/for/${realm}`, queryParams: queryParams, options: options });
294
+ getAllRealmDashboards(realm, options) {
295
+ return this.httpClient.request({ method: "GET", url: uriEncoding `dashboard/all/${realm}`, options: options });
296
296
  }
297
297
  /**
298
- * HTTP DELETE /rules/realm/{id}
299
- * Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
298
+ * HTTP POST /dashboard/query
299
+ * Java method: org.openremote.model.dashboard.DashboardResource.query
300
300
  */
301
- deleteRealmRuleset(id, options) {
302
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `rules/realm/${id}`, options: options });
301
+ query(dashboardQuery, options) {
302
+ return this.httpClient.request({ method: "POST", url: uriEncoding `dashboard/query`, data: dashboardQuery, options: options });
303
303
  }
304
304
  /**
305
- * HTTP GET /rules/realm/{id}
306
- * Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
305
+ * HTTP DELETE /dashboard/{realm}/{dashboardId}
306
+ * Java method: org.openremote.model.dashboard.DashboardResource.delete
307
307
  */
308
- getRealmRuleset(id, options) {
309
- return this.httpClient.request({ method: "GET", url: uriEncoding `rules/realm/${id}`, options: options });
308
+ delete(realm, dashboardId, options) {
309
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `dashboard/${realm}/${dashboardId}`, options: options });
310
310
  }
311
311
  /**
312
- * HTTP PUT /rules/realm/{id}
313
- * Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
312
+ * HTTP GET /dashboard/{realm}/{dashboardId}
313
+ * Java method: org.openremote.model.dashboard.DashboardResource.get
314
314
  */
315
- updateRealmRuleset(id, ruleset, options) {
316
- return this.httpClient.request({ method: "PUT", url: uriEncoding `rules/realm/${id}`, data: ruleset, options: options });
315
+ get(realm, dashboardId, options) {
316
+ return this.httpClient.request({ method: "GET", url: uriEncoding `dashboard/${realm}/${dashboardId}`, options: options });
317
+ }
318
+ }
319
+ export class ConsoleResourceClient {
320
+ constructor(httpClient) {
321
+ this.httpClient = httpClient;
317
322
  }
318
323
  /**
319
- * HTTP DELETE /rules/{id}
320
- * Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
324
+ * HTTP POST /console/register
325
+ * Java method: org.openremote.model.console.ConsoleResource.register
321
326
  */
322
- deleteGlobalRuleset(id, options) {
323
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `rules/${id}`, options: options });
327
+ register(consoleRegistration, options) {
328
+ return this.httpClient.request({ method: "POST", url: uriEncoding `console/register`, data: consoleRegistration, options: options });
329
+ }
330
+ }
331
+ export class StatusResourceClient {
332
+ constructor(httpClient) {
333
+ this.httpClient = httpClient;
324
334
  }
325
335
  /**
326
- * HTTP GET /rules/{id}
327
- * Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
336
+ * HTTP GET /health
337
+ * Java method: org.openremote.model.system.StatusResource.getHealthStatus
328
338
  */
329
- getGlobalRuleset(id, options) {
330
- return this.httpClient.request({ method: "GET", url: uriEncoding `rules/${id}`, options: options });
339
+ getHealthStatus(options) {
340
+ return this.httpClient.request({ method: "GET", url: uriEncoding `health`, options: options });
331
341
  }
332
342
  /**
333
- * HTTP PUT /rules/{id}
334
- * Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
343
+ * HTTP GET /info
344
+ * Java method: org.openremote.model.system.StatusResource.getInfo
335
345
  */
336
- updateGlobalRuleset(id, ruleset, options) {
337
- return this.httpClient.request({ method: "PUT", url: uriEncoding `rules/${id}`, data: ruleset, options: options });
346
+ getInfo(options) {
347
+ return this.httpClient.request({ method: "GET", url: uriEncoding `info`, options: options });
338
348
  }
339
349
  }
340
- export class FlowResourceClient {
350
+ export class ProvisioningResourceClient {
341
351
  constructor(httpClient) {
342
352
  this.httpClient = httpClient;
343
353
  }
344
354
  /**
345
- * HTTP GET /flow
346
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
355
+ * HTTP POST /provisioning
356
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
347
357
  */
348
- getAllNodeDefinitions(options) {
349
- return this.httpClient.request({ method: "GET", url: uriEncoding `flow`, options: options });
358
+ createProvisioningConfig(provisioningConfig, options) {
359
+ return this.httpClient.request({ method: "POST", url: uriEncoding `provisioning`, data: provisioningConfig, options: options });
350
360
  }
351
361
  /**
352
- * HTTP GET /flow/{name}
353
- * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
362
+ * HTTP GET /provisioning
363
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
354
364
  */
355
- getNodeDefinition(name, options) {
356
- return this.httpClient.request({ method: "GET", url: uriEncoding `flow/${name}`, options: options });
365
+ getProvisioningConfigs(options) {
366
+ return this.httpClient.request({ method: "GET", url: uriEncoding `provisioning`, options: options });
357
367
  }
358
368
  /**
359
- * HTTP GET /flow/{type}
360
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
369
+ * HTTP DELETE /provisioning/{id}
370
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
361
371
  */
362
- getAllNodeDefinitionsByType(type, options) {
363
- return this.httpClient.request({ method: "GET", url: uriEncoding `flow/${type}`, options: options });
372
+ deleteProvisioningConfig(id, options) {
373
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `provisioning/${id}`, options: options });
374
+ }
375
+ /**
376
+ * HTTP PUT /provisioning/{id}
377
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
378
+ */
379
+ updateProvisioningConfig(id, provisioningConfig, options) {
380
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `provisioning/${id}`, data: provisioningConfig, options: options });
364
381
  }
365
382
  }
366
- export class AgentResourceClient {
383
+ export class AssetModelResourceClient {
367
384
  constructor(httpClient) {
368
385
  this.httpClient = httpClient;
369
386
  }
370
387
  /**
371
- * HTTP GET /agent/assetDiscovery/{agentId}
372
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
388
+ * HTTP GET /model/assetDescriptors
389
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
373
390
  */
374
- doProtocolAssetDiscovery(agentId, queryParams, options) {
375
- return this.httpClient.request({ method: "GET", url: uriEncoding `agent/assetDiscovery/${agentId}`, queryParams: queryParams, options: options });
391
+ getAssetDescriptors(queryParams, options) {
392
+ return this.httpClient.request({ method: "GET", url: uriEncoding `model/assetDescriptors`, queryParams: queryParams, options: options });
376
393
  }
377
394
  /**
378
- * HTTP POST /agent/assetImport/{agentId}
379
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
395
+ * HTTP GET /model/assetInfo/{assetType}
396
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
380
397
  */
381
- doProtocolAssetImport(agentId, fileInfo, queryParams, options) {
382
- return this.httpClient.request({ method: "POST", url: uriEncoding `agent/assetImport/${agentId}`, queryParams: queryParams, data: fileInfo, options: options });
398
+ getAssetInfo(assetType, queryParams, options) {
399
+ return this.httpClient.request({ method: "GET", url: uriEncoding `model/assetInfo/${assetType}`, queryParams: queryParams, options: options });
383
400
  }
384
401
  /**
385
- * HTTP GET /agent/instanceDiscovery/{agentType}
386
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
402
+ * HTTP GET /model/assetInfos
403
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
387
404
  */
388
- doProtocolInstanceDiscovery(agentType, queryParams, options) {
389
- return this.httpClient.request({ method: "GET", url: uriEncoding `agent/instanceDiscovery/${agentType}`, queryParams: queryParams, options: options });
390
- }
391
- }
392
- export class StatusResourceClient {
393
- constructor(httpClient) {
394
- this.httpClient = httpClient;
405
+ getAssetInfos(queryParams, options) {
406
+ return this.httpClient.request({ method: "GET", url: uriEncoding `model/assetInfos`, queryParams: queryParams, options: options });
395
407
  }
396
408
  /**
397
- * HTTP GET /health
398
- * Java method: org.openremote.model.system.StatusResource.getHealthStatus
409
+ * HTTP GET /model/metaItemDescriptors
410
+ * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
399
411
  */
400
- getHealthStatus(options) {
401
- return this.httpClient.request({ method: "GET", url: uriEncoding `health`, options: options });
412
+ getMetaItemDescriptors(queryParams, options) {
413
+ return this.httpClient.request({ method: "GET", url: uriEncoding `model/metaItemDescriptors`, queryParams: queryParams, options: options });
402
414
  }
403
415
  /**
404
- * HTTP GET /info
405
- * Java method: org.openremote.model.system.StatusResource.getInfo
416
+ * HTTP GET /model/valueDescriptors
417
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
406
418
  */
407
- getInfo(options) {
408
- return this.httpClient.request({ method: "GET", url: uriEncoding `info`, options: options });
419
+ getValueDescriptors(queryParams, options) {
420
+ return this.httpClient.request({ method: "GET", url: uriEncoding `model/valueDescriptors`, queryParams: queryParams, options: options });
409
421
  }
410
422
  }
411
- export class MapResourceClient {
423
+ export class UserResourceClient {
412
424
  constructor(httpClient) {
413
425
  this.httpClient = httpClient;
414
426
  }
415
427
  /**
416
- * HTTP GET /map
417
- * Java method: org.openremote.model.map.MapResource.getSettings
428
+ * HTTP PUT /user/locale
429
+ * Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
418
430
  */
419
- getSettings(options) {
420
- return this.httpClient.request({ method: "GET", url: uriEncoding `map`, options: options });
431
+ updateCurrentUserLocale(locale, options) {
432
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `user/locale`, data: locale, options: options });
421
433
  }
422
434
  /**
423
- * HTTP PUT /map
424
- * Java method: org.openremote.model.map.MapResource.saveSettings
435
+ * HTTP POST /user/query
436
+ * Java method: org.openremote.model.security.UserResource.query
425
437
  */
426
- saveSettings(mapConfig, options) {
427
- return this.httpClient.request({ method: "PUT", url: uriEncoding `map`, data: mapConfig, options: options });
438
+ query(query, options) {
439
+ return this.httpClient.request({ method: "POST", url: uriEncoding `user/query`, data: query, options: options });
428
440
  }
429
441
  /**
430
- * HTTP DELETE /map/deleteMap
431
- * Java method: org.openremote.model.map.MapResource.deleteMap
442
+ * HTTP PUT /user/request-password-reset
443
+ * Java method: org.openremote.model.security.UserResource.requestPasswordResetCurrent
432
444
  */
433
- deleteMap(options) {
434
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `map/deleteMap`, options: options });
445
+ requestPasswordResetCurrent(options) {
446
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `user/request-password-reset`, options: options });
435
447
  }
436
448
  /**
437
- * HTTP GET /map/getCustomMapInfo
438
- * Java method: org.openremote.model.map.MapResource.getCustomMapInfo
449
+ * HTTP PUT /user/reset-password
450
+ * Java method: org.openremote.model.security.UserResource.updatePasswordCurrent
439
451
  */
440
- getCustomMapInfo(options) {
441
- return this.httpClient.request({ method: "GET", url: uriEncoding `map/getCustomMapInfo`, options: options });
452
+ updatePasswordCurrent(credential, options) {
453
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `user/reset-password`, data: credential, options: options });
442
454
  }
443
455
  /**
444
- * HTTP GET /map/js
445
- * Java method: org.openremote.model.map.MapResource.getSettingsJs
446
- */
447
- getSettingsJs(options) {
448
- return this.httpClient.request({ method: "GET", url: uriEncoding `map/js`, options: options });
449
- }
450
- /**
451
- * HTTP GET /map/tile/{zoom}/{column}/{row}
452
- * Java method: org.openremote.model.map.MapResource.getTile
453
- */
454
- getTile(zoom, column, row, options) {
455
- return this.httpClient.request({ method: "GET", url: uriEncoding `map/tile/${zoom}/${column}/${row}`, options: options });
456
- }
457
- /**
458
- * HTTP POST /map/upload
459
- * Java method: org.openremote.model.map.MapResource.uploadMap
456
+ * HTTP PUT /user/update
457
+ * Java method: org.openremote.model.security.UserResource.updateCurrent
460
458
  */
461
- uploadMap(queryParams, options) {
462
- return this.httpClient.request({ method: "POST", url: uriEncoding `map/upload`, queryParams: queryParams, options: options });
463
- }
464
- }
465
- export class ConfigurationResourceClient {
466
- constructor(httpClient) {
467
- this.httpClient = httpClient;
459
+ updateCurrent(user, options) {
460
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `user/update`, data: user, options: options });
468
461
  }
469
462
  /**
470
- * HTTP GET /configuration/manager
471
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
463
+ * HTTP GET /user/user
464
+ * Java method: org.openremote.model.security.UserResource.getCurrent
472
465
  */
473
- getManagerConfig(options) {
474
- return this.httpClient.request({ method: "GET", url: uriEncoding `configuration/manager`, options: options });
466
+ getCurrent(options) {
467
+ return this.httpClient.request({ method: "GET", url: uriEncoding `user/user`, options: options });
475
468
  }
476
469
  /**
477
- * HTTP PUT /configuration/manager
478
- * Java method: org.openremote.model.manager.ConfigurationResource.update
470
+ * HTTP GET /user/userRealmRoles
471
+ * Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
479
472
  */
480
- update(managerConfiguration, options) {
481
- return this.httpClient.request({ method: "PUT", url: uriEncoding `configuration/manager`, data: managerConfiguration, options: options });
473
+ getCurrentUserRealmRoles(options) {
474
+ return this.httpClient.request({ method: "GET", url: uriEncoding `user/userRealmRoles`, options: options });
482
475
  }
483
476
  /**
484
- * HTTP POST /configuration/manager/file
485
- * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
477
+ * HTTP GET /user/userRoles/{clientId}
478
+ * Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
486
479
  */
487
- fileUpload(fileInfo, queryParams, options) {
488
- return this.httpClient.request({ method: "POST", url: uriEncoding `configuration/manager/file`, queryParams: queryParams, data: fileInfo, options: options });
480
+ getCurrentUserClientRoles(clientId, options) {
481
+ return this.httpClient.request({ method: "GET", url: uriEncoding `user/userRoles/${clientId}`, options: options });
489
482
  }
490
483
  /**
491
- * HTTP GET /configuration/manager/image/{filename: .+}
492
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
484
+ * HTTP GET /user/{realm}/disconnect/{sessionID}
485
+ * Java method: org.openremote.model.security.UserResource.disconnectUserSession
493
486
  */
494
- getManagerConfigImage(filename, options) {
495
- return this.httpClient.request({ method: "GET", url: uriEncoding `configuration/manager/image/${filename}`, options: options });
496
- }
497
- }
498
- export class AlarmResourceClient {
499
- constructor(httpClient) {
500
- this.httpClient = httpClient;
487
+ disconnectUserSession(realm, sessionID, options) {
488
+ return this.httpClient.request({ method: "GET", url: uriEncoding `user/${realm}/disconnect/${sessionID}`, options: options });
501
489
  }
502
490
  /**
503
- * HTTP POST /alarm
504
- * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
491
+ * HTTP PUT /user/{realm}/request-password-reset/{userId}
492
+ * Java method: org.openremote.model.security.UserResource.requestPasswordReset
505
493
  */
506
- createAlarm(alarm, queryParams, options) {
507
- return this.httpClient.request({ method: "POST", url: uriEncoding `alarm`, queryParams: queryParams, data: alarm, options: options });
494
+ requestPasswordReset(realm, userId, options) {
495
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `user/${realm}/request-password-reset/${userId}`, options: options });
508
496
  }
509
497
  /**
510
- * HTTP GET /alarm
511
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
498
+ * HTTP PUT /user/{realm}/reset-password/{userId}
499
+ * Java method: org.openremote.model.security.UserResource.updatePassword
512
500
  */
513
- getAlarms(queryParams, options) {
514
- return this.httpClient.request({ method: "GET", url: uriEncoding `alarm`, queryParams: queryParams, options: options });
501
+ updatePassword(realm, userId, credential, options) {
502
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `user/${realm}/reset-password/${userId}`, data: credential, options: options });
515
503
  }
516
504
  /**
517
- * HTTP DELETE /alarm
518
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
505
+ * HTTP GET /user/{realm}/reset-secret/{userId}
506
+ * Java method: org.openremote.model.security.UserResource.resetSecret
519
507
  */
520
- removeAlarms(ids, options) {
521
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `alarm`, data: ids, options: options });
508
+ resetSecret(realm, userId, options) {
509
+ return this.httpClient.request({ method: "GET", url: uriEncoding `user/${realm}/reset-secret/${userId}`, options: options });
522
510
  }
523
511
  /**
524
- * HTTP PUT /alarm/assets
525
- * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
512
+ * HTTP PUT /user/{realm}/roles
513
+ * Java method: org.openremote.model.security.UserResource.updateRoles
526
514
  */
527
- setAssetLinks(links, options) {
528
- return this.httpClient.request({ method: "PUT", url: uriEncoding `alarm/assets`, data: links, options: options });
515
+ updateRoles(realm, roles, options) {
516
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `user/${realm}/roles`, data: roles, options: options });
529
517
  }
530
518
  /**
531
- * HTTP GET /alarm/{alarmId}
532
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
519
+ * HTTP GET /user/{realm}/userRealmRoles/{userId}
520
+ * Java method: org.openremote.model.security.UserResource.getUserRealmRoles
533
521
  */
534
- getAlarm(alarmId, options) {
535
- return this.httpClient.request({ method: "GET", url: uriEncoding `alarm/${alarmId}`, options: options });
522
+ getUserRealmRoles(realm, userId, options) {
523
+ return this.httpClient.request({ method: "GET", url: uriEncoding `user/${realm}/userRealmRoles/${userId}`, options: options });
536
524
  }
537
525
  /**
538
- * HTTP DELETE /alarm/{alarmId}
539
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
526
+ * HTTP PUT /user/{realm}/userRealmRoles/{userId}
527
+ * Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
540
528
  */
541
- removeAlarm(alarmId, options) {
542
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `alarm/${alarmId}`, options: options });
529
+ updateUserRealmRoles(realm, userId, roles, options) {
530
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `user/${realm}/userRealmRoles/${userId}`, data: roles, options: options });
543
531
  }
544
532
  /**
545
- * HTTP PUT /alarm/{alarmId}
546
- * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
533
+ * HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
534
+ * Java method: org.openremote.model.security.UserResource.getUserClientRoles
547
535
  */
548
- updateAlarm(alarmId, alarm, options) {
549
- return this.httpClient.request({ method: "PUT", url: uriEncoding `alarm/${alarmId}`, data: alarm, options: options });
536
+ getUserClientRoles(realm, userId, clientId, options) {
537
+ return this.httpClient.request({ method: "GET", url: uriEncoding `user/${realm}/userRoles/${userId}/${clientId}`, options: options });
550
538
  }
551
539
  /**
552
- * HTTP GET /alarm/{alarmId}/assets
553
- * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
540
+ * HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
541
+ * Java method: org.openremote.model.security.UserResource.updateUserClientRoles
554
542
  */
555
- getAssetLinks(alarmId, queryParams, options) {
556
- return this.httpClient.request({ method: "GET", url: uriEncoding `alarm/${alarmId}/assets`, queryParams: queryParams, options: options });
557
- }
558
- }
559
- export class AssetResourceClient {
560
- constructor(httpClient) {
561
- this.httpClient = httpClient;
543
+ updateUserClientRoles(realm, userId, clientId, roles, options) {
544
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `user/${realm}/userRoles/${userId}/${clientId}`, data: roles, options: options });
562
545
  }
563
546
  /**
564
- * HTTP POST /asset
565
- * Java method: org.openremote.model.asset.AssetResource.create
547
+ * HTTP GET /user/{realm}/userSessions/{userId}
548
+ * Java method: org.openremote.model.security.UserResource.getUserSessions
566
549
  */
567
- create(asset, options) {
568
- return this.httpClient.request({ method: "POST", url: uriEncoding `asset`, data: asset, options: options });
550
+ getUserSessions(realm, userId, options) {
551
+ return this.httpClient.request({ method: "GET", url: uriEncoding `user/${realm}/userSessions/${userId}`, options: options });
569
552
  }
570
553
  /**
571
- * HTTP DELETE /asset
572
- * Java method: org.openremote.model.asset.AssetResource.delete
554
+ * HTTP POST /user/{realm}/users
555
+ * Java method: org.openremote.model.security.UserResource.create
573
556
  */
574
- delete(queryParams, options) {
575
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `asset`, queryParams: queryParams, options: options });
557
+ create(realm, user, options) {
558
+ return this.httpClient.request({ method: "POST", url: uriEncoding `user/${realm}/users`, data: user, options: options });
576
559
  }
577
560
  /**
578
- * HTTP PUT /asset/attributes
579
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
561
+ * HTTP PUT /user/{realm}/users
562
+ * Java method: org.openremote.model.security.UserResource.update
580
563
  */
581
- writeAttributeValues(attributeStates, options) {
582
- return this.httpClient.request({ method: "PUT", url: uriEncoding `asset/attributes`, data: attributeStates, options: options });
564
+ update(realm, user, options) {
565
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `user/${realm}/users`, data: user, options: options });
583
566
  }
584
567
  /**
585
- * HTTP PUT /asset/attributes/timestamp
586
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
568
+ * HTTP DELETE /user/{realm}/users/{userId}
569
+ * Java method: org.openremote.model.security.UserResource.delete
587
570
  */
588
- writeAttributeEvents(attributeEvents, options) {
589
- return this.httpClient.request({ method: "PUT", url: uriEncoding `asset/attributes/timestamp`, data: attributeEvents, options: options });
571
+ delete(realm, userId, options) {
572
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `user/${realm}/users/${userId}`, options: options });
590
573
  }
591
574
  /**
592
- * HTTP DELETE /asset/parent
593
- * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
575
+ * HTTP GET /user/{realm}/{clientId}/roles
576
+ * Java method: org.openremote.model.security.UserResource.getClientRoles
594
577
  */
595
- updateNoneParent(queryParams, options) {
596
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `asset/parent`, queryParams: queryParams, options: options });
578
+ getClientRoles(realm, clientId, options) {
579
+ return this.httpClient.request({ method: "GET", url: uriEncoding `user/${realm}/${clientId}/roles`, options: options });
597
580
  }
598
581
  /**
599
- * HTTP GET /asset/partial/{assetId}
600
- * Java method: org.openremote.model.asset.AssetResource.getPartial
582
+ * HTTP PUT /user/{realm}/{clientId}/roles
583
+ * Java method: org.openremote.model.security.UserResource.updateClientRoles
601
584
  */
602
- getPartial(assetId, options) {
603
- return this.httpClient.request({ method: "GET", url: uriEncoding `asset/partial/${assetId}`, options: options });
585
+ updateClientRoles(realm, clientId, roles, options) {
586
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `user/${realm}/${clientId}/roles`, data: roles, options: options });
604
587
  }
605
588
  /**
606
- * HTTP POST /asset/query
607
- * Java method: org.openremote.model.asset.AssetResource.queryAssets
589
+ * HTTP GET /user/{realm}/{userId}
590
+ * Java method: org.openremote.model.security.UserResource.get
608
591
  */
609
- queryAssets(query, options) {
610
- return this.httpClient.request({ method: "POST", url: uriEncoding `asset/query`, data: query, options: options });
592
+ get(realm, userId, options) {
593
+ return this.httpClient.request({ method: "GET", url: uriEncoding `user/${realm}/${userId}`, options: options });
611
594
  }
612
- /**
613
- * HTTP GET /asset/user/current
614
- * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
615
- */
616
- getCurrentUserAssets(options) {
617
- return this.httpClient.request({ method: "GET", url: uriEncoding `asset/user/current`, options: options });
595
+ }
596
+ export class AgentResourceClient {
597
+ constructor(httpClient) {
598
+ this.httpClient = httpClient;
618
599
  }
619
600
  /**
620
- * HTTP POST /asset/user/link
621
- * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
601
+ * HTTP GET /agent/assetDiscovery/{agentId}
602
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
622
603
  */
623
- createUserAssetLinks(userAssets, options) {
624
- return this.httpClient.request({ method: "POST", url: uriEncoding `asset/user/link`, data: userAssets, options: options });
604
+ doProtocolAssetDiscovery(agentId, queryParams, options) {
605
+ return this.httpClient.request({ method: "GET", url: uriEncoding `agent/assetDiscovery/${agentId}`, queryParams: queryParams, options: options });
625
606
  }
626
607
  /**
627
- * HTTP GET /asset/user/link
628
- * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
608
+ * HTTP POST /agent/assetImport/{agentId}
609
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
629
610
  */
630
- getUserAssetLinks(queryParams, options) {
631
- return this.httpClient.request({ method: "GET", url: uriEncoding `asset/user/link`, queryParams: queryParams, options: options });
611
+ doProtocolAssetImport(agentId, fileInfo, queryParams, options) {
612
+ return this.httpClient.request({ method: "POST", url: uriEncoding `agent/assetImport/${agentId}`, queryParams: queryParams, data: fileInfo, options: options });
632
613
  }
633
614
  /**
634
- * HTTP POST /asset/user/link/delete
635
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
615
+ * HTTP GET /agent/instanceDiscovery/{agentType}
616
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
636
617
  */
637
- deleteUserAssetLinks(userAssets, options) {
638
- return this.httpClient.request({ method: "POST", url: uriEncoding `asset/user/link/delete`, data: userAssets, options: options });
618
+ doProtocolInstanceDiscovery(agentType, queryParams, options) {
619
+ return this.httpClient.request({ method: "GET", url: uriEncoding `agent/instanceDiscovery/${agentType}`, queryParams: queryParams, options: options });
639
620
  }
640
- /**
641
- * HTTP DELETE /asset/user/link/{realm}/{userId}
642
- * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
643
- */
644
- deleteAllUserAssetLinks(realm, userId, options) {
645
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `asset/user/link/${realm}/${userId}`, options: options });
621
+ }
622
+ export class RulesResourceClient {
623
+ constructor(httpClient) {
624
+ this.httpClient = httpClient;
646
625
  }
647
626
  /**
648
- * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
649
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
627
+ * HTTP POST /rules
628
+ * Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
650
629
  */
651
- deleteUserAssetLink(realm, userId, assetId, options) {
652
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `asset/user/link/${realm}/${userId}/${assetId}`, options: options });
630
+ createGlobalRuleset(ruleset, options) {
631
+ return this.httpClient.request({ method: "POST", url: uriEncoding `rules`, data: ruleset, options: options });
653
632
  }
654
633
  /**
655
- * HTTP GET /asset/{assetId}
656
- * Java method: org.openremote.model.asset.AssetResource.get
634
+ * HTTP GET /rules
635
+ * Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
657
636
  */
658
- get(assetId, options) {
659
- return this.httpClient.request({ method: "GET", url: uriEncoding `asset/${assetId}`, options: options });
637
+ getGlobalRulesets(queryParams, options) {
638
+ return this.httpClient.request({ method: "GET", url: uriEncoding `rules`, queryParams: queryParams, options: options });
660
639
  }
661
640
  /**
662
- * HTTP PUT /asset/{assetId}
663
- * Java method: org.openremote.model.asset.AssetResource.update
641
+ * HTTP POST /rules/asset
642
+ * Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
664
643
  */
665
- update(assetId, asset, options) {
666
- return this.httpClient.request({ method: "PUT", url: uriEncoding `asset/${assetId}`, data: asset, options: options });
644
+ createAssetRuleset(ruleset, options) {
645
+ return this.httpClient.request({ method: "POST", url: uriEncoding `rules/asset`, data: ruleset, options: options });
667
646
  }
668
647
  /**
669
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}
670
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
648
+ * HTTP GET /rules/asset/for/{assetId}
649
+ * Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
671
650
  */
672
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId, attributeName, value, options) {
673
- return this.httpClient.request({ method: "PUT", url: uriEncoding `asset/${assetId}/attribute/${attributeName}`, data: value, options: options });
651
+ getAssetRulesets(assetId, queryParams, options) {
652
+ return this.httpClient.request({ method: "GET", url: uriEncoding `rules/asset/for/${assetId}`, queryParams: queryParams, options: options });
674
653
  }
675
654
  /**
676
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
677
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
655
+ * HTTP DELETE /rules/asset/{id}
656
+ * Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
678
657
  */
679
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId, attributeName, timestamp, value, options) {
680
- return this.httpClient.request({ method: "PUT", url: uriEncoding `asset/${assetId}/attribute/${attributeName}/${timestamp}`, data: value, options: options });
658
+ deleteAssetRuleset(id, options) {
659
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `rules/asset/${id}`, options: options });
681
660
  }
682
661
  /**
683
- * HTTP PUT /asset/{parentAssetId}/child
684
- * Java method: org.openremote.model.asset.AssetResource.updateParent
662
+ * HTTP GET /rules/asset/{id}
663
+ * Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
685
664
  */
686
- updateParent(parentAssetId, queryParams, options) {
687
- return this.httpClient.request({ method: "PUT", url: uriEncoding `asset/${parentAssetId}/child`, queryParams: queryParams, options: options });
688
- }
689
- }
690
- export class SyslogResourceClient {
691
- constructor(httpClient) {
692
- this.httpClient = httpClient;
665
+ getAssetRuleset(id, options) {
666
+ return this.httpClient.request({ method: "GET", url: uriEncoding `rules/asset/${id}`, options: options });
693
667
  }
694
668
  /**
695
- * HTTP GET /syslog/config
696
- * Java method: org.openremote.model.syslog.SyslogResource.getConfig
669
+ * HTTP PUT /rules/asset/{id}
670
+ * Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
697
671
  */
698
- getConfig(options) {
699
- return this.httpClient.request({ method: "GET", url: uriEncoding `syslog/config`, options: options });
672
+ updateAssetRuleset(id, ruleset, options) {
673
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `rules/asset/${id}`, data: ruleset, options: options });
700
674
  }
701
675
  /**
702
- * HTTP PUT /syslog/config
703
- * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
676
+ * HTTP GET /rules/geofences/{assetId}
677
+ * Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
704
678
  */
705
- updateConfig(config, options) {
706
- return this.httpClient.request({ method: "PUT", url: uriEncoding `syslog/config`, data: config, options: options });
679
+ getAssetGeofences(assetId, options) {
680
+ return this.httpClient.request({ method: "GET", url: uriEncoding `rules/geofences/${assetId}`, options: options });
707
681
  }
708
682
  /**
709
- * HTTP DELETE /syslog/event
710
- * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
683
+ * HTTP GET /rules/info/asset/{assetId}
684
+ * Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
711
685
  */
712
- clearEvents(options) {
713
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `syslog/event`, options: options });
686
+ getAssetEngineInfo(assetId, options) {
687
+ return this.httpClient.request({ method: "GET", url: uriEncoding `rules/info/asset/${assetId}`, options: options });
714
688
  }
715
689
  /**
716
- * HTTP GET /syslog/event
717
- * Java method: org.openremote.model.syslog.SyslogResource.getEvents
690
+ * HTTP GET /rules/info/global
691
+ * Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
718
692
  */
719
- getEvents(queryParams, options) {
720
- return this.httpClient.request({ method: "GET", url: uriEncoding `syslog/event`, queryParams: queryParams, options: options });
721
- }
722
- }
723
- export class AssetPredictedDatapointResourceClient {
724
- constructor(httpClient) {
725
- this.httpClient = httpClient;
693
+ getGlobalEngineInfo(options) {
694
+ return this.httpClient.request({ method: "GET", url: uriEncoding `rules/info/global`, options: options });
726
695
  }
727
696
  /**
728
- * HTTP POST /asset/predicted/{assetId}/{attributeName}
729
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
697
+ * HTTP GET /rules/info/realm/{realm}
698
+ * Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
730
699
  */
731
- getPredictedDatapoints(assetId, attributeName, query, options) {
732
- return this.httpClient.request({ method: "POST", url: uriEncoding `asset/predicted/${assetId}/${attributeName}`, data: query, options: options });
700
+ getRealmEngineInfo(realm, options) {
701
+ return this.httpClient.request({ method: "GET", url: uriEncoding `rules/info/realm/${realm}`, options: options });
733
702
  }
734
703
  /**
735
- * HTTP PUT /asset/predicted/{assetId}/{attributeName}
736
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
704
+ * HTTP POST /rules/realm
705
+ * Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
737
706
  */
738
- writePredictedDatapoints(assetId, attributeName, predictedDatapoints, options) {
739
- return this.httpClient.request({ method: "PUT", url: uriEncoding `asset/predicted/${assetId}/${attributeName}`, data: predictedDatapoints, options: options });
740
- }
741
- }
742
- export class UserResourceClient {
743
- constructor(httpClient) {
744
- this.httpClient = httpClient;
707
+ createRealmRuleset(ruleset, options) {
708
+ return this.httpClient.request({ method: "POST", url: uriEncoding `rules/realm`, data: ruleset, options: options });
745
709
  }
746
710
  /**
747
- * HTTP PUT /user/locale
748
- * Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
711
+ * HTTP GET /rules/realm/for/{realm}
712
+ * Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
749
713
  */
750
- updateCurrentUserLocale(locale, options) {
751
- return this.httpClient.request({ method: "PUT", url: uriEncoding `user/locale`, data: locale, options: options });
714
+ getRealmRulesets(realm, queryParams, options) {
715
+ return this.httpClient.request({ method: "GET", url: uriEncoding `rules/realm/for/${realm}`, queryParams: queryParams, options: options });
752
716
  }
753
717
  /**
754
- * HTTP POST /user/query
755
- * Java method: org.openremote.model.security.UserResource.query
718
+ * HTTP DELETE /rules/realm/{id}
719
+ * Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
756
720
  */
757
- query(query, options) {
758
- return this.httpClient.request({ method: "POST", url: uriEncoding `user/query`, data: query, options: options });
721
+ deleteRealmRuleset(id, options) {
722
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `rules/realm/${id}`, options: options });
759
723
  }
760
724
  /**
761
- * HTTP PUT /user/request-password-reset
762
- * Java method: org.openremote.model.security.UserResource.requestPasswordResetCurrent
725
+ * HTTP GET /rules/realm/{id}
726
+ * Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
763
727
  */
764
- requestPasswordResetCurrent(options) {
765
- return this.httpClient.request({ method: "PUT", url: uriEncoding `user/request-password-reset`, options: options });
728
+ getRealmRuleset(id, options) {
729
+ return this.httpClient.request({ method: "GET", url: uriEncoding `rules/realm/${id}`, options: options });
766
730
  }
767
731
  /**
768
- * HTTP PUT /user/reset-password
769
- * Java method: org.openremote.model.security.UserResource.updatePasswordCurrent
732
+ * HTTP PUT /rules/realm/{id}
733
+ * Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
770
734
  */
771
- updatePasswordCurrent(credential, options) {
772
- return this.httpClient.request({ method: "PUT", url: uriEncoding `user/reset-password`, data: credential, options: options });
735
+ updateRealmRuleset(id, ruleset, options) {
736
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `rules/realm/${id}`, data: ruleset, options: options });
773
737
  }
774
738
  /**
775
- * HTTP PUT /user/update
776
- * Java method: org.openremote.model.security.UserResource.updateCurrent
739
+ * HTTP DELETE /rules/{id}
740
+ * Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
777
741
  */
778
- updateCurrent(user, options) {
779
- return this.httpClient.request({ method: "PUT", url: uriEncoding `user/update`, data: user, options: options });
742
+ deleteGlobalRuleset(id, options) {
743
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `rules/${id}`, options: options });
780
744
  }
781
745
  /**
782
- * HTTP GET /user/user
783
- * Java method: org.openremote.model.security.UserResource.getCurrent
746
+ * HTTP GET /rules/{id}
747
+ * Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
784
748
  */
785
- getCurrent(options) {
786
- return this.httpClient.request({ method: "GET", url: uriEncoding `user/user`, options: options });
749
+ getGlobalRuleset(id, options) {
750
+ return this.httpClient.request({ method: "GET", url: uriEncoding `rules/${id}`, options: options });
787
751
  }
788
752
  /**
789
- * HTTP GET /user/userRealmRoles
790
- * Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
753
+ * HTTP PUT /rules/{id}
754
+ * Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
791
755
  */
792
- getCurrentUserRealmRoles(options) {
793
- return this.httpClient.request({ method: "GET", url: uriEncoding `user/userRealmRoles`, options: options });
756
+ updateGlobalRuleset(id, ruleset, options) {
757
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `rules/${id}`, data: ruleset, options: options });
758
+ }
759
+ }
760
+ export class AssetDatapointResourceClient {
761
+ constructor(httpClient) {
762
+ this.httpClient = httpClient;
794
763
  }
795
764
  /**
796
- * HTTP GET /user/userRoles/{clientId}
797
- * Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
765
+ * HTTP GET /asset/datapoint/export
766
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
798
767
  */
799
- getCurrentUserClientRoles(clientId, options) {
800
- return this.httpClient.request({ method: "GET", url: uriEncoding `user/userRoles/${clientId}`, options: options });
768
+ getDatapointExport(queryParams, options) {
769
+ return this.httpClient.request({ method: "GET", url: uriEncoding `asset/datapoint/export`, queryParams: queryParams, options: options });
801
770
  }
802
771
  /**
803
- * HTTP GET /user/{realm}/disconnect/{sessionID}
804
- * Java method: org.openremote.model.security.UserResource.disconnectUserSession
772
+ * HTTP GET /asset/datapoint/periods
773
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
805
774
  */
806
- disconnectUserSession(realm, sessionID, options) {
807
- return this.httpClient.request({ method: "GET", url: uriEncoding `user/${realm}/disconnect/${sessionID}`, options: options });
775
+ getDatapointPeriod(queryParams, options) {
776
+ return this.httpClient.request({ method: "GET", url: uriEncoding `asset/datapoint/periods`, queryParams: queryParams, options: options });
808
777
  }
809
778
  /**
810
- * HTTP PUT /user/{realm}/request-password-reset/{userId}
811
- * Java method: org.openremote.model.security.UserResource.requestPasswordReset
779
+ * HTTP POST /asset/datapoint/{assetId}/{attributeName}
780
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
812
781
  */
813
- requestPasswordReset(realm, userId, options) {
814
- return this.httpClient.request({ method: "PUT", url: uriEncoding `user/${realm}/request-password-reset/${userId}`, options: options });
782
+ getDatapoints(assetId, attributeName, query, options) {
783
+ return this.httpClient.request({ method: "POST", url: uriEncoding `asset/datapoint/${assetId}/${attributeName}`, data: query, options: options });
784
+ }
785
+ }
786
+ export class AppResourceClient {
787
+ constructor(httpClient) {
788
+ this.httpClient = httpClient;
815
789
  }
816
790
  /**
817
- * HTTP PUT /user/{realm}/reset-password/{userId}
818
- * Java method: org.openremote.model.security.UserResource.updatePassword
791
+ * HTTP GET /apps
792
+ * Java method: org.openremote.model.apps.AppResource.getApps
819
793
  */
820
- updatePassword(realm, userId, credential, options) {
821
- return this.httpClient.request({ method: "PUT", url: uriEncoding `user/${realm}/reset-password/${userId}`, data: credential, options: options });
794
+ getApps(options) {
795
+ return this.httpClient.request({ method: "GET", url: uriEncoding `apps`, options: options });
822
796
  }
823
797
  /**
824
- * HTTP GET /user/{realm}/reset-secret/{userId}
825
- * Java method: org.openremote.model.security.UserResource.resetSecret
798
+ * HTTP GET /apps/consoleConfig
799
+ * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
826
800
  */
827
- resetSecret(realm, userId, options) {
828
- return this.httpClient.request({ method: "GET", url: uriEncoding `user/${realm}/reset-secret/${userId}`, options: options });
801
+ getConsoleConfig(options) {
802
+ return this.httpClient.request({ method: "GET", url: uriEncoding `apps/consoleConfig`, options: options });
829
803
  }
830
804
  /**
831
- * HTTP PUT /user/{realm}/roles
832
- * Java method: org.openremote.model.security.UserResource.updateRoles
805
+ * HTTP GET /apps/info
806
+ * Java method: org.openremote.model.apps.AppResource.getAppInfos
833
807
  */
834
- updateRoles(realm, roles, options) {
835
- return this.httpClient.request({ method: "PUT", url: uriEncoding `user/${realm}/roles`, data: roles, options: options });
808
+ getAppInfos(options) {
809
+ return this.httpClient.request({ method: "GET", url: uriEncoding `apps/info`, options: options });
810
+ }
811
+ }
812
+ export class AssetPredictedDatapointResourceClient {
813
+ constructor(httpClient) {
814
+ this.httpClient = httpClient;
836
815
  }
837
816
  /**
838
- * HTTP GET /user/{realm}/userRealmRoles/{userId}
839
- * Java method: org.openremote.model.security.UserResource.getUserRealmRoles
817
+ * HTTP POST /asset/predicted/{assetId}/{attributeName}
818
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
840
819
  */
841
- getUserRealmRoles(realm, userId, options) {
842
- return this.httpClient.request({ method: "GET", url: uriEncoding `user/${realm}/userRealmRoles/${userId}`, options: options });
820
+ getPredictedDatapoints(assetId, attributeName, query, options) {
821
+ return this.httpClient.request({ method: "POST", url: uriEncoding `asset/predicted/${assetId}/${attributeName}`, data: query, options: options });
843
822
  }
844
823
  /**
845
- * HTTP PUT /user/{realm}/userRealmRoles/{userId}
846
- * Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
824
+ * HTTP PUT /asset/predicted/{assetId}/{attributeName}
825
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
847
826
  */
848
- updateUserRealmRoles(realm, userId, roles, options) {
849
- return this.httpClient.request({ method: "PUT", url: uriEncoding `user/${realm}/userRealmRoles/${userId}`, data: roles, options: options });
827
+ writePredictedDatapoints(assetId, attributeName, predictedDatapoints, options) {
828
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `asset/predicted/${assetId}/${attributeName}`, data: predictedDatapoints, options: options });
829
+ }
830
+ }
831
+ export class GatewayClientResourceClient {
832
+ constructor(httpClient) {
833
+ this.httpClient = httpClient;
850
834
  }
851
835
  /**
852
- * HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
853
- * Java method: org.openremote.model.security.UserResource.getUserClientRoles
836
+ * HTTP DELETE /gateway/connection
837
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
854
838
  */
855
- getUserClientRoles(realm, userId, clientId, options) {
856
- return this.httpClient.request({ method: "GET", url: uriEncoding `user/${realm}/userRoles/${userId}/${clientId}`, options: options });
839
+ deleteConnections(queryParams, options) {
840
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `gateway/connection`, queryParams: queryParams, options: options });
857
841
  }
858
842
  /**
859
- * HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
860
- * Java method: org.openremote.model.security.UserResource.updateUserClientRoles
843
+ * HTTP GET /gateway/connection
844
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
861
845
  */
862
- updateUserClientRoles(realm, userId, clientId, roles, options) {
863
- return this.httpClient.request({ method: "PUT", url: uriEncoding `user/${realm}/userRoles/${userId}/${clientId}`, data: roles, options: options });
846
+ getConnections(options) {
847
+ return this.httpClient.request({ method: "GET", url: uriEncoding `gateway/connection`, options: options });
864
848
  }
865
849
  /**
866
- * HTTP GET /user/{realm}/userSessions/{userId}
867
- * Java method: org.openremote.model.security.UserResource.getUserSessions
850
+ * HTTP DELETE /gateway/connection/{realm}
851
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
868
852
  */
869
- getUserSessions(realm, userId, options) {
870
- return this.httpClient.request({ method: "GET", url: uriEncoding `user/${realm}/userSessions/${userId}`, options: options });
853
+ deleteConnection(realm, options) {
854
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `gateway/connection/${realm}`, options: options });
871
855
  }
872
856
  /**
873
- * HTTP POST /user/{realm}/users
874
- * Java method: org.openremote.model.security.UserResource.create
857
+ * HTTP GET /gateway/connection/{realm}
858
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
875
859
  */
876
- create(realm, user, options) {
877
- return this.httpClient.request({ method: "POST", url: uriEncoding `user/${realm}/users`, data: user, options: options });
860
+ getConnection(realm, options) {
861
+ return this.httpClient.request({ method: "GET", url: uriEncoding `gateway/connection/${realm}`, options: options });
878
862
  }
879
863
  /**
880
- * HTTP PUT /user/{realm}/users
881
- * Java method: org.openremote.model.security.UserResource.update
864
+ * HTTP PUT /gateway/connection/{realm}
865
+ * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
882
866
  */
883
- update(realm, user, options) {
884
- return this.httpClient.request({ method: "PUT", url: uriEncoding `user/${realm}/users`, data: user, options: options });
867
+ setConnection(realm, connection, options) {
868
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `gateway/connection/${realm}`, data: connection, options: options });
885
869
  }
886
870
  /**
887
- * HTTP DELETE /user/{realm}/users/{userId}
888
- * Java method: org.openremote.model.security.UserResource.delete
871
+ * HTTP GET /gateway/status/{realm}
872
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
889
873
  */
890
- delete(realm, userId, options) {
891
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `user/${realm}/users/${userId}`, options: options });
874
+ getConnectionStatus(realm, options) {
875
+ return this.httpClient.request({ method: "GET", url: uriEncoding `gateway/status/${realm}`, options: options });
876
+ }
877
+ }
878
+ export class FlowResourceClient {
879
+ constructor(httpClient) {
880
+ this.httpClient = httpClient;
892
881
  }
893
882
  /**
894
- * HTTP GET /user/{realm}/{clientId}/roles
895
- * Java method: org.openremote.model.security.UserResource.getClientRoles
883
+ * HTTP GET /flow
884
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
896
885
  */
897
- getClientRoles(realm, clientId, options) {
898
- return this.httpClient.request({ method: "GET", url: uriEncoding `user/${realm}/${clientId}/roles`, options: options });
886
+ getAllNodeDefinitions(options) {
887
+ return this.httpClient.request({ method: "GET", url: uriEncoding `flow`, options: options });
899
888
  }
900
889
  /**
901
- * HTTP PUT /user/{realm}/{clientId}/roles
902
- * Java method: org.openremote.model.security.UserResource.updateClientRoles
890
+ * HTTP GET /flow/{name}
891
+ * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
903
892
  */
904
- updateClientRoles(realm, clientId, roles, options) {
905
- return this.httpClient.request({ method: "PUT", url: uriEncoding `user/${realm}/${clientId}/roles`, data: roles, options: options });
893
+ getNodeDefinition(name, options) {
894
+ return this.httpClient.request({ method: "GET", url: uriEncoding `flow/${name}`, options: options });
906
895
  }
907
896
  /**
908
- * HTTP GET /user/{realm}/{userId}
909
- * Java method: org.openremote.model.security.UserResource.get
897
+ * HTTP GET /flow/{type}
898
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
910
899
  */
911
- get(realm, userId, options) {
912
- return this.httpClient.request({ method: "GET", url: uriEncoding `user/${realm}/${userId}`, options: options });
900
+ getAllNodeDefinitionsByType(type, options) {
901
+ return this.httpClient.request({ method: "GET", url: uriEncoding `flow/${type}`, options: options });
913
902
  }
914
903
  }
915
904
  export class RealmResourceClient {
@@ -959,124 +948,135 @@ export class RealmResourceClient {
959
948
  return this.httpClient.request({ method: "PUT", url: uriEncoding `realm/${name}`, data: realm, options: options });
960
949
  }
961
950
  }
962
- export class GatewayClientResourceClient {
951
+ export class AssetResourceClient {
963
952
  constructor(httpClient) {
964
953
  this.httpClient = httpClient;
965
954
  }
966
955
  /**
967
- * HTTP DELETE /gateway/connection
968
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
956
+ * HTTP POST /asset
957
+ * Java method: org.openremote.model.asset.AssetResource.create
969
958
  */
970
- deleteConnections(queryParams, options) {
971
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `gateway/connection`, queryParams: queryParams, options: options });
959
+ create(asset, options) {
960
+ return this.httpClient.request({ method: "POST", url: uriEncoding `asset`, data: asset, options: options });
972
961
  }
973
962
  /**
974
- * HTTP GET /gateway/connection
975
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
963
+ * HTTP DELETE /asset
964
+ * Java method: org.openremote.model.asset.AssetResource.delete
976
965
  */
977
- getConnections(options) {
978
- return this.httpClient.request({ method: "GET", url: uriEncoding `gateway/connection`, options: options });
966
+ delete(queryParams, options) {
967
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `asset`, queryParams: queryParams, options: options });
979
968
  }
980
969
  /**
981
- * HTTP DELETE /gateway/connection/{realm}
982
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
970
+ * HTTP PUT /asset/attributes
971
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
983
972
  */
984
- deleteConnection(realm, options) {
985
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `gateway/connection/${realm}`, options: options });
973
+ writeAttributeValues(attributeStates, options) {
974
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `asset/attributes`, data: attributeStates, options: options });
975
+ }
976
+ /**
977
+ * HTTP PUT /asset/attributes/timestamp
978
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
979
+ */
980
+ writeAttributeEvents(attributeEvents, options) {
981
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `asset/attributes/timestamp`, data: attributeEvents, options: options });
982
+ }
983
+ /**
984
+ * HTTP DELETE /asset/parent
985
+ * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
986
+ */
987
+ updateNoneParent(queryParams, options) {
988
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `asset/parent`, queryParams: queryParams, options: options });
989
+ }
990
+ /**
991
+ * HTTP GET /asset/partial/{assetId}
992
+ * Java method: org.openremote.model.asset.AssetResource.getPartial
993
+ */
994
+ getPartial(assetId, options) {
995
+ return this.httpClient.request({ method: "GET", url: uriEncoding `asset/partial/${assetId}`, options: options });
986
996
  }
987
997
  /**
988
- * HTTP GET /gateway/connection/{realm}
989
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
998
+ * HTTP POST /asset/query
999
+ * Java method: org.openremote.model.asset.AssetResource.queryAssets
990
1000
  */
991
- getConnection(realm, options) {
992
- return this.httpClient.request({ method: "GET", url: uriEncoding `gateway/connection/${realm}`, options: options });
1001
+ queryAssets(query, options) {
1002
+ return this.httpClient.request({ method: "POST", url: uriEncoding `asset/query`, data: query, options: options });
993
1003
  }
994
1004
  /**
995
- * HTTP PUT /gateway/connection/{realm}
996
- * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
1005
+ * HTTP GET /asset/user/current
1006
+ * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
997
1007
  */
998
- setConnection(realm, connection, options) {
999
- return this.httpClient.request({ method: "PUT", url: uriEncoding `gateway/connection/${realm}`, data: connection, options: options });
1008
+ getCurrentUserAssets(options) {
1009
+ return this.httpClient.request({ method: "GET", url: uriEncoding `asset/user/current`, options: options });
1000
1010
  }
1001
1011
  /**
1002
- * HTTP GET /gateway/status/{realm}
1003
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
1012
+ * HTTP POST /asset/user/link
1013
+ * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
1004
1014
  */
1005
- getConnectionStatus(realm, options) {
1006
- return this.httpClient.request({ method: "GET", url: uriEncoding `gateway/status/${realm}`, options: options });
1007
- }
1008
- }
1009
- export class DashboardResourceClient {
1010
- constructor(httpClient) {
1011
- this.httpClient = httpClient;
1015
+ createUserAssetLinks(userAssets, options) {
1016
+ return this.httpClient.request({ method: "POST", url: uriEncoding `asset/user/link`, data: userAssets, options: options });
1012
1017
  }
1013
1018
  /**
1014
- * HTTP POST /dashboard
1015
- * Java method: org.openremote.model.dashboard.DashboardResource.create
1019
+ * HTTP GET /asset/user/link
1020
+ * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
1016
1021
  */
1017
- create(dashboard, options) {
1018
- return this.httpClient.request({ method: "POST", url: uriEncoding `dashboard`, data: dashboard, options: options });
1022
+ getUserAssetLinks(queryParams, options) {
1023
+ return this.httpClient.request({ method: "GET", url: uriEncoding `asset/user/link`, queryParams: queryParams, options: options });
1019
1024
  }
1020
1025
  /**
1021
- * HTTP PUT /dashboard
1022
- * Java method: org.openremote.model.dashboard.DashboardResource.update
1026
+ * HTTP POST /asset/user/link/delete
1027
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
1023
1028
  */
1024
- update(dashboard, options) {
1025
- return this.httpClient.request({ method: "PUT", url: uriEncoding `dashboard`, data: dashboard, options: options });
1029
+ deleteUserAssetLinks(userAssets, options) {
1030
+ return this.httpClient.request({ method: "POST", url: uriEncoding `asset/user/link/delete`, data: userAssets, options: options });
1026
1031
  }
1027
1032
  /**
1028
- * HTTP GET /dashboard/all/{realm}
1029
- * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
1033
+ * HTTP DELETE /asset/user/link/{realm}/{userId}
1034
+ * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
1030
1035
  */
1031
- getAllRealmDashboards(realm, options) {
1032
- return this.httpClient.request({ method: "GET", url: uriEncoding `dashboard/all/${realm}`, options: options });
1036
+ deleteAllUserAssetLinks(realm, userId, options) {
1037
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `asset/user/link/${realm}/${userId}`, options: options });
1033
1038
  }
1034
1039
  /**
1035
- * HTTP POST /dashboard/query
1036
- * Java method: org.openremote.model.dashboard.DashboardResource.query
1040
+ * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
1041
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
1037
1042
  */
1038
- query(dashboardQuery, options) {
1039
- return this.httpClient.request({ method: "POST", url: uriEncoding `dashboard/query`, data: dashboardQuery, options: options });
1043
+ deleteUserAssetLink(realm, userId, assetId, options) {
1044
+ return this.httpClient.request({ method: "DELETE", url: uriEncoding `asset/user/link/${realm}/${userId}/${assetId}`, options: options });
1040
1045
  }
1041
1046
  /**
1042
- * HTTP DELETE /dashboard/{realm}/{dashboardId}
1043
- * Java method: org.openremote.model.dashboard.DashboardResource.delete
1047
+ * HTTP GET /asset/{assetId}
1048
+ * Java method: org.openremote.model.asset.AssetResource.get
1044
1049
  */
1045
- delete(realm, dashboardId, options) {
1046
- return this.httpClient.request({ method: "DELETE", url: uriEncoding `dashboard/${realm}/${dashboardId}`, options: options });
1050
+ get(assetId, options) {
1051
+ return this.httpClient.request({ method: "GET", url: uriEncoding `asset/${assetId}`, options: options });
1047
1052
  }
1048
1053
  /**
1049
- * HTTP GET /dashboard/{realm}/{dashboardId}
1050
- * Java method: org.openremote.model.dashboard.DashboardResource.get
1054
+ * HTTP PUT /asset/{assetId}
1055
+ * Java method: org.openremote.model.asset.AssetResource.update
1051
1056
  */
1052
- get(realm, dashboardId, options) {
1053
- return this.httpClient.request({ method: "GET", url: uriEncoding `dashboard/${realm}/${dashboardId}`, options: options });
1054
- }
1055
- }
1056
- export class AppResourceClient {
1057
- constructor(httpClient) {
1058
- this.httpClient = httpClient;
1057
+ update(assetId, asset, options) {
1058
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `asset/${assetId}`, data: asset, options: options });
1059
1059
  }
1060
1060
  /**
1061
- * HTTP GET /apps
1062
- * Java method: org.openremote.model.apps.AppResource.getApps
1061
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}
1062
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
1063
1063
  */
1064
- getApps(options) {
1065
- return this.httpClient.request({ method: "GET", url: uriEncoding `apps`, options: options });
1064
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId, attributeName, value, options) {
1065
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `asset/${assetId}/attribute/${attributeName}`, data: value, options: options });
1066
1066
  }
1067
1067
  /**
1068
- * HTTP GET /apps/consoleConfig
1069
- * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
1068
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
1069
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
1070
1070
  */
1071
- getConsoleConfig(options) {
1072
- return this.httpClient.request({ method: "GET", url: uriEncoding `apps/consoleConfig`, options: options });
1071
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId, attributeName, timestamp, value, options) {
1072
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `asset/${assetId}/attribute/${attributeName}/${timestamp}`, data: value, options: options });
1073
1073
  }
1074
1074
  /**
1075
- * HTTP GET /apps/info
1076
- * Java method: org.openremote.model.apps.AppResource.getAppInfos
1075
+ * HTTP PUT /asset/{parentAssetId}/child
1076
+ * Java method: org.openremote.model.asset.AssetResource.updateParent
1077
1077
  */
1078
- getAppInfos(options) {
1079
- return this.httpClient.request({ method: "GET", url: uriEncoding `apps/info`, options: options });
1078
+ updateParent(parentAssetId, queryParams, options) {
1079
+ return this.httpClient.request({ method: "PUT", url: uriEncoding `asset/${parentAssetId}/child`, queryParams: queryParams, options: options });
1080
1080
  }
1081
1081
  }
1082
1082
  function uriEncoding(template, ...substitutions) {
@@ -1091,91 +1091,91 @@ function uriEncoding(template, ...substitutions) {
1091
1091
  // Added by 'AggregatedApiClient' extension
1092
1092
  export class ApiClient {
1093
1093
  constructor(baseURL, axiosInstance = axios.create()) {
1094
- this._assetModelResource = new AxiosAssetModelResourceClient(baseURL, axiosInstance);
1095
- this._assetDatapointResource = new AxiosAssetDatapointResourceClient(baseURL, axiosInstance);
1096
- this._consoleResource = new AxiosConsoleResourceClient(baseURL, axiosInstance);
1097
- this._gatewayServiceResource = new AxiosGatewayServiceResourceClient(baseURL, axiosInstance);
1098
- this._provisioningResource = new AxiosProvisioningResourceClient(baseURL, axiosInstance);
1099
1094
  this._notificationResource = new AxiosNotificationResourceClient(baseURL, axiosInstance);
1100
- this._rulesResource = new AxiosRulesResourceClient(baseURL, axiosInstance);
1101
- this._flowResource = new AxiosFlowResourceClient(baseURL, axiosInstance);
1102
- this._agentResource = new AxiosAgentResourceClient(baseURL, axiosInstance);
1103
- this._statusResource = new AxiosStatusResourceClient(baseURL, axiosInstance);
1104
- this._mapResource = new AxiosMapResourceClient(baseURL, axiosInstance);
1105
1095
  this._configurationResource = new AxiosConfigurationResourceClient(baseURL, axiosInstance);
1096
+ this._mapResource = new AxiosMapResourceClient(baseURL, axiosInstance);
1106
1097
  this._alarmResource = new AxiosAlarmResourceClient(baseURL, axiosInstance);
1107
- this._assetResource = new AxiosAssetResourceClient(baseURL, axiosInstance);
1108
1098
  this._syslogResource = new AxiosSyslogResourceClient(baseURL, axiosInstance);
1109
- this._assetPredictedDatapointResource = new AxiosAssetPredictedDatapointResourceClient(baseURL, axiosInstance);
1110
- this._userResource = new AxiosUserResourceClient(baseURL, axiosInstance);
1111
- this._realmResource = new AxiosRealmResourceClient(baseURL, axiosInstance);
1112
- this._gatewayClientResource = new AxiosGatewayClientResourceClient(baseURL, axiosInstance);
1099
+ this._gatewayServiceResource = new AxiosGatewayServiceResourceClient(baseURL, axiosInstance);
1113
1100
  this._dashboardResource = new AxiosDashboardResourceClient(baseURL, axiosInstance);
1101
+ this._consoleResource = new AxiosConsoleResourceClient(baseURL, axiosInstance);
1102
+ this._statusResource = new AxiosStatusResourceClient(baseURL, axiosInstance);
1103
+ this._provisioningResource = new AxiosProvisioningResourceClient(baseURL, axiosInstance);
1104
+ this._assetModelResource = new AxiosAssetModelResourceClient(baseURL, axiosInstance);
1105
+ this._userResource = new AxiosUserResourceClient(baseURL, axiosInstance);
1106
+ this._agentResource = new AxiosAgentResourceClient(baseURL, axiosInstance);
1107
+ this._rulesResource = new AxiosRulesResourceClient(baseURL, axiosInstance);
1108
+ this._assetDatapointResource = new AxiosAssetDatapointResourceClient(baseURL, axiosInstance);
1114
1109
  this._appResource = new AxiosAppResourceClient(baseURL, axiosInstance);
1110
+ this._assetPredictedDatapointResource = new AxiosAssetPredictedDatapointResourceClient(baseURL, axiosInstance);
1111
+ this._gatewayClientResource = new AxiosGatewayClientResourceClient(baseURL, axiosInstance);
1112
+ this._flowResource = new AxiosFlowResourceClient(baseURL, axiosInstance);
1113
+ this._realmResource = new AxiosRealmResourceClient(baseURL, axiosInstance);
1114
+ this._assetResource = new AxiosAssetResourceClient(baseURL, axiosInstance);
1115
1115
  this._assetResource = new AxiosAssetResourceClient(baseURL, axiosInstance);
1116
1116
  }
1117
- get AssetModelResource() {
1118
- return this._assetModelResource;
1117
+ get NotificationResource() {
1118
+ return this._notificationResource;
1119
1119
  }
1120
- get AssetDatapointResource() {
1121
- return this._assetDatapointResource;
1120
+ get ConfigurationResource() {
1121
+ return this._configurationResource;
1122
1122
  }
1123
- get ConsoleResource() {
1124
- return this._consoleResource;
1123
+ get MapResource() {
1124
+ return this._mapResource;
1125
+ }
1126
+ get AlarmResource() {
1127
+ return this._alarmResource;
1128
+ }
1129
+ get SyslogResource() {
1130
+ return this._syslogResource;
1125
1131
  }
1126
1132
  get GatewayServiceResource() {
1127
1133
  return this._gatewayServiceResource;
1128
1134
  }
1135
+ get DashboardResource() {
1136
+ return this._dashboardResource;
1137
+ }
1138
+ get ConsoleResource() {
1139
+ return this._consoleResource;
1140
+ }
1141
+ get StatusResource() {
1142
+ return this._statusResource;
1143
+ }
1129
1144
  get ProvisioningResource() {
1130
1145
  return this._provisioningResource;
1131
1146
  }
1132
- get NotificationResource() {
1133
- return this._notificationResource;
1134
- }
1135
- get RulesResource() {
1136
- return this._rulesResource;
1147
+ get AssetModelResource() {
1148
+ return this._assetModelResource;
1137
1149
  }
1138
- get FlowResource() {
1139
- return this._flowResource;
1150
+ get UserResource() {
1151
+ return this._userResource;
1140
1152
  }
1141
1153
  get AgentResource() {
1142
1154
  return this._agentResource;
1143
1155
  }
1144
- get StatusResource() {
1145
- return this._statusResource;
1146
- }
1147
- get MapResource() {
1148
- return this._mapResource;
1149
- }
1150
- get ConfigurationResource() {
1151
- return this._configurationResource;
1152
- }
1153
- get AlarmResource() {
1154
- return this._alarmResource;
1156
+ get RulesResource() {
1157
+ return this._rulesResource;
1155
1158
  }
1156
- get AssetResource() {
1157
- return this._assetResource;
1159
+ get AssetDatapointResource() {
1160
+ return this._assetDatapointResource;
1158
1161
  }
1159
- get SyslogResource() {
1160
- return this._syslogResource;
1162
+ get AppResource() {
1163
+ return this._appResource;
1161
1164
  }
1162
1165
  get AssetPredictedDatapointResource() {
1163
1166
  return this._assetPredictedDatapointResource;
1164
1167
  }
1165
- get UserResource() {
1166
- return this._userResource;
1167
- }
1168
- get RealmResource() {
1169
- return this._realmResource;
1170
- }
1171
1168
  get GatewayClientResource() {
1172
1169
  return this._gatewayClientResource;
1173
1170
  }
1174
- get DashboardResource() {
1175
- return this._dashboardResource;
1171
+ get FlowResource() {
1172
+ return this._flowResource;
1176
1173
  }
1177
- get AppResource() {
1178
- return this._appResource;
1174
+ get RealmResource() {
1175
+ return this._realmResource;
1176
+ }
1177
+ get AssetResource() {
1178
+ return this._assetResource;
1179
1179
  }
1180
1180
  }
1181
1181
  // Added by 'AxiosClientExtension' extension
@@ -1212,127 +1212,127 @@ class AxiosHttpClient {
1212
1212
  });
1213
1213
  }
1214
1214
  }
1215
- export class AxiosAssetModelResourceClient extends AssetModelResourceClient {
1215
+ export class AxiosNotificationResourceClient extends NotificationResourceClient {
1216
1216
  constructor(baseURL, axiosInstance = axios.create()) {
1217
1217
  axiosInstance.defaults.baseURL = baseURL;
1218
1218
  super(new AxiosHttpClient(axiosInstance));
1219
1219
  }
1220
1220
  }
1221
- export class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient {
1221
+ export class AxiosConfigurationResourceClient extends ConfigurationResourceClient {
1222
1222
  constructor(baseURL, axiosInstance = axios.create()) {
1223
1223
  axiosInstance.defaults.baseURL = baseURL;
1224
1224
  super(new AxiosHttpClient(axiosInstance));
1225
1225
  }
1226
1226
  }
1227
- export class AxiosConsoleResourceClient extends ConsoleResourceClient {
1227
+ export class AxiosMapResourceClient extends MapResourceClient {
1228
1228
  constructor(baseURL, axiosInstance = axios.create()) {
1229
1229
  axiosInstance.defaults.baseURL = baseURL;
1230
1230
  super(new AxiosHttpClient(axiosInstance));
1231
1231
  }
1232
1232
  }
1233
- export class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient {
1233
+ export class AxiosAlarmResourceClient extends AlarmResourceClient {
1234
1234
  constructor(baseURL, axiosInstance = axios.create()) {
1235
1235
  axiosInstance.defaults.baseURL = baseURL;
1236
1236
  super(new AxiosHttpClient(axiosInstance));
1237
1237
  }
1238
1238
  }
1239
- export class AxiosProvisioningResourceClient extends ProvisioningResourceClient {
1239
+ export class AxiosSyslogResourceClient extends SyslogResourceClient {
1240
1240
  constructor(baseURL, axiosInstance = axios.create()) {
1241
1241
  axiosInstance.defaults.baseURL = baseURL;
1242
1242
  super(new AxiosHttpClient(axiosInstance));
1243
1243
  }
1244
1244
  }
1245
- export class AxiosNotificationResourceClient extends NotificationResourceClient {
1245
+ export class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient {
1246
1246
  constructor(baseURL, axiosInstance = axios.create()) {
1247
1247
  axiosInstance.defaults.baseURL = baseURL;
1248
1248
  super(new AxiosHttpClient(axiosInstance));
1249
1249
  }
1250
1250
  }
1251
- export class AxiosRulesResourceClient extends RulesResourceClient {
1251
+ export class AxiosDashboardResourceClient extends DashboardResourceClient {
1252
1252
  constructor(baseURL, axiosInstance = axios.create()) {
1253
1253
  axiosInstance.defaults.baseURL = baseURL;
1254
1254
  super(new AxiosHttpClient(axiosInstance));
1255
1255
  }
1256
1256
  }
1257
- export class AxiosFlowResourceClient extends FlowResourceClient {
1257
+ export class AxiosConsoleResourceClient extends ConsoleResourceClient {
1258
1258
  constructor(baseURL, axiosInstance = axios.create()) {
1259
1259
  axiosInstance.defaults.baseURL = baseURL;
1260
1260
  super(new AxiosHttpClient(axiosInstance));
1261
1261
  }
1262
1262
  }
1263
- export class AxiosAgentResourceClient extends AgentResourceClient {
1263
+ export class AxiosStatusResourceClient extends StatusResourceClient {
1264
1264
  constructor(baseURL, axiosInstance = axios.create()) {
1265
1265
  axiosInstance.defaults.baseURL = baseURL;
1266
1266
  super(new AxiosHttpClient(axiosInstance));
1267
1267
  }
1268
1268
  }
1269
- export class AxiosStatusResourceClient extends StatusResourceClient {
1269
+ export class AxiosProvisioningResourceClient extends ProvisioningResourceClient {
1270
1270
  constructor(baseURL, axiosInstance = axios.create()) {
1271
1271
  axiosInstance.defaults.baseURL = baseURL;
1272
1272
  super(new AxiosHttpClient(axiosInstance));
1273
1273
  }
1274
1274
  }
1275
- export class AxiosMapResourceClient extends MapResourceClient {
1275
+ export class AxiosAssetModelResourceClient extends AssetModelResourceClient {
1276
1276
  constructor(baseURL, axiosInstance = axios.create()) {
1277
1277
  axiosInstance.defaults.baseURL = baseURL;
1278
1278
  super(new AxiosHttpClient(axiosInstance));
1279
1279
  }
1280
1280
  }
1281
- export class AxiosConfigurationResourceClient extends ConfigurationResourceClient {
1281
+ export class AxiosUserResourceClient extends UserResourceClient {
1282
1282
  constructor(baseURL, axiosInstance = axios.create()) {
1283
1283
  axiosInstance.defaults.baseURL = baseURL;
1284
1284
  super(new AxiosHttpClient(axiosInstance));
1285
1285
  }
1286
1286
  }
1287
- export class AxiosAlarmResourceClient extends AlarmResourceClient {
1287
+ export class AxiosAgentResourceClient extends AgentResourceClient {
1288
1288
  constructor(baseURL, axiosInstance = axios.create()) {
1289
1289
  axiosInstance.defaults.baseURL = baseURL;
1290
1290
  super(new AxiosHttpClient(axiosInstance));
1291
1291
  }
1292
1292
  }
1293
- export class AxiosAssetResourceClient extends AssetResourceClient {
1293
+ export class AxiosRulesResourceClient extends RulesResourceClient {
1294
1294
  constructor(baseURL, axiosInstance = axios.create()) {
1295
1295
  axiosInstance.defaults.baseURL = baseURL;
1296
1296
  super(new AxiosHttpClient(axiosInstance));
1297
1297
  }
1298
1298
  }
1299
- export class AxiosSyslogResourceClient extends SyslogResourceClient {
1299
+ export class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient {
1300
1300
  constructor(baseURL, axiosInstance = axios.create()) {
1301
1301
  axiosInstance.defaults.baseURL = baseURL;
1302
1302
  super(new AxiosHttpClient(axiosInstance));
1303
1303
  }
1304
1304
  }
1305
- export class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient {
1305
+ export class AxiosAppResourceClient extends AppResourceClient {
1306
1306
  constructor(baseURL, axiosInstance = axios.create()) {
1307
1307
  axiosInstance.defaults.baseURL = baseURL;
1308
1308
  super(new AxiosHttpClient(axiosInstance));
1309
1309
  }
1310
1310
  }
1311
- export class AxiosUserResourceClient extends UserResourceClient {
1311
+ export class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient {
1312
1312
  constructor(baseURL, axiosInstance = axios.create()) {
1313
1313
  axiosInstance.defaults.baseURL = baseURL;
1314
1314
  super(new AxiosHttpClient(axiosInstance));
1315
1315
  }
1316
1316
  }
1317
- export class AxiosRealmResourceClient extends RealmResourceClient {
1317
+ export class AxiosGatewayClientResourceClient extends GatewayClientResourceClient {
1318
1318
  constructor(baseURL, axiosInstance = axios.create()) {
1319
1319
  axiosInstance.defaults.baseURL = baseURL;
1320
1320
  super(new AxiosHttpClient(axiosInstance));
1321
1321
  }
1322
1322
  }
1323
- export class AxiosGatewayClientResourceClient extends GatewayClientResourceClient {
1323
+ export class AxiosFlowResourceClient extends FlowResourceClient {
1324
1324
  constructor(baseURL, axiosInstance = axios.create()) {
1325
1325
  axiosInstance.defaults.baseURL = baseURL;
1326
1326
  super(new AxiosHttpClient(axiosInstance));
1327
1327
  }
1328
1328
  }
1329
- export class AxiosDashboardResourceClient extends DashboardResourceClient {
1329
+ export class AxiosRealmResourceClient extends RealmResourceClient {
1330
1330
  constructor(baseURL, axiosInstance = axios.create()) {
1331
1331
  axiosInstance.defaults.baseURL = baseURL;
1332
1332
  super(new AxiosHttpClient(axiosInstance));
1333
1333
  }
1334
1334
  }
1335
- export class AxiosAppResourceClient extends AppResourceClient {
1335
+ export class AxiosAssetResourceClient extends AssetResourceClient {
1336
1336
  constructor(baseURL, axiosInstance = axios.create()) {
1337
1337
  axiosInstance.defaults.baseURL = baseURL;
1338
1338
  super(new AxiosHttpClient(axiosInstance));