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