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