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