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