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