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