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