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