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