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