@openremote/rest 1.3.0-snapshot.20250203155234 → 1.3.0-snapshot.20250203163248
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +1 -1
- package/lib/restclient.d.ts +402 -402
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +3 -3
package/lib/restclient.d.ts
CHANGED
|
@@ -9,37 +9,24 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class FlowResourceClient<O> {
|
|
13
13
|
protected httpClient: HttpClient<O>;
|
|
14
14
|
constructor(httpClient: HttpClient<O>);
|
|
15
15
|
/**
|
|
16
|
-
* HTTP GET /
|
|
17
|
-
* Java method: org.openremote.model.
|
|
18
|
-
*/
|
|
19
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
20
|
-
/**
|
|
21
|
-
* HTTP PUT /syslog/config
|
|
22
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
16
|
+
* HTTP GET /flow
|
|
17
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
23
18
|
*/
|
|
24
|
-
|
|
19
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
25
20
|
/**
|
|
26
|
-
* HTTP
|
|
27
|
-
* Java method: org.openremote.model.
|
|
21
|
+
* HTTP GET /flow/{name}
|
|
22
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
28
23
|
*/
|
|
29
|
-
|
|
24
|
+
getNodeDefinition(name: any, options?: O): RestResponse<Model.Node>;
|
|
30
25
|
/**
|
|
31
|
-
* HTTP GET /
|
|
32
|
-
* Java method: org.openremote.model.
|
|
26
|
+
* HTTP GET /flow/{type}
|
|
27
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
33
28
|
*/
|
|
34
|
-
|
|
35
|
-
level?: Model.SyslogLevel;
|
|
36
|
-
per_page?: any;
|
|
37
|
-
page?: any;
|
|
38
|
-
from?: any;
|
|
39
|
-
to?: any;
|
|
40
|
-
category?: Model.SyslogCategory[];
|
|
41
|
-
subCategory?: any[];
|
|
42
|
-
}, options?: O): RestResponse<any>;
|
|
29
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
43
30
|
}
|
|
44
31
|
export declare class AssetModelResourceClient<O> {
|
|
45
32
|
protected httpClient: HttpClient<O>;
|
|
@@ -86,6 +73,32 @@ export declare class AssetModelResourceClient<O> {
|
|
|
86
73
|
[index: string]: Model.ValueDescriptor;
|
|
87
74
|
}>;
|
|
88
75
|
}
|
|
76
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
77
|
+
protected httpClient: HttpClient<O>;
|
|
78
|
+
constructor(httpClient: HttpClient<O>);
|
|
79
|
+
/**
|
|
80
|
+
* HTTP GET /asset/datapoint/export
|
|
81
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
82
|
+
*/
|
|
83
|
+
getDatapointExport(queryParams?: {
|
|
84
|
+
attributeRefs?: any;
|
|
85
|
+
fromTimestamp?: number;
|
|
86
|
+
toTimestamp?: number;
|
|
87
|
+
}, options?: O): RestResponse<any>;
|
|
88
|
+
/**
|
|
89
|
+
* HTTP GET /asset/datapoint/periods
|
|
90
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
91
|
+
*/
|
|
92
|
+
getDatapointPeriod(queryParams?: {
|
|
93
|
+
assetId?: any;
|
|
94
|
+
attributeName?: any;
|
|
95
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
96
|
+
/**
|
|
97
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
98
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
99
|
+
*/
|
|
100
|
+
getDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
101
|
+
}
|
|
89
102
|
export declare class AppResourceClient<O> {
|
|
90
103
|
protected httpClient: HttpClient<O>;
|
|
91
104
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -105,14 +118,39 @@ export declare class AppResourceClient<O> {
|
|
|
105
118
|
*/
|
|
106
119
|
getAppInfos(options?: O): RestResponse<any>;
|
|
107
120
|
}
|
|
108
|
-
export declare class
|
|
121
|
+
export declare class RealmResourceClient<O> {
|
|
109
122
|
protected httpClient: HttpClient<O>;
|
|
110
123
|
constructor(httpClient: HttpClient<O>);
|
|
111
124
|
/**
|
|
112
|
-
* HTTP POST /
|
|
113
|
-
* Java method: org.openremote.model.
|
|
125
|
+
* HTTP POST /realm
|
|
126
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
114
127
|
*/
|
|
115
|
-
|
|
128
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
129
|
+
/**
|
|
130
|
+
* HTTP GET /realm
|
|
131
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
132
|
+
*/
|
|
133
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
134
|
+
/**
|
|
135
|
+
* HTTP GET /realm/accessible
|
|
136
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
137
|
+
*/
|
|
138
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
139
|
+
/**
|
|
140
|
+
* HTTP DELETE /realm/{name}
|
|
141
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
142
|
+
*/
|
|
143
|
+
delete(name: any, options?: O): RestResponse<void>;
|
|
144
|
+
/**
|
|
145
|
+
* HTTP GET /realm/{name}
|
|
146
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
147
|
+
*/
|
|
148
|
+
get(name: any, options?: O): RestResponse<Model.Realm>;
|
|
149
|
+
/**
|
|
150
|
+
* HTTP PUT /realm/{name}
|
|
151
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
152
|
+
*/
|
|
153
|
+
update(name: any, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
116
154
|
}
|
|
117
155
|
export declare class GatewayServiceResourceClient<O> {
|
|
118
156
|
protected httpClient: HttpClient<O>;
|
|
@@ -143,151 +181,170 @@ export declare class GatewayServiceResourceClient<O> {
|
|
|
143
181
|
*/
|
|
144
182
|
getActiveTunnelInfo(realm: any, id: any, target: any, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
145
183
|
}
|
|
146
|
-
export declare class
|
|
184
|
+
export declare class AssetResourceClient<O> {
|
|
147
185
|
protected httpClient: HttpClient<O>;
|
|
148
186
|
constructor(httpClient: HttpClient<O>);
|
|
149
187
|
/**
|
|
150
|
-
* HTTP
|
|
151
|
-
* Java method: org.openremote.model.asset.
|
|
188
|
+
* HTTP POST /asset
|
|
189
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
152
190
|
*/
|
|
153
|
-
|
|
154
|
-
realm?: any;
|
|
155
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
191
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
156
192
|
/**
|
|
157
|
-
* HTTP
|
|
158
|
-
* Java method: org.openremote.model.asset.
|
|
193
|
+
* HTTP DELETE /asset
|
|
194
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
159
195
|
*/
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}, options?: O): RestResponse<
|
|
196
|
+
delete(queryParams?: {
|
|
197
|
+
assetId?: any[];
|
|
198
|
+
}, options?: O): RestResponse<void>;
|
|
163
199
|
/**
|
|
164
|
-
* HTTP
|
|
165
|
-
* Java method: org.openremote.model.asset.
|
|
200
|
+
* HTTP PUT /asset/attributes
|
|
201
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
166
202
|
*/
|
|
167
|
-
|
|
168
|
-
parentId?: any;
|
|
169
|
-
realm?: any;
|
|
170
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
171
|
-
}
|
|
172
|
-
export declare class StatusResourceClient<O> {
|
|
173
|
-
protected httpClient: HttpClient<O>;
|
|
174
|
-
constructor(httpClient: HttpClient<O>);
|
|
203
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
175
204
|
/**
|
|
176
|
-
* HTTP
|
|
177
|
-
* Java method: org.openremote.model.
|
|
205
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
206
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
178
207
|
*/
|
|
179
|
-
|
|
180
|
-
[index: string]: any;
|
|
181
|
-
}>;
|
|
208
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
182
209
|
/**
|
|
183
|
-
* HTTP
|
|
184
|
-
* Java method: org.openremote.model.
|
|
210
|
+
* HTTP DELETE /asset/parent
|
|
211
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
185
212
|
*/
|
|
186
|
-
|
|
187
|
-
[
|
|
188
|
-
}>;
|
|
189
|
-
}
|
|
190
|
-
export declare class NotificationResourceClient<O> {
|
|
191
|
-
protected httpClient: HttpClient<O>;
|
|
192
|
-
constructor(httpClient: HttpClient<O>);
|
|
213
|
+
updateNoneParent(queryParams?: {
|
|
214
|
+
assetIds?: any[];
|
|
215
|
+
}, options?: O): RestResponse<void>;
|
|
193
216
|
/**
|
|
194
|
-
* HTTP GET /
|
|
195
|
-
* Java method: org.openremote.model.
|
|
217
|
+
* HTTP GET /asset/partial/{assetId}
|
|
218
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
196
219
|
*/
|
|
197
|
-
|
|
198
|
-
id?: any;
|
|
199
|
-
type?: any;
|
|
200
|
-
from?: any;
|
|
201
|
-
to?: any;
|
|
202
|
-
realmId?: any;
|
|
203
|
-
userId?: any;
|
|
204
|
-
assetId?: any;
|
|
205
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
220
|
+
getPartial(assetId: any, options?: O): RestResponse<Model.Asset>;
|
|
206
221
|
/**
|
|
207
|
-
* HTTP
|
|
208
|
-
* Java method: org.openremote.model.
|
|
222
|
+
* HTTP POST /asset/query
|
|
223
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
209
224
|
*/
|
|
210
|
-
|
|
211
|
-
id?: any;
|
|
212
|
-
type?: any;
|
|
213
|
-
from?: any;
|
|
214
|
-
to?: any;
|
|
215
|
-
realmId?: any;
|
|
216
|
-
userId?: any;
|
|
217
|
-
assetId?: any;
|
|
218
|
-
}, options?: O): RestResponse<void>;
|
|
225
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
219
226
|
/**
|
|
220
|
-
* HTTP
|
|
221
|
-
* Java method: org.openremote.model.
|
|
227
|
+
* HTTP GET /asset/user/current
|
|
228
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
222
229
|
*/
|
|
223
|
-
|
|
230
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
224
231
|
/**
|
|
225
|
-
* HTTP
|
|
226
|
-
* Java method: org.openremote.model.
|
|
232
|
+
* HTTP POST /asset/user/link
|
|
233
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
227
234
|
*/
|
|
228
|
-
|
|
235
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
229
236
|
/**
|
|
230
|
-
* HTTP
|
|
231
|
-
* Java method: org.openremote.model.
|
|
237
|
+
* HTTP GET /asset/user/link
|
|
238
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
232
239
|
*/
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
240
|
+
getUserAssetLinks(queryParams?: {
|
|
241
|
+
realm?: any;
|
|
242
|
+
userId?: any;
|
|
243
|
+
assetId?: any;
|
|
244
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
236
245
|
/**
|
|
237
|
-
* HTTP
|
|
238
|
-
* Java method: org.openremote.model.
|
|
246
|
+
* HTTP POST /asset/user/link/delete
|
|
247
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
239
248
|
*/
|
|
240
|
-
|
|
241
|
-
targetId?: any;
|
|
242
|
-
}, options?: O): RestResponse<void>;
|
|
243
|
-
}
|
|
244
|
-
export declare class DashboardResourceClient<O> {
|
|
245
|
-
protected httpClient: HttpClient<O>;
|
|
246
|
-
constructor(httpClient: HttpClient<O>);
|
|
249
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
247
250
|
/**
|
|
248
|
-
* HTTP
|
|
249
|
-
* Java method: org.openremote.model.
|
|
251
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
252
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
250
253
|
*/
|
|
251
|
-
|
|
254
|
+
deleteAllUserAssetLinks(realm: any, userId: any, options?: O): RestResponse<void>;
|
|
252
255
|
/**
|
|
253
|
-
* HTTP
|
|
254
|
-
* Java method: org.openremote.model.
|
|
256
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
257
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
255
258
|
*/
|
|
256
|
-
|
|
259
|
+
deleteUserAssetLink(realm: any, userId: any, assetId: any, options?: O): RestResponse<void>;
|
|
257
260
|
/**
|
|
258
|
-
* HTTP GET /
|
|
259
|
-
* Java method: org.openremote.model.
|
|
261
|
+
* HTTP GET /asset/{assetId}
|
|
262
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
260
263
|
*/
|
|
261
|
-
|
|
264
|
+
get(assetId: any, options?: O): RestResponse<Model.Asset>;
|
|
262
265
|
/**
|
|
263
|
-
* HTTP
|
|
264
|
-
* Java method: org.openremote.model.
|
|
266
|
+
* HTTP PUT /asset/{assetId}
|
|
267
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
265
268
|
*/
|
|
266
|
-
|
|
269
|
+
update(assetId: any, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
267
270
|
/**
|
|
268
|
-
* HTTP
|
|
269
|
-
* Java method: org.openremote.model.
|
|
271
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
272
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
270
273
|
*/
|
|
271
|
-
|
|
274
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: any, attributeName: any, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
272
275
|
/**
|
|
273
|
-
* HTTP
|
|
274
|
-
* Java method: org.openremote.model.
|
|
276
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
277
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
275
278
|
*/
|
|
276
|
-
|
|
279
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: any, attributeName: any, timestamp: any, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
280
|
+
/**
|
|
281
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
282
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
283
|
+
*/
|
|
284
|
+
updateParent(parentAssetId: any, queryParams?: {
|
|
285
|
+
assetIds?: any[];
|
|
286
|
+
}, options?: O): RestResponse<void>;
|
|
277
287
|
}
|
|
278
|
-
export declare class
|
|
288
|
+
export declare class ConsoleResourceClient<O> {
|
|
279
289
|
protected httpClient: HttpClient<O>;
|
|
280
290
|
constructor(httpClient: HttpClient<O>);
|
|
281
291
|
/**
|
|
282
|
-
* HTTP POST /
|
|
283
|
-
* Java method: org.openremote.model.
|
|
292
|
+
* HTTP POST /console/register
|
|
293
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
284
294
|
*/
|
|
285
|
-
|
|
295
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
296
|
+
}
|
|
297
|
+
export declare class ConfigurationResourceClient<O> {
|
|
298
|
+
protected httpClient: HttpClient<O>;
|
|
299
|
+
constructor(httpClient: HttpClient<O>);
|
|
286
300
|
/**
|
|
287
|
-
* HTTP
|
|
288
|
-
* Java method: org.openremote.model.
|
|
301
|
+
* HTTP GET /configuration/manager
|
|
302
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
289
303
|
*/
|
|
290
|
-
|
|
304
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
305
|
+
/**
|
|
306
|
+
* HTTP PUT /configuration/manager
|
|
307
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
308
|
+
*/
|
|
309
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
310
|
+
/**
|
|
311
|
+
* HTTP POST /configuration/manager/file
|
|
312
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
313
|
+
*/
|
|
314
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
315
|
+
path?: any;
|
|
316
|
+
}, options?: O): RestResponse<any>;
|
|
317
|
+
/**
|
|
318
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
319
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
320
|
+
*/
|
|
321
|
+
getManagerConfigImage(filename: any, options?: O): RestResponse<any>;
|
|
322
|
+
}
|
|
323
|
+
export declare class AgentResourceClient<O> {
|
|
324
|
+
protected httpClient: HttpClient<O>;
|
|
325
|
+
constructor(httpClient: HttpClient<O>);
|
|
326
|
+
/**
|
|
327
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
328
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
329
|
+
*/
|
|
330
|
+
doProtocolAssetDiscovery(agentId: any, queryParams?: {
|
|
331
|
+
realm?: any;
|
|
332
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
333
|
+
/**
|
|
334
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
335
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
336
|
+
*/
|
|
337
|
+
doProtocolAssetImport(agentId: any, fileInfo: Model.FileInfo, queryParams?: {
|
|
338
|
+
realm?: any;
|
|
339
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
340
|
+
/**
|
|
341
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
342
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
343
|
+
*/
|
|
344
|
+
doProtocolInstanceDiscovery(agentType: any, queryParams?: {
|
|
345
|
+
parentId?: any;
|
|
346
|
+
realm?: any;
|
|
347
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
291
348
|
}
|
|
292
349
|
export declare class ProvisioningResourceClient<O> {
|
|
293
350
|
protected httpClient: HttpClient<O>;
|
|
@@ -313,110 +370,103 @@ export declare class ProvisioningResourceClient<O> {
|
|
|
313
370
|
*/
|
|
314
371
|
updateProvisioningConfig(id: any, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
315
372
|
}
|
|
316
|
-
export declare class
|
|
373
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
317
374
|
protected httpClient: HttpClient<O>;
|
|
318
375
|
constructor(httpClient: HttpClient<O>);
|
|
319
376
|
/**
|
|
320
|
-
* HTTP
|
|
321
|
-
* Java method: org.openremote.model.datapoint.
|
|
322
|
-
*/
|
|
323
|
-
getDatapointExport(queryParams?: {
|
|
324
|
-
attributeRefs?: any;
|
|
325
|
-
fromTimestamp?: number;
|
|
326
|
-
toTimestamp?: number;
|
|
327
|
-
}, options?: O): RestResponse<any>;
|
|
328
|
-
/**
|
|
329
|
-
* HTTP GET /asset/datapoint/periods
|
|
330
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
377
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
378
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
331
379
|
*/
|
|
332
|
-
|
|
333
|
-
assetId?: any;
|
|
334
|
-
attributeName?: any;
|
|
335
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
380
|
+
getPredictedDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
336
381
|
/**
|
|
337
|
-
* HTTP
|
|
338
|
-
* Java method: org.openremote.model.datapoint.
|
|
382
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
383
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
339
384
|
*/
|
|
340
|
-
|
|
385
|
+
writePredictedDatapoints(assetId: any, attributeName: any, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
341
386
|
}
|
|
342
|
-
export declare class
|
|
387
|
+
export declare class NotificationResourceClient<O> {
|
|
343
388
|
protected httpClient: HttpClient<O>;
|
|
344
389
|
constructor(httpClient: HttpClient<O>);
|
|
345
390
|
/**
|
|
346
|
-
* HTTP
|
|
347
|
-
* Java method: org.openremote.model.
|
|
391
|
+
* HTTP GET /notification
|
|
392
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
348
393
|
*/
|
|
349
|
-
|
|
394
|
+
getNotifications(queryParams?: {
|
|
395
|
+
id?: any;
|
|
396
|
+
type?: any;
|
|
397
|
+
from?: any;
|
|
398
|
+
to?: any;
|
|
399
|
+
realmId?: any;
|
|
400
|
+
userId?: any;
|
|
401
|
+
assetId?: any;
|
|
402
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
350
403
|
/**
|
|
351
|
-
* HTTP
|
|
352
|
-
* Java method: org.openremote.model.
|
|
404
|
+
* HTTP DELETE /notification
|
|
405
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
353
406
|
*/
|
|
354
|
-
|
|
407
|
+
removeNotifications(queryParams?: {
|
|
408
|
+
id?: any;
|
|
409
|
+
type?: any;
|
|
410
|
+
from?: any;
|
|
411
|
+
to?: any;
|
|
412
|
+
realmId?: any;
|
|
413
|
+
userId?: any;
|
|
414
|
+
assetId?: any;
|
|
415
|
+
}, options?: O): RestResponse<void>;
|
|
355
416
|
/**
|
|
356
|
-
* HTTP
|
|
357
|
-
* Java method: org.openremote.model.
|
|
417
|
+
* HTTP POST /notification/alert
|
|
418
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
358
419
|
*/
|
|
359
|
-
|
|
420
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
360
421
|
/**
|
|
361
|
-
* HTTP DELETE /
|
|
362
|
-
* Java method: org.openremote.model.
|
|
422
|
+
* HTTP DELETE /notification/{notificationId}
|
|
423
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
363
424
|
*/
|
|
364
|
-
|
|
425
|
+
removeNotification(notificationId: any, options?: O): RestResponse<void>;
|
|
365
426
|
/**
|
|
366
|
-
* HTTP
|
|
367
|
-
* Java method: org.openremote.model.
|
|
427
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
428
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
368
429
|
*/
|
|
369
|
-
|
|
430
|
+
notificationAcknowledged(notificationId: any, acknowledgement: any, queryParams?: {
|
|
431
|
+
targetId?: any;
|
|
432
|
+
}, options?: O): RestResponse<void>;
|
|
370
433
|
/**
|
|
371
|
-
* HTTP PUT /
|
|
372
|
-
* Java method: org.openremote.model.
|
|
434
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
435
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
373
436
|
*/
|
|
374
|
-
|
|
437
|
+
notificationDelivered(notificationId: any, queryParams?: {
|
|
438
|
+
targetId?: any;
|
|
439
|
+
}, options?: O): RestResponse<void>;
|
|
375
440
|
}
|
|
376
|
-
export declare class
|
|
441
|
+
export declare class MapResourceClient<O> {
|
|
377
442
|
protected httpClient: HttpClient<O>;
|
|
378
443
|
constructor(httpClient: HttpClient<O>);
|
|
379
444
|
/**
|
|
380
|
-
* HTTP GET /
|
|
381
|
-
* Java method: org.openremote.model.
|
|
382
|
-
*/
|
|
383
|
-
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
384
|
-
/**
|
|
385
|
-
* HTTP PUT /configuration/manager
|
|
386
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
445
|
+
* HTTP GET /map
|
|
446
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
387
447
|
*/
|
|
388
|
-
|
|
448
|
+
getSettings(options?: O): RestResponse<{
|
|
449
|
+
[id: string]: any;
|
|
450
|
+
}>;
|
|
389
451
|
/**
|
|
390
|
-
* HTTP
|
|
391
|
-
* Java method: org.openremote.model.
|
|
452
|
+
* HTTP PUT /map
|
|
453
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
392
454
|
*/
|
|
393
|
-
|
|
394
|
-
|
|
455
|
+
saveSettings(mapConfig: {
|
|
456
|
+
[index: string]: Model.MapRealmConfig;
|
|
395
457
|
}, options?: O): RestResponse<any>;
|
|
396
458
|
/**
|
|
397
|
-
* HTTP GET /
|
|
398
|
-
* Java method: org.openremote.model.
|
|
399
|
-
*/
|
|
400
|
-
getManagerConfigImage(filename: any, options?: O): RestResponse<any>;
|
|
401
|
-
}
|
|
402
|
-
export declare class FlowResourceClient<O> {
|
|
403
|
-
protected httpClient: HttpClient<O>;
|
|
404
|
-
constructor(httpClient: HttpClient<O>);
|
|
405
|
-
/**
|
|
406
|
-
* HTTP GET /flow
|
|
407
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
408
|
-
*/
|
|
409
|
-
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
410
|
-
/**
|
|
411
|
-
* HTTP GET /flow/{name}
|
|
412
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
459
|
+
* HTTP GET /map/js
|
|
460
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
413
461
|
*/
|
|
414
|
-
|
|
462
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
463
|
+
[id: string]: any;
|
|
464
|
+
}>;
|
|
415
465
|
/**
|
|
416
|
-
* HTTP GET /
|
|
417
|
-
* Java method: org.openremote.model.
|
|
466
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
467
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
418
468
|
*/
|
|
419
|
-
|
|
469
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
420
470
|
}
|
|
421
471
|
export declare class RulesResourceClient<O> {
|
|
422
472
|
protected httpClient: HttpClient<O>;
|
|
@@ -526,58 +576,59 @@ export declare class RulesResourceClient<O> {
|
|
|
526
576
|
*/
|
|
527
577
|
updateGlobalRuleset(id: any, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
528
578
|
}
|
|
529
|
-
export declare class
|
|
579
|
+
export declare class StatusResourceClient<O> {
|
|
530
580
|
protected httpClient: HttpClient<O>;
|
|
531
581
|
constructor(httpClient: HttpClient<O>);
|
|
532
582
|
/**
|
|
533
|
-
* HTTP
|
|
534
|
-
* Java method: org.openremote.model.
|
|
583
|
+
* HTTP GET /health
|
|
584
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
535
585
|
*/
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
}
|
|
586
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
587
|
+
[index: string]: any;
|
|
588
|
+
}>;
|
|
539
589
|
/**
|
|
540
|
-
* HTTP GET /
|
|
541
|
-
* Java method: org.openremote.model.
|
|
590
|
+
* HTTP GET /info
|
|
591
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
542
592
|
*/
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
593
|
+
getInfo(options?: O): RestResponse<{
|
|
594
|
+
[index: string]: any;
|
|
595
|
+
}>;
|
|
596
|
+
}
|
|
597
|
+
export declare class GatewayClientResourceClient<O> {
|
|
598
|
+
protected httpClient: HttpClient<O>;
|
|
599
|
+
constructor(httpClient: HttpClient<O>);
|
|
549
600
|
/**
|
|
550
|
-
* HTTP DELETE /
|
|
551
|
-
* Java method: org.openremote.model.
|
|
601
|
+
* HTTP DELETE /gateway/connection
|
|
602
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
552
603
|
*/
|
|
553
|
-
|
|
604
|
+
deleteConnections(queryParams?: {
|
|
605
|
+
realm?: any[];
|
|
606
|
+
}, options?: O): RestResponse<void>;
|
|
554
607
|
/**
|
|
555
|
-
* HTTP
|
|
556
|
-
* Java method: org.openremote.model.
|
|
608
|
+
* HTTP GET /gateway/connection
|
|
609
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
557
610
|
*/
|
|
558
|
-
|
|
611
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
559
612
|
/**
|
|
560
|
-
* HTTP
|
|
561
|
-
* Java method: org.openremote.model.
|
|
613
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
614
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
562
615
|
*/
|
|
563
|
-
|
|
616
|
+
deleteConnection(realm: any, options?: O): RestResponse<void>;
|
|
564
617
|
/**
|
|
565
|
-
* HTTP
|
|
566
|
-
* Java method: org.openremote.model.
|
|
618
|
+
* HTTP GET /gateway/connection/{realm}
|
|
619
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
567
620
|
*/
|
|
568
|
-
|
|
621
|
+
getConnection(realm: any, options?: O): RestResponse<Model.GatewayConnection>;
|
|
569
622
|
/**
|
|
570
|
-
* HTTP PUT /
|
|
571
|
-
* Java method: org.openremote.model.
|
|
623
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
624
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
572
625
|
*/
|
|
573
|
-
|
|
626
|
+
setConnection(realm: any, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
574
627
|
/**
|
|
575
|
-
* HTTP GET /
|
|
576
|
-
* Java method: org.openremote.model.
|
|
628
|
+
* HTTP GET /gateway/status/{realm}
|
|
629
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
577
630
|
*/
|
|
578
|
-
|
|
579
|
-
realm?: any;
|
|
580
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
631
|
+
getConnectionStatus(realm: any, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
581
632
|
}
|
|
582
633
|
export declare class UserResourceClient<O> {
|
|
583
634
|
protected httpClient: HttpClient<O>;
|
|
@@ -703,221 +754,170 @@ export declare class UserResourceClient<O> {
|
|
|
703
754
|
*/
|
|
704
755
|
get(realm: any, userId: any, options?: O): RestResponse<Model.User>;
|
|
705
756
|
}
|
|
706
|
-
export declare class
|
|
757
|
+
export declare class SyslogResourceClient<O> {
|
|
707
758
|
protected httpClient: HttpClient<O>;
|
|
708
759
|
constructor(httpClient: HttpClient<O>);
|
|
709
760
|
/**
|
|
710
|
-
* HTTP GET /
|
|
711
|
-
* Java method: org.openremote.model.
|
|
761
|
+
* HTTP GET /syslog/config
|
|
762
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
712
763
|
*/
|
|
713
|
-
|
|
714
|
-
[id: string]: any;
|
|
715
|
-
}>;
|
|
764
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
716
765
|
/**
|
|
717
|
-
* HTTP PUT /
|
|
718
|
-
* Java method: org.openremote.model.
|
|
766
|
+
* HTTP PUT /syslog/config
|
|
767
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
719
768
|
*/
|
|
720
|
-
|
|
721
|
-
[index: string]: Model.MapRealmConfig;
|
|
722
|
-
}, options?: O): RestResponse<any>;
|
|
769
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
723
770
|
/**
|
|
724
|
-
* HTTP
|
|
725
|
-
* Java method: org.openremote.model.
|
|
771
|
+
* HTTP DELETE /syslog/event
|
|
772
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
726
773
|
*/
|
|
727
|
-
|
|
728
|
-
[id: string]: any;
|
|
729
|
-
}>;
|
|
774
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
730
775
|
/**
|
|
731
|
-
* HTTP GET /
|
|
732
|
-
* Java method: org.openremote.model.
|
|
776
|
+
* HTTP GET /syslog/event
|
|
777
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
733
778
|
*/
|
|
734
|
-
|
|
779
|
+
getEvents(queryParams?: {
|
|
780
|
+
level?: Model.SyslogLevel;
|
|
781
|
+
per_page?: any;
|
|
782
|
+
page?: any;
|
|
783
|
+
from?: any;
|
|
784
|
+
to?: any;
|
|
785
|
+
category?: Model.SyslogCategory[];
|
|
786
|
+
subCategory?: any[];
|
|
787
|
+
}, options?: O): RestResponse<any>;
|
|
735
788
|
}
|
|
736
|
-
export declare class
|
|
789
|
+
export declare class DashboardResourceClient<O> {
|
|
737
790
|
protected httpClient: HttpClient<O>;
|
|
738
791
|
constructor(httpClient: HttpClient<O>);
|
|
739
792
|
/**
|
|
740
|
-
* HTTP
|
|
741
|
-
* Java method: org.openremote.model.
|
|
793
|
+
* HTTP POST /dashboard
|
|
794
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
742
795
|
*/
|
|
743
|
-
|
|
744
|
-
realm?: any[];
|
|
745
|
-
}, options?: O): RestResponse<void>;
|
|
796
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
746
797
|
/**
|
|
747
|
-
* HTTP
|
|
748
|
-
* Java method: org.openremote.model.
|
|
798
|
+
* HTTP PUT /dashboard
|
|
799
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
749
800
|
*/
|
|
750
|
-
|
|
801
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
751
802
|
/**
|
|
752
|
-
* HTTP
|
|
753
|
-
* Java method: org.openremote.model.
|
|
803
|
+
* HTTP GET /dashboard/all/{realm}
|
|
804
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
754
805
|
*/
|
|
755
|
-
|
|
806
|
+
getAllRealmDashboards(realm: any, options?: O): RestResponse<Model.Dashboard[]>;
|
|
756
807
|
/**
|
|
757
|
-
* HTTP
|
|
758
|
-
* Java method: org.openremote.model.
|
|
808
|
+
* HTTP POST /dashboard/query
|
|
809
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
759
810
|
*/
|
|
760
|
-
|
|
811
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
761
812
|
/**
|
|
762
|
-
* HTTP
|
|
763
|
-
* Java method: org.openremote.model.
|
|
813
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
814
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
764
815
|
*/
|
|
765
|
-
|
|
816
|
+
delete(realm: any, dashboardId: any, options?: O): RestResponse<void>;
|
|
766
817
|
/**
|
|
767
|
-
* HTTP GET /
|
|
768
|
-
* Java method: org.openremote.model.
|
|
818
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
819
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
769
820
|
*/
|
|
770
|
-
|
|
821
|
+
get(realm: any, dashboardId: any, options?: O): RestResponse<Model.Dashboard>;
|
|
771
822
|
}
|
|
772
|
-
export declare class
|
|
823
|
+
export declare class AlarmResourceClient<O> {
|
|
773
824
|
protected httpClient: HttpClient<O>;
|
|
774
825
|
constructor(httpClient: HttpClient<O>);
|
|
775
826
|
/**
|
|
776
|
-
* HTTP POST /
|
|
777
|
-
* Java method: org.openremote.model.
|
|
778
|
-
*/
|
|
779
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
780
|
-
/**
|
|
781
|
-
* HTTP DELETE /asset
|
|
782
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
783
|
-
*/
|
|
784
|
-
delete(queryParams?: {
|
|
785
|
-
assetId?: any[];
|
|
786
|
-
}, options?: O): RestResponse<void>;
|
|
787
|
-
/**
|
|
788
|
-
* HTTP PUT /asset/attributes
|
|
789
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
790
|
-
*/
|
|
791
|
-
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
792
|
-
/**
|
|
793
|
-
* HTTP PUT /asset/attributes/timestamp
|
|
794
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
795
|
-
*/
|
|
796
|
-
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
797
|
-
/**
|
|
798
|
-
* HTTP DELETE /asset/parent
|
|
799
|
-
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
827
|
+
* HTTP POST /alarm
|
|
828
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
800
829
|
*/
|
|
801
|
-
|
|
830
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
802
831
|
assetIds?: any[];
|
|
803
|
-
}, options?: O): RestResponse<
|
|
804
|
-
/**
|
|
805
|
-
* HTTP GET /asset/partial/{assetId}
|
|
806
|
-
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
807
|
-
*/
|
|
808
|
-
getPartial(assetId: any, options?: O): RestResponse<Model.Asset>;
|
|
809
|
-
/**
|
|
810
|
-
* HTTP POST /asset/query
|
|
811
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
812
|
-
*/
|
|
813
|
-
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
814
|
-
/**
|
|
815
|
-
* HTTP GET /asset/user/current
|
|
816
|
-
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
817
|
-
*/
|
|
818
|
-
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
819
|
-
/**
|
|
820
|
-
* HTTP POST /asset/user/link
|
|
821
|
-
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
822
|
-
*/
|
|
823
|
-
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
832
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
824
833
|
/**
|
|
825
|
-
* HTTP GET /
|
|
826
|
-
* Java method: org.openremote.model.
|
|
834
|
+
* HTTP GET /alarm
|
|
835
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
827
836
|
*/
|
|
828
|
-
|
|
837
|
+
getAlarms(queryParams?: {
|
|
829
838
|
realm?: any;
|
|
830
|
-
|
|
839
|
+
status?: Model.AlarmStatus;
|
|
831
840
|
assetId?: any;
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
* HTTP POST /asset/user/link/delete
|
|
835
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
836
|
-
*/
|
|
837
|
-
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
838
|
-
/**
|
|
839
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
840
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
841
|
-
*/
|
|
842
|
-
deleteAllUserAssetLinks(realm: any, userId: any, options?: O): RestResponse<void>;
|
|
841
|
+
assigneeId?: any;
|
|
842
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
843
843
|
/**
|
|
844
|
-
* HTTP DELETE /
|
|
845
|
-
* Java method: org.openremote.model.
|
|
844
|
+
* HTTP DELETE /alarm
|
|
845
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
846
846
|
*/
|
|
847
|
-
|
|
847
|
+
removeAlarms(ids: any[], options?: O): RestResponse<void>;
|
|
848
848
|
/**
|
|
849
|
-
* HTTP
|
|
850
|
-
* Java method: org.openremote.model.
|
|
849
|
+
* HTTP PUT /alarm/assets
|
|
850
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
851
851
|
*/
|
|
852
|
-
|
|
852
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
853
853
|
/**
|
|
854
|
-
* HTTP
|
|
855
|
-
* Java method: org.openremote.model.
|
|
854
|
+
* HTTP GET /alarm/{alarmId}
|
|
855
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
856
856
|
*/
|
|
857
|
-
|
|
857
|
+
getAlarm(alarmId: any, options?: O): RestResponse<Model.SentAlarm>;
|
|
858
858
|
/**
|
|
859
|
-
* HTTP
|
|
860
|
-
* Java method: org.openremote.model.
|
|
859
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
860
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
861
861
|
*/
|
|
862
|
-
|
|
862
|
+
removeAlarm(alarmId: any, options?: O): RestResponse<void>;
|
|
863
863
|
/**
|
|
864
|
-
* HTTP PUT /
|
|
865
|
-
* Java method: org.openremote.model.
|
|
864
|
+
* HTTP PUT /alarm/{alarmId}
|
|
865
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
866
866
|
*/
|
|
867
|
-
|
|
867
|
+
updateAlarm(alarmId: any, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
868
868
|
/**
|
|
869
|
-
* HTTP
|
|
870
|
-
* Java method: org.openremote.model.
|
|
869
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
870
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
871
871
|
*/
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
}, options?: O): RestResponse<
|
|
872
|
+
getAssetLinks(alarmId: any, queryParams?: {
|
|
873
|
+
realm?: any;
|
|
874
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
875
875
|
}
|
|
876
876
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
877
877
|
export declare class ApiClient {
|
|
878
|
-
protected
|
|
878
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
879
879
|
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
880
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
880
881
|
protected _appResource: AxiosAppResourceClient;
|
|
881
|
-
protected
|
|
882
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
882
883
|
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
884
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
885
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
886
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
883
887
|
protected _agentResource: AxiosAgentResourceClient;
|
|
884
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
885
|
-
protected _notificationResource: AxiosNotificationResourceClient;
|
|
886
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
887
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
888
888
|
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
889
|
-
protected
|
|
890
|
-
protected
|
|
891
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
892
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
893
|
-
protected _rulesResource: AxiosRulesResourceClient;
|
|
894
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
895
|
-
protected _userResource: AxiosUserResourceClient;
|
|
889
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
890
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
896
891
|
protected _mapResource: AxiosMapResourceClient;
|
|
892
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
893
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
897
894
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
898
|
-
protected
|
|
895
|
+
protected _userResource: AxiosUserResourceClient;
|
|
896
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
897
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
898
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
899
899
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
900
|
-
get
|
|
900
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
901
901
|
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
902
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
902
903
|
get AppResource(): AxiosAppResourceClient;
|
|
903
|
-
get
|
|
904
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
904
905
|
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
906
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
907
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
908
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
905
909
|
get AgentResource(): AxiosAgentResourceClient;
|
|
906
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
907
|
-
get NotificationResource(): AxiosNotificationResourceClient;
|
|
908
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
909
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
910
910
|
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
911
|
-
get
|
|
912
|
-
get
|
|
913
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
914
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
915
|
-
get RulesResource(): AxiosRulesResourceClient;
|
|
916
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
917
|
-
get UserResource(): AxiosUserResourceClient;
|
|
911
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
912
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
918
913
|
get MapResource(): AxiosMapResourceClient;
|
|
914
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
915
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
919
916
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
920
|
-
get
|
|
917
|
+
get UserResource(): AxiosUserResourceClient;
|
|
918
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
919
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
920
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
921
921
|
}
|
|
922
922
|
import * as Axios from "axios";
|
|
923
923
|
declare module "axios" {
|
|
@@ -925,66 +925,66 @@ declare module "axios" {
|
|
|
925
925
|
data: R;
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
export declare class
|
|
928
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
929
929
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
930
930
|
}
|
|
931
931
|
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
932
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
933
|
}
|
|
934
|
-
export declare class
|
|
934
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
935
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
936
|
}
|
|
937
|
-
export declare class
|
|
937
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
938
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
939
|
}
|
|
940
|
-
export declare class
|
|
940
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
941
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
942
|
}
|
|
943
|
-
export declare class
|
|
943
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
944
944
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
945
|
}
|
|
946
|
-
export declare class
|
|
946
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
947
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
948
|
}
|
|
949
|
-
export declare class
|
|
949
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
950
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
951
|
}
|
|
952
|
-
export declare class
|
|
952
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
953
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
954
|
}
|
|
955
|
-
export declare class
|
|
955
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
956
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
957
|
}
|
|
958
958
|
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
959
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
960
|
}
|
|
961
|
-
export declare class
|
|
961
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
962
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
963
|
}
|
|
964
|
-
export declare class
|
|
964
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
965
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
966
|
}
|
|
967
|
-
export declare class
|
|
967
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
968
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
969
|
}
|
|
970
|
-
export declare class
|
|
970
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
971
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
972
|
}
|
|
973
|
-
export declare class
|
|
973
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
974
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
975
|
}
|
|
976
|
-
export declare class
|
|
976
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
977
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
978
|
}
|
|
979
979
|
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
980
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
981
|
}
|
|
982
|
-
export declare class
|
|
982
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
983
983
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
984
984
|
}
|
|
985
|
-
export declare class
|
|
985
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
986
986
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
987
|
}
|
|
988
|
-
export declare class
|
|
988
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
990
|
}
|