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