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