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