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