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