@openremote/rest 1.3.0-snapshot.20250131153631 → 1.3.0-snapshot.20250203155234
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 +361 -361
- 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,38 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
+
export declare class SyslogResourceClient<O> {
|
|
13
|
+
protected httpClient: HttpClient<O>;
|
|
14
|
+
constructor(httpClient: HttpClient<O>);
|
|
15
|
+
/**
|
|
16
|
+
* HTTP GET /syslog/config
|
|
17
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
18
|
+
*/
|
|
19
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
20
|
+
/**
|
|
21
|
+
* HTTP PUT /syslog/config
|
|
22
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
23
|
+
*/
|
|
24
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
25
|
+
/**
|
|
26
|
+
* HTTP DELETE /syslog/event
|
|
27
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
28
|
+
*/
|
|
29
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
30
|
+
/**
|
|
31
|
+
* HTTP GET /syslog/event
|
|
32
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
33
|
+
*/
|
|
34
|
+
getEvents(queryParams?: {
|
|
35
|
+
level?: Model.SyslogLevel;
|
|
36
|
+
per_page?: any;
|
|
37
|
+
page?: any;
|
|
38
|
+
from?: any;
|
|
39
|
+
to?: any;
|
|
40
|
+
category?: Model.SyslogCategory[];
|
|
41
|
+
subCategory?: any[];
|
|
42
|
+
}, options?: O): RestResponse<any>;
|
|
43
|
+
}
|
|
12
44
|
export declare class AssetModelResourceClient<O> {
|
|
13
45
|
protected httpClient: HttpClient<O>;
|
|
14
46
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -54,97 +86,62 @@ export declare class AssetModelResourceClient<O> {
|
|
|
54
86
|
[index: string]: Model.ValueDescriptor;
|
|
55
87
|
}>;
|
|
56
88
|
}
|
|
57
|
-
export declare class
|
|
89
|
+
export declare class AppResourceClient<O> {
|
|
58
90
|
protected httpClient: HttpClient<O>;
|
|
59
91
|
constructor(httpClient: HttpClient<O>);
|
|
60
92
|
/**
|
|
61
|
-
* HTTP GET /
|
|
62
|
-
* Java method: org.openremote.model.
|
|
63
|
-
*/
|
|
64
|
-
getSettings(options?: O): RestResponse<{
|
|
65
|
-
[id: string]: any;
|
|
66
|
-
}>;
|
|
67
|
-
/**
|
|
68
|
-
* HTTP PUT /map
|
|
69
|
-
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
93
|
+
* HTTP GET /apps
|
|
94
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
70
95
|
*/
|
|
71
|
-
|
|
72
|
-
[index: string]: Model.MapRealmConfig;
|
|
73
|
-
}, options?: O): RestResponse<any>;
|
|
96
|
+
getApps(options?: O): RestResponse<any[]>;
|
|
74
97
|
/**
|
|
75
|
-
* HTTP GET /
|
|
76
|
-
* Java method: org.openremote.model.
|
|
98
|
+
* HTTP GET /apps/consoleConfig
|
|
99
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
77
100
|
*/
|
|
78
|
-
|
|
79
|
-
[id: string]: any;
|
|
80
|
-
}>;
|
|
101
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
81
102
|
/**
|
|
82
|
-
* HTTP GET /
|
|
83
|
-
* Java method: org.openremote.model.
|
|
103
|
+
* HTTP GET /apps/info
|
|
104
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
84
105
|
*/
|
|
85
|
-
|
|
106
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
86
107
|
}
|
|
87
|
-
export declare class
|
|
108
|
+
export declare class ConsoleResourceClient<O> {
|
|
88
109
|
protected httpClient: HttpClient<O>;
|
|
89
110
|
constructor(httpClient: HttpClient<O>);
|
|
90
111
|
/**
|
|
91
|
-
* HTTP
|
|
92
|
-
* Java method: org.openremote.model.
|
|
93
|
-
*/
|
|
94
|
-
deleteConnections(queryParams?: {
|
|
95
|
-
realm?: any[];
|
|
96
|
-
}, options?: O): RestResponse<void>;
|
|
97
|
-
/**
|
|
98
|
-
* HTTP GET /gateway/connection
|
|
99
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
100
|
-
*/
|
|
101
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
102
|
-
/**
|
|
103
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
104
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
105
|
-
*/
|
|
106
|
-
deleteConnection(realm: any, options?: O): RestResponse<void>;
|
|
107
|
-
/**
|
|
108
|
-
* HTTP GET /gateway/connection/{realm}
|
|
109
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
112
|
+
* HTTP POST /console/register
|
|
113
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
110
114
|
*/
|
|
111
|
-
|
|
115
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
116
|
+
}
|
|
117
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
118
|
+
protected httpClient: HttpClient<O>;
|
|
119
|
+
constructor(httpClient: HttpClient<O>);
|
|
112
120
|
/**
|
|
113
|
-
* HTTP
|
|
114
|
-
* Java method: org.openremote.model.gateway.
|
|
121
|
+
* HTTP POST /gateway/tunnel
|
|
122
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
115
123
|
*/
|
|
116
|
-
|
|
124
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
117
125
|
/**
|
|
118
|
-
* HTTP
|
|
119
|
-
* Java method: org.openremote.model.gateway.
|
|
126
|
+
* HTTP DELETE /gateway/tunnel
|
|
127
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
120
128
|
*/
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
124
|
-
protected httpClient: HttpClient<O>;
|
|
125
|
-
constructor(httpClient: HttpClient<O>);
|
|
129
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
126
130
|
/**
|
|
127
|
-
* HTTP GET /
|
|
128
|
-
* Java method: org.openremote.model.
|
|
131
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
132
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
129
133
|
*/
|
|
130
|
-
|
|
131
|
-
attributeRefs?: any;
|
|
132
|
-
fromTimestamp?: number;
|
|
133
|
-
toTimestamp?: number;
|
|
134
|
-
}, options?: O): RestResponse<any>;
|
|
134
|
+
getAllActiveTunnelInfos(realm: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
135
135
|
/**
|
|
136
|
-
* HTTP GET /
|
|
137
|
-
* Java method: org.openremote.model.
|
|
136
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
137
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
138
138
|
*/
|
|
139
|
-
|
|
140
|
-
assetId?: any;
|
|
141
|
-
attributeName?: any;
|
|
142
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
139
|
+
getGatewayActiveTunnelInfos(realm: any, id: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
143
140
|
/**
|
|
144
|
-
* HTTP
|
|
145
|
-
* Java method: org.openremote.model.
|
|
141
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
142
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
146
143
|
*/
|
|
147
|
-
|
|
144
|
+
getActiveTunnelInfo(realm: any, id: any, target: any, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
148
145
|
}
|
|
149
146
|
export declare class AgentResourceClient<O> {
|
|
150
147
|
protected httpClient: HttpClient<O>;
|
|
@@ -172,59 +169,6 @@ export declare class AgentResourceClient<O> {
|
|
|
172
169
|
realm?: any;
|
|
173
170
|
}, options?: O): RestResponse<Model.Agent[]>;
|
|
174
171
|
}
|
|
175
|
-
export declare class AlarmResourceClient<O> {
|
|
176
|
-
protected httpClient: HttpClient<O>;
|
|
177
|
-
constructor(httpClient: HttpClient<O>);
|
|
178
|
-
/**
|
|
179
|
-
* HTTP POST /alarm
|
|
180
|
-
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
181
|
-
*/
|
|
182
|
-
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
183
|
-
assetIds?: any[];
|
|
184
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
185
|
-
/**
|
|
186
|
-
* HTTP GET /alarm
|
|
187
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
188
|
-
*/
|
|
189
|
-
getAlarms(queryParams?: {
|
|
190
|
-
realm?: any;
|
|
191
|
-
status?: Model.AlarmStatus;
|
|
192
|
-
assetId?: any;
|
|
193
|
-
assigneeId?: any;
|
|
194
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
195
|
-
/**
|
|
196
|
-
* HTTP DELETE /alarm
|
|
197
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
198
|
-
*/
|
|
199
|
-
removeAlarms(ids: any[], options?: O): RestResponse<void>;
|
|
200
|
-
/**
|
|
201
|
-
* HTTP PUT /alarm/assets
|
|
202
|
-
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
203
|
-
*/
|
|
204
|
-
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
205
|
-
/**
|
|
206
|
-
* HTTP GET /alarm/{alarmId}
|
|
207
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
208
|
-
*/
|
|
209
|
-
getAlarm(alarmId: any, options?: O): RestResponse<Model.SentAlarm>;
|
|
210
|
-
/**
|
|
211
|
-
* HTTP DELETE /alarm/{alarmId}
|
|
212
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
213
|
-
*/
|
|
214
|
-
removeAlarm(alarmId: any, options?: O): RestResponse<void>;
|
|
215
|
-
/**
|
|
216
|
-
* HTTP PUT /alarm/{alarmId}
|
|
217
|
-
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
218
|
-
*/
|
|
219
|
-
updateAlarm(alarmId: any, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
220
|
-
/**
|
|
221
|
-
* HTTP GET /alarm/{alarmId}/assets
|
|
222
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
223
|
-
*/
|
|
224
|
-
getAssetLinks(alarmId: any, queryParams?: {
|
|
225
|
-
realm?: any;
|
|
226
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
227
|
-
}
|
|
228
172
|
export declare class StatusResourceClient<O> {
|
|
229
173
|
protected httpClient: HttpClient<O>;
|
|
230
174
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -243,72 +187,59 @@ export declare class StatusResourceClient<O> {
|
|
|
243
187
|
[index: string]: any;
|
|
244
188
|
}>;
|
|
245
189
|
}
|
|
246
|
-
export declare class
|
|
190
|
+
export declare class NotificationResourceClient<O> {
|
|
247
191
|
protected httpClient: HttpClient<O>;
|
|
248
192
|
constructor(httpClient: HttpClient<O>);
|
|
249
193
|
/**
|
|
250
|
-
* HTTP GET /
|
|
251
|
-
* Java method: org.openremote.model.
|
|
252
|
-
*/
|
|
253
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
254
|
-
/**
|
|
255
|
-
* HTTP PUT /syslog/config
|
|
256
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
257
|
-
*/
|
|
258
|
-
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
259
|
-
/**
|
|
260
|
-
* HTTP DELETE /syslog/event
|
|
261
|
-
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
262
|
-
*/
|
|
263
|
-
clearEvents(options?: O): RestResponse<void>;
|
|
264
|
-
/**
|
|
265
|
-
* HTTP GET /syslog/event
|
|
266
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
194
|
+
* HTTP GET /notification
|
|
195
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
267
196
|
*/
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
page?: any;
|
|
197
|
+
getNotifications(queryParams?: {
|
|
198
|
+
id?: any;
|
|
199
|
+
type?: any;
|
|
272
200
|
from?: any;
|
|
273
201
|
to?: any;
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
}
|
|
278
|
-
export declare class ConsoleResourceClient<O> {
|
|
279
|
-
protected httpClient: HttpClient<O>;
|
|
280
|
-
constructor(httpClient: HttpClient<O>);
|
|
202
|
+
realmId?: any;
|
|
203
|
+
userId?: any;
|
|
204
|
+
assetId?: any;
|
|
205
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
281
206
|
/**
|
|
282
|
-
* HTTP
|
|
283
|
-
* Java method: org.openremote.model.
|
|
207
|
+
* HTTP DELETE /notification
|
|
208
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
284
209
|
*/
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
210
|
+
removeNotifications(queryParams?: {
|
|
211
|
+
id?: any;
|
|
212
|
+
type?: any;
|
|
213
|
+
from?: any;
|
|
214
|
+
to?: any;
|
|
215
|
+
realmId?: any;
|
|
216
|
+
userId?: any;
|
|
217
|
+
assetId?: any;
|
|
218
|
+
}, options?: O): RestResponse<void>;
|
|
290
219
|
/**
|
|
291
|
-
* HTTP
|
|
292
|
-
* Java method: org.openremote.model.
|
|
220
|
+
* HTTP POST /notification/alert
|
|
221
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
293
222
|
*/
|
|
294
|
-
|
|
223
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
295
224
|
/**
|
|
296
|
-
* HTTP
|
|
297
|
-
* Java method: org.openremote.model.
|
|
225
|
+
* HTTP DELETE /notification/{notificationId}
|
|
226
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
298
227
|
*/
|
|
299
|
-
|
|
228
|
+
removeNotification(notificationId: any, options?: O): RestResponse<void>;
|
|
300
229
|
/**
|
|
301
|
-
* HTTP
|
|
302
|
-
* Java method: org.openremote.model.
|
|
230
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
231
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
303
232
|
*/
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
}, options?: O): RestResponse<
|
|
233
|
+
notificationAcknowledged(notificationId: any, acknowledgement: any, queryParams?: {
|
|
234
|
+
targetId?: any;
|
|
235
|
+
}, options?: O): RestResponse<void>;
|
|
307
236
|
/**
|
|
308
|
-
* HTTP
|
|
309
|
-
* Java method: org.openremote.model.
|
|
237
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
238
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
310
239
|
*/
|
|
311
|
-
|
|
240
|
+
notificationDelivered(notificationId: any, queryParams?: {
|
|
241
|
+
targetId?: any;
|
|
242
|
+
}, options?: O): RestResponse<void>;
|
|
312
243
|
}
|
|
313
244
|
export declare class DashboardResourceClient<O> {
|
|
314
245
|
protected httpClient: HttpClient<O>;
|
|
@@ -344,6 +275,20 @@ export declare class DashboardResourceClient<O> {
|
|
|
344
275
|
*/
|
|
345
276
|
get(realm: any, dashboardId: any, options?: O): RestResponse<Model.Dashboard>;
|
|
346
277
|
}
|
|
278
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
279
|
+
protected httpClient: HttpClient<O>;
|
|
280
|
+
constructor(httpClient: HttpClient<O>);
|
|
281
|
+
/**
|
|
282
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
283
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
284
|
+
*/
|
|
285
|
+
getPredictedDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
286
|
+
/**
|
|
287
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
288
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
289
|
+
*/
|
|
290
|
+
writePredictedDatapoints(assetId: any, attributeName: any, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
291
|
+
}
|
|
347
292
|
export declare class ProvisioningResourceClient<O> {
|
|
348
293
|
protected httpClient: HttpClient<O>;
|
|
349
294
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -368,19 +313,110 @@ export declare class ProvisioningResourceClient<O> {
|
|
|
368
313
|
*/
|
|
369
314
|
updateProvisioningConfig(id: any, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
370
315
|
}
|
|
371
|
-
export declare class
|
|
316
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
372
317
|
protected httpClient: HttpClient<O>;
|
|
373
318
|
constructor(httpClient: HttpClient<O>);
|
|
374
319
|
/**
|
|
375
|
-
* HTTP
|
|
376
|
-
* Java method: org.openremote.model.datapoint.
|
|
320
|
+
* HTTP GET /asset/datapoint/export
|
|
321
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
377
322
|
*/
|
|
378
|
-
|
|
323
|
+
getDatapointExport(queryParams?: {
|
|
324
|
+
attributeRefs?: any;
|
|
325
|
+
fromTimestamp?: number;
|
|
326
|
+
toTimestamp?: number;
|
|
327
|
+
}, options?: O): RestResponse<any>;
|
|
379
328
|
/**
|
|
380
|
-
* HTTP
|
|
381
|
-
* Java method: org.openremote.model.datapoint.
|
|
329
|
+
* HTTP GET /asset/datapoint/periods
|
|
330
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
382
331
|
*/
|
|
383
|
-
|
|
332
|
+
getDatapointPeriod(queryParams?: {
|
|
333
|
+
assetId?: any;
|
|
334
|
+
attributeName?: any;
|
|
335
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
336
|
+
/**
|
|
337
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
338
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
339
|
+
*/
|
|
340
|
+
getDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
341
|
+
}
|
|
342
|
+
export declare class RealmResourceClient<O> {
|
|
343
|
+
protected httpClient: HttpClient<O>;
|
|
344
|
+
constructor(httpClient: HttpClient<O>);
|
|
345
|
+
/**
|
|
346
|
+
* HTTP POST /realm
|
|
347
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
348
|
+
*/
|
|
349
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
350
|
+
/**
|
|
351
|
+
* HTTP GET /realm
|
|
352
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
353
|
+
*/
|
|
354
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
355
|
+
/**
|
|
356
|
+
* HTTP GET /realm/accessible
|
|
357
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
358
|
+
*/
|
|
359
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
360
|
+
/**
|
|
361
|
+
* HTTP DELETE /realm/{name}
|
|
362
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
363
|
+
*/
|
|
364
|
+
delete(name: any, options?: O): RestResponse<void>;
|
|
365
|
+
/**
|
|
366
|
+
* HTTP GET /realm/{name}
|
|
367
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
368
|
+
*/
|
|
369
|
+
get(name: any, options?: O): RestResponse<Model.Realm>;
|
|
370
|
+
/**
|
|
371
|
+
* HTTP PUT /realm/{name}
|
|
372
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
373
|
+
*/
|
|
374
|
+
update(name: any, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
375
|
+
}
|
|
376
|
+
export declare class ConfigurationResourceClient<O> {
|
|
377
|
+
protected httpClient: HttpClient<O>;
|
|
378
|
+
constructor(httpClient: HttpClient<O>);
|
|
379
|
+
/**
|
|
380
|
+
* HTTP GET /configuration/manager
|
|
381
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
382
|
+
*/
|
|
383
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
384
|
+
/**
|
|
385
|
+
* HTTP PUT /configuration/manager
|
|
386
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
387
|
+
*/
|
|
388
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
389
|
+
/**
|
|
390
|
+
* HTTP POST /configuration/manager/file
|
|
391
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
392
|
+
*/
|
|
393
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
394
|
+
path?: any;
|
|
395
|
+
}, options?: O): RestResponse<any>;
|
|
396
|
+
/**
|
|
397
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
398
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
399
|
+
*/
|
|
400
|
+
getManagerConfigImage(filename: any, options?: O): RestResponse<any>;
|
|
401
|
+
}
|
|
402
|
+
export declare class FlowResourceClient<O> {
|
|
403
|
+
protected httpClient: HttpClient<O>;
|
|
404
|
+
constructor(httpClient: HttpClient<O>);
|
|
405
|
+
/**
|
|
406
|
+
* HTTP GET /flow
|
|
407
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
408
|
+
*/
|
|
409
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
410
|
+
/**
|
|
411
|
+
* HTTP GET /flow/{name}
|
|
412
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
413
|
+
*/
|
|
414
|
+
getNodeDefinition(name: any, options?: O): RestResponse<Model.Node>;
|
|
415
|
+
/**
|
|
416
|
+
* HTTP GET /flow/{type}
|
|
417
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
418
|
+
*/
|
|
419
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
384
420
|
}
|
|
385
421
|
export declare class RulesResourceClient<O> {
|
|
386
422
|
protected httpClient: HttpClient<O>;
|
|
@@ -478,124 +514,70 @@ export declare class RulesResourceClient<O> {
|
|
|
478
514
|
* HTTP DELETE /rules/{id}
|
|
479
515
|
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
480
516
|
*/
|
|
481
|
-
deleteGlobalRuleset(id: any, options?: O): RestResponse<void>;
|
|
482
|
-
/**
|
|
483
|
-
* HTTP GET /rules/{id}
|
|
484
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
485
|
-
*/
|
|
486
|
-
getGlobalRuleset(id: any, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
487
|
-
/**
|
|
488
|
-
* HTTP PUT /rules/{id}
|
|
489
|
-
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
490
|
-
*/
|
|
491
|
-
updateGlobalRuleset(id: any, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
492
|
-
}
|
|
493
|
-
export declare class NotificationResourceClient<O> {
|
|
494
|
-
protected httpClient: HttpClient<O>;
|
|
495
|
-
constructor(httpClient: HttpClient<O>);
|
|
496
|
-
/**
|
|
497
|
-
* HTTP GET /notification
|
|
498
|
-
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
499
|
-
*/
|
|
500
|
-
getNotifications(queryParams?: {
|
|
501
|
-
id?: any;
|
|
502
|
-
type?: any;
|
|
503
|
-
from?: any;
|
|
504
|
-
to?: any;
|
|
505
|
-
realmId?: any;
|
|
506
|
-
userId?: any;
|
|
507
|
-
assetId?: any;
|
|
508
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
509
|
-
/**
|
|
510
|
-
* HTTP DELETE /notification
|
|
511
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
512
|
-
*/
|
|
513
|
-
removeNotifications(queryParams?: {
|
|
514
|
-
id?: any;
|
|
515
|
-
type?: any;
|
|
516
|
-
from?: any;
|
|
517
|
-
to?: any;
|
|
518
|
-
realmId?: any;
|
|
519
|
-
userId?: any;
|
|
520
|
-
assetId?: any;
|
|
521
|
-
}, options?: O): RestResponse<void>;
|
|
522
|
-
/**
|
|
523
|
-
* HTTP POST /notification/alert
|
|
524
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
525
|
-
*/
|
|
526
|
-
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
527
|
-
/**
|
|
528
|
-
* HTTP DELETE /notification/{notificationId}
|
|
529
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
530
|
-
*/
|
|
531
|
-
removeNotification(notificationId: any, options?: O): RestResponse<void>;
|
|
532
|
-
/**
|
|
533
|
-
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
534
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
535
|
-
*/
|
|
536
|
-
notificationAcknowledged(notificationId: any, acknowledgement: any, queryParams?: {
|
|
537
|
-
targetId?: any;
|
|
538
|
-
}, options?: O): RestResponse<void>;
|
|
539
|
-
/**
|
|
540
|
-
* HTTP PUT /notification/{notificationId}/delivered
|
|
541
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
542
|
-
*/
|
|
543
|
-
notificationDelivered(notificationId: any, queryParams?: {
|
|
544
|
-
targetId?: any;
|
|
545
|
-
}, options?: O): RestResponse<void>;
|
|
546
|
-
}
|
|
547
|
-
export declare class AppResourceClient<O> {
|
|
548
|
-
protected httpClient: HttpClient<O>;
|
|
549
|
-
constructor(httpClient: HttpClient<O>);
|
|
550
|
-
/**
|
|
551
|
-
* HTTP GET /apps
|
|
552
|
-
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
553
|
-
*/
|
|
554
|
-
getApps(options?: O): RestResponse<any[]>;
|
|
517
|
+
deleteGlobalRuleset(id: any, options?: O): RestResponse<void>;
|
|
555
518
|
/**
|
|
556
|
-
* HTTP GET /
|
|
557
|
-
* Java method: org.openremote.model.
|
|
519
|
+
* HTTP GET /rules/{id}
|
|
520
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
558
521
|
*/
|
|
559
|
-
|
|
522
|
+
getGlobalRuleset(id: any, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
560
523
|
/**
|
|
561
|
-
* HTTP
|
|
562
|
-
* Java method: org.openremote.model.
|
|
524
|
+
* HTTP PUT /rules/{id}
|
|
525
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
563
526
|
*/
|
|
564
|
-
|
|
527
|
+
updateGlobalRuleset(id: any, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
565
528
|
}
|
|
566
|
-
export declare class
|
|
529
|
+
export declare class AlarmResourceClient<O> {
|
|
567
530
|
protected httpClient: HttpClient<O>;
|
|
568
531
|
constructor(httpClient: HttpClient<O>);
|
|
569
532
|
/**
|
|
570
|
-
* HTTP POST /
|
|
571
|
-
* Java method: org.openremote.model.
|
|
533
|
+
* HTTP POST /alarm
|
|
534
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
572
535
|
*/
|
|
573
|
-
|
|
536
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
537
|
+
assetIds?: any[];
|
|
538
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
574
539
|
/**
|
|
575
|
-
* HTTP GET /
|
|
576
|
-
* Java method: org.openremote.model.
|
|
540
|
+
* HTTP GET /alarm
|
|
541
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
577
542
|
*/
|
|
578
|
-
|
|
543
|
+
getAlarms(queryParams?: {
|
|
544
|
+
realm?: any;
|
|
545
|
+
status?: Model.AlarmStatus;
|
|
546
|
+
assetId?: any;
|
|
547
|
+
assigneeId?: any;
|
|
548
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
579
549
|
/**
|
|
580
|
-
* HTTP
|
|
581
|
-
* Java method: org.openremote.model.
|
|
550
|
+
* HTTP DELETE /alarm
|
|
551
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
582
552
|
*/
|
|
583
|
-
|
|
553
|
+
removeAlarms(ids: any[], options?: O): RestResponse<void>;
|
|
584
554
|
/**
|
|
585
|
-
* HTTP
|
|
586
|
-
* Java method: org.openremote.model.
|
|
555
|
+
* HTTP PUT /alarm/assets
|
|
556
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
587
557
|
*/
|
|
588
|
-
|
|
558
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
589
559
|
/**
|
|
590
|
-
* HTTP GET /
|
|
591
|
-
* Java method: org.openremote.model.
|
|
560
|
+
* HTTP GET /alarm/{alarmId}
|
|
561
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
592
562
|
*/
|
|
593
|
-
|
|
563
|
+
getAlarm(alarmId: any, options?: O): RestResponse<Model.SentAlarm>;
|
|
594
564
|
/**
|
|
595
|
-
* HTTP
|
|
596
|
-
* Java method: org.openremote.model.
|
|
565
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
566
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
597
567
|
*/
|
|
598
|
-
|
|
568
|
+
removeAlarm(alarmId: any, options?: O): RestResponse<void>;
|
|
569
|
+
/**
|
|
570
|
+
* HTTP PUT /alarm/{alarmId}
|
|
571
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
572
|
+
*/
|
|
573
|
+
updateAlarm(alarmId: any, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
574
|
+
/**
|
|
575
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
576
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
577
|
+
*/
|
|
578
|
+
getAssetLinks(alarmId: any, queryParams?: {
|
|
579
|
+
realm?: any;
|
|
580
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
599
581
|
}
|
|
600
582
|
export declare class UserResourceClient<O> {
|
|
601
583
|
protected httpClient: HttpClient<O>;
|
|
@@ -721,24 +703,71 @@ export declare class UserResourceClient<O> {
|
|
|
721
703
|
*/
|
|
722
704
|
get(realm: any, userId: any, options?: O): RestResponse<Model.User>;
|
|
723
705
|
}
|
|
724
|
-
export declare class
|
|
706
|
+
export declare class MapResourceClient<O> {
|
|
725
707
|
protected httpClient: HttpClient<O>;
|
|
726
708
|
constructor(httpClient: HttpClient<O>);
|
|
727
709
|
/**
|
|
728
|
-
* HTTP GET /
|
|
729
|
-
* Java method: org.openremote.model.
|
|
710
|
+
* HTTP GET /map
|
|
711
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
730
712
|
*/
|
|
731
|
-
|
|
713
|
+
getSettings(options?: O): RestResponse<{
|
|
714
|
+
[id: string]: any;
|
|
715
|
+
}>;
|
|
732
716
|
/**
|
|
733
|
-
* HTTP
|
|
734
|
-
* Java method: org.openremote.model.
|
|
717
|
+
* HTTP PUT /map
|
|
718
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
735
719
|
*/
|
|
736
|
-
|
|
720
|
+
saveSettings(mapConfig: {
|
|
721
|
+
[index: string]: Model.MapRealmConfig;
|
|
722
|
+
}, options?: O): RestResponse<any>;
|
|
737
723
|
/**
|
|
738
|
-
* HTTP GET /
|
|
739
|
-
* Java method: org.openremote.model.
|
|
724
|
+
* HTTP GET /map/js
|
|
725
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
740
726
|
*/
|
|
741
|
-
|
|
727
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
728
|
+
[id: string]: any;
|
|
729
|
+
}>;
|
|
730
|
+
/**
|
|
731
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
732
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
733
|
+
*/
|
|
734
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
735
|
+
}
|
|
736
|
+
export declare class GatewayClientResourceClient<O> {
|
|
737
|
+
protected httpClient: HttpClient<O>;
|
|
738
|
+
constructor(httpClient: HttpClient<O>);
|
|
739
|
+
/**
|
|
740
|
+
* HTTP DELETE /gateway/connection
|
|
741
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
742
|
+
*/
|
|
743
|
+
deleteConnections(queryParams?: {
|
|
744
|
+
realm?: any[];
|
|
745
|
+
}, options?: O): RestResponse<void>;
|
|
746
|
+
/**
|
|
747
|
+
* HTTP GET /gateway/connection
|
|
748
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
749
|
+
*/
|
|
750
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
751
|
+
/**
|
|
752
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
753
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
754
|
+
*/
|
|
755
|
+
deleteConnection(realm: any, options?: O): RestResponse<void>;
|
|
756
|
+
/**
|
|
757
|
+
* HTTP GET /gateway/connection/{realm}
|
|
758
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
759
|
+
*/
|
|
760
|
+
getConnection(realm: any, options?: O): RestResponse<Model.GatewayConnection>;
|
|
761
|
+
/**
|
|
762
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
763
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
764
|
+
*/
|
|
765
|
+
setConnection(realm: any, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
766
|
+
/**
|
|
767
|
+
* HTTP GET /gateway/status/{realm}
|
|
768
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
769
|
+
*/
|
|
770
|
+
getConnectionStatus(realm: any, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
742
771
|
}
|
|
743
772
|
export declare class AssetResourceClient<O> {
|
|
744
773
|
protected httpClient: HttpClient<O>;
|
|
@@ -844,80 +873,51 @@ export declare class AssetResourceClient<O> {
|
|
|
844
873
|
assetIds?: any[];
|
|
845
874
|
}, options?: O): RestResponse<void>;
|
|
846
875
|
}
|
|
847
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
848
|
-
protected httpClient: HttpClient<O>;
|
|
849
|
-
constructor(httpClient: HttpClient<O>);
|
|
850
|
-
/**
|
|
851
|
-
* HTTP POST /gateway/tunnel
|
|
852
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
853
|
-
*/
|
|
854
|
-
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
855
|
-
/**
|
|
856
|
-
* HTTP DELETE /gateway/tunnel
|
|
857
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
858
|
-
*/
|
|
859
|
-
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
860
|
-
/**
|
|
861
|
-
* HTTP GET /gateway/tunnel/{realm}
|
|
862
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
863
|
-
*/
|
|
864
|
-
getAllActiveTunnelInfos(realm: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
865
|
-
/**
|
|
866
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
867
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
868
|
-
*/
|
|
869
|
-
getGatewayActiveTunnelInfos(realm: any, id: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
870
|
-
/**
|
|
871
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
872
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
873
|
-
*/
|
|
874
|
-
getActiveTunnelInfo(realm: any, id: any, target: any, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
875
|
-
}
|
|
876
876
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
877
877
|
export declare class ApiClient {
|
|
878
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
878
879
|
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
879
|
-
protected
|
|
880
|
-
protected
|
|
881
|
-
protected
|
|
880
|
+
protected _appResource: AxiosAppResourceClient;
|
|
881
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
882
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
882
883
|
protected _agentResource: AxiosAgentResourceClient;
|
|
883
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
884
884
|
protected _statusResource: AxiosStatusResourceClient;
|
|
885
|
-
protected
|
|
886
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
887
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
885
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
888
886
|
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
889
|
-
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
890
887
|
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
891
|
-
protected
|
|
892
|
-
protected
|
|
893
|
-
protected _appResource: AxiosAppResourceClient;
|
|
888
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
889
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
894
890
|
protected _realmResource: AxiosRealmResourceClient;
|
|
895
|
-
protected
|
|
891
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
896
892
|
protected _flowResource: AxiosFlowResourceClient;
|
|
893
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
894
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
895
|
+
protected _userResource: AxiosUserResourceClient;
|
|
896
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
897
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
897
898
|
protected _assetResource: AxiosAssetResourceClient;
|
|
898
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
899
899
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
900
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
900
901
|
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
901
|
-
get
|
|
902
|
-
get
|
|
903
|
-
get
|
|
902
|
+
get AppResource(): AxiosAppResourceClient;
|
|
903
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
904
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
904
905
|
get AgentResource(): AxiosAgentResourceClient;
|
|
905
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
906
906
|
get StatusResource(): AxiosStatusResourceClient;
|
|
907
|
-
get
|
|
908
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
909
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
907
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
910
908
|
get DashboardResource(): AxiosDashboardResourceClient;
|
|
911
|
-
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
912
909
|
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
913
|
-
get
|
|
914
|
-
get
|
|
915
|
-
get AppResource(): AxiosAppResourceClient;
|
|
910
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
911
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
916
912
|
get RealmResource(): AxiosRealmResourceClient;
|
|
917
|
-
get
|
|
913
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
918
914
|
get FlowResource(): AxiosFlowResourceClient;
|
|
915
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
916
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
917
|
+
get UserResource(): AxiosUserResourceClient;
|
|
918
|
+
get MapResource(): AxiosMapResourceClient;
|
|
919
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
919
920
|
get AssetResource(): AxiosAssetResourceClient;
|
|
920
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
921
921
|
}
|
|
922
922
|
import * as Axios from "axios";
|
|
923
923
|
declare module "axios" {
|
|
@@ -925,66 +925,66 @@ declare module "axios" {
|
|
|
925
925
|
data: R;
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
export declare class
|
|
928
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
929
929
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
930
930
|
}
|
|
931
|
-
export declare class
|
|
931
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
932
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
933
|
}
|
|
934
|
-
export declare class
|
|
934
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
935
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
936
|
}
|
|
937
|
-
export declare class
|
|
937
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
938
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
939
|
}
|
|
940
|
-
export declare class
|
|
940
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<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
946
|
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
947
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
948
|
}
|
|
949
|
-
export declare class
|
|
949
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
950
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
951
|
}
|
|
952
|
-
export declare class
|
|
952
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
953
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
954
|
}
|
|
955
|
-
export declare class
|
|
955
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
956
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
957
|
}
|
|
958
|
-
export declare class
|
|
958
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
959
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
960
|
}
|
|
961
|
-
export declare class
|
|
961
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
962
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
963
|
}
|
|
964
|
-
export declare class
|
|
964
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
965
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
966
|
}
|
|
967
|
-
export declare class
|
|
967
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
968
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
969
|
}
|
|
970
|
-
export declare class
|
|
970
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
971
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
972
|
}
|
|
973
|
-
export declare class
|
|
973
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
974
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
975
|
}
|
|
976
|
-
export declare class
|
|
976
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
977
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
978
|
}
|
|
979
979
|
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
980
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
981
|
}
|
|
982
|
-
export declare class
|
|
982
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<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 AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
990
|
}
|