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