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