@openremote/rest 1.13.0-snapshot.20251218092826 → 1.13.0-snapshot.20251218130832
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 +399 -399
- package/lib/restclient.d.ts.map +1 -1
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +1 -1
package/lib/restclient.d.ts
CHANGED
|
@@ -43,29 +43,23 @@ export declare class RealmResourceClient<O> {
|
|
|
43
43
|
*/
|
|
44
44
|
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
45
45
|
}
|
|
46
|
-
export declare class
|
|
46
|
+
export declare class StatusResourceClient<O> {
|
|
47
47
|
protected httpClient: HttpClient<O>;
|
|
48
48
|
constructor(httpClient: HttpClient<O>);
|
|
49
49
|
/**
|
|
50
|
-
* HTTP
|
|
51
|
-
* Java method: org.openremote.model.
|
|
52
|
-
*/
|
|
53
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
54
|
-
/**
|
|
55
|
-
* HTTP GET /provisioning
|
|
56
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
57
|
-
*/
|
|
58
|
-
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
59
|
-
/**
|
|
60
|
-
* HTTP DELETE /provisioning/{id}
|
|
61
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
50
|
+
* HTTP GET /health
|
|
51
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
62
52
|
*/
|
|
63
|
-
|
|
53
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
54
|
+
[index: string]: any;
|
|
55
|
+
}>;
|
|
64
56
|
/**
|
|
65
|
-
* HTTP
|
|
66
|
-
* Java method: org.openremote.model.
|
|
57
|
+
* HTTP GET /info
|
|
58
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
67
59
|
*/
|
|
68
|
-
|
|
60
|
+
getInfo(options?: O): RestResponse<{
|
|
61
|
+
[index: string]: any;
|
|
62
|
+
}>;
|
|
69
63
|
}
|
|
70
64
|
export declare class ConsoleResourceClient<O> {
|
|
71
65
|
protected httpClient: HttpClient<O>;
|
|
@@ -76,114 +70,45 @@ export declare class ConsoleResourceClient<O> {
|
|
|
76
70
|
*/
|
|
77
71
|
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
78
72
|
}
|
|
79
|
-
export declare class
|
|
73
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
80
74
|
protected httpClient: HttpClient<O>;
|
|
81
75
|
constructor(httpClient: HttpClient<O>);
|
|
82
76
|
/**
|
|
83
|
-
* HTTP POST /asset
|
|
84
|
-
* Java method: org.openremote.model.
|
|
85
|
-
*/
|
|
86
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
87
|
-
/**
|
|
88
|
-
* HTTP DELETE /asset
|
|
89
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
90
|
-
*/
|
|
91
|
-
delete(queryParams?: {
|
|
92
|
-
assetId?: string[];
|
|
93
|
-
}, options?: O): RestResponse<void>;
|
|
94
|
-
/**
|
|
95
|
-
* HTTP PUT /asset/attributes
|
|
96
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
97
|
-
*/
|
|
98
|
-
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
99
|
-
/**
|
|
100
|
-
* HTTP PUT /asset/attributes/timestamp
|
|
101
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
102
|
-
*/
|
|
103
|
-
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
104
|
-
/**
|
|
105
|
-
* HTTP DELETE /asset/parent
|
|
106
|
-
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
107
|
-
*/
|
|
108
|
-
updateNoneParent(queryParams?: {
|
|
109
|
-
assetIds?: string[];
|
|
110
|
-
}, options?: O): RestResponse<void>;
|
|
111
|
-
/**
|
|
112
|
-
* HTTP GET /asset/partial/{assetId}
|
|
113
|
-
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
114
|
-
*/
|
|
115
|
-
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
116
|
-
/**
|
|
117
|
-
* HTTP POST /asset/query
|
|
118
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
119
|
-
*/
|
|
120
|
-
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
121
|
-
/**
|
|
122
|
-
* HTTP POST /asset/tree
|
|
123
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
77
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
78
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
124
79
|
*/
|
|
125
|
-
|
|
80
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
126
81
|
/**
|
|
127
|
-
* HTTP
|
|
128
|
-
* Java method: org.openremote.model.
|
|
82
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
83
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
129
84
|
*/
|
|
130
|
-
|
|
85
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
86
|
+
}
|
|
87
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
88
|
+
protected httpClient: HttpClient<O>;
|
|
89
|
+
constructor(httpClient: HttpClient<O>);
|
|
131
90
|
/**
|
|
132
|
-
* HTTP
|
|
133
|
-
* Java method: org.openremote.model.
|
|
91
|
+
* HTTP GET /asset/datapoint/export
|
|
92
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
134
93
|
*/
|
|
135
|
-
|
|
94
|
+
getDatapointExport(queryParams?: {
|
|
95
|
+
attributeRefs?: string;
|
|
96
|
+
fromTimestamp?: number;
|
|
97
|
+
toTimestamp?: number;
|
|
98
|
+
}, options?: O): RestResponse<any>;
|
|
136
99
|
/**
|
|
137
|
-
* HTTP GET /asset/
|
|
138
|
-
* Java method: org.openremote.model.
|
|
100
|
+
* HTTP GET /asset/datapoint/periods
|
|
101
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
139
102
|
*/
|
|
140
|
-
|
|
141
|
-
realm?: string;
|
|
142
|
-
userId?: string;
|
|
103
|
+
getDatapointPeriod(queryParams?: {
|
|
143
104
|
assetId?: string;
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
* HTTP POST /asset/user/link/delete
|
|
147
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
148
|
-
*/
|
|
149
|
-
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
150
|
-
/**
|
|
151
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
152
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
153
|
-
*/
|
|
154
|
-
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
155
|
-
/**
|
|
156
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
157
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
158
|
-
*/
|
|
159
|
-
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
160
|
-
/**
|
|
161
|
-
* HTTP GET /asset/{assetId}
|
|
162
|
-
* Java method: org.openremote.model.asset.AssetResource.get
|
|
163
|
-
*/
|
|
164
|
-
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
165
|
-
/**
|
|
166
|
-
* HTTP PUT /asset/{assetId}
|
|
167
|
-
* Java method: org.openremote.model.asset.AssetResource.update
|
|
168
|
-
*/
|
|
169
|
-
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
170
|
-
/**
|
|
171
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
172
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
173
|
-
*/
|
|
174
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
175
|
-
/**
|
|
176
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
177
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
178
|
-
*/
|
|
179
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
105
|
+
attributeName?: string;
|
|
106
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
180
107
|
/**
|
|
181
|
-
* HTTP
|
|
182
|
-
* Java method: org.openremote.model.
|
|
108
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
109
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
183
110
|
*/
|
|
184
|
-
|
|
185
|
-
assetIds?: string[];
|
|
186
|
-
}, options?: O): RestResponse<void>;
|
|
111
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
187
112
|
}
|
|
188
113
|
export declare class UserResourceClient<O> {
|
|
189
114
|
protected httpClient: HttpClient<O>;
|
|
@@ -309,6 +234,64 @@ export declare class UserResourceClient<O> {
|
|
|
309
234
|
*/
|
|
310
235
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
311
236
|
}
|
|
237
|
+
export declare class SyslogResourceClient<O> {
|
|
238
|
+
protected httpClient: HttpClient<O>;
|
|
239
|
+
constructor(httpClient: HttpClient<O>);
|
|
240
|
+
/**
|
|
241
|
+
* HTTP GET /syslog/config
|
|
242
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
243
|
+
*/
|
|
244
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
245
|
+
/**
|
|
246
|
+
* HTTP PUT /syslog/config
|
|
247
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
248
|
+
*/
|
|
249
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
250
|
+
/**
|
|
251
|
+
* HTTP DELETE /syslog/event
|
|
252
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
253
|
+
*/
|
|
254
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
255
|
+
/**
|
|
256
|
+
* HTTP GET /syslog/event
|
|
257
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
258
|
+
*/
|
|
259
|
+
getEvents(queryParams?: {
|
|
260
|
+
level?: Model.SyslogLevel;
|
|
261
|
+
per_page?: number;
|
|
262
|
+
page?: number;
|
|
263
|
+
from?: number;
|
|
264
|
+
to?: number;
|
|
265
|
+
category?: Model.SyslogCategory[];
|
|
266
|
+
subCategory?: string[];
|
|
267
|
+
}, options?: O): RestResponse<any>;
|
|
268
|
+
}
|
|
269
|
+
export declare class ConfigurationResourceClient<O> {
|
|
270
|
+
protected httpClient: HttpClient<O>;
|
|
271
|
+
constructor(httpClient: HttpClient<O>);
|
|
272
|
+
/**
|
|
273
|
+
* HTTP GET /configuration/manager
|
|
274
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
275
|
+
*/
|
|
276
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
277
|
+
/**
|
|
278
|
+
* HTTP PUT /configuration/manager
|
|
279
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
280
|
+
*/
|
|
281
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
282
|
+
/**
|
|
283
|
+
* HTTP POST /configuration/manager/file
|
|
284
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
285
|
+
*/
|
|
286
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
287
|
+
path?: string;
|
|
288
|
+
}, options?: O): RestResponse<string>;
|
|
289
|
+
/**
|
|
290
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
291
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
292
|
+
*/
|
|
293
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
294
|
+
}
|
|
312
295
|
export declare class FlowResourceClient<O> {
|
|
313
296
|
protected httpClient: HttpClient<O>;
|
|
314
297
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -328,58 +311,108 @@ export declare class FlowResourceClient<O> {
|
|
|
328
311
|
*/
|
|
329
312
|
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
330
313
|
}
|
|
331
|
-
export declare class
|
|
314
|
+
export declare class ProvisioningResourceClient<O> {
|
|
332
315
|
protected httpClient: HttpClient<O>;
|
|
333
316
|
constructor(httpClient: HttpClient<O>);
|
|
334
317
|
/**
|
|
335
|
-
* HTTP POST /
|
|
336
|
-
* Java method: org.openremote.model.
|
|
318
|
+
* HTTP POST /provisioning
|
|
319
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
337
320
|
*/
|
|
338
|
-
|
|
339
|
-
assetIds?: string[];
|
|
340
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
321
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
341
322
|
/**
|
|
342
|
-
* HTTP GET /
|
|
343
|
-
* Java method: org.openremote.model.
|
|
323
|
+
* HTTP GET /provisioning
|
|
324
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
344
325
|
*/
|
|
345
|
-
|
|
346
|
-
realm?: string;
|
|
347
|
-
status?: Model.AlarmStatus;
|
|
348
|
-
assetId?: string;
|
|
349
|
-
assigneeId?: string;
|
|
350
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
326
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
351
327
|
/**
|
|
352
|
-
* HTTP DELETE /
|
|
353
|
-
* Java method: org.openremote.model.
|
|
328
|
+
* HTTP DELETE /provisioning/{id}
|
|
329
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
354
330
|
*/
|
|
355
|
-
|
|
331
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
356
332
|
/**
|
|
357
|
-
* HTTP PUT /
|
|
358
|
-
* Java method: org.openremote.model.
|
|
333
|
+
* HTTP PUT /provisioning/{id}
|
|
334
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
359
335
|
*/
|
|
360
|
-
|
|
336
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
337
|
+
}
|
|
338
|
+
export declare class AgentResourceClient<O> {
|
|
339
|
+
protected httpClient: HttpClient<O>;
|
|
340
|
+
constructor(httpClient: HttpClient<O>);
|
|
361
341
|
/**
|
|
362
|
-
* HTTP GET /
|
|
363
|
-
* Java method: org.openremote.model.
|
|
342
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
343
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
364
344
|
*/
|
|
365
|
-
|
|
345
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
346
|
+
realm?: string;
|
|
347
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
366
348
|
/**
|
|
367
|
-
* HTTP
|
|
368
|
-
* Java method: org.openremote.model.
|
|
349
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
350
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
369
351
|
*/
|
|
370
|
-
|
|
352
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
353
|
+
realm?: string;
|
|
354
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
371
355
|
/**
|
|
372
|
-
* HTTP
|
|
373
|
-
* Java method: org.openremote.model.
|
|
356
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
357
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
374
358
|
*/
|
|
375
|
-
|
|
359
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
360
|
+
parentId?: string;
|
|
361
|
+
realm?: string;
|
|
362
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
363
|
+
}
|
|
364
|
+
export declare class AssetModelResourceClient<O> {
|
|
365
|
+
protected httpClient: HttpClient<O>;
|
|
366
|
+
constructor(httpClient: HttpClient<O>);
|
|
376
367
|
/**
|
|
377
|
-
* HTTP GET /
|
|
378
|
-
* Java method: org.openremote.model.
|
|
368
|
+
* HTTP GET /model/assetDescriptors
|
|
369
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
379
370
|
*/
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
371
|
+
getAssetDescriptors(queryParams?: {
|
|
372
|
+
parentId?: string;
|
|
373
|
+
parentType?: string;
|
|
374
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
375
|
+
/**
|
|
376
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
377
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
378
|
+
*/
|
|
379
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
380
|
+
parentId?: string;
|
|
381
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
382
|
+
/**
|
|
383
|
+
* HTTP GET /model/assetInfos
|
|
384
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
385
|
+
*/
|
|
386
|
+
getAssetInfos(queryParams?: {
|
|
387
|
+
parentId?: string;
|
|
388
|
+
parentType?: string;
|
|
389
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
390
|
+
/**
|
|
391
|
+
* HTTP GET /model/getValueDescriptorSchema
|
|
392
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
|
|
393
|
+
*/
|
|
394
|
+
getValueDescriptorSchema(queryParams?: {
|
|
395
|
+
name?: string;
|
|
396
|
+
hash?: string;
|
|
397
|
+
}, options?: O): RestResponse<any>;
|
|
398
|
+
/**
|
|
399
|
+
* HTTP GET /model/metaItemDescriptors
|
|
400
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
401
|
+
*/
|
|
402
|
+
getMetaItemDescriptors(queryParams?: {
|
|
403
|
+
parentId?: string;
|
|
404
|
+
}, options?: O): RestResponse<{
|
|
405
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
406
|
+
}>;
|
|
407
|
+
/**
|
|
408
|
+
* HTTP GET /model/valueDescriptors
|
|
409
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
410
|
+
*/
|
|
411
|
+
getValueDescriptors(queryParams?: {
|
|
412
|
+
parentId?: string;
|
|
413
|
+
}, options?: O): RestResponse<{
|
|
414
|
+
[index: string]: Model.ValueDescriptor;
|
|
415
|
+
}>;
|
|
383
416
|
}
|
|
384
417
|
export declare class ExternalServiceResourceClient<O> {
|
|
385
418
|
protected httpClient: HttpClient<O>;
|
|
@@ -489,23 +522,34 @@ export declare class MapResourceClient<O> {
|
|
|
489
522
|
[id: string]: unknown;
|
|
490
523
|
}>;
|
|
491
524
|
}
|
|
492
|
-
export declare class
|
|
525
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
493
526
|
protected httpClient: HttpClient<O>;
|
|
494
527
|
constructor(httpClient: HttpClient<O>);
|
|
495
528
|
/**
|
|
496
|
-
* HTTP
|
|
497
|
-
* Java method: org.openremote.model.
|
|
529
|
+
* HTTP POST /gateway/tunnel
|
|
530
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
498
531
|
*/
|
|
499
|
-
|
|
500
|
-
[index: string]: any;
|
|
501
|
-
}>;
|
|
532
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
502
533
|
/**
|
|
503
|
-
* HTTP
|
|
504
|
-
* Java method: org.openremote.model.
|
|
534
|
+
* HTTP DELETE /gateway/tunnel
|
|
535
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
505
536
|
*/
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
537
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
538
|
+
/**
|
|
539
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
540
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
541
|
+
*/
|
|
542
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
543
|
+
/**
|
|
544
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
545
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
546
|
+
*/
|
|
547
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
548
|
+
/**
|
|
549
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
550
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
551
|
+
*/
|
|
552
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
509
553
|
}
|
|
510
554
|
export declare class RulesResourceClient<O> {
|
|
511
555
|
protected httpClient: HttpClient<O>;
|
|
@@ -615,213 +659,167 @@ export declare class RulesResourceClient<O> {
|
|
|
615
659
|
*/
|
|
616
660
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
617
661
|
}
|
|
618
|
-
export declare class
|
|
662
|
+
export declare class AlarmResourceClient<O> {
|
|
619
663
|
protected httpClient: HttpClient<O>;
|
|
620
664
|
constructor(httpClient: HttpClient<O>);
|
|
621
665
|
/**
|
|
622
|
-
* HTTP
|
|
623
|
-
* Java method: org.openremote.model.
|
|
666
|
+
* HTTP POST /alarm
|
|
667
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
624
668
|
*/
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
toTimestamp?: number;
|
|
629
|
-
}, options?: O): RestResponse<any>;
|
|
669
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
670
|
+
assetIds?: string[];
|
|
671
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
630
672
|
/**
|
|
631
|
-
* HTTP GET /
|
|
632
|
-
* Java method: org.openremote.model.
|
|
673
|
+
* HTTP GET /alarm
|
|
674
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
633
675
|
*/
|
|
634
|
-
|
|
676
|
+
getAlarms(queryParams?: {
|
|
677
|
+
realm?: string;
|
|
678
|
+
status?: Model.AlarmStatus;
|
|
635
679
|
assetId?: string;
|
|
636
|
-
|
|
637
|
-
}, options?: O): RestResponse<Model.
|
|
638
|
-
/**
|
|
639
|
-
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
640
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
641
|
-
*/
|
|
642
|
-
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
643
|
-
}
|
|
644
|
-
export declare class GatewayClientResourceClient<O> {
|
|
645
|
-
protected httpClient: HttpClient<O>;
|
|
646
|
-
constructor(httpClient: HttpClient<O>);
|
|
680
|
+
assigneeId?: string;
|
|
681
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
647
682
|
/**
|
|
648
|
-
* HTTP DELETE /
|
|
649
|
-
* Java method: org.openremote.model.
|
|
683
|
+
* HTTP DELETE /alarm
|
|
684
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
650
685
|
*/
|
|
651
|
-
|
|
652
|
-
realm?: string[];
|
|
653
|
-
}, options?: O): RestResponse<void>;
|
|
686
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
654
687
|
/**
|
|
655
|
-
* HTTP
|
|
656
|
-
* Java method: org.openremote.model.
|
|
688
|
+
* HTTP PUT /alarm/assets
|
|
689
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
657
690
|
*/
|
|
658
|
-
|
|
691
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
659
692
|
/**
|
|
660
|
-
* HTTP
|
|
661
|
-
* Java method: org.openremote.model.
|
|
693
|
+
* HTTP GET /alarm/{alarmId}
|
|
694
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
662
695
|
*/
|
|
663
|
-
|
|
696
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
664
697
|
/**
|
|
665
|
-
* HTTP
|
|
666
|
-
* Java method: org.openremote.model.
|
|
698
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
699
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
667
700
|
*/
|
|
668
|
-
|
|
701
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
669
702
|
/**
|
|
670
|
-
* HTTP PUT /
|
|
671
|
-
* Java method: org.openremote.model.
|
|
703
|
+
* HTTP PUT /alarm/{alarmId}
|
|
704
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
672
705
|
*/
|
|
673
|
-
|
|
706
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
674
707
|
/**
|
|
675
|
-
* HTTP GET /
|
|
676
|
-
* Java method: org.openremote.model.
|
|
708
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
709
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
677
710
|
*/
|
|
678
|
-
|
|
711
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
712
|
+
realm?: string;
|
|
713
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
679
714
|
}
|
|
680
|
-
export declare class
|
|
715
|
+
export declare class AssetResourceClient<O> {
|
|
681
716
|
protected httpClient: HttpClient<O>;
|
|
682
717
|
constructor(httpClient: HttpClient<O>);
|
|
683
718
|
/**
|
|
684
|
-
* HTTP POST /
|
|
685
|
-
* Java method: org.openremote.model.
|
|
719
|
+
* HTTP POST /asset
|
|
720
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
686
721
|
*/
|
|
687
|
-
|
|
722
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
688
723
|
/**
|
|
689
|
-
* HTTP DELETE /
|
|
690
|
-
* Java method: org.openremote.model.
|
|
724
|
+
* HTTP DELETE /asset
|
|
725
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
691
726
|
*/
|
|
692
|
-
|
|
727
|
+
delete(queryParams?: {
|
|
728
|
+
assetId?: string[];
|
|
729
|
+
}, options?: O): RestResponse<void>;
|
|
693
730
|
/**
|
|
694
|
-
* HTTP
|
|
695
|
-
* Java method: org.openremote.model.
|
|
731
|
+
* HTTP PUT /asset/attributes
|
|
732
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
696
733
|
*/
|
|
697
|
-
|
|
734
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
698
735
|
/**
|
|
699
|
-
* HTTP
|
|
700
|
-
* Java method: org.openremote.model.
|
|
736
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
737
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
701
738
|
*/
|
|
702
|
-
|
|
739
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
703
740
|
/**
|
|
704
|
-
* HTTP
|
|
705
|
-
* Java method: org.openremote.model.
|
|
741
|
+
* HTTP DELETE /asset/parent
|
|
742
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
706
743
|
*/
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
protected httpClient: HttpClient<O>;
|
|
711
|
-
constructor(httpClient: HttpClient<O>);
|
|
744
|
+
updateNoneParent(queryParams?: {
|
|
745
|
+
assetIds?: string[];
|
|
746
|
+
}, options?: O): RestResponse<void>;
|
|
712
747
|
/**
|
|
713
|
-
* HTTP GET /
|
|
714
|
-
* Java method: org.openremote.model.
|
|
748
|
+
* HTTP GET /asset/partial/{assetId}
|
|
749
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
715
750
|
*/
|
|
716
|
-
|
|
751
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
717
752
|
/**
|
|
718
|
-
* HTTP
|
|
719
|
-
* Java method: org.openremote.model.
|
|
753
|
+
* HTTP POST /asset/query
|
|
754
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
720
755
|
*/
|
|
721
|
-
|
|
756
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
722
757
|
/**
|
|
723
|
-
* HTTP
|
|
724
|
-
* Java method: org.openremote.model.
|
|
758
|
+
* HTTP POST /asset/tree
|
|
759
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
725
760
|
*/
|
|
726
|
-
|
|
727
|
-
}
|
|
728
|
-
export declare class AgentResourceClient<O> {
|
|
729
|
-
protected httpClient: HttpClient<O>;
|
|
730
|
-
constructor(httpClient: HttpClient<O>);
|
|
761
|
+
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
731
762
|
/**
|
|
732
|
-
* HTTP GET /
|
|
733
|
-
* Java method: org.openremote.model.asset.
|
|
763
|
+
* HTTP GET /asset/user/current
|
|
764
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
734
765
|
*/
|
|
735
|
-
|
|
736
|
-
realm?: string;
|
|
737
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
766
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
738
767
|
/**
|
|
739
|
-
* HTTP POST /
|
|
740
|
-
* Java method: org.openremote.model.asset.
|
|
768
|
+
* HTTP POST /asset/user/link
|
|
769
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
741
770
|
*/
|
|
742
|
-
|
|
743
|
-
realm?: string;
|
|
744
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
771
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
745
772
|
/**
|
|
746
|
-
* HTTP GET /
|
|
747
|
-
* Java method: org.openremote.model.asset.
|
|
773
|
+
* HTTP GET /asset/user/link
|
|
774
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
748
775
|
*/
|
|
749
|
-
|
|
750
|
-
parentId?: string;
|
|
776
|
+
getUserAssetLinks(queryParams?: {
|
|
751
777
|
realm?: string;
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
protected httpClient: HttpClient<O>;
|
|
756
|
-
constructor(httpClient: HttpClient<O>);
|
|
757
|
-
/**
|
|
758
|
-
* HTTP GET /syslog/config
|
|
759
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
760
|
-
*/
|
|
761
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
762
|
-
/**
|
|
763
|
-
* HTTP PUT /syslog/config
|
|
764
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
765
|
-
*/
|
|
766
|
-
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
778
|
+
userId?: string;
|
|
779
|
+
assetId?: string;
|
|
780
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
767
781
|
/**
|
|
768
|
-
* HTTP
|
|
769
|
-
* Java method: org.openremote.model.
|
|
782
|
+
* HTTP POST /asset/user/link/delete
|
|
783
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
770
784
|
*/
|
|
771
|
-
|
|
785
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
772
786
|
/**
|
|
773
|
-
* HTTP
|
|
774
|
-
* Java method: org.openremote.model.
|
|
787
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
788
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
775
789
|
*/
|
|
776
|
-
|
|
777
|
-
level?: Model.SyslogLevel;
|
|
778
|
-
per_page?: number;
|
|
779
|
-
page?: number;
|
|
780
|
-
from?: number;
|
|
781
|
-
to?: number;
|
|
782
|
-
category?: Model.SyslogCategory[];
|
|
783
|
-
subCategory?: string[];
|
|
784
|
-
}, options?: O): RestResponse<any>;
|
|
785
|
-
}
|
|
786
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
787
|
-
protected httpClient: HttpClient<O>;
|
|
788
|
-
constructor(httpClient: HttpClient<O>);
|
|
790
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
789
791
|
/**
|
|
790
|
-
* HTTP
|
|
791
|
-
* Java method: org.openremote.model.
|
|
792
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
793
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
792
794
|
*/
|
|
793
|
-
|
|
795
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
794
796
|
/**
|
|
795
|
-
* HTTP
|
|
796
|
-
* Java method: org.openremote.model.
|
|
797
|
+
* HTTP GET /asset/{assetId}
|
|
798
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
797
799
|
*/
|
|
798
|
-
|
|
799
|
-
}
|
|
800
|
-
export declare class ConfigurationResourceClient<O> {
|
|
801
|
-
protected httpClient: HttpClient<O>;
|
|
802
|
-
constructor(httpClient: HttpClient<O>);
|
|
800
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
803
801
|
/**
|
|
804
|
-
* HTTP
|
|
805
|
-
* Java method: org.openremote.model.
|
|
802
|
+
* HTTP PUT /asset/{assetId}
|
|
803
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
806
804
|
*/
|
|
807
|
-
|
|
805
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
808
806
|
/**
|
|
809
|
-
* HTTP PUT /
|
|
810
|
-
* Java method: org.openremote.model.
|
|
807
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
808
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
811
809
|
*/
|
|
812
|
-
|
|
810
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
813
811
|
/**
|
|
814
|
-
* HTTP
|
|
815
|
-
* Java method: org.openremote.model.
|
|
812
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
813
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
816
814
|
*/
|
|
817
|
-
|
|
818
|
-
path?: string;
|
|
819
|
-
}, options?: O): RestResponse<string>;
|
|
815
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
820
816
|
/**
|
|
821
|
-
* HTTP
|
|
822
|
-
* Java method: org.openremote.model.
|
|
817
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
818
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
823
819
|
*/
|
|
824
|
-
|
|
820
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
821
|
+
assetIds?: string[];
|
|
822
|
+
}, options?: O): RestResponse<void>;
|
|
825
823
|
}
|
|
826
824
|
export declare class NotificationResourceClient<O> {
|
|
827
825
|
protected httpClient: HttpClient<O>;
|
|
@@ -877,6 +875,61 @@ export declare class NotificationResourceClient<O> {
|
|
|
877
875
|
targetId?: string;
|
|
878
876
|
}, options?: O): RestResponse<void>;
|
|
879
877
|
}
|
|
878
|
+
export declare class GatewayClientResourceClient<O> {
|
|
879
|
+
protected httpClient: HttpClient<O>;
|
|
880
|
+
constructor(httpClient: HttpClient<O>);
|
|
881
|
+
/**
|
|
882
|
+
* HTTP DELETE /gateway/connection
|
|
883
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
884
|
+
*/
|
|
885
|
+
deleteConnections(queryParams?: {
|
|
886
|
+
realm?: string[];
|
|
887
|
+
}, options?: O): RestResponse<void>;
|
|
888
|
+
/**
|
|
889
|
+
* HTTP GET /gateway/connection
|
|
890
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
891
|
+
*/
|
|
892
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
893
|
+
/**
|
|
894
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
895
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
896
|
+
*/
|
|
897
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
898
|
+
/**
|
|
899
|
+
* HTTP GET /gateway/connection/{realm}
|
|
900
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
901
|
+
*/
|
|
902
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
903
|
+
/**
|
|
904
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
905
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
906
|
+
*/
|
|
907
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
908
|
+
/**
|
|
909
|
+
* HTTP GET /gateway/status/{realm}
|
|
910
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
911
|
+
*/
|
|
912
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
913
|
+
}
|
|
914
|
+
export declare class AppResourceClient<O> {
|
|
915
|
+
protected httpClient: HttpClient<O>;
|
|
916
|
+
constructor(httpClient: HttpClient<O>);
|
|
917
|
+
/**
|
|
918
|
+
* HTTP GET /apps
|
|
919
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
920
|
+
*/
|
|
921
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
922
|
+
/**
|
|
923
|
+
* HTTP GET /apps/consoleConfig
|
|
924
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
925
|
+
*/
|
|
926
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
927
|
+
/**
|
|
928
|
+
* HTTP GET /apps/info
|
|
929
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
930
|
+
*/
|
|
931
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
932
|
+
}
|
|
880
933
|
export declare class DashboardResourceClient<O> {
|
|
881
934
|
protected httpClient: HttpClient<O>;
|
|
882
935
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -911,106 +964,53 @@ export declare class DashboardResourceClient<O> {
|
|
|
911
964
|
*/
|
|
912
965
|
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
913
966
|
}
|
|
914
|
-
export declare class AssetModelResourceClient<O> {
|
|
915
|
-
protected httpClient: HttpClient<O>;
|
|
916
|
-
constructor(httpClient: HttpClient<O>);
|
|
917
|
-
/**
|
|
918
|
-
* HTTP GET /model/assetDescriptors
|
|
919
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
920
|
-
*/
|
|
921
|
-
getAssetDescriptors(queryParams?: {
|
|
922
|
-
parentId?: string;
|
|
923
|
-
parentType?: string;
|
|
924
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
925
|
-
/**
|
|
926
|
-
* HTTP GET /model/assetInfo/{assetType}
|
|
927
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
928
|
-
*/
|
|
929
|
-
getAssetInfo(assetType: string, queryParams?: {
|
|
930
|
-
parentId?: string;
|
|
931
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
932
|
-
/**
|
|
933
|
-
* HTTP GET /model/assetInfos
|
|
934
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
935
|
-
*/
|
|
936
|
-
getAssetInfos(queryParams?: {
|
|
937
|
-
parentId?: string;
|
|
938
|
-
parentType?: string;
|
|
939
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
940
|
-
/**
|
|
941
|
-
* HTTP GET /model/getValueDescriptorSchema
|
|
942
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
|
|
943
|
-
*/
|
|
944
|
-
getValueDescriptorSchema(queryParams?: {
|
|
945
|
-
name?: string;
|
|
946
|
-
hash?: string;
|
|
947
|
-
}, options?: O): RestResponse<any>;
|
|
948
|
-
/**
|
|
949
|
-
* HTTP GET /model/metaItemDescriptors
|
|
950
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
951
|
-
*/
|
|
952
|
-
getMetaItemDescriptors(queryParams?: {
|
|
953
|
-
parentId?: string;
|
|
954
|
-
}, options?: O): RestResponse<{
|
|
955
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
956
|
-
}>;
|
|
957
|
-
/**
|
|
958
|
-
* HTTP GET /model/valueDescriptors
|
|
959
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
960
|
-
*/
|
|
961
|
-
getValueDescriptors(queryParams?: {
|
|
962
|
-
parentId?: string;
|
|
963
|
-
}, options?: O): RestResponse<{
|
|
964
|
-
[index: string]: Model.ValueDescriptor;
|
|
965
|
-
}>;
|
|
966
|
-
}
|
|
967
967
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
968
968
|
export declare class ApiClient {
|
|
969
969
|
protected _realmResource: AxiosRealmResourceClient;
|
|
970
|
-
protected
|
|
970
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
971
971
|
protected _consoleResource: AxiosConsoleResourceClient;
|
|
972
|
-
protected
|
|
972
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
973
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
973
974
|
protected _userResource: AxiosUserResourceClient;
|
|
975
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
976
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
974
977
|
protected _flowResource: AxiosFlowResourceClient;
|
|
975
|
-
protected
|
|
978
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
979
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
980
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
976
981
|
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
977
982
|
protected _mapResource: AxiosMapResourceClient;
|
|
978
|
-
protected
|
|
983
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
979
984
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
980
|
-
protected
|
|
985
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
986
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
987
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
981
988
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
982
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
983
989
|
protected _appResource: AxiosAppResourceClient;
|
|
984
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
985
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
986
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
987
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
988
|
-
protected _notificationResource: AxiosNotificationResourceClient;
|
|
989
990
|
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
990
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
991
991
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
992
992
|
get RealmResource(): AxiosRealmResourceClient;
|
|
993
|
-
get
|
|
993
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
994
994
|
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
995
|
-
get
|
|
995
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
996
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
996
997
|
get UserResource(): AxiosUserResourceClient;
|
|
998
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
999
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
997
1000
|
get FlowResource(): AxiosFlowResourceClient;
|
|
998
|
-
get
|
|
1001
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
1002
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
1003
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
999
1004
|
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
1000
1005
|
get MapResource(): AxiosMapResourceClient;
|
|
1001
|
-
get
|
|
1006
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
1002
1007
|
get RulesResource(): AxiosRulesResourceClient;
|
|
1003
|
-
get
|
|
1008
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1009
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
1010
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1004
1011
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
1005
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
1006
1012
|
get AppResource(): AxiosAppResourceClient;
|
|
1007
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
1008
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
1009
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1010
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
1011
|
-
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1012
1013
|
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1013
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1014
1014
|
}
|
|
1015
1015
|
import * as Axios from "axios";
|
|
1016
1016
|
declare module "axios" {
|
|
@@ -1021,67 +1021,67 @@ declare module "axios" {
|
|
|
1021
1021
|
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1022
1022
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1023
1023
|
}
|
|
1024
|
-
export declare class
|
|
1024
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1025
1025
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1026
1026
|
}
|
|
1027
1027
|
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1028
1028
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1029
1029
|
}
|
|
1030
|
-
export declare class
|
|
1030
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1031
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1032
|
+
}
|
|
1033
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1031
1034
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1032
1035
|
}
|
|
1033
1036
|
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1034
1037
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1035
1038
|
}
|
|
1036
|
-
export declare class
|
|
1039
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1037
1040
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1038
1041
|
}
|
|
1039
|
-
export declare class
|
|
1042
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1040
1043
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1041
1044
|
}
|
|
1042
|
-
export declare class
|
|
1045
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1043
1046
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1044
1047
|
}
|
|
1045
|
-
export declare class
|
|
1048
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1046
1049
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1047
1050
|
}
|
|
1048
|
-
export declare class
|
|
1051
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1049
1052
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1050
1053
|
}
|
|
1051
|
-
export declare class
|
|
1054
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1052
1055
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1053
1056
|
}
|
|
1054
|
-
export declare class
|
|
1057
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1055
1058
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1056
1059
|
}
|
|
1057
|
-
export declare class
|
|
1060
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1058
1061
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1059
1062
|
}
|
|
1060
1063
|
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1061
1064
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1062
1065
|
}
|
|
1063
|
-
export declare class
|
|
1066
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1064
1067
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1065
1068
|
}
|
|
1066
|
-
export declare class
|
|
1069
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1067
1070
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1068
1071
|
}
|
|
1069
|
-
export declare class
|
|
1072
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1070
1073
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1071
1074
|
}
|
|
1072
|
-
export declare class
|
|
1075
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1073
1076
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1074
1077
|
}
|
|
1075
|
-
export declare class
|
|
1078
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1076
1079
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1077
1080
|
}
|
|
1078
|
-
export declare class
|
|
1081
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1079
1082
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1080
1083
|
}
|
|
1081
1084
|
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1082
1085
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1083
1086
|
}
|
|
1084
|
-
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1085
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1086
|
-
}
|
|
1087
1087
|
//# sourceMappingURL=restclient.d.ts.map
|