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