@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/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.bundle.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/lib/restclient.d.ts +530 -530
- package/lib/restclient.js +687 -687
- package/lib/restclient.js.map +1 -1
- package/package.json +3 -3
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
|
|
4
|
-
export class
|
|
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 /
|
|
10
|
-
* Java method: org.openremote.model.
|
|
9
|
+
* HTTP GET /notification
|
|
10
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
12
|
+
getNotifications(queryParams, options) {
|
|
13
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `notification`, queryParams: queryParams, options: options });
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* HTTP
|
|
17
|
-
* Java method: org.openremote.model.
|
|
16
|
+
* HTTP DELETE /notification
|
|
17
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
18
18
|
*/
|
|
19
|
-
|
|
20
|
-
return this.httpClient.request({ method: "
|
|
19
|
+
removeNotifications(queryParams, options) {
|
|
20
|
+
return this.httpClient.request({ method: "DELETE", url: uriEncoding `notification`, queryParams: queryParams, options: options });
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* HTTP
|
|
24
|
-
* Java method: org.openremote.model.
|
|
23
|
+
* HTTP POST /notification/alert
|
|
24
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
25
25
|
*/
|
|
26
|
-
|
|
27
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
31
|
-
* Java method: org.openremote.model.
|
|
30
|
+
* HTTP DELETE /notification/{notificationId}
|
|
31
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
32
32
|
*/
|
|
33
|
-
|
|
34
|
-
return this.httpClient.request({ method: "
|
|
33
|
+
removeNotification(notificationId, options) {
|
|
34
|
+
return this.httpClient.request({ method: "DELETE", url: uriEncoding `notification/${notificationId}`, options: options });
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* HTTP
|
|
38
|
-
* Java method: org.openremote.model.
|
|
37
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
38
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
39
39
|
*/
|
|
40
|
-
|
|
41
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
51
|
+
export class ConfigurationResourceClient {
|
|
45
52
|
constructor(httpClient) {
|
|
46
53
|
this.httpClient = httpClient;
|
|
47
54
|
}
|
|
48
55
|
/**
|
|
49
|
-
* HTTP GET /
|
|
50
|
-
* Java method: org.openremote.model.
|
|
56
|
+
* HTTP GET /configuration/manager
|
|
57
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
51
58
|
*/
|
|
52
|
-
|
|
53
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
59
|
+
getManagerConfig(options) {
|
|
60
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `configuration/manager`, options: options });
|
|
54
61
|
}
|
|
55
62
|
/**
|
|
56
|
-
* HTTP
|
|
57
|
-
* Java method: org.openremote.model.
|
|
63
|
+
* HTTP PUT /configuration/manager
|
|
64
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
58
65
|
*/
|
|
59
|
-
|
|
60
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
64
|
-
* Java method: org.openremote.model.
|
|
70
|
+
* HTTP POST /configuration/manager/file
|
|
71
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
65
72
|
*/
|
|
66
|
-
|
|
67
|
-
return this.httpClient.request({ method: "POST", url: uriEncoding `
|
|
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
|
|
76
|
-
* Java method: org.openremote.model.
|
|
77
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
78
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
77
79
|
*/
|
|
78
|
-
|
|
79
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
84
|
+
export class MapResourceClient {
|
|
83
85
|
constructor(httpClient) {
|
|
84
86
|
this.httpClient = httpClient;
|
|
85
87
|
}
|
|
86
88
|
/**
|
|
87
|
-
* HTTP
|
|
88
|
-
* Java method: org.openremote.model.
|
|
89
|
+
* HTTP GET /map
|
|
90
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
89
91
|
*/
|
|
90
|
-
|
|
91
|
-
return this.httpClient.request({ method: "
|
|
92
|
+
getSettings(options) {
|
|
93
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `map`, options: options });
|
|
92
94
|
}
|
|
93
95
|
/**
|
|
94
|
-
* HTTP
|
|
95
|
-
* Java method: org.openremote.model.
|
|
96
|
+
* HTTP PUT /map
|
|
97
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
96
98
|
*/
|
|
97
|
-
|
|
98
|
-
return this.httpClient.request({ method: "
|
|
99
|
+
saveSettings(mapConfig, options) {
|
|
100
|
+
return this.httpClient.request({ method: "PUT", url: uriEncoding `map`, data: mapConfig, options: options });
|
|
99
101
|
}
|
|
100
102
|
/**
|
|
101
|
-
* HTTP
|
|
102
|
-
* Java method: org.openremote.model.
|
|
103
|
+
* HTTP DELETE /map/deleteMap
|
|
104
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
103
105
|
*/
|
|
104
|
-
|
|
105
|
-
return this.httpClient.request({ method: "
|
|
106
|
+
deleteMap(options) {
|
|
107
|
+
return this.httpClient.request({ method: "DELETE", url: uriEncoding `map/deleteMap`, options: options });
|
|
106
108
|
}
|
|
107
109
|
/**
|
|
108
|
-
* HTTP GET /
|
|
109
|
-
* Java method: org.openremote.model.
|
|
110
|
+
* HTTP GET /map/getCustomMapInfo
|
|
111
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
110
112
|
*/
|
|
111
|
-
|
|
112
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
113
|
+
getCustomMapInfo(options) {
|
|
114
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `map/getCustomMapInfo`, options: options });
|
|
113
115
|
}
|
|
114
116
|
/**
|
|
115
|
-
* HTTP GET /
|
|
116
|
-
* Java method: org.openremote.model.
|
|
117
|
+
* HTTP GET /map/js
|
|
118
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
117
119
|
*/
|
|
118
|
-
|
|
119
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
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
|
|
128
|
-
* Java method: org.openremote.model.
|
|
124
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
125
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
129
126
|
*/
|
|
130
|
-
|
|
131
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
135
|
-
* Java method: org.openremote.model.
|
|
131
|
+
* HTTP POST /map/upload
|
|
132
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
136
133
|
*/
|
|
137
|
-
|
|
138
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
142
|
-
* Java method: org.openremote.model.
|
|
143
|
+
* HTTP POST /alarm
|
|
144
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
143
145
|
*/
|
|
144
|
-
|
|
145
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
149
|
-
* Java method: org.openremote.model.
|
|
150
|
+
* HTTP GET /alarm
|
|
151
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
150
152
|
*/
|
|
151
|
-
|
|
152
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
161
|
-
* Java method: org.openremote.model.
|
|
157
|
+
* HTTP DELETE /alarm
|
|
158
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
162
159
|
*/
|
|
163
|
-
|
|
164
|
-
return this.httpClient.request({ method: "
|
|
160
|
+
removeAlarms(ids, options) {
|
|
161
|
+
return this.httpClient.request({ method: "DELETE", url: uriEncoding `alarm`, data: ids, options: options });
|
|
165
162
|
}
|
|
166
163
|
/**
|
|
167
|
-
* HTTP
|
|
168
|
-
* Java method: org.openremote.model.
|
|
164
|
+
* HTTP PUT /alarm/assets
|
|
165
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
169
166
|
*/
|
|
170
|
-
|
|
171
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
175
|
-
* Java method: org.openremote.model.
|
|
171
|
+
* HTTP GET /alarm/{alarmId}
|
|
172
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
176
173
|
*/
|
|
177
|
-
|
|
178
|
-
return this.httpClient.request({ method: "
|
|
174
|
+
getAlarm(alarmId, options) {
|
|
175
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `alarm/${alarmId}`, options: options });
|
|
179
176
|
}
|
|
180
177
|
/**
|
|
181
|
-
* HTTP DELETE /
|
|
182
|
-
* Java method: org.openremote.model.
|
|
178
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
179
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
183
180
|
*/
|
|
184
|
-
|
|
185
|
-
return this.httpClient.request({ method: "DELETE", url: uriEncoding `
|
|
181
|
+
removeAlarm(alarmId, options) {
|
|
182
|
+
return this.httpClient.request({ method: "DELETE", url: uriEncoding `alarm/${alarmId}`, options: options });
|
|
186
183
|
}
|
|
187
184
|
/**
|
|
188
|
-
* HTTP PUT /
|
|
189
|
-
* Java method: org.openremote.model.
|
|
185
|
+
* HTTP PUT /alarm/{alarmId}
|
|
186
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
190
187
|
*/
|
|
191
|
-
|
|
192
|
-
return this.httpClient.request({ method: "PUT", url: uriEncoding `
|
|
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
|
|
196
|
-
* Java method: org.openremote.model.
|
|
192
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
193
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
197
194
|
*/
|
|
198
|
-
|
|
199
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
199
|
+
export class SyslogResourceClient {
|
|
203
200
|
constructor(httpClient) {
|
|
204
201
|
this.httpClient = httpClient;
|
|
205
202
|
}
|
|
206
203
|
/**
|
|
207
|
-
* HTTP
|
|
208
|
-
* Java method: org.openremote.model.
|
|
204
|
+
* HTTP GET /syslog/config
|
|
205
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
209
206
|
*/
|
|
210
|
-
|
|
211
|
-
return this.httpClient.request({ method: "
|
|
207
|
+
getConfig(options) {
|
|
208
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `syslog/config`, options: options });
|
|
212
209
|
}
|
|
213
210
|
/**
|
|
214
|
-
* HTTP
|
|
215
|
-
* Java method: org.openremote.model.
|
|
211
|
+
* HTTP PUT /syslog/config
|
|
212
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
216
213
|
*/
|
|
217
|
-
|
|
218
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
222
|
-
* Java method: org.openremote.model.
|
|
218
|
+
* HTTP DELETE /syslog/event
|
|
219
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
223
220
|
*/
|
|
224
|
-
|
|
225
|
-
return this.httpClient.request({ method: "
|
|
221
|
+
clearEvents(options) {
|
|
222
|
+
return this.httpClient.request({ method: "DELETE", url: uriEncoding `syslog/event`, options: options });
|
|
226
223
|
}
|
|
227
224
|
/**
|
|
228
|
-
* HTTP GET /
|
|
229
|
-
* Java method: org.openremote.model.
|
|
225
|
+
* HTTP GET /syslog/event
|
|
226
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
230
227
|
*/
|
|
231
|
-
|
|
232
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
228
|
+
getEvents(queryParams, options) {
|
|
229
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `syslog/event`, queryParams: queryParams, options: options });
|
|
233
230
|
}
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
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
|
|
243
|
-
* Java method: org.openremote.model.
|
|
237
|
+
* HTTP POST /gateway/tunnel
|
|
238
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
244
239
|
*/
|
|
245
|
-
|
|
246
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
250
|
-
* Java method: org.openremote.model.
|
|
244
|
+
* HTTP DELETE /gateway/tunnel
|
|
245
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
251
246
|
*/
|
|
252
|
-
|
|
253
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
257
|
-
* Java method: org.openremote.model.
|
|
251
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
252
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
258
253
|
*/
|
|
259
|
-
|
|
260
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
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 /
|
|
264
|
-
* Java method: org.openremote.model.
|
|
258
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
259
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
265
260
|
*/
|
|
266
|
-
|
|
267
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
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 /
|
|
271
|
-
* Java method: org.openremote.model.
|
|
265
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
266
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
272
267
|
*/
|
|
273
|
-
|
|
274
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
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
|
|
278
|
-
* Java method: org.openremote.model.
|
|
277
|
+
* HTTP POST /dashboard
|
|
278
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
279
279
|
*/
|
|
280
|
-
|
|
281
|
-
return this.httpClient.request({ method: "
|
|
280
|
+
create(dashboard, options) {
|
|
281
|
+
return this.httpClient.request({ method: "POST", url: uriEncoding `dashboard`, data: dashboard, options: options });
|
|
282
282
|
}
|
|
283
283
|
/**
|
|
284
|
-
* HTTP
|
|
285
|
-
* Java method: org.openremote.model.
|
|
284
|
+
* HTTP PUT /dashboard
|
|
285
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
286
286
|
*/
|
|
287
|
-
|
|
288
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
292
|
-
* Java method: org.openremote.model.
|
|
291
|
+
* HTTP GET /dashboard/all/{realm}
|
|
292
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
293
293
|
*/
|
|
294
|
-
|
|
295
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
294
|
+
getAllRealmDashboards(realm, options) {
|
|
295
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `dashboard/all/${realm}`, options: options });
|
|
296
296
|
}
|
|
297
297
|
/**
|
|
298
|
-
* HTTP
|
|
299
|
-
* Java method: org.openremote.model.
|
|
298
|
+
* HTTP POST /dashboard/query
|
|
299
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
300
300
|
*/
|
|
301
|
-
|
|
302
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
306
|
-
* Java method: org.openremote.model.
|
|
305
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
306
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
307
307
|
*/
|
|
308
|
-
|
|
309
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
313
|
-
* Java method: org.openremote.model.
|
|
312
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
313
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
314
314
|
*/
|
|
315
|
-
|
|
316
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
320
|
-
* Java method: org.openremote.model.
|
|
324
|
+
* HTTP POST /console/register
|
|
325
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
321
326
|
*/
|
|
322
|
-
|
|
323
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
327
|
-
* Java method: org.openremote.model.
|
|
336
|
+
* HTTP GET /health
|
|
337
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
328
338
|
*/
|
|
329
|
-
|
|
330
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
339
|
+
getHealthStatus(options) {
|
|
340
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `health`, options: options });
|
|
331
341
|
}
|
|
332
342
|
/**
|
|
333
|
-
* HTTP
|
|
334
|
-
* Java method: org.openremote.model.
|
|
343
|
+
* HTTP GET /info
|
|
344
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
335
345
|
*/
|
|
336
|
-
|
|
337
|
-
return this.httpClient.request({ method: "
|
|
346
|
+
getInfo(options) {
|
|
347
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `info`, options: options });
|
|
338
348
|
}
|
|
339
349
|
}
|
|
340
|
-
export class
|
|
350
|
+
export class ProvisioningResourceClient {
|
|
341
351
|
constructor(httpClient) {
|
|
342
352
|
this.httpClient = httpClient;
|
|
343
353
|
}
|
|
344
354
|
/**
|
|
345
|
-
* HTTP
|
|
346
|
-
* Java method: org.openremote.model.
|
|
355
|
+
* HTTP POST /provisioning
|
|
356
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
347
357
|
*/
|
|
348
|
-
|
|
349
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
353
|
-
* Java method: org.openremote.model.
|
|
362
|
+
* HTTP GET /provisioning
|
|
363
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
354
364
|
*/
|
|
355
|
-
|
|
356
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
365
|
+
getProvisioningConfigs(options) {
|
|
366
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `provisioning`, options: options });
|
|
357
367
|
}
|
|
358
368
|
/**
|
|
359
|
-
* HTTP
|
|
360
|
-
* Java method: org.openremote.model.
|
|
369
|
+
* HTTP DELETE /provisioning/{id}
|
|
370
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
361
371
|
*/
|
|
362
|
-
|
|
363
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
383
|
+
export class AssetModelResourceClient {
|
|
367
384
|
constructor(httpClient) {
|
|
368
385
|
this.httpClient = httpClient;
|
|
369
386
|
}
|
|
370
387
|
/**
|
|
371
|
-
* HTTP GET /
|
|
372
|
-
* Java method: org.openremote.model.asset.
|
|
388
|
+
* HTTP GET /model/assetDescriptors
|
|
389
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
373
390
|
*/
|
|
374
|
-
|
|
375
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
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
|
|
379
|
-
* Java method: org.openremote.model.asset.
|
|
395
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
396
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
380
397
|
*/
|
|
381
|
-
|
|
382
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
386
|
-
* Java method: org.openremote.model.asset.
|
|
402
|
+
* HTTP GET /model/assetInfos
|
|
403
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
387
404
|
*/
|
|
388
|
-
|
|
389
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
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 /
|
|
398
|
-
* Java method: org.openremote.model.
|
|
409
|
+
* HTTP GET /model/metaItemDescriptors
|
|
410
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
399
411
|
*/
|
|
400
|
-
|
|
401
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
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 /
|
|
405
|
-
* Java method: org.openremote.model.
|
|
416
|
+
* HTTP GET /model/valueDescriptors
|
|
417
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
406
418
|
*/
|
|
407
|
-
|
|
408
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
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
|
|
423
|
+
export class UserResourceClient {
|
|
412
424
|
constructor(httpClient) {
|
|
413
425
|
this.httpClient = httpClient;
|
|
414
426
|
}
|
|
415
427
|
/**
|
|
416
|
-
* HTTP
|
|
417
|
-
* Java method: org.openremote.model.
|
|
428
|
+
* HTTP PUT /user/locale
|
|
429
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
|
|
418
430
|
*/
|
|
419
|
-
|
|
420
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
424
|
-
* Java method: org.openremote.model.
|
|
435
|
+
* HTTP POST /user/query
|
|
436
|
+
* Java method: org.openremote.model.security.UserResource.query
|
|
425
437
|
*/
|
|
426
|
-
|
|
427
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
431
|
-
* Java method: org.openremote.model.
|
|
442
|
+
* HTTP PUT /user/request-password-reset
|
|
443
|
+
* Java method: org.openremote.model.security.UserResource.requestPasswordResetCurrent
|
|
432
444
|
*/
|
|
433
|
-
|
|
434
|
-
return this.httpClient.request({ method: "
|
|
445
|
+
requestPasswordResetCurrent(options) {
|
|
446
|
+
return this.httpClient.request({ method: "PUT", url: uriEncoding `user/request-password-reset`, options: options });
|
|
435
447
|
}
|
|
436
448
|
/**
|
|
437
|
-
* HTTP
|
|
438
|
-
* Java method: org.openremote.model.
|
|
449
|
+
* HTTP PUT /user/reset-password
|
|
450
|
+
* Java method: org.openremote.model.security.UserResource.updatePasswordCurrent
|
|
439
451
|
*/
|
|
440
|
-
|
|
441
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
445
|
-
* Java method: org.openremote.model.
|
|
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
|
-
|
|
462
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
471
|
-
* Java method: org.openremote.model.
|
|
463
|
+
* HTTP GET /user/user
|
|
464
|
+
* Java method: org.openremote.model.security.UserResource.getCurrent
|
|
472
465
|
*/
|
|
473
|
-
|
|
474
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
466
|
+
getCurrent(options) {
|
|
467
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `user/user`, options: options });
|
|
475
468
|
}
|
|
476
469
|
/**
|
|
477
|
-
* HTTP
|
|
478
|
-
* Java method: org.openremote.model.
|
|
470
|
+
* HTTP GET /user/userRealmRoles
|
|
471
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
|
|
479
472
|
*/
|
|
480
|
-
|
|
481
|
-
return this.httpClient.request({ method: "
|
|
473
|
+
getCurrentUserRealmRoles(options) {
|
|
474
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `user/userRealmRoles`, options: options });
|
|
482
475
|
}
|
|
483
476
|
/**
|
|
484
|
-
* HTTP
|
|
485
|
-
* Java method: org.openremote.model.
|
|
477
|
+
* HTTP GET /user/userRoles/{clientId}
|
|
478
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
|
|
486
479
|
*/
|
|
487
|
-
|
|
488
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
492
|
-
* Java method: org.openremote.model.
|
|
484
|
+
* HTTP GET /user/{realm}/disconnect/{sessionID}
|
|
485
|
+
* Java method: org.openremote.model.security.UserResource.disconnectUserSession
|
|
493
486
|
*/
|
|
494
|
-
|
|
495
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
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
|
|
504
|
-
* Java method: org.openremote.model.
|
|
491
|
+
* HTTP PUT /user/{realm}/request-password-reset/{userId}
|
|
492
|
+
* Java method: org.openremote.model.security.UserResource.requestPasswordReset
|
|
505
493
|
*/
|
|
506
|
-
|
|
507
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
511
|
-
* Java method: org.openremote.model.
|
|
498
|
+
* HTTP PUT /user/{realm}/reset-password/{userId}
|
|
499
|
+
* Java method: org.openremote.model.security.UserResource.updatePassword
|
|
512
500
|
*/
|
|
513
|
-
|
|
514
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
518
|
-
* Java method: org.openremote.model.
|
|
505
|
+
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
506
|
+
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
519
507
|
*/
|
|
520
|
-
|
|
521
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
525
|
-
* Java method: org.openremote.model.
|
|
512
|
+
* HTTP PUT /user/{realm}/roles
|
|
513
|
+
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
526
514
|
*/
|
|
527
|
-
|
|
528
|
-
return this.httpClient.request({ method: "PUT", url: uriEncoding `
|
|
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 /
|
|
532
|
-
* Java method: org.openremote.model.
|
|
519
|
+
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
520
|
+
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
533
521
|
*/
|
|
534
|
-
|
|
535
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
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
|
|
539
|
-
* Java method: org.openremote.model.
|
|
526
|
+
* HTTP PUT /user/{realm}/userRealmRoles/{userId}
|
|
527
|
+
* Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
|
|
540
528
|
*/
|
|
541
|
-
|
|
542
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
546
|
-
* Java method: org.openremote.model.
|
|
533
|
+
* HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
|
|
534
|
+
* Java method: org.openremote.model.security.UserResource.getUserClientRoles
|
|
547
535
|
*/
|
|
548
|
-
|
|
549
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
553
|
-
* Java method: org.openremote.model.
|
|
540
|
+
* HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
|
|
541
|
+
* Java method: org.openremote.model.security.UserResource.updateUserClientRoles
|
|
554
542
|
*/
|
|
555
|
-
|
|
556
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
565
|
-
* Java method: org.openremote.model.
|
|
547
|
+
* HTTP GET /user/{realm}/userSessions/{userId}
|
|
548
|
+
* Java method: org.openremote.model.security.UserResource.getUserSessions
|
|
566
549
|
*/
|
|
567
|
-
|
|
568
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
572
|
-
* Java method: org.openremote.model.
|
|
554
|
+
* HTTP POST /user/{realm}/users
|
|
555
|
+
* Java method: org.openremote.model.security.UserResource.create
|
|
573
556
|
*/
|
|
574
|
-
|
|
575
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
579
|
-
* Java method: org.openremote.model.
|
|
561
|
+
* HTTP PUT /user/{realm}/users
|
|
562
|
+
* Java method: org.openremote.model.security.UserResource.update
|
|
580
563
|
*/
|
|
581
|
-
|
|
582
|
-
return this.httpClient.request({ method: "PUT", url: uriEncoding `
|
|
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
|
|
586
|
-
* Java method: org.openremote.model.
|
|
568
|
+
* HTTP DELETE /user/{realm}/users/{userId}
|
|
569
|
+
* Java method: org.openremote.model.security.UserResource.delete
|
|
587
570
|
*/
|
|
588
|
-
|
|
589
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
593
|
-
* Java method: org.openremote.model.
|
|
575
|
+
* HTTP GET /user/{realm}/{clientId}/roles
|
|
576
|
+
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
594
577
|
*/
|
|
595
|
-
|
|
596
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
600
|
-
* Java method: org.openremote.model.
|
|
582
|
+
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
583
|
+
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
601
584
|
*/
|
|
602
|
-
|
|
603
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
607
|
-
* Java method: org.openremote.model.
|
|
589
|
+
* HTTP GET /user/{realm}/{userId}
|
|
590
|
+
* Java method: org.openremote.model.security.UserResource.get
|
|
608
591
|
*/
|
|
609
|
-
|
|
610
|
-
return this.httpClient.request({ method: "
|
|
592
|
+
get(realm, userId, options) {
|
|
593
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `user/${realm}/${userId}`, options: options });
|
|
611
594
|
}
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
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
|
|
621
|
-
* Java method: org.openremote.model.asset.
|
|
601
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
602
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
622
603
|
*/
|
|
623
|
-
|
|
624
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
628
|
-
* Java method: org.openremote.model.asset.
|
|
608
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
609
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
629
610
|
*/
|
|
630
|
-
|
|
631
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
635
|
-
* Java method: org.openremote.model.asset.
|
|
615
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
616
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
636
617
|
*/
|
|
637
|
-
|
|
638
|
-
return this.httpClient.request({ method: "
|
|
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
|
-
|
|
642
|
-
|
|
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
|
|
649
|
-
* Java method: org.openremote.model.
|
|
627
|
+
* HTTP POST /rules
|
|
628
|
+
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
650
629
|
*/
|
|
651
|
-
|
|
652
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
656
|
-
* Java method: org.openremote.model.
|
|
634
|
+
* HTTP GET /rules
|
|
635
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
657
636
|
*/
|
|
658
|
-
|
|
659
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
637
|
+
getGlobalRulesets(queryParams, options) {
|
|
638
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `rules`, queryParams: queryParams, options: options });
|
|
660
639
|
}
|
|
661
640
|
/**
|
|
662
|
-
* HTTP
|
|
663
|
-
* Java method: org.openremote.model.
|
|
641
|
+
* HTTP POST /rules/asset
|
|
642
|
+
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
664
643
|
*/
|
|
665
|
-
|
|
666
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
670
|
-
* Java method: org.openremote.model.
|
|
648
|
+
* HTTP GET /rules/asset/for/{assetId}
|
|
649
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
671
650
|
*/
|
|
672
|
-
|
|
673
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
677
|
-
* Java method: org.openremote.model.
|
|
655
|
+
* HTTP DELETE /rules/asset/{id}
|
|
656
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
678
657
|
*/
|
|
679
|
-
|
|
680
|
-
return this.httpClient.request({ method: "
|
|
658
|
+
deleteAssetRuleset(id, options) {
|
|
659
|
+
return this.httpClient.request({ method: "DELETE", url: uriEncoding `rules/asset/${id}`, options: options });
|
|
681
660
|
}
|
|
682
661
|
/**
|
|
683
|
-
* HTTP
|
|
684
|
-
* Java method: org.openremote.model.
|
|
662
|
+
* HTTP GET /rules/asset/{id}
|
|
663
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
685
664
|
*/
|
|
686
|
-
|
|
687
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
696
|
-
* Java method: org.openremote.model.
|
|
669
|
+
* HTTP PUT /rules/asset/{id}
|
|
670
|
+
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
697
671
|
*/
|
|
698
|
-
|
|
699
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
703
|
-
* Java method: org.openremote.model.
|
|
676
|
+
* HTTP GET /rules/geofences/{assetId}
|
|
677
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
704
678
|
*/
|
|
705
|
-
|
|
706
|
-
return this.httpClient.request({ method: "
|
|
679
|
+
getAssetGeofences(assetId, options) {
|
|
680
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `rules/geofences/${assetId}`, options: options });
|
|
707
681
|
}
|
|
708
682
|
/**
|
|
709
|
-
* HTTP
|
|
710
|
-
* Java method: org.openremote.model.
|
|
683
|
+
* HTTP GET /rules/info/asset/{assetId}
|
|
684
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
711
685
|
*/
|
|
712
|
-
|
|
713
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
717
|
-
* Java method: org.openremote.model.
|
|
690
|
+
* HTTP GET /rules/info/global
|
|
691
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
718
692
|
*/
|
|
719
|
-
|
|
720
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
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
|
|
729
|
-
* Java method: org.openremote.model.
|
|
697
|
+
* HTTP GET /rules/info/realm/{realm}
|
|
698
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
730
699
|
*/
|
|
731
|
-
|
|
732
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
736
|
-
* Java method: org.openremote.model.
|
|
704
|
+
* HTTP POST /rules/realm
|
|
705
|
+
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
737
706
|
*/
|
|
738
|
-
|
|
739
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
748
|
-
* Java method: org.openremote.model.
|
|
711
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
712
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
749
713
|
*/
|
|
750
|
-
|
|
751
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
755
|
-
* Java method: org.openremote.model.
|
|
718
|
+
* HTTP DELETE /rules/realm/{id}
|
|
719
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
756
720
|
*/
|
|
757
|
-
|
|
758
|
-
return this.httpClient.request({ method: "
|
|
721
|
+
deleteRealmRuleset(id, options) {
|
|
722
|
+
return this.httpClient.request({ method: "DELETE", url: uriEncoding `rules/realm/${id}`, options: options });
|
|
759
723
|
}
|
|
760
724
|
/**
|
|
761
|
-
* HTTP
|
|
762
|
-
* Java method: org.openremote.model.
|
|
725
|
+
* HTTP GET /rules/realm/{id}
|
|
726
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
763
727
|
*/
|
|
764
|
-
|
|
765
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
769
|
-
* Java method: org.openremote.model.
|
|
732
|
+
* HTTP PUT /rules/realm/{id}
|
|
733
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
770
734
|
*/
|
|
771
|
-
|
|
772
|
-
return this.httpClient.request({ method: "PUT", url: uriEncoding `
|
|
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
|
|
776
|
-
* Java method: org.openremote.model.
|
|
739
|
+
* HTTP DELETE /rules/{id}
|
|
740
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
777
741
|
*/
|
|
778
|
-
|
|
779
|
-
return this.httpClient.request({ method: "
|
|
742
|
+
deleteGlobalRuleset(id, options) {
|
|
743
|
+
return this.httpClient.request({ method: "DELETE", url: uriEncoding `rules/${id}`, options: options });
|
|
780
744
|
}
|
|
781
745
|
/**
|
|
782
|
-
* HTTP GET /
|
|
783
|
-
* Java method: org.openremote.model.
|
|
746
|
+
* HTTP GET /rules/{id}
|
|
747
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
784
748
|
*/
|
|
785
|
-
|
|
786
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
749
|
+
getGlobalRuleset(id, options) {
|
|
750
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `rules/${id}`, options: options });
|
|
787
751
|
}
|
|
788
752
|
/**
|
|
789
|
-
* HTTP
|
|
790
|
-
* Java method: org.openremote.model.
|
|
753
|
+
* HTTP PUT /rules/{id}
|
|
754
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
791
755
|
*/
|
|
792
|
-
|
|
793
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
797
|
-
* Java method: org.openremote.model.
|
|
765
|
+
* HTTP GET /asset/datapoint/export
|
|
766
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
798
767
|
*/
|
|
799
|
-
|
|
800
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
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 /
|
|
804
|
-
* Java method: org.openremote.model.
|
|
772
|
+
* HTTP GET /asset/datapoint/periods
|
|
773
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
805
774
|
*/
|
|
806
|
-
|
|
807
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
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
|
|
811
|
-
* Java method: org.openremote.model.
|
|
779
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
780
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
812
781
|
*/
|
|
813
|
-
|
|
814
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
818
|
-
* Java method: org.openremote.model.
|
|
791
|
+
* HTTP GET /apps
|
|
792
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
819
793
|
*/
|
|
820
|
-
|
|
821
|
-
return this.httpClient.request({ method: "
|
|
794
|
+
getApps(options) {
|
|
795
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `apps`, options: options });
|
|
822
796
|
}
|
|
823
797
|
/**
|
|
824
|
-
* HTTP GET /
|
|
825
|
-
* Java method: org.openremote.model.
|
|
798
|
+
* HTTP GET /apps/consoleConfig
|
|
799
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
826
800
|
*/
|
|
827
|
-
|
|
828
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
801
|
+
getConsoleConfig(options) {
|
|
802
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `apps/consoleConfig`, options: options });
|
|
829
803
|
}
|
|
830
804
|
/**
|
|
831
|
-
* HTTP
|
|
832
|
-
* Java method: org.openremote.model.
|
|
805
|
+
* HTTP GET /apps/info
|
|
806
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
833
807
|
*/
|
|
834
|
-
|
|
835
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
839
|
-
* Java method: org.openremote.model.
|
|
817
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
818
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
840
819
|
*/
|
|
841
|
-
|
|
842
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
846
|
-
* Java method: org.openremote.model.
|
|
824
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
825
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
847
826
|
*/
|
|
848
|
-
|
|
849
|
-
return this.httpClient.request({ method: "PUT", url: uriEncoding `
|
|
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
|
|
853
|
-
* Java method: org.openremote.model.
|
|
836
|
+
* HTTP DELETE /gateway/connection
|
|
837
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
854
838
|
*/
|
|
855
|
-
|
|
856
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
860
|
-
* Java method: org.openremote.model.
|
|
843
|
+
* HTTP GET /gateway/connection
|
|
844
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
861
845
|
*/
|
|
862
|
-
|
|
863
|
-
return this.httpClient.request({ method: "
|
|
846
|
+
getConnections(options) {
|
|
847
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `gateway/connection`, options: options });
|
|
864
848
|
}
|
|
865
849
|
/**
|
|
866
|
-
* HTTP
|
|
867
|
-
* Java method: org.openremote.model.
|
|
850
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
851
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
868
852
|
*/
|
|
869
|
-
|
|
870
|
-
return this.httpClient.request({ method: "
|
|
853
|
+
deleteConnection(realm, options) {
|
|
854
|
+
return this.httpClient.request({ method: "DELETE", url: uriEncoding `gateway/connection/${realm}`, options: options });
|
|
871
855
|
}
|
|
872
856
|
/**
|
|
873
|
-
* HTTP
|
|
874
|
-
* Java method: org.openremote.model.
|
|
857
|
+
* HTTP GET /gateway/connection/{realm}
|
|
858
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
875
859
|
*/
|
|
876
|
-
|
|
877
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
881
|
-
* Java method: org.openremote.model.
|
|
864
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
865
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
882
866
|
*/
|
|
883
|
-
|
|
884
|
-
return this.httpClient.request({ method: "PUT", url: uriEncoding `
|
|
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
|
|
888
|
-
* Java method: org.openremote.model.
|
|
871
|
+
* HTTP GET /gateway/status/{realm}
|
|
872
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
889
873
|
*/
|
|
890
|
-
|
|
891
|
-
return this.httpClient.request({ method: "
|
|
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 /
|
|
895
|
-
* Java method: org.openremote.model.
|
|
883
|
+
* HTTP GET /flow
|
|
884
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
896
885
|
*/
|
|
897
|
-
|
|
898
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
886
|
+
getAllNodeDefinitions(options) {
|
|
887
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `flow`, options: options });
|
|
899
888
|
}
|
|
900
889
|
/**
|
|
901
|
-
* HTTP
|
|
902
|
-
* Java method: org.openremote.model.
|
|
890
|
+
* HTTP GET /flow/{name}
|
|
891
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
903
892
|
*/
|
|
904
|
-
|
|
905
|
-
return this.httpClient.request({ method: "
|
|
893
|
+
getNodeDefinition(name, options) {
|
|
894
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `flow/${name}`, options: options });
|
|
906
895
|
}
|
|
907
896
|
/**
|
|
908
|
-
* HTTP GET /
|
|
909
|
-
* Java method: org.openremote.model.
|
|
897
|
+
* HTTP GET /flow/{type}
|
|
898
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
910
899
|
*/
|
|
911
|
-
|
|
912
|
-
return this.httpClient.request({ method: "GET", url: uriEncoding `
|
|
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
|
|
951
|
+
export class AssetResourceClient {
|
|
963
952
|
constructor(httpClient) {
|
|
964
953
|
this.httpClient = httpClient;
|
|
965
954
|
}
|
|
966
955
|
/**
|
|
967
|
-
* HTTP
|
|
968
|
-
* Java method: org.openremote.model.
|
|
956
|
+
* HTTP POST /asset
|
|
957
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
969
958
|
*/
|
|
970
|
-
|
|
971
|
-
return this.httpClient.request({ method: "
|
|
959
|
+
create(asset, options) {
|
|
960
|
+
return this.httpClient.request({ method: "POST", url: uriEncoding `asset`, data: asset, options: options });
|
|
972
961
|
}
|
|
973
962
|
/**
|
|
974
|
-
* HTTP
|
|
975
|
-
* Java method: org.openremote.model.
|
|
963
|
+
* HTTP DELETE /asset
|
|
964
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
976
965
|
*/
|
|
977
|
-
|
|
978
|
-
return this.httpClient.request({ method: "
|
|
966
|
+
delete(queryParams, options) {
|
|
967
|
+
return this.httpClient.request({ method: "DELETE", url: uriEncoding `asset`, queryParams: queryParams, options: options });
|
|
979
968
|
}
|
|
980
969
|
/**
|
|
981
|
-
* HTTP
|
|
982
|
-
* Java method: org.openremote.model.
|
|
970
|
+
* HTTP PUT /asset/attributes
|
|
971
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
983
972
|
*/
|
|
984
|
-
|
|
985
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
989
|
-
* Java method: org.openremote.model.
|
|
998
|
+
* HTTP POST /asset/query
|
|
999
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
990
1000
|
*/
|
|
991
|
-
|
|
992
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
996
|
-
* Java method: org.openremote.model.
|
|
1005
|
+
* HTTP GET /asset/user/current
|
|
1006
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
997
1007
|
*/
|
|
998
|
-
|
|
999
|
-
return this.httpClient.request({ method: "
|
|
1008
|
+
getCurrentUserAssets(options) {
|
|
1009
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `asset/user/current`, options: options });
|
|
1000
1010
|
}
|
|
1001
1011
|
/**
|
|
1002
|
-
* HTTP
|
|
1003
|
-
* Java method: org.openremote.model.
|
|
1012
|
+
* HTTP POST /asset/user/link
|
|
1013
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
1004
1014
|
*/
|
|
1005
|
-
|
|
1006
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
1015
|
-
* Java method: org.openremote.model.
|
|
1019
|
+
* HTTP GET /asset/user/link
|
|
1020
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
1016
1021
|
*/
|
|
1017
|
-
|
|
1018
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
1022
|
-
* Java method: org.openremote.model.
|
|
1026
|
+
* HTTP POST /asset/user/link/delete
|
|
1027
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
1023
1028
|
*/
|
|
1024
|
-
|
|
1025
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
1029
|
-
* Java method: org.openremote.model.
|
|
1033
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
1034
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
1030
1035
|
*/
|
|
1031
|
-
|
|
1032
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
1036
|
-
* Java method: org.openremote.model.
|
|
1040
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
1041
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
1037
1042
|
*/
|
|
1038
|
-
|
|
1039
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
1043
|
-
* Java method: org.openremote.model.
|
|
1047
|
+
* HTTP GET /asset/{assetId}
|
|
1048
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
1044
1049
|
*/
|
|
1045
|
-
|
|
1046
|
-
return this.httpClient.request({ method: "
|
|
1050
|
+
get(assetId, options) {
|
|
1051
|
+
return this.httpClient.request({ method: "GET", url: uriEncoding `asset/${assetId}`, options: options });
|
|
1047
1052
|
}
|
|
1048
1053
|
/**
|
|
1049
|
-
* HTTP
|
|
1050
|
-
* Java method: org.openremote.model.
|
|
1054
|
+
* HTTP PUT /asset/{assetId}
|
|
1055
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
1051
1056
|
*/
|
|
1052
|
-
|
|
1053
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
1062
|
-
* Java method: org.openremote.model.
|
|
1061
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
1062
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
1063
1063
|
*/
|
|
1064
|
-
|
|
1065
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
1069
|
-
* Java method: org.openremote.model.
|
|
1068
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
1069
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
1070
1070
|
*/
|
|
1071
|
-
|
|
1072
|
-
return this.httpClient.request({ method: "
|
|
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
|
|
1076
|
-
* Java method: org.openremote.model.
|
|
1075
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
1076
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
1077
1077
|
*/
|
|
1078
|
-
|
|
1079
|
-
return this.httpClient.request({ method: "
|
|
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.
|
|
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
|
|
1118
|
-
return this.
|
|
1117
|
+
get NotificationResource() {
|
|
1118
|
+
return this._notificationResource;
|
|
1119
1119
|
}
|
|
1120
|
-
get
|
|
1121
|
-
return this.
|
|
1120
|
+
get ConfigurationResource() {
|
|
1121
|
+
return this._configurationResource;
|
|
1122
1122
|
}
|
|
1123
|
-
get
|
|
1124
|
-
return this.
|
|
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
|
|
1133
|
-
return this.
|
|
1134
|
-
}
|
|
1135
|
-
get RulesResource() {
|
|
1136
|
-
return this._rulesResource;
|
|
1147
|
+
get AssetModelResource() {
|
|
1148
|
+
return this._assetModelResource;
|
|
1137
1149
|
}
|
|
1138
|
-
get
|
|
1139
|
-
return this.
|
|
1150
|
+
get UserResource() {
|
|
1151
|
+
return this._userResource;
|
|
1140
1152
|
}
|
|
1141
1153
|
get AgentResource() {
|
|
1142
1154
|
return this._agentResource;
|
|
1143
1155
|
}
|
|
1144
|
-
get
|
|
1145
|
-
return this.
|
|
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
|
|
1157
|
-
return this.
|
|
1159
|
+
get AssetDatapointResource() {
|
|
1160
|
+
return this._assetDatapointResource;
|
|
1158
1161
|
}
|
|
1159
|
-
get
|
|
1160
|
-
return this.
|
|
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
|
|
1175
|
-
return this.
|
|
1171
|
+
get FlowResource() {
|
|
1172
|
+
return this._flowResource;
|
|
1176
1173
|
}
|
|
1177
|
-
get
|
|
1178
|
-
return this.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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));
|