@openremote/rest 1.9.0-snapshot.20250922103504 → 1.9.0-snapshot.20250922144133
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 +545 -545
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +3 -3
package/lib/restclient.d.ts
CHANGED
|
@@ -9,78 +9,6 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class AppResourceClient<O> {
|
|
13
|
-
protected httpClient: HttpClient<O>;
|
|
14
|
-
constructor(httpClient: HttpClient<O>);
|
|
15
|
-
/**
|
|
16
|
-
* HTTP GET /apps
|
|
17
|
-
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
18
|
-
*/
|
|
19
|
-
getApps(options?: O): RestResponse<string[]>;
|
|
20
|
-
/**
|
|
21
|
-
* HTTP GET /apps/consoleConfig
|
|
22
|
-
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
23
|
-
*/
|
|
24
|
-
getConsoleConfig(options?: O): RestResponse<any>;
|
|
25
|
-
/**
|
|
26
|
-
* HTTP GET /apps/info
|
|
27
|
-
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
28
|
-
*/
|
|
29
|
-
getAppInfos(options?: O): RestResponse<any>;
|
|
30
|
-
}
|
|
31
|
-
export declare class MapResourceClient<O> {
|
|
32
|
-
protected httpClient: HttpClient<O>;
|
|
33
|
-
constructor(httpClient: HttpClient<O>);
|
|
34
|
-
/**
|
|
35
|
-
* HTTP GET /map
|
|
36
|
-
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
37
|
-
*/
|
|
38
|
-
getSettings(options?: O): RestResponse<{
|
|
39
|
-
[id: string]: unknown;
|
|
40
|
-
}>;
|
|
41
|
-
/**
|
|
42
|
-
* HTTP PUT /map
|
|
43
|
-
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
44
|
-
*/
|
|
45
|
-
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
46
|
-
[id: string]: unknown;
|
|
47
|
-
}>;
|
|
48
|
-
/**
|
|
49
|
-
* HTTP DELETE /map/deleteMap
|
|
50
|
-
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
51
|
-
*/
|
|
52
|
-
deleteMap(options?: O): RestResponse<{
|
|
53
|
-
[id: string]: unknown;
|
|
54
|
-
}>;
|
|
55
|
-
/**
|
|
56
|
-
* HTTP GET /map/getCustomMapInfo
|
|
57
|
-
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
58
|
-
*/
|
|
59
|
-
getCustomMapInfo(options?: O): RestResponse<{
|
|
60
|
-
[id: string]: unknown;
|
|
61
|
-
}>;
|
|
62
|
-
/**
|
|
63
|
-
* HTTP GET /map/js
|
|
64
|
-
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
65
|
-
*/
|
|
66
|
-
getSettingsJs(options?: O): RestResponse<{
|
|
67
|
-
[id: string]: unknown;
|
|
68
|
-
}>;
|
|
69
|
-
/**
|
|
70
|
-
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
71
|
-
* Java method: org.openremote.model.map.MapResource.getTile
|
|
72
|
-
*/
|
|
73
|
-
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
74
|
-
/**
|
|
75
|
-
* HTTP POST /map/upload
|
|
76
|
-
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
77
|
-
*/
|
|
78
|
-
uploadMap(queryParams?: {
|
|
79
|
-
filename?: string;
|
|
80
|
-
}, options?: O): RestResponse<{
|
|
81
|
-
[id: string]: unknown;
|
|
82
|
-
}>;
|
|
83
|
-
}
|
|
84
12
|
export declare class SyslogResourceClient<O> {
|
|
85
13
|
protected httpClient: HttpClient<O>;
|
|
86
14
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -113,264 +41,121 @@ export declare class SyslogResourceClient<O> {
|
|
|
113
41
|
subCategory?: string[];
|
|
114
42
|
}, options?: O): RestResponse<any>;
|
|
115
43
|
}
|
|
116
|
-
export declare class
|
|
117
|
-
protected httpClient: HttpClient<O>;
|
|
118
|
-
constructor(httpClient: HttpClient<O>);
|
|
119
|
-
/**
|
|
120
|
-
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
121
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
122
|
-
*/
|
|
123
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
124
|
-
realm?: string;
|
|
125
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
126
|
-
/**
|
|
127
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
128
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
129
|
-
*/
|
|
130
|
-
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
131
|
-
realm?: string;
|
|
132
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
133
|
-
/**
|
|
134
|
-
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
135
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
136
|
-
*/
|
|
137
|
-
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
138
|
-
parentId?: string;
|
|
139
|
-
realm?: string;
|
|
140
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
141
|
-
}
|
|
142
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
143
|
-
protected httpClient: HttpClient<O>;
|
|
144
|
-
constructor(httpClient: HttpClient<O>);
|
|
145
|
-
/**
|
|
146
|
-
* HTTP POST /gateway/tunnel
|
|
147
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
148
|
-
*/
|
|
149
|
-
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
150
|
-
/**
|
|
151
|
-
* HTTP DELETE /gateway/tunnel
|
|
152
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
153
|
-
*/
|
|
154
|
-
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
155
|
-
/**
|
|
156
|
-
* HTTP GET /gateway/tunnel/{realm}
|
|
157
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
158
|
-
*/
|
|
159
|
-
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
160
|
-
/**
|
|
161
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
162
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
163
|
-
*/
|
|
164
|
-
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
165
|
-
/**
|
|
166
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
167
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
168
|
-
*/
|
|
169
|
-
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
170
|
-
}
|
|
171
|
-
export declare class FlowResourceClient<O> {
|
|
172
|
-
protected httpClient: HttpClient<O>;
|
|
173
|
-
constructor(httpClient: HttpClient<O>);
|
|
174
|
-
/**
|
|
175
|
-
* HTTP GET /flow
|
|
176
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
177
|
-
*/
|
|
178
|
-
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
179
|
-
/**
|
|
180
|
-
* HTTP GET /flow/{name}
|
|
181
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
182
|
-
*/
|
|
183
|
-
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
184
|
-
/**
|
|
185
|
-
* HTTP GET /flow/{type}
|
|
186
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
187
|
-
*/
|
|
188
|
-
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
189
|
-
}
|
|
190
|
-
export declare class AssetResourceClient<O> {
|
|
44
|
+
export declare class ExternalServiceResourceClient<O> {
|
|
191
45
|
protected httpClient: HttpClient<O>;
|
|
192
46
|
constructor(httpClient: HttpClient<O>);
|
|
193
47
|
/**
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
|
|
197
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
198
|
-
/**
|
|
199
|
-
* HTTP DELETE /asset
|
|
200
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
201
|
-
*/
|
|
202
|
-
delete(queryParams?: {
|
|
203
|
-
assetId?: string[];
|
|
204
|
-
}, options?: O): RestResponse<void>;
|
|
205
|
-
/**
|
|
206
|
-
* HTTP PUT /asset/attributes
|
|
207
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
208
|
-
*/
|
|
209
|
-
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
210
|
-
/**
|
|
211
|
-
* HTTP PUT /asset/attributes/timestamp
|
|
212
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
213
|
-
*/
|
|
214
|
-
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
215
|
-
/**
|
|
216
|
-
* HTTP DELETE /asset/parent
|
|
217
|
-
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
218
|
-
*/
|
|
219
|
-
updateNoneParent(queryParams?: {
|
|
220
|
-
assetIds?: string[];
|
|
221
|
-
}, options?: O): RestResponse<void>;
|
|
222
|
-
/**
|
|
223
|
-
* HTTP GET /asset/partial/{assetId}
|
|
224
|
-
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
225
|
-
*/
|
|
226
|
-
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
227
|
-
/**
|
|
228
|
-
* HTTP POST /asset/query
|
|
229
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
230
|
-
*/
|
|
231
|
-
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
232
|
-
/**
|
|
233
|
-
* HTTP GET /asset/user/current
|
|
234
|
-
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
235
|
-
*/
|
|
236
|
-
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
237
|
-
/**
|
|
238
|
-
* HTTP POST /asset/user/link
|
|
239
|
-
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
240
|
-
*/
|
|
241
|
-
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
242
|
-
/**
|
|
243
|
-
* HTTP GET /asset/user/link
|
|
244
|
-
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
48
|
+
* Response code 200 - List of registered external services
|
|
49
|
+
* HTTP GET /service
|
|
50
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
245
51
|
*/
|
|
246
|
-
|
|
52
|
+
getServices(queryParams?: {
|
|
247
53
|
realm?: string;
|
|
248
|
-
|
|
249
|
-
assetId?: string;
|
|
250
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
251
|
-
/**
|
|
252
|
-
* HTTP POST /asset/user/link/delete
|
|
253
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
254
|
-
*/
|
|
255
|
-
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
256
|
-
/**
|
|
257
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
258
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
259
|
-
*/
|
|
260
|
-
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
54
|
+
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
261
55
|
/**
|
|
262
|
-
*
|
|
263
|
-
*
|
|
56
|
+
* Response code 200 - Service registered successfully
|
|
57
|
+
* Response code 400 - Invalid external service object
|
|
58
|
+
* Response code 409 - ExternalService instance already registered
|
|
59
|
+
* HTTP POST /service
|
|
60
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
264
61
|
*/
|
|
265
|
-
|
|
62
|
+
registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
266
63
|
/**
|
|
267
|
-
*
|
|
268
|
-
*
|
|
64
|
+
* Response code 200 - List of registered external services
|
|
65
|
+
* HTTP GET /service/global
|
|
66
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
269
67
|
*/
|
|
270
|
-
|
|
68
|
+
getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
|
|
271
69
|
/**
|
|
272
|
-
*
|
|
273
|
-
*
|
|
70
|
+
* Response code 200 - Service registered successfully
|
|
71
|
+
* Response code 400 - Invalid external service object
|
|
72
|
+
* Response code 409 - ExternalService instance already registered
|
|
73
|
+
* HTTP POST /service/global
|
|
74
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
274
75
|
*/
|
|
275
|
-
|
|
76
|
+
registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
276
77
|
/**
|
|
277
|
-
*
|
|
278
|
-
*
|
|
78
|
+
* Response code 204 - Service deregistered successfully
|
|
79
|
+
* Response code 404 - Service instance not found
|
|
80
|
+
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
81
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
279
82
|
*/
|
|
280
|
-
|
|
83
|
+
deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
281
84
|
/**
|
|
282
|
-
*
|
|
283
|
-
*
|
|
85
|
+
* Response code 200 - ExternalService retrieved successfully
|
|
86
|
+
* Response code 404 - ExternalService not found
|
|
87
|
+
* HTTP GET /service/{serviceId}/{instanceId}
|
|
88
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
284
89
|
*/
|
|
285
|
-
|
|
90
|
+
getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
|
|
286
91
|
/**
|
|
287
|
-
*
|
|
288
|
-
*
|
|
92
|
+
* Response code 204 - Heartbeat sent successfully
|
|
93
|
+
* Response code 404 - Service instance not found
|
|
94
|
+
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
95
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
289
96
|
*/
|
|
290
|
-
|
|
291
|
-
assetIds?: string[];
|
|
292
|
-
}, options?: O): RestResponse<void>;
|
|
97
|
+
heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
293
98
|
}
|
|
294
|
-
export declare class
|
|
99
|
+
export declare class ConfigurationResourceClient<O> {
|
|
295
100
|
protected httpClient: HttpClient<O>;
|
|
296
101
|
constructor(httpClient: HttpClient<O>);
|
|
297
102
|
/**
|
|
298
|
-
* HTTP
|
|
299
|
-
* Java method: org.openremote.model.
|
|
300
|
-
*/
|
|
301
|
-
deleteConnections(queryParams?: {
|
|
302
|
-
realm?: string[];
|
|
303
|
-
}, options?: O): RestResponse<void>;
|
|
304
|
-
/**
|
|
305
|
-
* HTTP GET /gateway/connection
|
|
306
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
307
|
-
*/
|
|
308
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
309
|
-
/**
|
|
310
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
311
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
103
|
+
* HTTP GET /configuration/manager
|
|
104
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
312
105
|
*/
|
|
313
|
-
|
|
106
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
314
107
|
/**
|
|
315
|
-
* HTTP
|
|
316
|
-
* Java method: org.openremote.model.
|
|
108
|
+
* HTTP PUT /configuration/manager
|
|
109
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
317
110
|
*/
|
|
318
|
-
|
|
111
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
319
112
|
/**
|
|
320
|
-
* HTTP
|
|
321
|
-
* Java method: org.openremote.model.
|
|
113
|
+
* HTTP POST /configuration/manager/file
|
|
114
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
322
115
|
*/
|
|
323
|
-
|
|
116
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
117
|
+
path?: string;
|
|
118
|
+
}, options?: O): RestResponse<string>;
|
|
324
119
|
/**
|
|
325
|
-
* HTTP GET /
|
|
326
|
-
* Java method: org.openremote.model.
|
|
120
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
121
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
327
122
|
*/
|
|
328
|
-
|
|
123
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
329
124
|
}
|
|
330
|
-
export declare class
|
|
125
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
331
126
|
protected httpClient: HttpClient<O>;
|
|
332
127
|
constructor(httpClient: HttpClient<O>);
|
|
333
128
|
/**
|
|
334
|
-
* HTTP GET /
|
|
335
|
-
* Java method: org.openremote.model.
|
|
336
|
-
*/
|
|
337
|
-
getAssetDescriptors(queryParams?: {
|
|
338
|
-
parentId?: string;
|
|
339
|
-
parentType?: string;
|
|
340
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
341
|
-
/**
|
|
342
|
-
* HTTP GET /model/assetInfo/{assetType}
|
|
343
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
129
|
+
* HTTP GET /asset/datapoint/export
|
|
130
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
344
131
|
*/
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
132
|
+
getDatapointExport(queryParams?: {
|
|
133
|
+
attributeRefs?: string;
|
|
134
|
+
fromTimestamp?: number;
|
|
135
|
+
toTimestamp?: number;
|
|
136
|
+
}, options?: O): RestResponse<any>;
|
|
348
137
|
/**
|
|
349
|
-
* HTTP GET /
|
|
350
|
-
* Java method: org.openremote.model.
|
|
138
|
+
* HTTP GET /asset/datapoint/periods
|
|
139
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
351
140
|
*/
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
}, options?: O): RestResponse<Model.
|
|
141
|
+
getDatapointPeriod(queryParams?: {
|
|
142
|
+
assetId?: string;
|
|
143
|
+
attributeName?: string;
|
|
144
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
356
145
|
/**
|
|
357
|
-
* HTTP
|
|
358
|
-
* Java method: org.openremote.model.
|
|
146
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
147
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
359
148
|
*/
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
149
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
150
|
+
}
|
|
151
|
+
export declare class ConsoleResourceClient<O> {
|
|
152
|
+
protected httpClient: HttpClient<O>;
|
|
153
|
+
constructor(httpClient: HttpClient<O>);
|
|
365
154
|
/**
|
|
366
|
-
* HTTP
|
|
367
|
-
* Java method: org.openremote.model.
|
|
155
|
+
* HTTP POST /console/register
|
|
156
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
368
157
|
*/
|
|
369
|
-
|
|
370
|
-
parentId?: string;
|
|
371
|
-
}, options?: O): RestResponse<{
|
|
372
|
-
[index: string]: Model.ValueDescriptor;
|
|
373
|
-
}>;
|
|
158
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
374
159
|
}
|
|
375
160
|
export declare class UserResourceClient<O> {
|
|
376
161
|
protected httpClient: HttpClient<O>;
|
|
@@ -496,6 +281,163 @@ export declare class UserResourceClient<O> {
|
|
|
496
281
|
*/
|
|
497
282
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
498
283
|
}
|
|
284
|
+
export declare class AssetResourceClient<O> {
|
|
285
|
+
protected httpClient: HttpClient<O>;
|
|
286
|
+
constructor(httpClient: HttpClient<O>);
|
|
287
|
+
/**
|
|
288
|
+
* HTTP POST /asset
|
|
289
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
290
|
+
*/
|
|
291
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
292
|
+
/**
|
|
293
|
+
* HTTP DELETE /asset
|
|
294
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
295
|
+
*/
|
|
296
|
+
delete(queryParams?: {
|
|
297
|
+
assetId?: string[];
|
|
298
|
+
}, options?: O): RestResponse<void>;
|
|
299
|
+
/**
|
|
300
|
+
* HTTP PUT /asset/attributes
|
|
301
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
302
|
+
*/
|
|
303
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
304
|
+
/**
|
|
305
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
306
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
307
|
+
*/
|
|
308
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
309
|
+
/**
|
|
310
|
+
* HTTP DELETE /asset/parent
|
|
311
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
312
|
+
*/
|
|
313
|
+
updateNoneParent(queryParams?: {
|
|
314
|
+
assetIds?: string[];
|
|
315
|
+
}, options?: O): RestResponse<void>;
|
|
316
|
+
/**
|
|
317
|
+
* HTTP GET /asset/partial/{assetId}
|
|
318
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
319
|
+
*/
|
|
320
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
321
|
+
/**
|
|
322
|
+
* HTTP POST /asset/query
|
|
323
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
324
|
+
*/
|
|
325
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
326
|
+
/**
|
|
327
|
+
* HTTP GET /asset/user/current
|
|
328
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
329
|
+
*/
|
|
330
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
331
|
+
/**
|
|
332
|
+
* HTTP POST /asset/user/link
|
|
333
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
334
|
+
*/
|
|
335
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
336
|
+
/**
|
|
337
|
+
* HTTP GET /asset/user/link
|
|
338
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
339
|
+
*/
|
|
340
|
+
getUserAssetLinks(queryParams?: {
|
|
341
|
+
realm?: string;
|
|
342
|
+
userId?: string;
|
|
343
|
+
assetId?: string;
|
|
344
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
345
|
+
/**
|
|
346
|
+
* HTTP POST /asset/user/link/delete
|
|
347
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
348
|
+
*/
|
|
349
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
350
|
+
/**
|
|
351
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
352
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
353
|
+
*/
|
|
354
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
355
|
+
/**
|
|
356
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
357
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
358
|
+
*/
|
|
359
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
360
|
+
/**
|
|
361
|
+
* HTTP GET /asset/{assetId}
|
|
362
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
363
|
+
*/
|
|
364
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
365
|
+
/**
|
|
366
|
+
* HTTP PUT /asset/{assetId}
|
|
367
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
368
|
+
*/
|
|
369
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
370
|
+
/**
|
|
371
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
372
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
373
|
+
*/
|
|
374
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
375
|
+
/**
|
|
376
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
377
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
378
|
+
*/
|
|
379
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
380
|
+
/**
|
|
381
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
382
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
383
|
+
*/
|
|
384
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
385
|
+
assetIds?: string[];
|
|
386
|
+
}, options?: O): RestResponse<void>;
|
|
387
|
+
}
|
|
388
|
+
export declare class AlarmResourceClient<O> {
|
|
389
|
+
protected httpClient: HttpClient<O>;
|
|
390
|
+
constructor(httpClient: HttpClient<O>);
|
|
391
|
+
/**
|
|
392
|
+
* HTTP POST /alarm
|
|
393
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
394
|
+
*/
|
|
395
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
396
|
+
assetIds?: string[];
|
|
397
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
398
|
+
/**
|
|
399
|
+
* HTTP GET /alarm
|
|
400
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
401
|
+
*/
|
|
402
|
+
getAlarms(queryParams?: {
|
|
403
|
+
realm?: string;
|
|
404
|
+
status?: Model.AlarmStatus;
|
|
405
|
+
assetId?: string;
|
|
406
|
+
assigneeId?: string;
|
|
407
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
408
|
+
/**
|
|
409
|
+
* HTTP DELETE /alarm
|
|
410
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
411
|
+
*/
|
|
412
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
413
|
+
/**
|
|
414
|
+
* HTTP PUT /alarm/assets
|
|
415
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
416
|
+
*/
|
|
417
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
418
|
+
/**
|
|
419
|
+
* HTTP GET /alarm/{alarmId}
|
|
420
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
421
|
+
*/
|
|
422
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
423
|
+
/**
|
|
424
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
425
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
426
|
+
*/
|
|
427
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
428
|
+
/**
|
|
429
|
+
* HTTP PUT /alarm/{alarmId}
|
|
430
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
431
|
+
*/
|
|
432
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
433
|
+
/**
|
|
434
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
435
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
436
|
+
*/
|
|
437
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
438
|
+
realm?: string;
|
|
439
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
440
|
+
}
|
|
499
441
|
export declare class ProvisioningResourceClient<O> {
|
|
500
442
|
protected httpClient: HttpClient<O>;
|
|
501
443
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -520,85 +462,53 @@ export declare class ProvisioningResourceClient<O> {
|
|
|
520
462
|
*/
|
|
521
463
|
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
522
464
|
}
|
|
523
|
-
export declare class
|
|
465
|
+
export declare class AppResourceClient<O> {
|
|
524
466
|
protected httpClient: HttpClient<O>;
|
|
525
467
|
constructor(httpClient: HttpClient<O>);
|
|
526
468
|
/**
|
|
527
|
-
* HTTP GET /
|
|
528
|
-
* Java method: org.openremote.model.
|
|
529
|
-
*/
|
|
530
|
-
getNotifications(queryParams?: {
|
|
531
|
-
id?: number;
|
|
532
|
-
type?: string;
|
|
533
|
-
from?: number;
|
|
534
|
-
to?: number;
|
|
535
|
-
realmId?: string;
|
|
536
|
-
userId?: string;
|
|
537
|
-
assetId?: string;
|
|
538
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
539
|
-
/**
|
|
540
|
-
* HTTP DELETE /notification
|
|
541
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
542
|
-
*/
|
|
543
|
-
removeNotifications(queryParams?: {
|
|
544
|
-
id?: number;
|
|
545
|
-
type?: string;
|
|
546
|
-
from?: number;
|
|
547
|
-
to?: number;
|
|
548
|
-
realmId?: string;
|
|
549
|
-
userId?: string;
|
|
550
|
-
assetId?: string;
|
|
551
|
-
}, options?: O): RestResponse<void>;
|
|
552
|
-
/**
|
|
553
|
-
* HTTP POST /notification/alert
|
|
554
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
555
|
-
*/
|
|
556
|
-
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
557
|
-
/**
|
|
558
|
-
* HTTP DELETE /notification/{notificationId}
|
|
559
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
469
|
+
* HTTP GET /apps
|
|
470
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
560
471
|
*/
|
|
561
|
-
|
|
472
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
562
473
|
/**
|
|
563
|
-
* HTTP
|
|
564
|
-
* Java method: org.openremote.model.
|
|
474
|
+
* HTTP GET /apps/consoleConfig
|
|
475
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
565
476
|
*/
|
|
566
|
-
|
|
567
|
-
targetId?: string;
|
|
568
|
-
}, options?: O): RestResponse<void>;
|
|
477
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
569
478
|
/**
|
|
570
|
-
* HTTP
|
|
571
|
-
* Java method: org.openremote.model.
|
|
572
|
-
*/
|
|
573
|
-
|
|
574
|
-
targetId?: string;
|
|
575
|
-
}, options?: O): RestResponse<void>;
|
|
479
|
+
* HTTP GET /apps/info
|
|
480
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
481
|
+
*/
|
|
482
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
576
483
|
}
|
|
577
|
-
export declare class
|
|
484
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
578
485
|
protected httpClient: HttpClient<O>;
|
|
579
486
|
constructor(httpClient: HttpClient<O>);
|
|
580
487
|
/**
|
|
581
|
-
* HTTP
|
|
582
|
-
* Java method: org.openremote.model.
|
|
488
|
+
* HTTP POST /gateway/tunnel
|
|
489
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
583
490
|
*/
|
|
584
|
-
|
|
585
|
-
attributeRefs?: string;
|
|
586
|
-
fromTimestamp?: number;
|
|
587
|
-
toTimestamp?: number;
|
|
588
|
-
}, options?: O): RestResponse<any>;
|
|
491
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
589
492
|
/**
|
|
590
|
-
* HTTP
|
|
591
|
-
* Java method: org.openremote.model.
|
|
493
|
+
* HTTP DELETE /gateway/tunnel
|
|
494
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
592
495
|
*/
|
|
593
|
-
|
|
594
|
-
assetId?: string;
|
|
595
|
-
attributeName?: string;
|
|
596
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
496
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
597
497
|
/**
|
|
598
|
-
* HTTP
|
|
599
|
-
* Java method: org.openremote.model.
|
|
498
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
499
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
600
500
|
*/
|
|
601
|
-
|
|
501
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
502
|
+
/**
|
|
503
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
504
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
505
|
+
*/
|
|
506
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
507
|
+
/**
|
|
508
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
509
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
510
|
+
*/
|
|
511
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
602
512
|
}
|
|
603
513
|
export declare class StatusResourceClient<O> {
|
|
604
514
|
protected httpClient: HttpClient<O>;
|
|
@@ -618,45 +528,67 @@ export declare class StatusResourceClient<O> {
|
|
|
618
528
|
[index: string]: any;
|
|
619
529
|
}>;
|
|
620
530
|
}
|
|
621
|
-
export declare class
|
|
531
|
+
export declare class AgentResourceClient<O> {
|
|
622
532
|
protected httpClient: HttpClient<O>;
|
|
623
533
|
constructor(httpClient: HttpClient<O>);
|
|
624
534
|
/**
|
|
625
|
-
* HTTP
|
|
626
|
-
* Java method: org.openremote.model.
|
|
535
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
536
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
627
537
|
*/
|
|
628
|
-
|
|
538
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
539
|
+
realm?: string;
|
|
540
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
629
541
|
/**
|
|
630
|
-
* HTTP
|
|
631
|
-
* Java method: org.openremote.model.
|
|
542
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
543
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
632
544
|
*/
|
|
633
|
-
|
|
545
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
546
|
+
realm?: string;
|
|
547
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
548
|
+
/**
|
|
549
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
550
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
551
|
+
*/
|
|
552
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
553
|
+
parentId?: string;
|
|
554
|
+
realm?: string;
|
|
555
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
634
556
|
}
|
|
635
|
-
export declare class
|
|
557
|
+
export declare class GatewayClientResourceClient<O> {
|
|
636
558
|
protected httpClient: HttpClient<O>;
|
|
637
559
|
constructor(httpClient: HttpClient<O>);
|
|
638
560
|
/**
|
|
639
|
-
* HTTP
|
|
640
|
-
* Java method: org.openremote.model.
|
|
561
|
+
* HTTP DELETE /gateway/connection
|
|
562
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
641
563
|
*/
|
|
642
|
-
|
|
564
|
+
deleteConnections(queryParams?: {
|
|
565
|
+
realm?: string[];
|
|
566
|
+
}, options?: O): RestResponse<void>;
|
|
643
567
|
/**
|
|
644
|
-
* HTTP
|
|
645
|
-
* Java method: org.openremote.model.
|
|
568
|
+
* HTTP GET /gateway/connection
|
|
569
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
646
570
|
*/
|
|
647
|
-
|
|
571
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
648
572
|
/**
|
|
649
|
-
* HTTP
|
|
650
|
-
* Java method: org.openremote.model.
|
|
573
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
574
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
651
575
|
*/
|
|
652
|
-
|
|
653
|
-
path?: string;
|
|
654
|
-
}, options?: O): RestResponse<string>;
|
|
576
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
655
577
|
/**
|
|
656
|
-
* HTTP GET /
|
|
657
|
-
* Java method: org.openremote.model.
|
|
578
|
+
* HTTP GET /gateway/connection/{realm}
|
|
579
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
658
580
|
*/
|
|
659
|
-
|
|
581
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
582
|
+
/**
|
|
583
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
584
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
585
|
+
*/
|
|
586
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
587
|
+
/**
|
|
588
|
+
* HTTP GET /gateway/status/{realm}
|
|
589
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
590
|
+
*/
|
|
591
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
660
592
|
}
|
|
661
593
|
export declare class RulesResourceClient<O> {
|
|
662
594
|
protected httpClient: HttpClient<O>;
|
|
@@ -766,238 +698,306 @@ export declare class RulesResourceClient<O> {
|
|
|
766
698
|
*/
|
|
767
699
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
768
700
|
}
|
|
769
|
-
export declare class
|
|
701
|
+
export declare class FlowResourceClient<O> {
|
|
770
702
|
protected httpClient: HttpClient<O>;
|
|
771
703
|
constructor(httpClient: HttpClient<O>);
|
|
772
704
|
/**
|
|
773
|
-
* HTTP
|
|
774
|
-
* Java method: org.openremote.model.
|
|
705
|
+
* HTTP GET /flow
|
|
706
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
775
707
|
*/
|
|
776
|
-
|
|
708
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
709
|
+
/**
|
|
710
|
+
* HTTP GET /flow/{name}
|
|
711
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
712
|
+
*/
|
|
713
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
714
|
+
/**
|
|
715
|
+
* HTTP GET /flow/{type}
|
|
716
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
717
|
+
*/
|
|
718
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
777
719
|
}
|
|
778
|
-
export declare class
|
|
720
|
+
export declare class NotificationResourceClient<O> {
|
|
779
721
|
protected httpClient: HttpClient<O>;
|
|
780
722
|
constructor(httpClient: HttpClient<O>);
|
|
781
723
|
/**
|
|
782
|
-
* HTTP
|
|
783
|
-
* Java method: org.openremote.model.
|
|
724
|
+
* HTTP GET /notification
|
|
725
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
784
726
|
*/
|
|
785
|
-
|
|
727
|
+
getNotifications(queryParams?: {
|
|
728
|
+
id?: number;
|
|
729
|
+
type?: string;
|
|
730
|
+
from?: number;
|
|
731
|
+
to?: number;
|
|
732
|
+
realmId?: string;
|
|
733
|
+
userId?: string;
|
|
734
|
+
assetId?: string;
|
|
735
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
786
736
|
/**
|
|
787
|
-
* HTTP
|
|
788
|
-
* Java method: org.openremote.model.
|
|
737
|
+
* HTTP DELETE /notification
|
|
738
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
789
739
|
*/
|
|
790
|
-
|
|
740
|
+
removeNotifications(queryParams?: {
|
|
741
|
+
id?: number;
|
|
742
|
+
type?: string;
|
|
743
|
+
from?: number;
|
|
744
|
+
to?: number;
|
|
745
|
+
realmId?: string;
|
|
746
|
+
userId?: string;
|
|
747
|
+
assetId?: string;
|
|
748
|
+
}, options?: O): RestResponse<void>;
|
|
791
749
|
/**
|
|
792
|
-
* HTTP
|
|
793
|
-
* Java method: org.openremote.model.
|
|
750
|
+
* HTTP POST /notification/alert
|
|
751
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
794
752
|
*/
|
|
795
|
-
|
|
753
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
796
754
|
/**
|
|
797
|
-
* HTTP DELETE /
|
|
798
|
-
* Java method: org.openremote.model.
|
|
755
|
+
* HTTP DELETE /notification/{notificationId}
|
|
756
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
799
757
|
*/
|
|
800
|
-
|
|
758
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
801
759
|
/**
|
|
802
|
-
* HTTP
|
|
803
|
-
* Java method: org.openremote.model.
|
|
760
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
761
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
804
762
|
*/
|
|
805
|
-
|
|
763
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
764
|
+
targetId?: string;
|
|
765
|
+
}, options?: O): RestResponse<void>;
|
|
806
766
|
/**
|
|
807
|
-
* HTTP PUT /
|
|
808
|
-
* Java method: org.openremote.model.
|
|
767
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
768
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
809
769
|
*/
|
|
810
|
-
|
|
770
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
771
|
+
targetId?: string;
|
|
772
|
+
}, options?: O): RestResponse<void>;
|
|
811
773
|
}
|
|
812
|
-
export declare class
|
|
774
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
813
775
|
protected httpClient: HttpClient<O>;
|
|
814
776
|
constructor(httpClient: HttpClient<O>);
|
|
815
777
|
/**
|
|
816
|
-
* HTTP POST /
|
|
817
|
-
* Java method: org.openremote.model.
|
|
778
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
779
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
818
780
|
*/
|
|
819
|
-
|
|
820
|
-
assetIds?: string[];
|
|
821
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
781
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
822
782
|
/**
|
|
823
|
-
* HTTP
|
|
824
|
-
* Java method: org.openremote.model.
|
|
783
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
784
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
825
785
|
*/
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
786
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
787
|
+
}
|
|
788
|
+
export declare class DashboardResourceClient<O> {
|
|
789
|
+
protected httpClient: HttpClient<O>;
|
|
790
|
+
constructor(httpClient: HttpClient<O>);
|
|
832
791
|
/**
|
|
833
|
-
* HTTP
|
|
834
|
-
* Java method: org.openremote.model.
|
|
792
|
+
* HTTP POST /dashboard
|
|
793
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
835
794
|
*/
|
|
836
|
-
|
|
795
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
837
796
|
/**
|
|
838
|
-
* HTTP PUT /
|
|
839
|
-
* Java method: org.openremote.model.
|
|
797
|
+
* HTTP PUT /dashboard
|
|
798
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
840
799
|
*/
|
|
841
|
-
|
|
800
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
842
801
|
/**
|
|
843
|
-
* HTTP GET /
|
|
844
|
-
* Java method: org.openremote.model.
|
|
802
|
+
* HTTP GET /dashboard/all/{realm}
|
|
803
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
845
804
|
*/
|
|
846
|
-
|
|
805
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
806
|
+
/**
|
|
807
|
+
* HTTP POST /dashboard/query
|
|
808
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
809
|
+
*/
|
|
810
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
811
|
+
/**
|
|
812
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
813
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
814
|
+
*/
|
|
815
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
816
|
+
/**
|
|
817
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
818
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
819
|
+
*/
|
|
820
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
821
|
+
}
|
|
822
|
+
export declare class AssetModelResourceClient<O> {
|
|
823
|
+
protected httpClient: HttpClient<O>;
|
|
824
|
+
constructor(httpClient: HttpClient<O>);
|
|
825
|
+
/**
|
|
826
|
+
* HTTP GET /model/assetDescriptors
|
|
827
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
828
|
+
*/
|
|
829
|
+
getAssetDescriptors(queryParams?: {
|
|
830
|
+
parentId?: string;
|
|
831
|
+
parentType?: string;
|
|
832
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
833
|
+
/**
|
|
834
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
835
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
836
|
+
*/
|
|
837
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
838
|
+
parentId?: string;
|
|
839
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
847
840
|
/**
|
|
848
|
-
* HTTP
|
|
849
|
-
* Java method: org.openremote.model.
|
|
841
|
+
* HTTP GET /model/assetInfos
|
|
842
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
850
843
|
*/
|
|
851
|
-
|
|
844
|
+
getAssetInfos(queryParams?: {
|
|
845
|
+
parentId?: string;
|
|
846
|
+
parentType?: string;
|
|
847
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
852
848
|
/**
|
|
853
|
-
* HTTP
|
|
854
|
-
* Java method: org.openremote.model.
|
|
849
|
+
* HTTP GET /model/metaItemDescriptors
|
|
850
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
855
851
|
*/
|
|
856
|
-
|
|
852
|
+
getMetaItemDescriptors(queryParams?: {
|
|
853
|
+
parentId?: string;
|
|
854
|
+
}, options?: O): RestResponse<{
|
|
855
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
856
|
+
}>;
|
|
857
857
|
/**
|
|
858
|
-
* HTTP GET /
|
|
859
|
-
* Java method: org.openremote.model.
|
|
858
|
+
* HTTP GET /model/valueDescriptors
|
|
859
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
860
860
|
*/
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
}, options?: O): RestResponse<
|
|
861
|
+
getValueDescriptors(queryParams?: {
|
|
862
|
+
parentId?: string;
|
|
863
|
+
}, options?: O): RestResponse<{
|
|
864
|
+
[index: string]: Model.ValueDescriptor;
|
|
865
|
+
}>;
|
|
864
866
|
}
|
|
865
|
-
export declare class
|
|
867
|
+
export declare class MapResourceClient<O> {
|
|
866
868
|
protected httpClient: HttpClient<O>;
|
|
867
869
|
constructor(httpClient: HttpClient<O>);
|
|
868
870
|
/**
|
|
869
|
-
* HTTP
|
|
870
|
-
* Java method: org.openremote.model.
|
|
871
|
+
* HTTP GET /map
|
|
872
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
871
873
|
*/
|
|
872
|
-
|
|
874
|
+
getSettings(options?: O): RestResponse<{
|
|
875
|
+
[id: string]: unknown;
|
|
876
|
+
}>;
|
|
873
877
|
/**
|
|
874
|
-
* HTTP PUT /
|
|
875
|
-
* Java method: org.openremote.model.
|
|
878
|
+
* HTTP PUT /map
|
|
879
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
876
880
|
*/
|
|
877
|
-
|
|
881
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
882
|
+
[id: string]: unknown;
|
|
883
|
+
}>;
|
|
878
884
|
/**
|
|
879
|
-
* HTTP
|
|
880
|
-
* Java method: org.openremote.model.
|
|
885
|
+
* HTTP DELETE /map/deleteMap
|
|
886
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
881
887
|
*/
|
|
882
|
-
|
|
888
|
+
deleteMap(options?: O): RestResponse<{
|
|
889
|
+
[id: string]: unknown;
|
|
890
|
+
}>;
|
|
883
891
|
/**
|
|
884
|
-
* HTTP
|
|
885
|
-
* Java method: org.openremote.model.
|
|
892
|
+
* HTTP GET /map/getCustomMapInfo
|
|
893
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
886
894
|
*/
|
|
887
|
-
|
|
895
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
896
|
+
[id: string]: unknown;
|
|
897
|
+
}>;
|
|
888
898
|
/**
|
|
889
|
-
* HTTP
|
|
890
|
-
* Java method: org.openremote.model.
|
|
899
|
+
* HTTP GET /map/js
|
|
900
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
891
901
|
*/
|
|
892
|
-
|
|
902
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
903
|
+
[id: string]: unknown;
|
|
904
|
+
}>;
|
|
893
905
|
/**
|
|
894
|
-
* HTTP GET /
|
|
895
|
-
* Java method: org.openremote.model.
|
|
906
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
907
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
896
908
|
*/
|
|
897
|
-
|
|
909
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
910
|
+
/**
|
|
911
|
+
* HTTP POST /map/upload
|
|
912
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
913
|
+
*/
|
|
914
|
+
uploadMap(queryParams?: {
|
|
915
|
+
filename?: string;
|
|
916
|
+
}, options?: O): RestResponse<{
|
|
917
|
+
[id: string]: unknown;
|
|
918
|
+
}>;
|
|
898
919
|
}
|
|
899
|
-
export declare class
|
|
920
|
+
export declare class RealmResourceClient<O> {
|
|
900
921
|
protected httpClient: HttpClient<O>;
|
|
901
922
|
constructor(httpClient: HttpClient<O>);
|
|
902
923
|
/**
|
|
903
|
-
*
|
|
904
|
-
*
|
|
905
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
906
|
-
*/
|
|
907
|
-
getServices(queryParams?: {
|
|
908
|
-
realm?: string;
|
|
909
|
-
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
910
|
-
/**
|
|
911
|
-
* Response code 200 - Service registered successfully
|
|
912
|
-
* Response code 400 - Invalid external service object
|
|
913
|
-
* Response code 409 - ExternalService instance already registered
|
|
914
|
-
* HTTP POST /service
|
|
915
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
924
|
+
* HTTP POST /realm
|
|
925
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
916
926
|
*/
|
|
917
|
-
|
|
927
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
918
928
|
/**
|
|
919
|
-
*
|
|
920
|
-
*
|
|
921
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
929
|
+
* HTTP GET /realm
|
|
930
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
922
931
|
*/
|
|
923
|
-
|
|
932
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
924
933
|
/**
|
|
925
|
-
*
|
|
926
|
-
*
|
|
927
|
-
* Response code 409 - ExternalService instance already registered
|
|
928
|
-
* HTTP POST /service/global
|
|
929
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
934
|
+
* HTTP GET /realm/accessible
|
|
935
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
930
936
|
*/
|
|
931
|
-
|
|
937
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
932
938
|
/**
|
|
933
|
-
*
|
|
934
|
-
*
|
|
935
|
-
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
936
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
939
|
+
* HTTP DELETE /realm/{name}
|
|
940
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
937
941
|
*/
|
|
938
|
-
|
|
942
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
939
943
|
/**
|
|
940
|
-
*
|
|
941
|
-
*
|
|
942
|
-
* HTTP GET /service/{serviceId}/{instanceId}
|
|
943
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
944
|
+
* HTTP GET /realm/{name}
|
|
945
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
944
946
|
*/
|
|
945
|
-
|
|
947
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
946
948
|
/**
|
|
947
|
-
*
|
|
948
|
-
*
|
|
949
|
-
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
950
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
949
|
+
* HTTP PUT /realm/{name}
|
|
950
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
951
951
|
*/
|
|
952
|
-
|
|
952
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
953
953
|
}
|
|
954
954
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
955
955
|
export declare class ApiClient {
|
|
956
|
-
protected _appResource: AxiosAppResourceClient;
|
|
957
|
-
protected _mapResource: AxiosMapResourceClient;
|
|
958
956
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
959
|
-
protected
|
|
960
|
-
protected
|
|
961
|
-
protected
|
|
962
|
-
protected
|
|
963
|
-
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
964
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
957
|
+
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
958
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
959
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
960
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
965
961
|
protected _userResource: AxiosUserResourceClient;
|
|
962
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
963
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
966
964
|
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
967
|
-
protected
|
|
968
|
-
protected
|
|
965
|
+
protected _appResource: AxiosAppResourceClient;
|
|
966
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
969
967
|
protected _statusResource: AxiosStatusResourceClient;
|
|
970
|
-
protected
|
|
971
|
-
protected
|
|
968
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
969
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
972
970
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
973
|
-
protected
|
|
974
|
-
protected
|
|
975
|
-
protected
|
|
971
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
972
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
973
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
976
974
|
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
977
|
-
protected
|
|
975
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
976
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
977
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
978
978
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
979
|
-
get AppResource(): AxiosAppResourceClient;
|
|
980
|
-
get MapResource(): AxiosMapResourceClient;
|
|
981
979
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
982
|
-
get
|
|
983
|
-
get
|
|
984
|
-
get
|
|
985
|
-
get
|
|
986
|
-
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
987
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
980
|
+
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
981
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
982
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
983
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
988
984
|
get UserResource(): AxiosUserResourceClient;
|
|
985
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
986
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
989
987
|
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
990
|
-
get
|
|
991
|
-
get
|
|
988
|
+
get AppResource(): AxiosAppResourceClient;
|
|
989
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
992
990
|
get StatusResource(): AxiosStatusResourceClient;
|
|
993
|
-
get
|
|
994
|
-
get
|
|
991
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
992
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
995
993
|
get RulesResource(): AxiosRulesResourceClient;
|
|
996
|
-
get
|
|
997
|
-
get
|
|
998
|
-
get
|
|
994
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
995
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
996
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
999
997
|
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1000
|
-
get
|
|
998
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
999
|
+
get MapResource(): AxiosMapResourceClient;
|
|
1000
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
1001
1001
|
}
|
|
1002
1002
|
import * as Axios from "axios";
|
|
1003
1003
|
declare module "axios" {
|
|
@@ -1005,69 +1005,69 @@ declare module "axios" {
|
|
|
1005
1005
|
data: R;
|
|
1006
1006
|
}
|
|
1007
1007
|
}
|
|
1008
|
-
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1009
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1010
|
-
}
|
|
1011
|
-
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1012
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1013
|
-
}
|
|
1014
1008
|
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1015
1009
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1016
1010
|
}
|
|
1017
|
-
export declare class
|
|
1011
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1018
1012
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1019
1013
|
}
|
|
1020
|
-
export declare class
|
|
1014
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1021
1015
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1022
1016
|
}
|
|
1023
|
-
export declare class
|
|
1017
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1024
1018
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1025
1019
|
}
|
|
1026
|
-
export declare class
|
|
1020
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1027
1021
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1028
1022
|
}
|
|
1029
|
-
export declare class
|
|
1023
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1030
1024
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1031
1025
|
}
|
|
1032
|
-
export declare class
|
|
1026
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1033
1027
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1034
1028
|
}
|
|
1035
|
-
export declare class
|
|
1029
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1036
1030
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1037
1031
|
}
|
|
1038
1032
|
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1039
1033
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1040
1034
|
}
|
|
1041
|
-
export declare class
|
|
1035
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1042
1036
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1043
1037
|
}
|
|
1044
|
-
export declare class
|
|
1038
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1045
1039
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1046
1040
|
}
|
|
1047
1041
|
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1048
1042
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1049
1043
|
}
|
|
1050
|
-
export declare class
|
|
1044
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1051
1045
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1052
1046
|
}
|
|
1053
|
-
export declare class
|
|
1047
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1054
1048
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1055
1049
|
}
|
|
1056
1050
|
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1057
1051
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1058
1052
|
}
|
|
1059
|
-
export declare class
|
|
1053
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1060
1054
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1061
1055
|
}
|
|
1062
|
-
export declare class
|
|
1056
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1063
1057
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1064
1058
|
}
|
|
1065
|
-
export declare class
|
|
1059
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1066
1060
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1067
1061
|
}
|
|
1068
1062
|
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1069
1063
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1070
1064
|
}
|
|
1071
|
-
export declare class
|
|
1065
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1066
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1067
|
+
}
|
|
1068
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1069
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1070
|
+
}
|
|
1071
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1072
1072
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1073
1073
|
}
|