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