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