@openremote/rest 1.8.0-snapshot.20250725120000 → 1.8.0-snapshot.20250725120001
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 +530 -530
- package/lib/restclient.js +687 -687
- package/lib/restclient.js.map +1 -1
- package/package.json +3 -3
package/lib/restclient.d.ts
CHANGED
|
@@ -9,139 +9,6 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class AssetModelResourceClient<O> {
|
|
13
|
-
protected httpClient: HttpClient<O>;
|
|
14
|
-
constructor(httpClient: HttpClient<O>);
|
|
15
|
-
/**
|
|
16
|
-
* HTTP GET /model/assetDescriptors
|
|
17
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
18
|
-
*/
|
|
19
|
-
getAssetDescriptors(queryParams?: {
|
|
20
|
-
parentId?: string;
|
|
21
|
-
parentType?: string;
|
|
22
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
23
|
-
/**
|
|
24
|
-
* HTTP GET /model/assetInfo/{assetType}
|
|
25
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
26
|
-
*/
|
|
27
|
-
getAssetInfo(assetType: string, queryParams?: {
|
|
28
|
-
parentId?: string;
|
|
29
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
30
|
-
/**
|
|
31
|
-
* HTTP GET /model/assetInfos
|
|
32
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
33
|
-
*/
|
|
34
|
-
getAssetInfos(queryParams?: {
|
|
35
|
-
parentId?: string;
|
|
36
|
-
parentType?: string;
|
|
37
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
38
|
-
/**
|
|
39
|
-
* HTTP GET /model/metaItemDescriptors
|
|
40
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
41
|
-
*/
|
|
42
|
-
getMetaItemDescriptors(queryParams?: {
|
|
43
|
-
parentId?: string;
|
|
44
|
-
}, options?: O): RestResponse<{
|
|
45
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
46
|
-
}>;
|
|
47
|
-
/**
|
|
48
|
-
* HTTP GET /model/valueDescriptors
|
|
49
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
50
|
-
*/
|
|
51
|
-
getValueDescriptors(queryParams?: {
|
|
52
|
-
parentId?: string;
|
|
53
|
-
}, options?: O): RestResponse<{
|
|
54
|
-
[index: string]: Model.ValueDescriptor;
|
|
55
|
-
}>;
|
|
56
|
-
}
|
|
57
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
58
|
-
protected httpClient: HttpClient<O>;
|
|
59
|
-
constructor(httpClient: HttpClient<O>);
|
|
60
|
-
/**
|
|
61
|
-
* HTTP GET /asset/datapoint/export
|
|
62
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
63
|
-
*/
|
|
64
|
-
getDatapointExport(queryParams?: {
|
|
65
|
-
attributeRefs?: string;
|
|
66
|
-
fromTimestamp?: number;
|
|
67
|
-
toTimestamp?: number;
|
|
68
|
-
}, options?: O): RestResponse<any>;
|
|
69
|
-
/**
|
|
70
|
-
* HTTP GET /asset/datapoint/periods
|
|
71
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
72
|
-
*/
|
|
73
|
-
getDatapointPeriod(queryParams?: {
|
|
74
|
-
assetId?: string;
|
|
75
|
-
attributeName?: string;
|
|
76
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
77
|
-
/**
|
|
78
|
-
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
79
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
80
|
-
*/
|
|
81
|
-
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
82
|
-
}
|
|
83
|
-
export declare class ConsoleResourceClient<O> {
|
|
84
|
-
protected httpClient: HttpClient<O>;
|
|
85
|
-
constructor(httpClient: HttpClient<O>);
|
|
86
|
-
/**
|
|
87
|
-
* HTTP POST /console/register
|
|
88
|
-
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
89
|
-
*/
|
|
90
|
-
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
91
|
-
}
|
|
92
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
93
|
-
protected httpClient: HttpClient<O>;
|
|
94
|
-
constructor(httpClient: HttpClient<O>);
|
|
95
|
-
/**
|
|
96
|
-
* HTTP POST /gateway/tunnel
|
|
97
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
98
|
-
*/
|
|
99
|
-
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
100
|
-
/**
|
|
101
|
-
* HTTP DELETE /gateway/tunnel
|
|
102
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
103
|
-
*/
|
|
104
|
-
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
105
|
-
/**
|
|
106
|
-
* HTTP GET /gateway/tunnel/{realm}
|
|
107
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
108
|
-
*/
|
|
109
|
-
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
110
|
-
/**
|
|
111
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
112
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
113
|
-
*/
|
|
114
|
-
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
115
|
-
/**
|
|
116
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
117
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
118
|
-
*/
|
|
119
|
-
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
120
|
-
}
|
|
121
|
-
export declare class ProvisioningResourceClient<O> {
|
|
122
|
-
protected httpClient: HttpClient<O>;
|
|
123
|
-
constructor(httpClient: HttpClient<O>);
|
|
124
|
-
/**
|
|
125
|
-
* HTTP POST /provisioning
|
|
126
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
127
|
-
*/
|
|
128
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
129
|
-
/**
|
|
130
|
-
* HTTP GET /provisioning
|
|
131
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
132
|
-
*/
|
|
133
|
-
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
134
|
-
/**
|
|
135
|
-
* HTTP DELETE /provisioning/{id}
|
|
136
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
137
|
-
*/
|
|
138
|
-
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
139
|
-
/**
|
|
140
|
-
* HTTP PUT /provisioning/{id}
|
|
141
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
142
|
-
*/
|
|
143
|
-
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
144
|
-
}
|
|
145
12
|
export declare class NotificationResourceClient<O> {
|
|
146
13
|
protected httpClient: HttpClient<O>;
|
|
147
14
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -196,176 +63,31 @@ export declare class NotificationResourceClient<O> {
|
|
|
196
63
|
targetId?: string;
|
|
197
64
|
}, options?: O): RestResponse<void>;
|
|
198
65
|
}
|
|
199
|
-
export declare class
|
|
200
|
-
protected httpClient: HttpClient<O>;
|
|
201
|
-
constructor(httpClient: HttpClient<O>);
|
|
202
|
-
/**
|
|
203
|
-
* HTTP POST /rules
|
|
204
|
-
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
205
|
-
*/
|
|
206
|
-
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
207
|
-
/**
|
|
208
|
-
* HTTP GET /rules
|
|
209
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
210
|
-
*/
|
|
211
|
-
getGlobalRulesets(queryParams?: {
|
|
212
|
-
language?: Model.RulesetLang[];
|
|
213
|
-
fullyPopulate?: boolean;
|
|
214
|
-
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
215
|
-
/**
|
|
216
|
-
* HTTP POST /rules/asset
|
|
217
|
-
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
218
|
-
*/
|
|
219
|
-
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
220
|
-
/**
|
|
221
|
-
* HTTP GET /rules/asset/for/{assetId}
|
|
222
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
223
|
-
*/
|
|
224
|
-
getAssetRulesets(assetId: string, queryParams?: {
|
|
225
|
-
language?: Model.RulesetLang[];
|
|
226
|
-
fullyPopulate?: boolean;
|
|
227
|
-
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
228
|
-
/**
|
|
229
|
-
* HTTP DELETE /rules/asset/{id}
|
|
230
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
231
|
-
*/
|
|
232
|
-
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
233
|
-
/**
|
|
234
|
-
* HTTP GET /rules/asset/{id}
|
|
235
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
236
|
-
*/
|
|
237
|
-
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
238
|
-
/**
|
|
239
|
-
* HTTP PUT /rules/asset/{id}
|
|
240
|
-
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
241
|
-
*/
|
|
242
|
-
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
243
|
-
/**
|
|
244
|
-
* HTTP GET /rules/geofences/{assetId}
|
|
245
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
246
|
-
*/
|
|
247
|
-
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
248
|
-
/**
|
|
249
|
-
* HTTP GET /rules/info/asset/{assetId}
|
|
250
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
251
|
-
*/
|
|
252
|
-
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
253
|
-
/**
|
|
254
|
-
* HTTP GET /rules/info/global
|
|
255
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
256
|
-
*/
|
|
257
|
-
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
258
|
-
/**
|
|
259
|
-
* HTTP GET /rules/info/realm/{realm}
|
|
260
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
261
|
-
*/
|
|
262
|
-
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
263
|
-
/**
|
|
264
|
-
* HTTP POST /rules/realm
|
|
265
|
-
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
266
|
-
*/
|
|
267
|
-
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
268
|
-
/**
|
|
269
|
-
* HTTP GET /rules/realm/for/{realm}
|
|
270
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
271
|
-
*/
|
|
272
|
-
getRealmRulesets(realm: string, queryParams?: {
|
|
273
|
-
language?: Model.RulesetLang[];
|
|
274
|
-
fullyPopulate?: boolean;
|
|
275
|
-
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
276
|
-
/**
|
|
277
|
-
* HTTP DELETE /rules/realm/{id}
|
|
278
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
279
|
-
*/
|
|
280
|
-
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
281
|
-
/**
|
|
282
|
-
* HTTP GET /rules/realm/{id}
|
|
283
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
284
|
-
*/
|
|
285
|
-
getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
|
|
286
|
-
/**
|
|
287
|
-
* HTTP PUT /rules/realm/{id}
|
|
288
|
-
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
289
|
-
*/
|
|
290
|
-
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
291
|
-
/**
|
|
292
|
-
* HTTP DELETE /rules/{id}
|
|
293
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
294
|
-
*/
|
|
295
|
-
deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
|
|
296
|
-
/**
|
|
297
|
-
* HTTP GET /rules/{id}
|
|
298
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
299
|
-
*/
|
|
300
|
-
getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
301
|
-
/**
|
|
302
|
-
* HTTP PUT /rules/{id}
|
|
303
|
-
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
304
|
-
*/
|
|
305
|
-
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
306
|
-
}
|
|
307
|
-
export declare class FlowResourceClient<O> {
|
|
308
|
-
protected httpClient: HttpClient<O>;
|
|
309
|
-
constructor(httpClient: HttpClient<O>);
|
|
310
|
-
/**
|
|
311
|
-
* HTTP GET /flow
|
|
312
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
313
|
-
*/
|
|
314
|
-
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
315
|
-
/**
|
|
316
|
-
* HTTP GET /flow/{name}
|
|
317
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
318
|
-
*/
|
|
319
|
-
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
320
|
-
/**
|
|
321
|
-
* HTTP GET /flow/{type}
|
|
322
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
323
|
-
*/
|
|
324
|
-
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
325
|
-
}
|
|
326
|
-
export declare class AgentResourceClient<O> {
|
|
66
|
+
export declare class ConfigurationResourceClient<O> {
|
|
327
67
|
protected httpClient: HttpClient<O>;
|
|
328
68
|
constructor(httpClient: HttpClient<O>);
|
|
329
69
|
/**
|
|
330
|
-
* HTTP GET /
|
|
331
|
-
* Java method: org.openremote.model.
|
|
332
|
-
*/
|
|
333
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
334
|
-
realm?: string;
|
|
335
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
336
|
-
/**
|
|
337
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
338
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
70
|
+
* HTTP GET /configuration/manager
|
|
71
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
339
72
|
*/
|
|
340
|
-
|
|
341
|
-
realm?: string;
|
|
342
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
73
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
343
74
|
/**
|
|
344
|
-
* HTTP
|
|
345
|
-
* Java method: org.openremote.model.
|
|
75
|
+
* HTTP PUT /configuration/manager
|
|
76
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
346
77
|
*/
|
|
347
|
-
|
|
348
|
-
parentId?: string;
|
|
349
|
-
realm?: string;
|
|
350
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
351
|
-
}
|
|
352
|
-
export declare class StatusResourceClient<O> {
|
|
353
|
-
protected httpClient: HttpClient<O>;
|
|
354
|
-
constructor(httpClient: HttpClient<O>);
|
|
78
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
355
79
|
/**
|
|
356
|
-
* HTTP
|
|
357
|
-
* Java method: org.openremote.model.
|
|
80
|
+
* HTTP POST /configuration/manager/file
|
|
81
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
358
82
|
*/
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
}>;
|
|
83
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
84
|
+
path?: string;
|
|
85
|
+
}, options?: O): RestResponse<string>;
|
|
362
86
|
/**
|
|
363
|
-
* HTTP GET /
|
|
364
|
-
* Java method: org.openremote.model.
|
|
87
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
88
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
365
89
|
*/
|
|
366
|
-
|
|
367
|
-
[index: string]: any;
|
|
368
|
-
}>;
|
|
90
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
369
91
|
}
|
|
370
92
|
export declare class MapResourceClient<O> {
|
|
371
93
|
protected httpClient: HttpClient<O>;
|
|
@@ -420,32 +142,6 @@ export declare class MapResourceClient<O> {
|
|
|
420
142
|
[id: string]: unknown;
|
|
421
143
|
}>;
|
|
422
144
|
}
|
|
423
|
-
export declare class ConfigurationResourceClient<O> {
|
|
424
|
-
protected httpClient: HttpClient<O>;
|
|
425
|
-
constructor(httpClient: HttpClient<O>);
|
|
426
|
-
/**
|
|
427
|
-
* HTTP GET /configuration/manager
|
|
428
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
429
|
-
*/
|
|
430
|
-
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
431
|
-
/**
|
|
432
|
-
* HTTP PUT /configuration/manager
|
|
433
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
434
|
-
*/
|
|
435
|
-
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
436
|
-
/**
|
|
437
|
-
* HTTP POST /configuration/manager/file
|
|
438
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
439
|
-
*/
|
|
440
|
-
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
441
|
-
path?: string;
|
|
442
|
-
}, options?: O): RestResponse<string>;
|
|
443
|
-
/**
|
|
444
|
-
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
445
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
446
|
-
*/
|
|
447
|
-
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
448
|
-
}
|
|
449
145
|
export declare class AlarmResourceClient<O> {
|
|
450
146
|
protected httpClient: HttpClient<O>;
|
|
451
147
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -499,155 +195,196 @@ export declare class AlarmResourceClient<O> {
|
|
|
499
195
|
realm?: string;
|
|
500
196
|
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
501
197
|
}
|
|
502
|
-
export declare class
|
|
198
|
+
export declare class SyslogResourceClient<O> {
|
|
503
199
|
protected httpClient: HttpClient<O>;
|
|
504
200
|
constructor(httpClient: HttpClient<O>);
|
|
505
201
|
/**
|
|
506
|
-
* HTTP
|
|
507
|
-
* Java method: org.openremote.model.
|
|
202
|
+
* HTTP GET /syslog/config
|
|
203
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
508
204
|
*/
|
|
509
|
-
|
|
205
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
510
206
|
/**
|
|
511
|
-
* HTTP
|
|
512
|
-
* Java method: org.openremote.model.
|
|
207
|
+
* HTTP PUT /syslog/config
|
|
208
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
513
209
|
*/
|
|
514
|
-
|
|
515
|
-
assetId?: string[];
|
|
516
|
-
}, options?: O): RestResponse<void>;
|
|
210
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
517
211
|
/**
|
|
518
|
-
* HTTP
|
|
519
|
-
* Java method: org.openremote.model.
|
|
212
|
+
* HTTP DELETE /syslog/event
|
|
213
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
520
214
|
*/
|
|
521
|
-
|
|
215
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
522
216
|
/**
|
|
523
|
-
* HTTP
|
|
524
|
-
* Java method: org.openremote.model.
|
|
217
|
+
* HTTP GET /syslog/event
|
|
218
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
525
219
|
*/
|
|
526
|
-
|
|
220
|
+
getEvents(queryParams?: {
|
|
221
|
+
level?: Model.SyslogLevel;
|
|
222
|
+
per_page?: number;
|
|
223
|
+
page?: number;
|
|
224
|
+
from?: number;
|
|
225
|
+
to?: number;
|
|
226
|
+
category?: Model.SyslogCategory[];
|
|
227
|
+
subCategory?: string[];
|
|
228
|
+
}, options?: O): RestResponse<any>;
|
|
229
|
+
}
|
|
230
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
231
|
+
protected httpClient: HttpClient<O>;
|
|
232
|
+
constructor(httpClient: HttpClient<O>);
|
|
527
233
|
/**
|
|
528
|
-
* HTTP
|
|
529
|
-
* Java method: org.openremote.model.
|
|
234
|
+
* HTTP POST /gateway/tunnel
|
|
235
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
530
236
|
*/
|
|
531
|
-
|
|
532
|
-
assetIds?: string[];
|
|
533
|
-
}, options?: O): RestResponse<void>;
|
|
237
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
534
238
|
/**
|
|
535
|
-
* HTTP
|
|
536
|
-
* Java method: org.openremote.model.
|
|
239
|
+
* HTTP DELETE /gateway/tunnel
|
|
240
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
537
241
|
*/
|
|
538
|
-
|
|
242
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
539
243
|
/**
|
|
540
|
-
* HTTP
|
|
541
|
-
* Java method: org.openremote.model.
|
|
244
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
245
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
542
246
|
*/
|
|
543
|
-
|
|
247
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
544
248
|
/**
|
|
545
|
-
* HTTP GET /
|
|
546
|
-
* Java method: org.openremote.model.
|
|
249
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
250
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
547
251
|
*/
|
|
548
|
-
|
|
252
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
549
253
|
/**
|
|
550
|
-
* HTTP
|
|
551
|
-
* Java method: org.openremote.model.
|
|
254
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
255
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
552
256
|
*/
|
|
553
|
-
|
|
257
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
258
|
+
}
|
|
259
|
+
export declare class DashboardResourceClient<O> {
|
|
260
|
+
protected httpClient: HttpClient<O>;
|
|
261
|
+
constructor(httpClient: HttpClient<O>);
|
|
554
262
|
/**
|
|
555
|
-
* HTTP
|
|
556
|
-
* Java method: org.openremote.model.
|
|
263
|
+
* HTTP POST /dashboard
|
|
264
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
557
265
|
*/
|
|
558
|
-
|
|
559
|
-
realm?: string;
|
|
560
|
-
userId?: string;
|
|
561
|
-
assetId?: string;
|
|
562
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
266
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
563
267
|
/**
|
|
564
|
-
* HTTP
|
|
565
|
-
* Java method: org.openremote.model.
|
|
268
|
+
* HTTP PUT /dashboard
|
|
269
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
566
270
|
*/
|
|
567
|
-
|
|
271
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
568
272
|
/**
|
|
569
|
-
* HTTP
|
|
570
|
-
* Java method: org.openremote.model.
|
|
273
|
+
* HTTP GET /dashboard/all/{realm}
|
|
274
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
571
275
|
*/
|
|
572
|
-
|
|
276
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
573
277
|
/**
|
|
574
|
-
* HTTP
|
|
575
|
-
* Java method: org.openremote.model.
|
|
278
|
+
* HTTP POST /dashboard/query
|
|
279
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
576
280
|
*/
|
|
577
|
-
|
|
281
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
578
282
|
/**
|
|
579
|
-
* HTTP
|
|
580
|
-
* Java method: org.openremote.model.
|
|
283
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
284
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
581
285
|
*/
|
|
582
|
-
|
|
286
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
583
287
|
/**
|
|
584
|
-
* HTTP
|
|
585
|
-
* Java method: org.openremote.model.
|
|
288
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
289
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
586
290
|
*/
|
|
587
|
-
|
|
291
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
292
|
+
}
|
|
293
|
+
export declare class ConsoleResourceClient<O> {
|
|
294
|
+
protected httpClient: HttpClient<O>;
|
|
295
|
+
constructor(httpClient: HttpClient<O>);
|
|
588
296
|
/**
|
|
589
|
-
* HTTP
|
|
590
|
-
* Java method: org.openremote.model.
|
|
297
|
+
* HTTP POST /console/register
|
|
298
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
591
299
|
*/
|
|
592
|
-
|
|
300
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
301
|
+
}
|
|
302
|
+
export declare class StatusResourceClient<O> {
|
|
303
|
+
protected httpClient: HttpClient<O>;
|
|
304
|
+
constructor(httpClient: HttpClient<O>);
|
|
593
305
|
/**
|
|
594
|
-
* HTTP
|
|
595
|
-
* Java method: org.openremote.model.
|
|
306
|
+
* HTTP GET /health
|
|
307
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
596
308
|
*/
|
|
597
|
-
|
|
309
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
310
|
+
[index: string]: any;
|
|
311
|
+
}>;
|
|
598
312
|
/**
|
|
599
|
-
* HTTP
|
|
600
|
-
* Java method: org.openremote.model.
|
|
313
|
+
* HTTP GET /info
|
|
314
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
601
315
|
*/
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
}
|
|
316
|
+
getInfo(options?: O): RestResponse<{
|
|
317
|
+
[index: string]: any;
|
|
318
|
+
}>;
|
|
605
319
|
}
|
|
606
|
-
export declare class
|
|
320
|
+
export declare class ProvisioningResourceClient<O> {
|
|
607
321
|
protected httpClient: HttpClient<O>;
|
|
608
322
|
constructor(httpClient: HttpClient<O>);
|
|
609
323
|
/**
|
|
610
|
-
* HTTP
|
|
611
|
-
* Java method: org.openremote.model.
|
|
324
|
+
* HTTP POST /provisioning
|
|
325
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
612
326
|
*/
|
|
613
|
-
|
|
327
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
614
328
|
/**
|
|
615
|
-
* HTTP
|
|
616
|
-
* Java method: org.openremote.model.
|
|
329
|
+
* HTTP GET /provisioning
|
|
330
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
617
331
|
*/
|
|
618
|
-
|
|
332
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
619
333
|
/**
|
|
620
|
-
* HTTP DELETE /
|
|
621
|
-
* Java method: org.openremote.model.
|
|
334
|
+
* HTTP DELETE /provisioning/{id}
|
|
335
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
622
336
|
*/
|
|
623
|
-
|
|
337
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
624
338
|
/**
|
|
625
|
-
* HTTP
|
|
626
|
-
* Java method: org.openremote.model.
|
|
339
|
+
* HTTP PUT /provisioning/{id}
|
|
340
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
627
341
|
*/
|
|
628
|
-
|
|
629
|
-
level?: Model.SyslogLevel;
|
|
630
|
-
per_page?: number;
|
|
631
|
-
page?: number;
|
|
632
|
-
from?: number;
|
|
633
|
-
to?: number;
|
|
634
|
-
category?: Model.SyslogCategory[];
|
|
635
|
-
subCategory?: string[];
|
|
636
|
-
}, options?: O): RestResponse<any>;
|
|
342
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
637
343
|
}
|
|
638
|
-
export declare class
|
|
344
|
+
export declare class AssetModelResourceClient<O> {
|
|
639
345
|
protected httpClient: HttpClient<O>;
|
|
640
346
|
constructor(httpClient: HttpClient<O>);
|
|
641
347
|
/**
|
|
642
|
-
* HTTP
|
|
643
|
-
* Java method: org.openremote.model.
|
|
348
|
+
* HTTP GET /model/assetDescriptors
|
|
349
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
644
350
|
*/
|
|
645
|
-
|
|
351
|
+
getAssetDescriptors(queryParams?: {
|
|
352
|
+
parentId?: string;
|
|
353
|
+
parentType?: string;
|
|
354
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
355
|
+
/**
|
|
356
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
357
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
358
|
+
*/
|
|
359
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
360
|
+
parentId?: string;
|
|
361
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
362
|
+
/**
|
|
363
|
+
* HTTP GET /model/assetInfos
|
|
364
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
365
|
+
*/
|
|
366
|
+
getAssetInfos(queryParams?: {
|
|
367
|
+
parentId?: string;
|
|
368
|
+
parentType?: string;
|
|
369
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
370
|
+
/**
|
|
371
|
+
* HTTP GET /model/metaItemDescriptors
|
|
372
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
373
|
+
*/
|
|
374
|
+
getMetaItemDescriptors(queryParams?: {
|
|
375
|
+
parentId?: string;
|
|
376
|
+
}, options?: O): RestResponse<{
|
|
377
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
378
|
+
}>;
|
|
646
379
|
/**
|
|
647
|
-
* HTTP
|
|
648
|
-
* Java method: org.openremote.model.
|
|
380
|
+
* HTTP GET /model/valueDescriptors
|
|
381
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
649
382
|
*/
|
|
650
|
-
|
|
383
|
+
getValueDescriptors(queryParams?: {
|
|
384
|
+
parentId?: string;
|
|
385
|
+
}, options?: O): RestResponse<{
|
|
386
|
+
[index: string]: Model.ValueDescriptor;
|
|
387
|
+
}>;
|
|
651
388
|
}
|
|
652
389
|
export declare class UserResourceClient<O> {
|
|
653
390
|
protected httpClient: HttpClient<O>;
|
|
@@ -753,25 +490,273 @@ export declare class UserResourceClient<O> {
|
|
|
753
490
|
*/
|
|
754
491
|
update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
755
492
|
/**
|
|
756
|
-
* HTTP DELETE /user/{realm}/users/{userId}
|
|
757
|
-
* Java method: org.openremote.model.security.UserResource.delete
|
|
493
|
+
* HTTP DELETE /user/{realm}/users/{userId}
|
|
494
|
+
* Java method: org.openremote.model.security.UserResource.delete
|
|
495
|
+
*/
|
|
496
|
+
delete(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
497
|
+
/**
|
|
498
|
+
* HTTP GET /user/{realm}/{clientId}/roles
|
|
499
|
+
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
500
|
+
*/
|
|
501
|
+
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
502
|
+
/**
|
|
503
|
+
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
504
|
+
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
505
|
+
*/
|
|
506
|
+
updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
507
|
+
/**
|
|
508
|
+
* HTTP GET /user/{realm}/{userId}
|
|
509
|
+
* Java method: org.openremote.model.security.UserResource.get
|
|
510
|
+
*/
|
|
511
|
+
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
512
|
+
}
|
|
513
|
+
export declare class AgentResourceClient<O> {
|
|
514
|
+
protected httpClient: HttpClient<O>;
|
|
515
|
+
constructor(httpClient: HttpClient<O>);
|
|
516
|
+
/**
|
|
517
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
518
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
519
|
+
*/
|
|
520
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
521
|
+
realm?: string;
|
|
522
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
523
|
+
/**
|
|
524
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
525
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
526
|
+
*/
|
|
527
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
528
|
+
realm?: string;
|
|
529
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
530
|
+
/**
|
|
531
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
532
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
533
|
+
*/
|
|
534
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
535
|
+
parentId?: string;
|
|
536
|
+
realm?: string;
|
|
537
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
538
|
+
}
|
|
539
|
+
export declare class RulesResourceClient<O> {
|
|
540
|
+
protected httpClient: HttpClient<O>;
|
|
541
|
+
constructor(httpClient: HttpClient<O>);
|
|
542
|
+
/**
|
|
543
|
+
* HTTP POST /rules
|
|
544
|
+
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
545
|
+
*/
|
|
546
|
+
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
547
|
+
/**
|
|
548
|
+
* HTTP GET /rules
|
|
549
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
550
|
+
*/
|
|
551
|
+
getGlobalRulesets(queryParams?: {
|
|
552
|
+
language?: Model.RulesetLang[];
|
|
553
|
+
fullyPopulate?: boolean;
|
|
554
|
+
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
555
|
+
/**
|
|
556
|
+
* HTTP POST /rules/asset
|
|
557
|
+
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
558
|
+
*/
|
|
559
|
+
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
560
|
+
/**
|
|
561
|
+
* HTTP GET /rules/asset/for/{assetId}
|
|
562
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
563
|
+
*/
|
|
564
|
+
getAssetRulesets(assetId: string, queryParams?: {
|
|
565
|
+
language?: Model.RulesetLang[];
|
|
566
|
+
fullyPopulate?: boolean;
|
|
567
|
+
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
568
|
+
/**
|
|
569
|
+
* HTTP DELETE /rules/asset/{id}
|
|
570
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
571
|
+
*/
|
|
572
|
+
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
573
|
+
/**
|
|
574
|
+
* HTTP GET /rules/asset/{id}
|
|
575
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
576
|
+
*/
|
|
577
|
+
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
578
|
+
/**
|
|
579
|
+
* HTTP PUT /rules/asset/{id}
|
|
580
|
+
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
581
|
+
*/
|
|
582
|
+
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
583
|
+
/**
|
|
584
|
+
* HTTP GET /rules/geofences/{assetId}
|
|
585
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
586
|
+
*/
|
|
587
|
+
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
588
|
+
/**
|
|
589
|
+
* HTTP GET /rules/info/asset/{assetId}
|
|
590
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
591
|
+
*/
|
|
592
|
+
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
593
|
+
/**
|
|
594
|
+
* HTTP GET /rules/info/global
|
|
595
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
596
|
+
*/
|
|
597
|
+
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
598
|
+
/**
|
|
599
|
+
* HTTP GET /rules/info/realm/{realm}
|
|
600
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
601
|
+
*/
|
|
602
|
+
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
603
|
+
/**
|
|
604
|
+
* HTTP POST /rules/realm
|
|
605
|
+
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
606
|
+
*/
|
|
607
|
+
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
608
|
+
/**
|
|
609
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
610
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
611
|
+
*/
|
|
612
|
+
getRealmRulesets(realm: string, queryParams?: {
|
|
613
|
+
language?: Model.RulesetLang[];
|
|
614
|
+
fullyPopulate?: boolean;
|
|
615
|
+
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
616
|
+
/**
|
|
617
|
+
* HTTP DELETE /rules/realm/{id}
|
|
618
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
619
|
+
*/
|
|
620
|
+
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
621
|
+
/**
|
|
622
|
+
* HTTP GET /rules/realm/{id}
|
|
623
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
624
|
+
*/
|
|
625
|
+
getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
|
|
626
|
+
/**
|
|
627
|
+
* HTTP PUT /rules/realm/{id}
|
|
628
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
629
|
+
*/
|
|
630
|
+
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
631
|
+
/**
|
|
632
|
+
* HTTP DELETE /rules/{id}
|
|
633
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
634
|
+
*/
|
|
635
|
+
deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
|
|
636
|
+
/**
|
|
637
|
+
* HTTP GET /rules/{id}
|
|
638
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
639
|
+
*/
|
|
640
|
+
getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
641
|
+
/**
|
|
642
|
+
* HTTP PUT /rules/{id}
|
|
643
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
644
|
+
*/
|
|
645
|
+
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
646
|
+
}
|
|
647
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
648
|
+
protected httpClient: HttpClient<O>;
|
|
649
|
+
constructor(httpClient: HttpClient<O>);
|
|
650
|
+
/**
|
|
651
|
+
* HTTP GET /asset/datapoint/export
|
|
652
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
653
|
+
*/
|
|
654
|
+
getDatapointExport(queryParams?: {
|
|
655
|
+
attributeRefs?: string;
|
|
656
|
+
fromTimestamp?: number;
|
|
657
|
+
toTimestamp?: number;
|
|
658
|
+
}, options?: O): RestResponse<any>;
|
|
659
|
+
/**
|
|
660
|
+
* HTTP GET /asset/datapoint/periods
|
|
661
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
662
|
+
*/
|
|
663
|
+
getDatapointPeriod(queryParams?: {
|
|
664
|
+
assetId?: string;
|
|
665
|
+
attributeName?: string;
|
|
666
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
667
|
+
/**
|
|
668
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
669
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
670
|
+
*/
|
|
671
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
672
|
+
}
|
|
673
|
+
export declare class AppResourceClient<O> {
|
|
674
|
+
protected httpClient: HttpClient<O>;
|
|
675
|
+
constructor(httpClient: HttpClient<O>);
|
|
676
|
+
/**
|
|
677
|
+
* HTTP GET /apps
|
|
678
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
679
|
+
*/
|
|
680
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
681
|
+
/**
|
|
682
|
+
* HTTP GET /apps/consoleConfig
|
|
683
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
684
|
+
*/
|
|
685
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
686
|
+
/**
|
|
687
|
+
* HTTP GET /apps/info
|
|
688
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
689
|
+
*/
|
|
690
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
691
|
+
}
|
|
692
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
693
|
+
protected httpClient: HttpClient<O>;
|
|
694
|
+
constructor(httpClient: HttpClient<O>);
|
|
695
|
+
/**
|
|
696
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
697
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
698
|
+
*/
|
|
699
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
700
|
+
/**
|
|
701
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
702
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
703
|
+
*/
|
|
704
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
705
|
+
}
|
|
706
|
+
export declare class GatewayClientResourceClient<O> {
|
|
707
|
+
protected httpClient: HttpClient<O>;
|
|
708
|
+
constructor(httpClient: HttpClient<O>);
|
|
709
|
+
/**
|
|
710
|
+
* HTTP DELETE /gateway/connection
|
|
711
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
712
|
+
*/
|
|
713
|
+
deleteConnections(queryParams?: {
|
|
714
|
+
realm?: string[];
|
|
715
|
+
}, options?: O): RestResponse<void>;
|
|
716
|
+
/**
|
|
717
|
+
* HTTP GET /gateway/connection
|
|
718
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
719
|
+
*/
|
|
720
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
721
|
+
/**
|
|
722
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
723
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
724
|
+
*/
|
|
725
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
726
|
+
/**
|
|
727
|
+
* HTTP GET /gateway/connection/{realm}
|
|
728
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
729
|
+
*/
|
|
730
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
731
|
+
/**
|
|
732
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
733
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
734
|
+
*/
|
|
735
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
736
|
+
/**
|
|
737
|
+
* HTTP GET /gateway/status/{realm}
|
|
738
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
758
739
|
*/
|
|
759
|
-
|
|
740
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
741
|
+
}
|
|
742
|
+
export declare class FlowResourceClient<O> {
|
|
743
|
+
protected httpClient: HttpClient<O>;
|
|
744
|
+
constructor(httpClient: HttpClient<O>);
|
|
760
745
|
/**
|
|
761
|
-
* HTTP GET /
|
|
762
|
-
* Java method: org.openremote.model.
|
|
746
|
+
* HTTP GET /flow
|
|
747
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
763
748
|
*/
|
|
764
|
-
|
|
749
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
765
750
|
/**
|
|
766
|
-
* HTTP
|
|
767
|
-
* Java method: org.openremote.model.
|
|
751
|
+
* HTTP GET /flow/{name}
|
|
752
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
768
753
|
*/
|
|
769
|
-
|
|
754
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
770
755
|
/**
|
|
771
|
-
* HTTP GET /
|
|
772
|
-
* Java method: org.openremote.model.
|
|
756
|
+
* HTTP GET /flow/{type}
|
|
757
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
773
758
|
*/
|
|
774
|
-
|
|
759
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
775
760
|
}
|
|
776
761
|
export declare class RealmResourceClient<O> {
|
|
777
762
|
protected httpClient: HttpClient<O>;
|
|
@@ -807,140 +792,155 @@ export declare class RealmResourceClient<O> {
|
|
|
807
792
|
*/
|
|
808
793
|
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
809
794
|
}
|
|
810
|
-
export declare class
|
|
795
|
+
export declare class AssetResourceClient<O> {
|
|
811
796
|
protected httpClient: HttpClient<O>;
|
|
812
797
|
constructor(httpClient: HttpClient<O>);
|
|
813
798
|
/**
|
|
814
|
-
* HTTP
|
|
815
|
-
* Java method: org.openremote.model.
|
|
799
|
+
* HTTP POST /asset
|
|
800
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
816
801
|
*/
|
|
817
|
-
|
|
818
|
-
|
|
802
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
803
|
+
/**
|
|
804
|
+
* HTTP DELETE /asset
|
|
805
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
806
|
+
*/
|
|
807
|
+
delete(queryParams?: {
|
|
808
|
+
assetId?: string[];
|
|
819
809
|
}, options?: O): RestResponse<void>;
|
|
820
810
|
/**
|
|
821
|
-
* HTTP
|
|
822
|
-
* Java method: org.openremote.model.
|
|
811
|
+
* HTTP PUT /asset/attributes
|
|
812
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
823
813
|
*/
|
|
824
|
-
|
|
814
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
825
815
|
/**
|
|
826
|
-
* HTTP
|
|
827
|
-
* Java method: org.openremote.model.
|
|
816
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
817
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
828
818
|
*/
|
|
829
|
-
|
|
819
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
830
820
|
/**
|
|
831
|
-
* HTTP
|
|
832
|
-
* Java method: org.openremote.model.
|
|
821
|
+
* HTTP DELETE /asset/parent
|
|
822
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
833
823
|
*/
|
|
834
|
-
|
|
824
|
+
updateNoneParent(queryParams?: {
|
|
825
|
+
assetIds?: string[];
|
|
826
|
+
}, options?: O): RestResponse<void>;
|
|
835
827
|
/**
|
|
836
|
-
* HTTP
|
|
837
|
-
* Java method: org.openremote.model.
|
|
828
|
+
* HTTP GET /asset/partial/{assetId}
|
|
829
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
838
830
|
*/
|
|
839
|
-
|
|
831
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
840
832
|
/**
|
|
841
|
-
* HTTP
|
|
842
|
-
* Java method: org.openremote.model.
|
|
833
|
+
* HTTP POST /asset/query
|
|
834
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
843
835
|
*/
|
|
844
|
-
|
|
845
|
-
}
|
|
846
|
-
export declare class DashboardResourceClient<O> {
|
|
847
|
-
protected httpClient: HttpClient<O>;
|
|
848
|
-
constructor(httpClient: HttpClient<O>);
|
|
836
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
849
837
|
/**
|
|
850
|
-
* HTTP
|
|
851
|
-
* Java method: org.openremote.model.
|
|
838
|
+
* HTTP GET /asset/user/current
|
|
839
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
852
840
|
*/
|
|
853
|
-
|
|
841
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
854
842
|
/**
|
|
855
|
-
* HTTP
|
|
856
|
-
* Java method: org.openremote.model.
|
|
843
|
+
* HTTP POST /asset/user/link
|
|
844
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
857
845
|
*/
|
|
858
|
-
|
|
846
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
859
847
|
/**
|
|
860
|
-
* HTTP GET /
|
|
861
|
-
* Java method: org.openremote.model.
|
|
848
|
+
* HTTP GET /asset/user/link
|
|
849
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
862
850
|
*/
|
|
863
|
-
|
|
851
|
+
getUserAssetLinks(queryParams?: {
|
|
852
|
+
realm?: string;
|
|
853
|
+
userId?: string;
|
|
854
|
+
assetId?: string;
|
|
855
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
864
856
|
/**
|
|
865
|
-
* HTTP POST /
|
|
866
|
-
* Java method: org.openremote.model.
|
|
857
|
+
* HTTP POST /asset/user/link/delete
|
|
858
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
867
859
|
*/
|
|
868
|
-
|
|
860
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
869
861
|
/**
|
|
870
|
-
* HTTP DELETE /
|
|
871
|
-
* Java method: org.openremote.model.
|
|
862
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
863
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
872
864
|
*/
|
|
873
|
-
|
|
865
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
874
866
|
/**
|
|
875
|
-
* HTTP
|
|
876
|
-
* Java method: org.openremote.model.
|
|
867
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
868
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
877
869
|
*/
|
|
878
|
-
|
|
879
|
-
}
|
|
880
|
-
export declare class AppResourceClient<O> {
|
|
881
|
-
protected httpClient: HttpClient<O>;
|
|
882
|
-
constructor(httpClient: HttpClient<O>);
|
|
870
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
883
871
|
/**
|
|
884
|
-
* HTTP GET /
|
|
885
|
-
* Java method: org.openremote.model.
|
|
872
|
+
* HTTP GET /asset/{assetId}
|
|
873
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
886
874
|
*/
|
|
887
|
-
|
|
875
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
888
876
|
/**
|
|
889
|
-
* HTTP
|
|
890
|
-
* Java method: org.openremote.model.
|
|
877
|
+
* HTTP PUT /asset/{assetId}
|
|
878
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
891
879
|
*/
|
|
892
|
-
|
|
880
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
893
881
|
/**
|
|
894
|
-
* HTTP
|
|
895
|
-
* Java method: org.openremote.model.
|
|
882
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
883
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
896
884
|
*/
|
|
897
|
-
|
|
885
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
886
|
+
/**
|
|
887
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
888
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
889
|
+
*/
|
|
890
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
891
|
+
/**
|
|
892
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
893
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
894
|
+
*/
|
|
895
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
896
|
+
assetIds?: string[];
|
|
897
|
+
}, options?: O): RestResponse<void>;
|
|
898
898
|
}
|
|
899
899
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
900
900
|
export declare class ApiClient {
|
|
901
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
902
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
903
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
904
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
905
|
-
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
906
901
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
907
|
-
protected _rulesResource: AxiosRulesResourceClient;
|
|
908
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
909
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
910
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
911
|
-
protected _mapResource: AxiosMapResourceClient;
|
|
912
902
|
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
903
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
913
904
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
914
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
915
905
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
916
|
-
protected
|
|
917
|
-
protected _userResource: AxiosUserResourceClient;
|
|
918
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
919
|
-
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
906
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
920
907
|
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
908
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
909
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
910
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
911
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
912
|
+
protected _userResource: AxiosUserResourceClient;
|
|
913
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
914
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
915
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
921
916
|
protected _appResource: AxiosAppResourceClient;
|
|
917
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
918
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
919
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
920
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
921
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
922
922
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
923
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
924
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
925
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
926
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
927
|
-
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
928
923
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
929
|
-
get RulesResource(): AxiosRulesResourceClient;
|
|
930
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
931
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
932
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
933
|
-
get MapResource(): AxiosMapResourceClient;
|
|
934
924
|
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
925
|
+
get MapResource(): AxiosMapResourceClient;
|
|
935
926
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
936
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
937
927
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
938
|
-
get
|
|
939
|
-
get UserResource(): AxiosUserResourceClient;
|
|
940
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
941
|
-
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
928
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
942
929
|
get DashboardResource(): AxiosDashboardResourceClient;
|
|
930
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
931
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
932
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
933
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
934
|
+
get UserResource(): AxiosUserResourceClient;
|
|
935
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
936
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
937
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
943
938
|
get AppResource(): AxiosAppResourceClient;
|
|
939
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
940
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
941
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
942
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
943
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
944
944
|
}
|
|
945
945
|
import * as Axios from "axios";
|
|
946
946
|
declare module "axios" {
|
|
@@ -948,66 +948,66 @@ declare module "axios" {
|
|
|
948
948
|
data: R;
|
|
949
949
|
}
|
|
950
950
|
}
|
|
951
|
-
export declare class
|
|
952
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
953
|
-
}
|
|
954
|
-
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
951
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
955
952
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
956
953
|
}
|
|
957
|
-
export declare class
|
|
954
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
958
955
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
959
956
|
}
|
|
960
|
-
export declare class
|
|
957
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
961
958
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
962
959
|
}
|
|
963
|
-
export declare class
|
|
960
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
964
961
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
965
962
|
}
|
|
966
|
-
export declare class
|
|
963
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
967
964
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
968
965
|
}
|
|
969
|
-
export declare class
|
|
966
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
970
967
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
971
968
|
}
|
|
972
|
-
export declare class
|
|
969
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
973
970
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
974
971
|
}
|
|
975
|
-
export declare class
|
|
972
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
976
973
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
977
974
|
}
|
|
978
975
|
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
979
976
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
980
977
|
}
|
|
981
|
-
export declare class
|
|
978
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
982
979
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
983
980
|
}
|
|
984
|
-
export declare class
|
|
981
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
985
982
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
986
983
|
}
|
|
987
|
-
export declare class
|
|
984
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
988
985
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
989
986
|
}
|
|
990
|
-
export declare class
|
|
987
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
991
988
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
992
989
|
}
|
|
993
|
-
export declare class
|
|
990
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
994
991
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
995
992
|
}
|
|
996
|
-
export declare class
|
|
993
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
997
994
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
998
995
|
}
|
|
999
|
-
export declare class
|
|
996
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1000
997
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1001
998
|
}
|
|
1002
|
-
export declare class
|
|
999
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1003
1000
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1004
1001
|
}
|
|
1005
1002
|
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1006
1003
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1007
1004
|
}
|
|
1008
|
-
export declare class
|
|
1005
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1009
1006
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1010
1007
|
}
|
|
1011
|
-
export declare class
|
|
1008
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1009
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1010
|
+
}
|
|
1011
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1012
1012
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1013
1013
|
}
|