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