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