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