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