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