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