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