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