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