@openremote/rest 1.12.0-snapshot.20251114145542 → 1.12.0-snapshot.20251118161313
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.bundle.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/lib/restclient.d.ts +554 -554
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +1 -1
package/lib/restclient.d.ts
CHANGED
|
@@ -9,172 +9,152 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class SyslogResourceClient<O> {
|
|
13
13
|
protected httpClient: HttpClient<O>;
|
|
14
14
|
constructor(httpClient: HttpClient<O>);
|
|
15
15
|
/**
|
|
16
|
-
* HTTP GET /
|
|
17
|
-
* Java method: org.openremote.model.
|
|
16
|
+
* HTTP GET /syslog/config
|
|
17
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
20
20
|
/**
|
|
21
|
-
* HTTP PUT /
|
|
22
|
-
* Java method: org.openremote.model.
|
|
21
|
+
* HTTP PUT /syslog/config
|
|
22
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
25
25
|
/**
|
|
26
|
-
* HTTP
|
|
27
|
-
* Java method: org.openremote.model.
|
|
26
|
+
* HTTP DELETE /syslog/event
|
|
27
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
28
28
|
*/
|
|
29
|
-
|
|
30
|
-
path?: string;
|
|
31
|
-
}, options?: O): RestResponse<string>;
|
|
29
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
32
30
|
/**
|
|
33
|
-
* HTTP GET /
|
|
34
|
-
* Java method: org.openremote.model.
|
|
31
|
+
* HTTP GET /syslog/event
|
|
32
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
35
33
|
*/
|
|
36
|
-
|
|
34
|
+
getEvents(queryParams?: {
|
|
35
|
+
level?: Model.SyslogLevel;
|
|
36
|
+
per_page?: number;
|
|
37
|
+
page?: number;
|
|
38
|
+
from?: number;
|
|
39
|
+
to?: number;
|
|
40
|
+
category?: Model.SyslogCategory[];
|
|
41
|
+
subCategory?: string[];
|
|
42
|
+
}, options?: O): RestResponse<any>;
|
|
37
43
|
}
|
|
38
|
-
export declare class
|
|
44
|
+
export declare class RealmResourceClient<O> {
|
|
39
45
|
protected httpClient: HttpClient<O>;
|
|
40
46
|
constructor(httpClient: HttpClient<O>);
|
|
41
47
|
/**
|
|
42
|
-
* HTTP POST /
|
|
43
|
-
* Java method: org.openremote.model.
|
|
44
|
-
*/
|
|
45
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
46
|
-
/**
|
|
47
|
-
* HTTP DELETE /asset
|
|
48
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
49
|
-
*/
|
|
50
|
-
delete(queryParams?: {
|
|
51
|
-
assetId?: string[];
|
|
52
|
-
}, options?: O): RestResponse<void>;
|
|
53
|
-
/**
|
|
54
|
-
* HTTP PUT /asset/attributes
|
|
55
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
56
|
-
*/
|
|
57
|
-
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
58
|
-
/**
|
|
59
|
-
* HTTP PUT /asset/attributes/timestamp
|
|
60
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
61
|
-
*/
|
|
62
|
-
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
63
|
-
/**
|
|
64
|
-
* HTTP DELETE /asset/parent
|
|
65
|
-
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
48
|
+
* HTTP POST /realm
|
|
49
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
66
50
|
*/
|
|
67
|
-
|
|
68
|
-
assetIds?: string[];
|
|
69
|
-
}, options?: O): RestResponse<void>;
|
|
51
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
70
52
|
/**
|
|
71
|
-
* HTTP GET /
|
|
72
|
-
* Java method: org.openremote.model.
|
|
53
|
+
* HTTP GET /realm
|
|
54
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
73
55
|
*/
|
|
74
|
-
|
|
56
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
75
57
|
/**
|
|
76
|
-
* HTTP
|
|
77
|
-
* Java method: org.openremote.model.
|
|
58
|
+
* HTTP GET /realm/accessible
|
|
59
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
78
60
|
*/
|
|
79
|
-
|
|
61
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
80
62
|
/**
|
|
81
|
-
* HTTP
|
|
82
|
-
* Java method: org.openremote.model.
|
|
63
|
+
* HTTP DELETE /realm/{name}
|
|
64
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
83
65
|
*/
|
|
84
|
-
|
|
66
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
85
67
|
/**
|
|
86
|
-
* HTTP GET /
|
|
87
|
-
* Java method: org.openremote.model.
|
|
68
|
+
* HTTP GET /realm/{name}
|
|
69
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
88
70
|
*/
|
|
89
|
-
|
|
71
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
90
72
|
/**
|
|
91
|
-
* HTTP
|
|
92
|
-
* Java method: org.openremote.model.
|
|
73
|
+
* HTTP PUT /realm/{name}
|
|
74
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
93
75
|
*/
|
|
94
|
-
|
|
76
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
77
|
+
}
|
|
78
|
+
export declare class GatewayClientResourceClient<O> {
|
|
79
|
+
protected httpClient: HttpClient<O>;
|
|
80
|
+
constructor(httpClient: HttpClient<O>);
|
|
95
81
|
/**
|
|
96
|
-
* HTTP
|
|
97
|
-
* Java method: org.openremote.model.
|
|
82
|
+
* HTTP DELETE /gateway/connection
|
|
83
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
98
84
|
*/
|
|
99
|
-
|
|
100
|
-
realm?: string;
|
|
101
|
-
|
|
102
|
-
assetId?: string;
|
|
103
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
85
|
+
deleteConnections(queryParams?: {
|
|
86
|
+
realm?: string[];
|
|
87
|
+
}, options?: O): RestResponse<void>;
|
|
104
88
|
/**
|
|
105
|
-
* HTTP
|
|
106
|
-
* Java method: org.openremote.model.
|
|
89
|
+
* HTTP GET /gateway/connection
|
|
90
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
107
91
|
*/
|
|
108
|
-
|
|
92
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
109
93
|
/**
|
|
110
|
-
* HTTP DELETE /
|
|
111
|
-
* Java method: org.openremote.model.
|
|
94
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
95
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
112
96
|
*/
|
|
113
|
-
|
|
97
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
114
98
|
/**
|
|
115
|
-
* HTTP
|
|
116
|
-
* Java method: org.openremote.model.
|
|
99
|
+
* HTTP GET /gateway/connection/{realm}
|
|
100
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
117
101
|
*/
|
|
118
|
-
|
|
102
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
119
103
|
/**
|
|
120
|
-
* HTTP
|
|
121
|
-
* Java method: org.openremote.model.
|
|
104
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
105
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
122
106
|
*/
|
|
123
|
-
|
|
107
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
124
108
|
/**
|
|
125
|
-
* HTTP
|
|
126
|
-
* Java method: org.openremote.model.
|
|
109
|
+
* HTTP GET /gateway/status/{realm}
|
|
110
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
127
111
|
*/
|
|
128
|
-
|
|
112
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
113
|
+
}
|
|
114
|
+
export declare class AppResourceClient<O> {
|
|
115
|
+
protected httpClient: HttpClient<O>;
|
|
116
|
+
constructor(httpClient: HttpClient<O>);
|
|
129
117
|
/**
|
|
130
|
-
* HTTP
|
|
131
|
-
* Java method: org.openremote.model.
|
|
118
|
+
* HTTP GET /apps
|
|
119
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
132
120
|
*/
|
|
133
|
-
|
|
121
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
134
122
|
/**
|
|
135
|
-
* HTTP
|
|
136
|
-
* Java method: org.openremote.model.
|
|
123
|
+
* HTTP GET /apps/consoleConfig
|
|
124
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
137
125
|
*/
|
|
138
|
-
|
|
126
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
139
127
|
/**
|
|
140
|
-
* HTTP
|
|
141
|
-
* Java method: org.openremote.model.
|
|
128
|
+
* HTTP GET /apps/info
|
|
129
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
142
130
|
*/
|
|
143
|
-
|
|
144
|
-
assetIds?: string[];
|
|
145
|
-
}, options?: O): RestResponse<void>;
|
|
131
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
146
132
|
}
|
|
147
|
-
export declare class
|
|
133
|
+
export declare class AgentResourceClient<O> {
|
|
148
134
|
protected httpClient: HttpClient<O>;
|
|
149
135
|
constructor(httpClient: HttpClient<O>);
|
|
150
136
|
/**
|
|
151
|
-
* HTTP GET /
|
|
152
|
-
* Java method: org.openremote.model.
|
|
153
|
-
*/
|
|
154
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
155
|
-
/**
|
|
156
|
-
* HTTP PUT /syslog/config
|
|
157
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
137
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
138
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
158
139
|
*/
|
|
159
|
-
|
|
140
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
141
|
+
realm?: string;
|
|
142
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
160
143
|
/**
|
|
161
|
-
* HTTP
|
|
162
|
-
* Java method: org.openremote.model.
|
|
144
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
145
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
163
146
|
*/
|
|
164
|
-
|
|
147
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
148
|
+
realm?: string;
|
|
149
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
165
150
|
/**
|
|
166
|
-
* HTTP GET /
|
|
167
|
-
* Java method: org.openremote.model.
|
|
151
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
152
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
168
153
|
*/
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
from?: number;
|
|
174
|
-
to?: number;
|
|
175
|
-
category?: Model.SyslogCategory[];
|
|
176
|
-
subCategory?: string[];
|
|
177
|
-
}, options?: O): RestResponse<any>;
|
|
154
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
155
|
+
parentId?: string;
|
|
156
|
+
realm?: string;
|
|
157
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
178
158
|
}
|
|
179
159
|
export declare class RulesResourceClient<O> {
|
|
180
160
|
protected httpClient: HttpClient<O>;
|
|
@@ -284,50 +264,141 @@ export declare class RulesResourceClient<O> {
|
|
|
284
264
|
*/
|
|
285
265
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
286
266
|
}
|
|
287
|
-
export declare class
|
|
267
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
288
268
|
protected httpClient: HttpClient<O>;
|
|
289
269
|
constructor(httpClient: HttpClient<O>);
|
|
290
270
|
/**
|
|
291
|
-
* HTTP
|
|
292
|
-
* Java method: org.openremote.model.
|
|
271
|
+
* HTTP POST /gateway/tunnel
|
|
272
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
293
273
|
*/
|
|
294
|
-
|
|
274
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
295
275
|
/**
|
|
296
|
-
* HTTP
|
|
297
|
-
* Java method: org.openremote.model.
|
|
276
|
+
* HTTP DELETE /gateway/tunnel
|
|
277
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
298
278
|
*/
|
|
299
|
-
|
|
279
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
300
280
|
/**
|
|
301
|
-
* HTTP GET /
|
|
302
|
-
* Java method: org.openremote.model.
|
|
281
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
282
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
303
283
|
*/
|
|
304
|
-
|
|
284
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
285
|
+
/**
|
|
286
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
287
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
288
|
+
*/
|
|
289
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
290
|
+
/**
|
|
291
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
292
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
293
|
+
*/
|
|
294
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
305
295
|
}
|
|
306
|
-
export declare class
|
|
296
|
+
export declare class AssetModelResourceClient<O> {
|
|
307
297
|
protected httpClient: HttpClient<O>;
|
|
308
298
|
constructor(httpClient: HttpClient<O>);
|
|
309
299
|
/**
|
|
310
|
-
* HTTP GET /
|
|
311
|
-
* Java method: org.openremote.model.
|
|
300
|
+
* HTTP GET /model/assetDescriptors
|
|
301
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
312
302
|
*/
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
}, options?: O): RestResponse<any>;
|
|
303
|
+
getAssetDescriptors(queryParams?: {
|
|
304
|
+
parentId?: string;
|
|
305
|
+
parentType?: string;
|
|
306
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
318
307
|
/**
|
|
319
|
-
* HTTP GET /
|
|
320
|
-
* Java method: org.openremote.model.
|
|
321
|
-
*/
|
|
322
|
-
|
|
308
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
309
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
310
|
+
*/
|
|
311
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
312
|
+
parentId?: string;
|
|
313
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
314
|
+
/**
|
|
315
|
+
* HTTP GET /model/assetInfos
|
|
316
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
317
|
+
*/
|
|
318
|
+
getAssetInfos(queryParams?: {
|
|
319
|
+
parentId?: string;
|
|
320
|
+
parentType?: string;
|
|
321
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
322
|
+
/**
|
|
323
|
+
* HTTP GET /model/getValueDescriptorSchema
|
|
324
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
|
|
325
|
+
*/
|
|
326
|
+
getValueDescriptorSchema(queryParams?: {
|
|
327
|
+
name?: string;
|
|
328
|
+
hash?: string;
|
|
329
|
+
}, options?: O): RestResponse<any>;
|
|
330
|
+
/**
|
|
331
|
+
* HTTP GET /model/metaItemDescriptors
|
|
332
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
333
|
+
*/
|
|
334
|
+
getMetaItemDescriptors(queryParams?: {
|
|
335
|
+
parentId?: string;
|
|
336
|
+
}, options?: O): RestResponse<{
|
|
337
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
338
|
+
}>;
|
|
339
|
+
/**
|
|
340
|
+
* HTTP GET /model/valueDescriptors
|
|
341
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
342
|
+
*/
|
|
343
|
+
getValueDescriptors(queryParams?: {
|
|
344
|
+
parentId?: string;
|
|
345
|
+
}, options?: O): RestResponse<{
|
|
346
|
+
[index: string]: Model.ValueDescriptor;
|
|
347
|
+
}>;
|
|
348
|
+
}
|
|
349
|
+
export declare class NotificationResourceClient<O> {
|
|
350
|
+
protected httpClient: HttpClient<O>;
|
|
351
|
+
constructor(httpClient: HttpClient<O>);
|
|
352
|
+
/**
|
|
353
|
+
* HTTP GET /notification
|
|
354
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
355
|
+
*/
|
|
356
|
+
getNotifications(queryParams?: {
|
|
357
|
+
id?: number;
|
|
358
|
+
type?: string;
|
|
359
|
+
from?: number;
|
|
360
|
+
to?: number;
|
|
361
|
+
realmId?: string;
|
|
362
|
+
userId?: string;
|
|
323
363
|
assetId?: string;
|
|
324
|
-
|
|
325
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
364
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
326
365
|
/**
|
|
327
|
-
* HTTP
|
|
328
|
-
* Java method: org.openremote.model.
|
|
366
|
+
* HTTP DELETE /notification
|
|
367
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
329
368
|
*/
|
|
330
|
-
|
|
369
|
+
removeNotifications(queryParams?: {
|
|
370
|
+
id?: number;
|
|
371
|
+
type?: string;
|
|
372
|
+
from?: number;
|
|
373
|
+
to?: number;
|
|
374
|
+
realmId?: string;
|
|
375
|
+
userId?: string;
|
|
376
|
+
assetId?: string;
|
|
377
|
+
}, options?: O): RestResponse<void>;
|
|
378
|
+
/**
|
|
379
|
+
* HTTP POST /notification/alert
|
|
380
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
381
|
+
*/
|
|
382
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
383
|
+
/**
|
|
384
|
+
* HTTP DELETE /notification/{notificationId}
|
|
385
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
386
|
+
*/
|
|
387
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
388
|
+
/**
|
|
389
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
390
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
391
|
+
*/
|
|
392
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
393
|
+
targetId?: string;
|
|
394
|
+
}, options?: O): RestResponse<void>;
|
|
395
|
+
/**
|
|
396
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
397
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
398
|
+
*/
|
|
399
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
400
|
+
targetId?: string;
|
|
401
|
+
}, options?: O): RestResponse<void>;
|
|
331
402
|
}
|
|
332
403
|
export declare class ExternalServiceResourceClient<O> {
|
|
333
404
|
protected httpClient: HttpClient<O>;
|
|
@@ -384,171 +455,116 @@ export declare class ExternalServiceResourceClient<O> {
|
|
|
384
455
|
*/
|
|
385
456
|
heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
386
457
|
}
|
|
387
|
-
export declare class
|
|
458
|
+
export declare class AssetResourceClient<O> {
|
|
388
459
|
protected httpClient: HttpClient<O>;
|
|
389
460
|
constructor(httpClient: HttpClient<O>);
|
|
390
461
|
/**
|
|
391
|
-
* HTTP POST /
|
|
392
|
-
* Java method: org.openremote.model.
|
|
462
|
+
* HTTP POST /asset
|
|
463
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
393
464
|
*/
|
|
394
|
-
|
|
465
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
395
466
|
/**
|
|
396
|
-
* HTTP
|
|
397
|
-
* Java method: org.openremote.model.
|
|
467
|
+
* HTTP DELETE /asset
|
|
468
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
398
469
|
*/
|
|
399
|
-
|
|
470
|
+
delete(queryParams?: {
|
|
471
|
+
assetId?: string[];
|
|
472
|
+
}, options?: O): RestResponse<void>;
|
|
400
473
|
/**
|
|
401
|
-
* HTTP
|
|
402
|
-
* Java method: org.openremote.model.
|
|
474
|
+
* HTTP PUT /asset/attributes
|
|
475
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
403
476
|
*/
|
|
404
|
-
|
|
477
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
405
478
|
/**
|
|
406
|
-
* HTTP PUT /
|
|
407
|
-
* Java method: org.openremote.model.
|
|
479
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
480
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
408
481
|
*/
|
|
409
|
-
|
|
410
|
-
}
|
|
411
|
-
export declare class MapResourceClient<O> {
|
|
412
|
-
protected httpClient: HttpClient<O>;
|
|
413
|
-
constructor(httpClient: HttpClient<O>);
|
|
482
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
414
483
|
/**
|
|
415
|
-
* HTTP
|
|
416
|
-
* Java method: org.openremote.model.
|
|
484
|
+
* HTTP DELETE /asset/parent
|
|
485
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
417
486
|
*/
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
}>;
|
|
487
|
+
updateNoneParent(queryParams?: {
|
|
488
|
+
assetIds?: string[];
|
|
489
|
+
}, options?: O): RestResponse<void>;
|
|
421
490
|
/**
|
|
422
|
-
* HTTP
|
|
423
|
-
* Java method: org.openremote.model.
|
|
491
|
+
* HTTP GET /asset/partial/{assetId}
|
|
492
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
424
493
|
*/
|
|
425
|
-
|
|
426
|
-
[id: string]: unknown;
|
|
427
|
-
}>;
|
|
494
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
428
495
|
/**
|
|
429
|
-
* HTTP
|
|
430
|
-
* Java method: org.openremote.model.
|
|
496
|
+
* HTTP POST /asset/query
|
|
497
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
431
498
|
*/
|
|
432
|
-
|
|
433
|
-
[id: string]: unknown;
|
|
434
|
-
}>;
|
|
499
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
435
500
|
/**
|
|
436
|
-
* HTTP
|
|
437
|
-
* Java method: org.openremote.model.
|
|
501
|
+
* HTTP POST /asset/tree
|
|
502
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
438
503
|
*/
|
|
439
|
-
|
|
440
|
-
[id: string]: unknown;
|
|
441
|
-
}>;
|
|
504
|
+
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
442
505
|
/**
|
|
443
|
-
* HTTP GET /
|
|
444
|
-
* Java method: org.openremote.model.
|
|
506
|
+
* HTTP GET /asset/user/current
|
|
507
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
445
508
|
*/
|
|
446
|
-
|
|
447
|
-
[id: string]: unknown;
|
|
448
|
-
}>;
|
|
509
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
449
510
|
/**
|
|
450
|
-
* HTTP
|
|
451
|
-
* Java method: org.openremote.model.
|
|
511
|
+
* HTTP POST /asset/user/link
|
|
512
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
452
513
|
*/
|
|
453
|
-
|
|
514
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
454
515
|
/**
|
|
455
|
-
* HTTP
|
|
456
|
-
* Java method: org.openremote.model.
|
|
516
|
+
* HTTP GET /asset/user/link
|
|
517
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
457
518
|
*/
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
}>;
|
|
463
|
-
}
|
|
464
|
-
export declare class GatewayClientResourceClient<O> {
|
|
465
|
-
protected httpClient: HttpClient<O>;
|
|
466
|
-
constructor(httpClient: HttpClient<O>);
|
|
519
|
+
getUserAssetLinks(queryParams?: {
|
|
520
|
+
realm?: string;
|
|
521
|
+
userId?: string;
|
|
522
|
+
assetId?: string;
|
|
523
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
467
524
|
/**
|
|
468
|
-
* HTTP
|
|
469
|
-
* Java method: org.openremote.model.
|
|
525
|
+
* HTTP POST /asset/user/link/delete
|
|
526
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
470
527
|
*/
|
|
471
|
-
|
|
472
|
-
realm?: string[];
|
|
473
|
-
}, options?: O): RestResponse<void>;
|
|
528
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
474
529
|
/**
|
|
475
|
-
* HTTP
|
|
476
|
-
* Java method: org.openremote.model.
|
|
530
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
531
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
477
532
|
*/
|
|
478
|
-
|
|
533
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
479
534
|
/**
|
|
480
|
-
* HTTP DELETE /
|
|
481
|
-
* Java method: org.openremote.model.
|
|
535
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
536
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
482
537
|
*/
|
|
483
|
-
|
|
538
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
484
539
|
/**
|
|
485
|
-
* HTTP GET /
|
|
486
|
-
* Java method: org.openremote.model.
|
|
540
|
+
* HTTP GET /asset/{assetId}
|
|
541
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
487
542
|
*/
|
|
488
|
-
|
|
543
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
489
544
|
/**
|
|
490
|
-
* HTTP PUT /
|
|
491
|
-
* Java method: org.openremote.model.
|
|
545
|
+
* HTTP PUT /asset/{assetId}
|
|
546
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
492
547
|
*/
|
|
493
|
-
|
|
548
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
494
549
|
/**
|
|
495
|
-
* HTTP
|
|
496
|
-
* Java method: org.openremote.model.
|
|
550
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
551
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
497
552
|
*/
|
|
498
|
-
|
|
499
|
-
}
|
|
500
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
501
|
-
protected httpClient: HttpClient<O>;
|
|
502
|
-
constructor(httpClient: HttpClient<O>);
|
|
553
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
503
554
|
/**
|
|
504
|
-
* HTTP
|
|
505
|
-
* Java method: org.openremote.model.
|
|
555
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
556
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
506
557
|
*/
|
|
507
|
-
|
|
558
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
508
559
|
/**
|
|
509
|
-
* HTTP PUT /asset/
|
|
510
|
-
* Java method: org.openremote.model.
|
|
560
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
561
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
511
562
|
*/
|
|
512
|
-
|
|
563
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
564
|
+
assetIds?: string[];
|
|
565
|
+
}, options?: O): RestResponse<void>;
|
|
513
566
|
}
|
|
514
|
-
export declare class
|
|
515
|
-
protected httpClient: HttpClient<O>;
|
|
516
|
-
constructor(httpClient: HttpClient<O>);
|
|
517
|
-
/**
|
|
518
|
-
* HTTP GET /apps
|
|
519
|
-
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
520
|
-
*/
|
|
521
|
-
getApps(options?: O): RestResponse<string[]>;
|
|
522
|
-
/**
|
|
523
|
-
* HTTP GET /apps/consoleConfig
|
|
524
|
-
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
525
|
-
*/
|
|
526
|
-
getConsoleConfig(options?: O): RestResponse<any>;
|
|
527
|
-
/**
|
|
528
|
-
* HTTP GET /apps/info
|
|
529
|
-
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
530
|
-
*/
|
|
531
|
-
getAppInfos(options?: O): RestResponse<any>;
|
|
532
|
-
}
|
|
533
|
-
export declare class StatusResourceClient<O> {
|
|
534
|
-
protected httpClient: HttpClient<O>;
|
|
535
|
-
constructor(httpClient: HttpClient<O>);
|
|
536
|
-
/**
|
|
537
|
-
* HTTP GET /health
|
|
538
|
-
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
539
|
-
*/
|
|
540
|
-
getHealthStatus(options?: O): RestResponse<{
|
|
541
|
-
[index: string]: any;
|
|
542
|
-
}>;
|
|
543
|
-
/**
|
|
544
|
-
* HTTP GET /info
|
|
545
|
-
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
546
|
-
*/
|
|
547
|
-
getInfo(options?: O): RestResponse<{
|
|
548
|
-
[index: string]: any;
|
|
549
|
-
}>;
|
|
550
|
-
}
|
|
551
|
-
export declare class ConsoleResourceClient<O> {
|
|
567
|
+
export declare class ConsoleResourceClient<O> {
|
|
552
568
|
protected httpClient: HttpClient<O>;
|
|
553
569
|
constructor(httpClient: HttpClient<O>);
|
|
554
570
|
/**
|
|
@@ -557,32 +573,6 @@ export declare class ConsoleResourceClient<O> {
|
|
|
557
573
|
*/
|
|
558
574
|
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
559
575
|
}
|
|
560
|
-
export declare class AgentResourceClient<O> {
|
|
561
|
-
protected httpClient: HttpClient<O>;
|
|
562
|
-
constructor(httpClient: HttpClient<O>);
|
|
563
|
-
/**
|
|
564
|
-
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
565
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
566
|
-
*/
|
|
567
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
568
|
-
realm?: string;
|
|
569
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
570
|
-
/**
|
|
571
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
572
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
573
|
-
*/
|
|
574
|
-
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
575
|
-
realm?: string;
|
|
576
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
577
|
-
/**
|
|
578
|
-
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
579
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
580
|
-
*/
|
|
581
|
-
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
582
|
-
parentId?: string;
|
|
583
|
-
realm?: string;
|
|
584
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
585
|
-
}
|
|
586
576
|
export declare class AlarmResourceClient<O> {
|
|
587
577
|
protected httpClient: HttpClient<O>;
|
|
588
578
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -636,381 +626,391 @@ export declare class AlarmResourceClient<O> {
|
|
|
636
626
|
realm?: string;
|
|
637
627
|
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
638
628
|
}
|
|
639
|
-
export declare class
|
|
629
|
+
export declare class MapResourceClient<O> {
|
|
640
630
|
protected httpClient: HttpClient<O>;
|
|
641
631
|
constructor(httpClient: HttpClient<O>);
|
|
642
632
|
/**
|
|
643
|
-
* HTTP
|
|
644
|
-
* Java method: org.openremote.model.
|
|
633
|
+
* HTTP GET /map
|
|
634
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
645
635
|
*/
|
|
646
|
-
|
|
636
|
+
getSettings(options?: O): RestResponse<{
|
|
637
|
+
[id: string]: unknown;
|
|
638
|
+
}>;
|
|
647
639
|
/**
|
|
648
|
-
* HTTP
|
|
649
|
-
* Java method: org.openremote.model.
|
|
640
|
+
* HTTP PUT /map
|
|
641
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
650
642
|
*/
|
|
651
|
-
|
|
643
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
644
|
+
[id: string]: unknown;
|
|
645
|
+
}>;
|
|
652
646
|
/**
|
|
653
|
-
* HTTP
|
|
654
|
-
* Java method: org.openremote.model.
|
|
647
|
+
* HTTP DELETE /map/deleteMap
|
|
648
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
655
649
|
*/
|
|
656
|
-
|
|
650
|
+
deleteMap(options?: O): RestResponse<{
|
|
651
|
+
[id: string]: unknown;
|
|
652
|
+
}>;
|
|
657
653
|
/**
|
|
658
|
-
* HTTP
|
|
659
|
-
* Java method: org.openremote.model.
|
|
654
|
+
* HTTP GET /map/getCustomMapInfo
|
|
655
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
660
656
|
*/
|
|
661
|
-
|
|
657
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
658
|
+
[id: string]: unknown;
|
|
659
|
+
}>;
|
|
662
660
|
/**
|
|
663
|
-
* HTTP GET /
|
|
664
|
-
* Java method: org.openremote.model.
|
|
661
|
+
* HTTP GET /map/js
|
|
662
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
665
663
|
*/
|
|
666
|
-
|
|
664
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
665
|
+
[id: string]: unknown;
|
|
666
|
+
}>;
|
|
667
667
|
/**
|
|
668
|
-
* HTTP
|
|
669
|
-
* Java method: org.openremote.model.
|
|
668
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
669
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
670
670
|
*/
|
|
671
|
-
|
|
671
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
672
|
+
/**
|
|
673
|
+
* HTTP POST /map/upload
|
|
674
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
675
|
+
*/
|
|
676
|
+
uploadMap(queryParams?: {
|
|
677
|
+
filename?: string;
|
|
678
|
+
}, options?: O): RestResponse<{
|
|
679
|
+
[id: string]: unknown;
|
|
680
|
+
}>;
|
|
672
681
|
}
|
|
673
|
-
export declare class
|
|
682
|
+
export declare class UserResourceClient<O> {
|
|
674
683
|
protected httpClient: HttpClient<O>;
|
|
675
684
|
constructor(httpClient: HttpClient<O>);
|
|
676
685
|
/**
|
|
677
|
-
* HTTP
|
|
678
|
-
* Java method: org.openremote.model.
|
|
686
|
+
* HTTP PUT /user/locale
|
|
687
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
|
|
679
688
|
*/
|
|
680
|
-
|
|
689
|
+
updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
|
|
681
690
|
/**
|
|
682
|
-
* HTTP
|
|
683
|
-
* Java method: org.openremote.model.
|
|
691
|
+
* HTTP POST /user/query
|
|
692
|
+
* Java method: org.openremote.model.security.UserResource.query
|
|
684
693
|
*/
|
|
685
|
-
|
|
694
|
+
query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
|
|
686
695
|
/**
|
|
687
|
-
* HTTP
|
|
688
|
-
* Java method: org.openremote.model.
|
|
696
|
+
* HTTP PUT /user/request-password-reset
|
|
697
|
+
* Java method: org.openremote.model.security.UserResource.requestPasswordResetCurrent
|
|
689
698
|
*/
|
|
690
|
-
|
|
699
|
+
requestPasswordResetCurrent(options?: O): RestResponse<void>;
|
|
691
700
|
/**
|
|
692
|
-
* HTTP
|
|
693
|
-
* Java method: org.openremote.model.
|
|
701
|
+
* HTTP PUT /user/reset-password
|
|
702
|
+
* Java method: org.openremote.model.security.UserResource.updatePasswordCurrent
|
|
694
703
|
*/
|
|
695
|
-
|
|
704
|
+
updatePasswordCurrent(credential: Model.Credential, options?: O): RestResponse<void>;
|
|
696
705
|
/**
|
|
697
|
-
* HTTP
|
|
698
|
-
* Java method: org.openremote.model.
|
|
706
|
+
* HTTP PUT /user/update
|
|
707
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrent
|
|
699
708
|
*/
|
|
700
|
-
|
|
701
|
-
}
|
|
702
|
-
export declare class AssetModelResourceClient<O> {
|
|
703
|
-
protected httpClient: HttpClient<O>;
|
|
704
|
-
constructor(httpClient: HttpClient<O>);
|
|
709
|
+
updateCurrent(user: Model.User, options?: O): RestResponse<Model.User>;
|
|
705
710
|
/**
|
|
706
|
-
* HTTP GET /
|
|
707
|
-
* Java method: org.openremote.model.
|
|
711
|
+
* HTTP GET /user/user
|
|
712
|
+
* Java method: org.openremote.model.security.UserResource.getCurrent
|
|
708
713
|
*/
|
|
709
|
-
|
|
710
|
-
parentId?: string;
|
|
711
|
-
parentType?: string;
|
|
712
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
714
|
+
getCurrent(options?: O): RestResponse<Model.User>;
|
|
713
715
|
/**
|
|
714
|
-
* HTTP GET /
|
|
715
|
-
* Java method: org.openremote.model.
|
|
716
|
+
* HTTP GET /user/userRealmRoles
|
|
717
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
|
|
716
718
|
*/
|
|
717
|
-
|
|
718
|
-
parentId?: string;
|
|
719
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
719
|
+
getCurrentUserRealmRoles(options?: O): RestResponse<string[]>;
|
|
720
720
|
/**
|
|
721
|
-
* HTTP GET /
|
|
722
|
-
* Java method: org.openremote.model.
|
|
721
|
+
* HTTP GET /user/userRoles/{clientId}
|
|
722
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
|
|
723
723
|
*/
|
|
724
|
-
|
|
725
|
-
parentId?: string;
|
|
726
|
-
parentType?: string;
|
|
727
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
724
|
+
getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<string[]>;
|
|
728
725
|
/**
|
|
729
|
-
* HTTP GET /
|
|
730
|
-
* Java method: org.openremote.model.
|
|
726
|
+
* HTTP GET /user/{realm}/disconnect/{sessionID}
|
|
727
|
+
* Java method: org.openremote.model.security.UserResource.disconnectUserSession
|
|
731
728
|
*/
|
|
732
|
-
|
|
733
|
-
name?: string;
|
|
734
|
-
hash?: string;
|
|
735
|
-
}, options?: O): RestResponse<any>;
|
|
729
|
+
disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
|
|
736
730
|
/**
|
|
737
|
-
* HTTP
|
|
738
|
-
* Java method: org.openremote.model.
|
|
731
|
+
* HTTP PUT /user/{realm}/request-password-reset/{userId}
|
|
732
|
+
* Java method: org.openremote.model.security.UserResource.requestPasswordReset
|
|
739
733
|
*/
|
|
740
|
-
|
|
741
|
-
parentId?: string;
|
|
742
|
-
}, options?: O): RestResponse<{
|
|
743
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
744
|
-
}>;
|
|
734
|
+
requestPasswordReset(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
745
735
|
/**
|
|
746
|
-
* HTTP
|
|
747
|
-
* Java method: org.openremote.model.
|
|
736
|
+
* HTTP PUT /user/{realm}/reset-password/{userId}
|
|
737
|
+
* Java method: org.openremote.model.security.UserResource.updatePassword
|
|
748
738
|
*/
|
|
749
|
-
|
|
750
|
-
parentId?: string;
|
|
751
|
-
}, options?: O): RestResponse<{
|
|
752
|
-
[index: string]: Model.ValueDescriptor;
|
|
753
|
-
}>;
|
|
754
|
-
}
|
|
755
|
-
export declare class DashboardResourceClient<O> {
|
|
756
|
-
protected httpClient: HttpClient<O>;
|
|
757
|
-
constructor(httpClient: HttpClient<O>);
|
|
739
|
+
updatePassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
|
|
758
740
|
/**
|
|
759
|
-
* HTTP
|
|
760
|
-
* Java method: org.openremote.model.
|
|
741
|
+
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
742
|
+
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
761
743
|
*/
|
|
762
|
-
|
|
744
|
+
resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
|
|
763
745
|
/**
|
|
764
|
-
* HTTP PUT /
|
|
765
|
-
* Java method: org.openremote.model.
|
|
746
|
+
* HTTP PUT /user/{realm}/roles
|
|
747
|
+
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
766
748
|
*/
|
|
767
|
-
|
|
749
|
+
updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
768
750
|
/**
|
|
769
|
-
* HTTP GET /
|
|
770
|
-
* Java method: org.openremote.model.
|
|
751
|
+
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
752
|
+
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
771
753
|
*/
|
|
772
|
-
|
|
754
|
+
getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<string[]>;
|
|
773
755
|
/**
|
|
774
|
-
* HTTP
|
|
775
|
-
* Java method: org.openremote.model.
|
|
756
|
+
* HTTP PUT /user/{realm}/userRealmRoles/{userId}
|
|
757
|
+
* Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
|
|
776
758
|
*/
|
|
777
|
-
|
|
759
|
+
updateUserRealmRoles(realm: string, userId: string, roles: string[], options?: O): RestResponse<void>;
|
|
778
760
|
/**
|
|
779
|
-
* HTTP
|
|
780
|
-
* Java method: org.openremote.model.
|
|
761
|
+
* HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
|
|
762
|
+
* Java method: org.openremote.model.security.UserResource.getUserClientRoles
|
|
781
763
|
*/
|
|
782
|
-
|
|
764
|
+
getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<string[]>;
|
|
783
765
|
/**
|
|
784
|
-
* HTTP
|
|
785
|
-
* Java method: org.openremote.model.
|
|
766
|
+
* HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
|
|
767
|
+
* Java method: org.openremote.model.security.UserResource.updateUserClientRoles
|
|
786
768
|
*/
|
|
787
|
-
|
|
788
|
-
}
|
|
789
|
-
export declare class NotificationResourceClient<O> {
|
|
790
|
-
protected httpClient: HttpClient<O>;
|
|
791
|
-
constructor(httpClient: HttpClient<O>);
|
|
769
|
+
updateUserClientRoles(realm: string, userId: string, clientId: string, roles: string[], options?: O): RestResponse<void>;
|
|
792
770
|
/**
|
|
793
|
-
* HTTP GET /
|
|
794
|
-
* Java method: org.openremote.model.
|
|
771
|
+
* HTTP GET /user/{realm}/userSessions/{userId}
|
|
772
|
+
* Java method: org.openremote.model.security.UserResource.getUserSessions
|
|
795
773
|
*/
|
|
796
|
-
|
|
797
|
-
id?: number;
|
|
798
|
-
type?: string;
|
|
799
|
-
from?: number;
|
|
800
|
-
to?: number;
|
|
801
|
-
realmId?: string;
|
|
802
|
-
userId?: string;
|
|
803
|
-
assetId?: string;
|
|
804
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
774
|
+
getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
|
|
805
775
|
/**
|
|
806
|
-
* HTTP
|
|
807
|
-
* Java method: org.openremote.model.
|
|
776
|
+
* HTTP POST /user/{realm}/users
|
|
777
|
+
* Java method: org.openremote.model.security.UserResource.create
|
|
808
778
|
*/
|
|
809
|
-
|
|
810
|
-
id?: number;
|
|
811
|
-
type?: string;
|
|
812
|
-
from?: number;
|
|
813
|
-
to?: number;
|
|
814
|
-
realmId?: string;
|
|
815
|
-
userId?: string;
|
|
816
|
-
assetId?: string;
|
|
817
|
-
}, options?: O): RestResponse<void>;
|
|
779
|
+
create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
818
780
|
/**
|
|
819
|
-
* HTTP
|
|
820
|
-
* Java method: org.openremote.model.
|
|
781
|
+
* HTTP PUT /user/{realm}/users
|
|
782
|
+
* Java method: org.openremote.model.security.UserResource.update
|
|
821
783
|
*/
|
|
822
|
-
|
|
784
|
+
update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
823
785
|
/**
|
|
824
|
-
* HTTP DELETE /
|
|
825
|
-
* Java method: org.openremote.model.
|
|
786
|
+
* HTTP DELETE /user/{realm}/users/{userId}
|
|
787
|
+
* Java method: org.openremote.model.security.UserResource.delete
|
|
826
788
|
*/
|
|
827
|
-
|
|
789
|
+
delete(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
828
790
|
/**
|
|
829
|
-
* HTTP
|
|
830
|
-
* Java method: org.openremote.model.
|
|
791
|
+
* HTTP GET /user/{realm}/{clientId}/roles
|
|
792
|
+
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
831
793
|
*/
|
|
832
|
-
|
|
833
|
-
targetId?: string;
|
|
834
|
-
}, options?: O): RestResponse<void>;
|
|
794
|
+
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
835
795
|
/**
|
|
836
|
-
* HTTP PUT /
|
|
837
|
-
* Java method: org.openremote.model.
|
|
796
|
+
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
797
|
+
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
838
798
|
*/
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
799
|
+
updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
800
|
+
/**
|
|
801
|
+
* HTTP GET /user/{realm}/{userId}
|
|
802
|
+
* Java method: org.openremote.model.security.UserResource.get
|
|
803
|
+
*/
|
|
804
|
+
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
842
805
|
}
|
|
843
|
-
export declare class
|
|
806
|
+
export declare class FlowResourceClient<O> {
|
|
844
807
|
protected httpClient: HttpClient<O>;
|
|
845
808
|
constructor(httpClient: HttpClient<O>);
|
|
846
809
|
/**
|
|
847
|
-
* HTTP
|
|
848
|
-
* Java method: org.openremote.model.
|
|
810
|
+
* HTTP GET /flow
|
|
811
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
849
812
|
*/
|
|
850
|
-
|
|
813
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
851
814
|
/**
|
|
852
|
-
* HTTP
|
|
853
|
-
* Java method: org.openremote.model.
|
|
815
|
+
* HTTP GET /flow/{name}
|
|
816
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
854
817
|
*/
|
|
855
|
-
|
|
818
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
856
819
|
/**
|
|
857
|
-
* HTTP
|
|
858
|
-
* Java method: org.openremote.model.
|
|
820
|
+
* HTTP GET /flow/{type}
|
|
821
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
859
822
|
*/
|
|
860
|
-
|
|
823
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
824
|
+
}
|
|
825
|
+
export declare class ConfigurationResourceClient<O> {
|
|
826
|
+
protected httpClient: HttpClient<O>;
|
|
827
|
+
constructor(httpClient: HttpClient<O>);
|
|
861
828
|
/**
|
|
862
|
-
* HTTP
|
|
863
|
-
* Java method: org.openremote.model.
|
|
829
|
+
* HTTP GET /configuration/manager
|
|
830
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
864
831
|
*/
|
|
865
|
-
|
|
832
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
866
833
|
/**
|
|
867
|
-
* HTTP PUT /
|
|
868
|
-
* Java method: org.openremote.model.
|
|
834
|
+
* HTTP PUT /configuration/manager
|
|
835
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
869
836
|
*/
|
|
870
|
-
|
|
837
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
871
838
|
/**
|
|
872
|
-
* HTTP
|
|
873
|
-
* Java method: org.openremote.model.
|
|
839
|
+
* HTTP POST /configuration/manager/file
|
|
840
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
874
841
|
*/
|
|
875
|
-
|
|
842
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
843
|
+
path?: string;
|
|
844
|
+
}, options?: O): RestResponse<string>;
|
|
876
845
|
/**
|
|
877
|
-
* HTTP GET /
|
|
878
|
-
* Java method: org.openremote.model.
|
|
846
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
847
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
879
848
|
*/
|
|
880
|
-
|
|
849
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
850
|
+
}
|
|
851
|
+
export declare class ProvisioningResourceClient<O> {
|
|
852
|
+
protected httpClient: HttpClient<O>;
|
|
853
|
+
constructor(httpClient: HttpClient<O>);
|
|
881
854
|
/**
|
|
882
|
-
* HTTP
|
|
883
|
-
* Java method: org.openremote.model.
|
|
855
|
+
* HTTP POST /provisioning
|
|
856
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
884
857
|
*/
|
|
885
|
-
|
|
858
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
886
859
|
/**
|
|
887
|
-
* HTTP GET /
|
|
888
|
-
* Java method: org.openremote.model.
|
|
860
|
+
* HTTP GET /provisioning
|
|
861
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
889
862
|
*/
|
|
890
|
-
|
|
863
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
891
864
|
/**
|
|
892
|
-
* HTTP
|
|
893
|
-
* Java method: org.openremote.model.
|
|
865
|
+
* HTTP DELETE /provisioning/{id}
|
|
866
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
894
867
|
*/
|
|
895
|
-
|
|
868
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
896
869
|
/**
|
|
897
|
-
* HTTP PUT /
|
|
898
|
-
* Java method: org.openremote.model.
|
|
870
|
+
* HTTP PUT /provisioning/{id}
|
|
871
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
899
872
|
*/
|
|
900
|
-
|
|
873
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
874
|
+
}
|
|
875
|
+
export declare class DashboardResourceClient<O> {
|
|
876
|
+
protected httpClient: HttpClient<O>;
|
|
877
|
+
constructor(httpClient: HttpClient<O>);
|
|
901
878
|
/**
|
|
902
|
-
* HTTP
|
|
903
|
-
* Java method: org.openremote.model.
|
|
879
|
+
* HTTP POST /dashboard
|
|
880
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
904
881
|
*/
|
|
905
|
-
|
|
882
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
906
883
|
/**
|
|
907
|
-
* HTTP PUT /
|
|
908
|
-
* Java method: org.openremote.model.
|
|
884
|
+
* HTTP PUT /dashboard
|
|
885
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
909
886
|
*/
|
|
910
|
-
|
|
887
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
911
888
|
/**
|
|
912
|
-
* HTTP GET /
|
|
913
|
-
* Java method: org.openremote.model.
|
|
889
|
+
* HTTP GET /dashboard/all/{realm}
|
|
890
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
914
891
|
*/
|
|
915
|
-
|
|
892
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
916
893
|
/**
|
|
917
|
-
* HTTP
|
|
918
|
-
* Java method: org.openremote.model.
|
|
894
|
+
* HTTP POST /dashboard/query
|
|
895
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
919
896
|
*/
|
|
920
|
-
|
|
897
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
921
898
|
/**
|
|
922
|
-
* HTTP
|
|
923
|
-
* Java method: org.openremote.model.
|
|
899
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
900
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
924
901
|
*/
|
|
925
|
-
|
|
902
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
926
903
|
/**
|
|
927
|
-
* HTTP
|
|
928
|
-
* Java method: org.openremote.model.
|
|
904
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
905
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
929
906
|
*/
|
|
930
|
-
|
|
907
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
908
|
+
}
|
|
909
|
+
export declare class StatusResourceClient<O> {
|
|
910
|
+
protected httpClient: HttpClient<O>;
|
|
911
|
+
constructor(httpClient: HttpClient<O>);
|
|
931
912
|
/**
|
|
932
|
-
* HTTP GET /
|
|
933
|
-
* Java method: org.openremote.model.
|
|
913
|
+
* HTTP GET /health
|
|
914
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
934
915
|
*/
|
|
935
|
-
|
|
916
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
917
|
+
[index: string]: any;
|
|
918
|
+
}>;
|
|
936
919
|
/**
|
|
937
|
-
* HTTP
|
|
938
|
-
* Java method: org.openremote.model.
|
|
920
|
+
* HTTP GET /info
|
|
921
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
939
922
|
*/
|
|
940
|
-
|
|
923
|
+
getInfo(options?: O): RestResponse<{
|
|
924
|
+
[index: string]: any;
|
|
925
|
+
}>;
|
|
926
|
+
}
|
|
927
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
928
|
+
protected httpClient: HttpClient<O>;
|
|
929
|
+
constructor(httpClient: HttpClient<O>);
|
|
941
930
|
/**
|
|
942
|
-
* HTTP
|
|
943
|
-
* Java method: org.openremote.model.
|
|
931
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
932
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
944
933
|
*/
|
|
945
|
-
|
|
934
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
946
935
|
/**
|
|
947
|
-
* HTTP
|
|
948
|
-
* Java method: org.openremote.model.
|
|
936
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
937
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
949
938
|
*/
|
|
950
|
-
|
|
939
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
940
|
+
}
|
|
941
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
942
|
+
protected httpClient: HttpClient<O>;
|
|
943
|
+
constructor(httpClient: HttpClient<O>);
|
|
951
944
|
/**
|
|
952
|
-
* HTTP GET /
|
|
953
|
-
* Java method: org.openremote.model.
|
|
945
|
+
* HTTP GET /asset/datapoint/export
|
|
946
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
954
947
|
*/
|
|
955
|
-
|
|
948
|
+
getDatapointExport(queryParams?: {
|
|
949
|
+
attributeRefs?: string;
|
|
950
|
+
fromTimestamp?: number;
|
|
951
|
+
toTimestamp?: number;
|
|
952
|
+
}, options?: O): RestResponse<any>;
|
|
956
953
|
/**
|
|
957
|
-
* HTTP
|
|
958
|
-
* Java method: org.openremote.model.
|
|
954
|
+
* HTTP GET /asset/datapoint/periods
|
|
955
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
959
956
|
*/
|
|
960
|
-
|
|
957
|
+
getDatapointPeriod(queryParams?: {
|
|
958
|
+
assetId?: string;
|
|
959
|
+
attributeName?: string;
|
|
960
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
961
961
|
/**
|
|
962
|
-
* HTTP
|
|
963
|
-
* Java method: org.openremote.model.
|
|
962
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
963
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
964
964
|
*/
|
|
965
|
-
|
|
965
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
966
966
|
}
|
|
967
967
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
968
968
|
export declare class ApiClient {
|
|
969
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
970
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
971
969
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
972
|
-
protected
|
|
973
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
974
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
975
|
-
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
976
|
-
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
977
|
-
protected _mapResource: AxiosMapResourceClient;
|
|
970
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
978
971
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
979
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
980
972
|
protected _appResource: AxiosAppResourceClient;
|
|
981
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
982
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
983
973
|
protected _agentResource: AxiosAgentResourceClient;
|
|
984
|
-
protected
|
|
985
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
974
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
986
975
|
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
987
976
|
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
988
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
989
977
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
978
|
+
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
979
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
980
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
981
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
982
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
990
983
|
protected _userResource: AxiosUserResourceClient;
|
|
984
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
985
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
986
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
987
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
988
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
989
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
990
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
991
991
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
992
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
993
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
994
992
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
995
|
-
get
|
|
996
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
997
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
998
|
-
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
999
|
-
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
1000
|
-
get MapResource(): AxiosMapResourceClient;
|
|
993
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
1001
994
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
1002
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1003
995
|
get AppResource(): AxiosAppResourceClient;
|
|
1004
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
1005
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1006
996
|
get AgentResource(): AxiosAgentResourceClient;
|
|
1007
|
-
get
|
|
1008
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
997
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
1009
998
|
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
1010
999
|
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1011
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1012
1000
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1001
|
+
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
1002
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
1003
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1004
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1005
|
+
get MapResource(): AxiosMapResourceClient;
|
|
1013
1006
|
get UserResource(): AxiosUserResourceClient;
|
|
1007
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
1008
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
1009
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
1010
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1011
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
1012
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1013
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
1014
1014
|
}
|
|
1015
1015
|
import * as Axios from "axios";
|
|
1016
1016
|
declare module "axios" {
|
|
@@ -1018,69 +1018,69 @@ declare module "axios" {
|
|
|
1018
1018
|
data: R;
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
|
-
export declare class
|
|
1021
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1022
1022
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1023
1023
|
}
|
|
1024
|
-
export declare class
|
|
1024
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1025
1025
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1026
1026
|
}
|
|
1027
|
-
export declare class
|
|
1027
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1028
1028
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1029
1029
|
}
|
|
1030
|
-
export declare class
|
|
1030
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1031
1031
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1032
1032
|
}
|
|
1033
|
-
export declare class
|
|
1033
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1034
1034
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1035
1035
|
}
|
|
1036
|
-
export declare class
|
|
1036
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1037
1037
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1038
1038
|
}
|
|
1039
|
-
export declare class
|
|
1039
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1040
1040
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1041
1041
|
}
|
|
1042
|
-
export declare class
|
|
1042
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1043
1043
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1044
1044
|
}
|
|
1045
|
-
export declare class
|
|
1045
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1046
1046
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1047
1047
|
}
|
|
1048
|
-
export declare class
|
|
1048
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1049
1049
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1050
1050
|
}
|
|
1051
|
-
export declare class
|
|
1051
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1052
1052
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1053
1053
|
}
|
|
1054
|
-
export declare class
|
|
1054
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1055
1055
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1056
1056
|
}
|
|
1057
|
-
export declare class
|
|
1057
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1058
1058
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1059
1059
|
}
|
|
1060
|
-
export declare class
|
|
1060
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1061
1061
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1062
1062
|
}
|
|
1063
|
-
export declare class
|
|
1063
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1064
1064
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1065
1065
|
}
|
|
1066
|
-
export declare class
|
|
1066
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1067
1067
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1068
1068
|
}
|
|
1069
|
-
export declare class
|
|
1069
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1070
1070
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1071
1071
|
}
|
|
1072
|
-
export declare class
|
|
1072
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1073
1073
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1074
1074
|
}
|
|
1075
|
-
export declare class
|
|
1075
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1076
1076
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1077
1077
|
}
|
|
1078
|
-
export declare class
|
|
1078
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1079
1079
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1080
1080
|
}
|
|
1081
|
-
export declare class
|
|
1081
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1082
1082
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1083
1083
|
}
|
|
1084
|
-
export declare class
|
|
1084
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1085
1085
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1086
1086
|
}
|