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