@openremote/rest 1.12.0-snapshot.20251215083628 → 1.12.0-snapshot.20251215123037
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.bundle.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/lib/restclient.d.ts +549 -549
- package/lib/restclient.d.ts.map +1 -1
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +1 -1
package/lib/restclient.d.ts
CHANGED
|
@@ -9,84 +9,116 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class SyslogResourceClient<O> {
|
|
13
13
|
protected httpClient: HttpClient<O>;
|
|
14
14
|
constructor(httpClient: HttpClient<O>);
|
|
15
15
|
/**
|
|
16
|
-
* HTTP GET /
|
|
17
|
-
* Java method: org.openremote.model.
|
|
16
|
+
* HTTP GET /syslog/config
|
|
17
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
20
20
|
/**
|
|
21
|
-
* HTTP PUT /
|
|
22
|
-
* Java method: org.openremote.model.
|
|
21
|
+
* HTTP PUT /syslog/config
|
|
22
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
25
25
|
/**
|
|
26
|
-
* HTTP
|
|
27
|
-
* Java method: org.openremote.model.
|
|
26
|
+
* HTTP DELETE /syslog/event
|
|
27
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
28
28
|
*/
|
|
29
|
-
|
|
30
|
-
path?: string;
|
|
31
|
-
}, options?: O): RestResponse<string>;
|
|
29
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
32
30
|
/**
|
|
33
|
-
* HTTP GET /
|
|
34
|
-
* Java method: org.openremote.model.
|
|
31
|
+
* HTTP GET /syslog/event
|
|
32
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
35
33
|
*/
|
|
36
|
-
|
|
34
|
+
getEvents(queryParams?: {
|
|
35
|
+
level?: Model.SyslogLevel;
|
|
36
|
+
per_page?: number;
|
|
37
|
+
page?: number;
|
|
38
|
+
from?: number;
|
|
39
|
+
to?: number;
|
|
40
|
+
category?: Model.SyslogCategory[];
|
|
41
|
+
subCategory?: string[];
|
|
42
|
+
}, options?: O): RestResponse<any>;
|
|
37
43
|
}
|
|
38
|
-
export declare class
|
|
44
|
+
export declare class FlowResourceClient<O> {
|
|
39
45
|
protected httpClient: HttpClient<O>;
|
|
40
46
|
constructor(httpClient: HttpClient<O>);
|
|
41
47
|
/**
|
|
42
|
-
* HTTP GET /
|
|
43
|
-
* Java method: org.openremote.model.
|
|
48
|
+
* HTTP GET /flow
|
|
49
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
44
50
|
*/
|
|
45
|
-
|
|
46
|
-
[id: string]: unknown;
|
|
47
|
-
}>;
|
|
51
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
48
52
|
/**
|
|
49
|
-
* HTTP
|
|
50
|
-
* Java method: org.openremote.model.
|
|
53
|
+
* HTTP GET /flow/{name}
|
|
54
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
51
55
|
*/
|
|
52
|
-
|
|
53
|
-
[id: string]: unknown;
|
|
54
|
-
}>;
|
|
56
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
55
57
|
/**
|
|
56
|
-
* HTTP
|
|
57
|
-
* Java method: org.openremote.model.
|
|
58
|
+
* HTTP GET /flow/{type}
|
|
59
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
58
60
|
*/
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
62
|
+
}
|
|
63
|
+
export declare class DashboardResourceClient<O> {
|
|
64
|
+
protected httpClient: HttpClient<O>;
|
|
65
|
+
constructor(httpClient: HttpClient<O>);
|
|
62
66
|
/**
|
|
63
|
-
* HTTP
|
|
64
|
-
* Java method: org.openremote.model.
|
|
67
|
+
* HTTP POST /dashboard
|
|
68
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
65
69
|
*/
|
|
66
|
-
|
|
67
|
-
[id: string]: unknown;
|
|
68
|
-
}>;
|
|
70
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
69
71
|
/**
|
|
70
|
-
* HTTP
|
|
71
|
-
* Java method: org.openremote.model.
|
|
72
|
+
* HTTP PUT /dashboard
|
|
73
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
72
74
|
*/
|
|
73
|
-
|
|
74
|
-
[id: string]: unknown;
|
|
75
|
-
}>;
|
|
75
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
76
76
|
/**
|
|
77
|
-
* HTTP GET /
|
|
78
|
-
* Java method: org.openremote.model.
|
|
77
|
+
* HTTP GET /dashboard/all/{realm}
|
|
78
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
81
81
|
/**
|
|
82
|
-
* HTTP POST /
|
|
83
|
-
* Java method: org.openremote.model.
|
|
82
|
+
* HTTP POST /dashboard/query
|
|
83
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
84
84
|
*/
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
85
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
86
|
+
/**
|
|
87
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
88
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
89
|
+
*/
|
|
90
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
91
|
+
/**
|
|
92
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
93
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
94
|
+
*/
|
|
95
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
96
|
+
}
|
|
97
|
+
export declare class ConfigurationResourceClient<O> {
|
|
98
|
+
protected httpClient: HttpClient<O>;
|
|
99
|
+
constructor(httpClient: HttpClient<O>);
|
|
100
|
+
/**
|
|
101
|
+
* HTTP GET /configuration/manager
|
|
102
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
103
|
+
*/
|
|
104
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
105
|
+
/**
|
|
106
|
+
* HTTP PUT /configuration/manager
|
|
107
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
108
|
+
*/
|
|
109
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
110
|
+
/**
|
|
111
|
+
* HTTP POST /configuration/manager/file
|
|
112
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
113
|
+
*/
|
|
114
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
115
|
+
path?: string;
|
|
116
|
+
}, options?: O): RestResponse<string>;
|
|
117
|
+
/**
|
|
118
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
119
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
120
|
+
*/
|
|
121
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
90
122
|
}
|
|
91
123
|
export declare class RulesResourceClient<O> {
|
|
92
124
|
protected httpClient: HttpClient<O>;
|
|
@@ -196,107 +228,178 @@ export declare class RulesResourceClient<O> {
|
|
|
196
228
|
*/
|
|
197
229
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
198
230
|
}
|
|
199
|
-
export declare class
|
|
231
|
+
export declare class AssetResourceClient<O> {
|
|
200
232
|
protected httpClient: HttpClient<O>;
|
|
201
233
|
constructor(httpClient: HttpClient<O>);
|
|
202
234
|
/**
|
|
203
|
-
* HTTP
|
|
204
|
-
* Java method: org.openremote.model.asset.
|
|
235
|
+
* HTTP POST /asset
|
|
236
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
205
237
|
*/
|
|
206
|
-
|
|
207
|
-
realm?: string;
|
|
208
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
238
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
209
239
|
/**
|
|
210
|
-
* HTTP
|
|
211
|
-
* Java method: org.openremote.model.asset.
|
|
240
|
+
* HTTP DELETE /asset
|
|
241
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
212
242
|
*/
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}, options?: O): RestResponse<
|
|
243
|
+
delete(queryParams?: {
|
|
244
|
+
assetId?: string[];
|
|
245
|
+
}, options?: O): RestResponse<void>;
|
|
216
246
|
/**
|
|
217
|
-
* HTTP
|
|
218
|
-
* Java method: org.openremote.model.asset.
|
|
247
|
+
* HTTP PUT /asset/attributes
|
|
248
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
219
249
|
*/
|
|
220
|
-
|
|
221
|
-
parentId?: string;
|
|
222
|
-
realm?: string;
|
|
223
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
224
|
-
}
|
|
225
|
-
export declare class ProvisioningResourceClient<O> {
|
|
226
|
-
protected httpClient: HttpClient<O>;
|
|
227
|
-
constructor(httpClient: HttpClient<O>);
|
|
250
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
228
251
|
/**
|
|
229
|
-
* HTTP
|
|
230
|
-
* Java method: org.openremote.model.
|
|
252
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
253
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
231
254
|
*/
|
|
232
|
-
|
|
255
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
233
256
|
/**
|
|
234
|
-
* HTTP
|
|
235
|
-
* Java method: org.openremote.model.
|
|
257
|
+
* HTTP DELETE /asset/parent
|
|
258
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
236
259
|
*/
|
|
237
|
-
|
|
260
|
+
updateNoneParent(queryParams?: {
|
|
261
|
+
assetIds?: string[];
|
|
262
|
+
}, options?: O): RestResponse<void>;
|
|
238
263
|
/**
|
|
239
|
-
* HTTP
|
|
240
|
-
* Java method: org.openremote.model.
|
|
264
|
+
* HTTP GET /asset/partial/{assetId}
|
|
265
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
241
266
|
*/
|
|
242
|
-
|
|
267
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
243
268
|
/**
|
|
244
|
-
* HTTP
|
|
245
|
-
* Java method: org.openremote.model.
|
|
269
|
+
* HTTP POST /asset/query
|
|
270
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
246
271
|
*/
|
|
247
|
-
|
|
248
|
-
}
|
|
249
|
-
export declare class ConsoleResourceClient<O> {
|
|
250
|
-
protected httpClient: HttpClient<O>;
|
|
251
|
-
constructor(httpClient: HttpClient<O>);
|
|
272
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
252
273
|
/**
|
|
253
|
-
* HTTP POST /
|
|
254
|
-
* Java method: org.openremote.model.
|
|
274
|
+
* HTTP POST /asset/tree
|
|
275
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
255
276
|
*/
|
|
256
|
-
|
|
257
|
-
}
|
|
258
|
-
export declare class RealmResourceClient<O> {
|
|
259
|
-
protected httpClient: HttpClient<O>;
|
|
260
|
-
constructor(httpClient: HttpClient<O>);
|
|
277
|
+
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
261
278
|
/**
|
|
262
|
-
* HTTP
|
|
263
|
-
* Java method: org.openremote.model.
|
|
279
|
+
* HTTP GET /asset/user/current
|
|
280
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
264
281
|
*/
|
|
265
|
-
|
|
282
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
266
283
|
/**
|
|
267
|
-
* HTTP
|
|
268
|
-
* Java method: org.openremote.model.
|
|
284
|
+
* HTTP POST /asset/user/link
|
|
285
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
269
286
|
*/
|
|
270
|
-
|
|
287
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
271
288
|
/**
|
|
272
|
-
* HTTP GET /
|
|
273
|
-
* Java method: org.openremote.model.
|
|
289
|
+
* HTTP GET /asset/user/link
|
|
290
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
274
291
|
*/
|
|
275
|
-
|
|
292
|
+
getUserAssetLinks(queryParams?: {
|
|
293
|
+
realm?: string;
|
|
294
|
+
userId?: string;
|
|
295
|
+
assetId?: string;
|
|
296
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
276
297
|
/**
|
|
277
|
-
* HTTP
|
|
278
|
-
* Java method: org.openremote.model.
|
|
298
|
+
* HTTP POST /asset/user/link/delete
|
|
299
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
279
300
|
*/
|
|
280
|
-
|
|
301
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
281
302
|
/**
|
|
282
|
-
* HTTP
|
|
283
|
-
* Java method: org.openremote.model.
|
|
303
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
304
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
284
305
|
*/
|
|
285
|
-
|
|
306
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
286
307
|
/**
|
|
287
|
-
* HTTP
|
|
288
|
-
* Java method: org.openremote.model.
|
|
308
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
309
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
289
310
|
*/
|
|
290
|
-
|
|
291
|
-
}
|
|
292
|
-
export declare class AlarmResourceClient<O> {
|
|
293
|
-
protected httpClient: HttpClient<O>;
|
|
294
|
-
constructor(httpClient: HttpClient<O>);
|
|
311
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
295
312
|
/**
|
|
296
|
-
* HTTP
|
|
297
|
-
* Java method: org.openremote.model.
|
|
313
|
+
* HTTP GET /asset/{assetId}
|
|
314
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
298
315
|
*/
|
|
299
|
-
|
|
316
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
317
|
+
/**
|
|
318
|
+
* HTTP PUT /asset/{assetId}
|
|
319
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
320
|
+
*/
|
|
321
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
322
|
+
/**
|
|
323
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
324
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
325
|
+
*/
|
|
326
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
327
|
+
/**
|
|
328
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
329
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
330
|
+
*/
|
|
331
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
332
|
+
/**
|
|
333
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
334
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
335
|
+
*/
|
|
336
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
337
|
+
assetIds?: string[];
|
|
338
|
+
}, options?: O): RestResponse<void>;
|
|
339
|
+
}
|
|
340
|
+
export declare class ExternalServiceResourceClient<O> {
|
|
341
|
+
protected httpClient: HttpClient<O>;
|
|
342
|
+
constructor(httpClient: HttpClient<O>);
|
|
343
|
+
/**
|
|
344
|
+
* Response code 200 - List of registered external services
|
|
345
|
+
* HTTP GET /service
|
|
346
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
347
|
+
*/
|
|
348
|
+
getServices(queryParams?: {
|
|
349
|
+
realm?: string;
|
|
350
|
+
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
351
|
+
/**
|
|
352
|
+
* Response code 200 - Service registered successfully
|
|
353
|
+
* Response code 400 - Invalid external service object
|
|
354
|
+
* Response code 409 - ExternalService instance already registered
|
|
355
|
+
* HTTP POST /service
|
|
356
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
357
|
+
*/
|
|
358
|
+
registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
359
|
+
/**
|
|
360
|
+
* Response code 200 - List of registered external services
|
|
361
|
+
* HTTP GET /service/global
|
|
362
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
363
|
+
*/
|
|
364
|
+
getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
|
|
365
|
+
/**
|
|
366
|
+
* Response code 200 - Service registered successfully
|
|
367
|
+
* Response code 400 - Invalid external service object
|
|
368
|
+
* Response code 409 - ExternalService instance already registered
|
|
369
|
+
* HTTP POST /service/global
|
|
370
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
371
|
+
*/
|
|
372
|
+
registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
373
|
+
/**
|
|
374
|
+
* Response code 204 - Service deregistered successfully
|
|
375
|
+
* Response code 404 - Service instance not found
|
|
376
|
+
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
377
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
378
|
+
*/
|
|
379
|
+
deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
380
|
+
/**
|
|
381
|
+
* Response code 200 - ExternalService retrieved successfully
|
|
382
|
+
* Response code 404 - ExternalService not found
|
|
383
|
+
* HTTP GET /service/{serviceId}/{instanceId}
|
|
384
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
385
|
+
*/
|
|
386
|
+
getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
|
|
387
|
+
/**
|
|
388
|
+
* Response code 204 - Heartbeat sent successfully
|
|
389
|
+
* Response code 404 - Service instance not found
|
|
390
|
+
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
391
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
392
|
+
*/
|
|
393
|
+
heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
394
|
+
}
|
|
395
|
+
export declare class AlarmResourceClient<O> {
|
|
396
|
+
protected httpClient: HttpClient<O>;
|
|
397
|
+
constructor(httpClient: HttpClient<O>);
|
|
398
|
+
/**
|
|
399
|
+
* HTTP POST /alarm
|
|
400
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
401
|
+
*/
|
|
402
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
300
403
|
assetIds?: string[];
|
|
301
404
|
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
302
405
|
/**
|
|
@@ -342,6 +445,42 @@ export declare class AlarmResourceClient<O> {
|
|
|
342
445
|
realm?: string;
|
|
343
446
|
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
344
447
|
}
|
|
448
|
+
export declare class GatewayClientResourceClient<O> {
|
|
449
|
+
protected httpClient: HttpClient<O>;
|
|
450
|
+
constructor(httpClient: HttpClient<O>);
|
|
451
|
+
/**
|
|
452
|
+
* HTTP DELETE /gateway/connection
|
|
453
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
454
|
+
*/
|
|
455
|
+
deleteConnections(queryParams?: {
|
|
456
|
+
realm?: string[];
|
|
457
|
+
}, options?: O): RestResponse<void>;
|
|
458
|
+
/**
|
|
459
|
+
* HTTP GET /gateway/connection
|
|
460
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
461
|
+
*/
|
|
462
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
463
|
+
/**
|
|
464
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
465
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
466
|
+
*/
|
|
467
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
468
|
+
/**
|
|
469
|
+
* HTTP GET /gateway/connection/{realm}
|
|
470
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
471
|
+
*/
|
|
472
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
473
|
+
/**
|
|
474
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
475
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
476
|
+
*/
|
|
477
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
478
|
+
/**
|
|
479
|
+
* HTTP GET /gateway/status/{realm}
|
|
480
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
481
|
+
*/
|
|
482
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
483
|
+
}
|
|
345
484
|
export declare class GatewayServiceResourceClient<O> {
|
|
346
485
|
protected httpClient: HttpClient<O>;
|
|
347
486
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -397,42 +536,38 @@ export declare class AssetDatapointResourceClient<O> {
|
|
|
397
536
|
*/
|
|
398
537
|
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
399
538
|
}
|
|
400
|
-
export declare class
|
|
539
|
+
export declare class ConsoleResourceClient<O> {
|
|
401
540
|
protected httpClient: HttpClient<O>;
|
|
402
541
|
constructor(httpClient: HttpClient<O>);
|
|
403
542
|
/**
|
|
404
|
-
* HTTP
|
|
405
|
-
* Java method: org.openremote.model.
|
|
543
|
+
* HTTP POST /console/register
|
|
544
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
406
545
|
*/
|
|
407
|
-
|
|
546
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
547
|
+
}
|
|
548
|
+
export declare class ProvisioningResourceClient<O> {
|
|
549
|
+
protected httpClient: HttpClient<O>;
|
|
550
|
+
constructor(httpClient: HttpClient<O>);
|
|
408
551
|
/**
|
|
409
|
-
* HTTP
|
|
410
|
-
* Java method: org.openremote.model.
|
|
552
|
+
* HTTP POST /provisioning
|
|
553
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
411
554
|
*/
|
|
412
|
-
|
|
555
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
413
556
|
/**
|
|
414
|
-
* HTTP GET /
|
|
415
|
-
* Java method: org.openremote.model.
|
|
557
|
+
* HTTP GET /provisioning
|
|
558
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
416
559
|
*/
|
|
417
|
-
|
|
418
|
-
}
|
|
419
|
-
export declare class StatusResourceClient<O> {
|
|
420
|
-
protected httpClient: HttpClient<O>;
|
|
421
|
-
constructor(httpClient: HttpClient<O>);
|
|
560
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
422
561
|
/**
|
|
423
|
-
* HTTP
|
|
424
|
-
* Java method: org.openremote.model.
|
|
562
|
+
* HTTP DELETE /provisioning/{id}
|
|
563
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
425
564
|
*/
|
|
426
|
-
|
|
427
|
-
[index: string]: any;
|
|
428
|
-
}>;
|
|
565
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
429
566
|
/**
|
|
430
|
-
* HTTP
|
|
431
|
-
* Java method: org.openremote.model.
|
|
567
|
+
* HTTP PUT /provisioning/{id}
|
|
568
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
432
569
|
*/
|
|
433
|
-
|
|
434
|
-
[index: string]: any;
|
|
435
|
-
}>;
|
|
570
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
436
571
|
}
|
|
437
572
|
export declare class AppResourceClient<O> {
|
|
438
573
|
protected httpClient: HttpClient<O>;
|
|
@@ -453,75 +588,219 @@ export declare class AppResourceClient<O> {
|
|
|
453
588
|
*/
|
|
454
589
|
getAppInfos(options?: O): RestResponse<any>;
|
|
455
590
|
}
|
|
456
|
-
export declare class
|
|
591
|
+
export declare class StatusResourceClient<O> {
|
|
457
592
|
protected httpClient: HttpClient<O>;
|
|
458
593
|
constructor(httpClient: HttpClient<O>);
|
|
459
594
|
/**
|
|
460
|
-
*
|
|
461
|
-
*
|
|
462
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
595
|
+
* HTTP GET /health
|
|
596
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
463
597
|
*/
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
}
|
|
598
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
599
|
+
[index: string]: any;
|
|
600
|
+
}>;
|
|
467
601
|
/**
|
|
468
|
-
*
|
|
469
|
-
*
|
|
470
|
-
* Response code 409 - ExternalService instance already registered
|
|
471
|
-
* HTTP POST /service
|
|
472
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
602
|
+
* HTTP GET /info
|
|
603
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
473
604
|
*/
|
|
474
|
-
|
|
605
|
+
getInfo(options?: O): RestResponse<{
|
|
606
|
+
[index: string]: any;
|
|
607
|
+
}>;
|
|
608
|
+
}
|
|
609
|
+
export declare class RealmResourceClient<O> {
|
|
610
|
+
protected httpClient: HttpClient<O>;
|
|
611
|
+
constructor(httpClient: HttpClient<O>);
|
|
475
612
|
/**
|
|
476
|
-
*
|
|
477
|
-
*
|
|
478
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
613
|
+
* HTTP POST /realm
|
|
614
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
479
615
|
*/
|
|
480
|
-
|
|
616
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
481
617
|
/**
|
|
482
|
-
*
|
|
483
|
-
*
|
|
484
|
-
* Response code 409 - ExternalService instance already registered
|
|
485
|
-
* HTTP POST /service/global
|
|
486
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
618
|
+
* HTTP GET /realm
|
|
619
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
487
620
|
*/
|
|
488
|
-
|
|
621
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
489
622
|
/**
|
|
490
|
-
*
|
|
491
|
-
*
|
|
492
|
-
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
493
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
623
|
+
* HTTP GET /realm/accessible
|
|
624
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
494
625
|
*/
|
|
495
|
-
|
|
626
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
496
627
|
/**
|
|
497
|
-
*
|
|
498
|
-
*
|
|
499
|
-
* HTTP GET /service/{serviceId}/{instanceId}
|
|
500
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
628
|
+
* HTTP DELETE /realm/{name}
|
|
629
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
501
630
|
*/
|
|
502
|
-
|
|
631
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
503
632
|
/**
|
|
504
|
-
*
|
|
505
|
-
*
|
|
506
|
-
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
507
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
633
|
+
* HTTP GET /realm/{name}
|
|
634
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
508
635
|
*/
|
|
509
|
-
|
|
636
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
637
|
+
/**
|
|
638
|
+
* HTTP PUT /realm/{name}
|
|
639
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
640
|
+
*/
|
|
641
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
510
642
|
}
|
|
511
|
-
export declare class
|
|
643
|
+
export declare class AgentResourceClient<O> {
|
|
512
644
|
protected httpClient: HttpClient<O>;
|
|
513
645
|
constructor(httpClient: HttpClient<O>);
|
|
514
646
|
/**
|
|
515
|
-
* HTTP
|
|
516
|
-
* Java method: org.openremote.model.
|
|
647
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
648
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
517
649
|
*/
|
|
518
|
-
|
|
650
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
651
|
+
realm?: string;
|
|
652
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
519
653
|
/**
|
|
520
|
-
* HTTP POST /
|
|
521
|
-
* Java method: org.openremote.model.
|
|
654
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
655
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
522
656
|
*/
|
|
523
|
-
|
|
524
|
-
|
|
657
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
658
|
+
realm?: string;
|
|
659
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
660
|
+
/**
|
|
661
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
662
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
663
|
+
*/
|
|
664
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
665
|
+
parentId?: string;
|
|
666
|
+
realm?: string;
|
|
667
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
668
|
+
}
|
|
669
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
670
|
+
protected httpClient: HttpClient<O>;
|
|
671
|
+
constructor(httpClient: HttpClient<O>);
|
|
672
|
+
/**
|
|
673
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
674
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
675
|
+
*/
|
|
676
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
677
|
+
/**
|
|
678
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
679
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
680
|
+
*/
|
|
681
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
682
|
+
}
|
|
683
|
+
export declare class NotificationResourceClient<O> {
|
|
684
|
+
protected httpClient: HttpClient<O>;
|
|
685
|
+
constructor(httpClient: HttpClient<O>);
|
|
686
|
+
/**
|
|
687
|
+
* HTTP GET /notification
|
|
688
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
689
|
+
*/
|
|
690
|
+
getNotifications(queryParams?: {
|
|
691
|
+
id?: number;
|
|
692
|
+
type?: string;
|
|
693
|
+
from?: number;
|
|
694
|
+
to?: number;
|
|
695
|
+
realmId?: string;
|
|
696
|
+
userId?: string;
|
|
697
|
+
assetId?: string;
|
|
698
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
699
|
+
/**
|
|
700
|
+
* HTTP DELETE /notification
|
|
701
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
702
|
+
*/
|
|
703
|
+
removeNotifications(queryParams?: {
|
|
704
|
+
id?: number;
|
|
705
|
+
type?: string;
|
|
706
|
+
from?: number;
|
|
707
|
+
to?: number;
|
|
708
|
+
realmId?: string;
|
|
709
|
+
userId?: string;
|
|
710
|
+
assetId?: string;
|
|
711
|
+
}, options?: O): RestResponse<void>;
|
|
712
|
+
/**
|
|
713
|
+
* HTTP POST /notification/alert
|
|
714
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
715
|
+
*/
|
|
716
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
717
|
+
/**
|
|
718
|
+
* HTTP DELETE /notification/{notificationId}
|
|
719
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
720
|
+
*/
|
|
721
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
722
|
+
/**
|
|
723
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
724
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
725
|
+
*/
|
|
726
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
727
|
+
targetId?: string;
|
|
728
|
+
}, options?: O): RestResponse<void>;
|
|
729
|
+
/**
|
|
730
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
731
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
732
|
+
*/
|
|
733
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
734
|
+
targetId?: string;
|
|
735
|
+
}, options?: O): RestResponse<void>;
|
|
736
|
+
}
|
|
737
|
+
export declare class AssetModelResourceClient<O> {
|
|
738
|
+
protected httpClient: HttpClient<O>;
|
|
739
|
+
constructor(httpClient: HttpClient<O>);
|
|
740
|
+
/**
|
|
741
|
+
* HTTP GET /model/assetDescriptors
|
|
742
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
743
|
+
*/
|
|
744
|
+
getAssetDescriptors(queryParams?: {
|
|
745
|
+
parentId?: string;
|
|
746
|
+
parentType?: string;
|
|
747
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
748
|
+
/**
|
|
749
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
750
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
751
|
+
*/
|
|
752
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
753
|
+
parentId?: string;
|
|
754
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
755
|
+
/**
|
|
756
|
+
* HTTP GET /model/assetInfos
|
|
757
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
758
|
+
*/
|
|
759
|
+
getAssetInfos(queryParams?: {
|
|
760
|
+
parentId?: string;
|
|
761
|
+
parentType?: string;
|
|
762
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
763
|
+
/**
|
|
764
|
+
* HTTP GET /model/getValueDescriptorSchema
|
|
765
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
|
|
766
|
+
*/
|
|
767
|
+
getValueDescriptorSchema(queryParams?: {
|
|
768
|
+
name?: string;
|
|
769
|
+
hash?: string;
|
|
770
|
+
}, options?: O): RestResponse<any>;
|
|
771
|
+
/**
|
|
772
|
+
* HTTP GET /model/metaItemDescriptors
|
|
773
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
774
|
+
*/
|
|
775
|
+
getMetaItemDescriptors(queryParams?: {
|
|
776
|
+
parentId?: string;
|
|
777
|
+
}, options?: O): RestResponse<{
|
|
778
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
779
|
+
}>;
|
|
780
|
+
/**
|
|
781
|
+
* HTTP GET /model/valueDescriptors
|
|
782
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
783
|
+
*/
|
|
784
|
+
getValueDescriptors(queryParams?: {
|
|
785
|
+
parentId?: string;
|
|
786
|
+
}, options?: O): RestResponse<{
|
|
787
|
+
[index: string]: Model.ValueDescriptor;
|
|
788
|
+
}>;
|
|
789
|
+
}
|
|
790
|
+
export declare class UserResourceClient<O> {
|
|
791
|
+
protected httpClient: HttpClient<O>;
|
|
792
|
+
constructor(httpClient: HttpClient<O>);
|
|
793
|
+
/**
|
|
794
|
+
* HTTP PUT /user/locale
|
|
795
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
|
|
796
|
+
*/
|
|
797
|
+
updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
|
|
798
|
+
/**
|
|
799
|
+
* HTTP POST /user/query
|
|
800
|
+
* Java method: org.openremote.model.security.UserResource.query
|
|
801
|
+
*/
|
|
802
|
+
query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
|
|
803
|
+
/**
|
|
525
804
|
* HTTP PUT /user/request-password-reset
|
|
526
805
|
* Java method: org.openremote.model.security.UserResource.requestPasswordResetCurrent
|
|
527
806
|
*/
|
|
@@ -632,385 +911,106 @@ export declare class UserResourceClient<O> {
|
|
|
632
911
|
*/
|
|
633
912
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
634
913
|
}
|
|
635
|
-
export declare class
|
|
636
|
-
protected httpClient: HttpClient<O>;
|
|
637
|
-
constructor(httpClient: HttpClient<O>);
|
|
638
|
-
/**
|
|
639
|
-
* HTTP DELETE /gateway/connection
|
|
640
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
641
|
-
*/
|
|
642
|
-
deleteConnections(queryParams?: {
|
|
643
|
-
realm?: string[];
|
|
644
|
-
}, options?: O): RestResponse<void>;
|
|
645
|
-
/**
|
|
646
|
-
* HTTP GET /gateway/connection
|
|
647
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
648
|
-
*/
|
|
649
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
650
|
-
/**
|
|
651
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
652
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
653
|
-
*/
|
|
654
|
-
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
655
|
-
/**
|
|
656
|
-
* HTTP GET /gateway/connection/{realm}
|
|
657
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
658
|
-
*/
|
|
659
|
-
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
660
|
-
/**
|
|
661
|
-
* HTTP PUT /gateway/connection/{realm}
|
|
662
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
663
|
-
*/
|
|
664
|
-
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
665
|
-
/**
|
|
666
|
-
* HTTP GET /gateway/status/{realm}
|
|
667
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
668
|
-
*/
|
|
669
|
-
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
670
|
-
}
|
|
671
|
-
export declare class AssetResourceClient<O> {
|
|
914
|
+
export declare class MapResourceClient<O> {
|
|
672
915
|
protected httpClient: HttpClient<O>;
|
|
673
916
|
constructor(httpClient: HttpClient<O>);
|
|
674
917
|
/**
|
|
675
|
-
* HTTP
|
|
676
|
-
* Java method: org.openremote.model.
|
|
677
|
-
*/
|
|
678
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
679
|
-
/**
|
|
680
|
-
* HTTP DELETE /asset
|
|
681
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
682
|
-
*/
|
|
683
|
-
delete(queryParams?: {
|
|
684
|
-
assetId?: string[];
|
|
685
|
-
}, options?: O): RestResponse<void>;
|
|
686
|
-
/**
|
|
687
|
-
* HTTP PUT /asset/attributes
|
|
688
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
689
|
-
*/
|
|
690
|
-
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
691
|
-
/**
|
|
692
|
-
* HTTP PUT /asset/attributes/timestamp
|
|
693
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
918
|
+
* HTTP GET /map
|
|
919
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
694
920
|
*/
|
|
695
|
-
|
|
921
|
+
getSettings(options?: O): RestResponse<{
|
|
922
|
+
[id: string]: unknown;
|
|
923
|
+
}>;
|
|
696
924
|
/**
|
|
697
|
-
* HTTP
|
|
698
|
-
* Java method: org.openremote.model.
|
|
925
|
+
* HTTP PUT /map
|
|
926
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
699
927
|
*/
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
}
|
|
928
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
929
|
+
[id: string]: unknown;
|
|
930
|
+
}>;
|
|
703
931
|
/**
|
|
704
|
-
* HTTP
|
|
705
|
-
* Java method: org.openremote.model.
|
|
932
|
+
* HTTP DELETE /map/deleteMap
|
|
933
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
706
934
|
*/
|
|
707
|
-
|
|
935
|
+
deleteMap(options?: O): RestResponse<{
|
|
936
|
+
[id: string]: unknown;
|
|
937
|
+
}>;
|
|
708
938
|
/**
|
|
709
|
-
* HTTP
|
|
710
|
-
* Java method: org.openremote.model.
|
|
939
|
+
* HTTP GET /map/getCustomMapInfo
|
|
940
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
711
941
|
*/
|
|
712
|
-
|
|
942
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
943
|
+
[id: string]: unknown;
|
|
944
|
+
}>;
|
|
713
945
|
/**
|
|
714
|
-
* HTTP
|
|
715
|
-
* Java method: org.openremote.model.
|
|
946
|
+
* HTTP GET /map/js
|
|
947
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
716
948
|
*/
|
|
717
|
-
|
|
949
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
950
|
+
[id: string]: unknown;
|
|
951
|
+
}>;
|
|
718
952
|
/**
|
|
719
|
-
* HTTP GET /
|
|
720
|
-
* Java method: org.openremote.model.
|
|
953
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
954
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
721
955
|
*/
|
|
722
|
-
|
|
956
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
723
957
|
/**
|
|
724
|
-
* HTTP POST /
|
|
725
|
-
* Java method: org.openremote.model.
|
|
958
|
+
* HTTP POST /map/upload
|
|
959
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
726
960
|
*/
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
* HTTP GET /asset/user/link
|
|
730
|
-
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
731
|
-
*/
|
|
732
|
-
getUserAssetLinks(queryParams?: {
|
|
733
|
-
realm?: string;
|
|
734
|
-
userId?: string;
|
|
735
|
-
assetId?: string;
|
|
736
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
737
|
-
/**
|
|
738
|
-
* HTTP POST /asset/user/link/delete
|
|
739
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
740
|
-
*/
|
|
741
|
-
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
742
|
-
/**
|
|
743
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
744
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
745
|
-
*/
|
|
746
|
-
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
747
|
-
/**
|
|
748
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
749
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
750
|
-
*/
|
|
751
|
-
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
752
|
-
/**
|
|
753
|
-
* HTTP GET /asset/{assetId}
|
|
754
|
-
* Java method: org.openremote.model.asset.AssetResource.get
|
|
755
|
-
*/
|
|
756
|
-
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
757
|
-
/**
|
|
758
|
-
* HTTP PUT /asset/{assetId}
|
|
759
|
-
* Java method: org.openremote.model.asset.AssetResource.update
|
|
760
|
-
*/
|
|
761
|
-
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
762
|
-
/**
|
|
763
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
764
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
765
|
-
*/
|
|
766
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
767
|
-
/**
|
|
768
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
769
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
770
|
-
*/
|
|
771
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
772
|
-
/**
|
|
773
|
-
* HTTP PUT /asset/{parentAssetId}/child
|
|
774
|
-
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
775
|
-
*/
|
|
776
|
-
updateParent(parentAssetId: string, queryParams?: {
|
|
777
|
-
assetIds?: string[];
|
|
778
|
-
}, options?: O): RestResponse<void>;
|
|
779
|
-
}
|
|
780
|
-
export declare class DashboardResourceClient<O> {
|
|
781
|
-
protected httpClient: HttpClient<O>;
|
|
782
|
-
constructor(httpClient: HttpClient<O>);
|
|
783
|
-
/**
|
|
784
|
-
* HTTP POST /dashboard
|
|
785
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
786
|
-
*/
|
|
787
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
788
|
-
/**
|
|
789
|
-
* HTTP PUT /dashboard
|
|
790
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
791
|
-
*/
|
|
792
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
793
|
-
/**
|
|
794
|
-
* HTTP GET /dashboard/all/{realm}
|
|
795
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
796
|
-
*/
|
|
797
|
-
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
798
|
-
/**
|
|
799
|
-
* HTTP POST /dashboard/query
|
|
800
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
801
|
-
*/
|
|
802
|
-
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
803
|
-
/**
|
|
804
|
-
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
805
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
806
|
-
*/
|
|
807
|
-
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
808
|
-
/**
|
|
809
|
-
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
810
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
811
|
-
*/
|
|
812
|
-
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
813
|
-
}
|
|
814
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
815
|
-
protected httpClient: HttpClient<O>;
|
|
816
|
-
constructor(httpClient: HttpClient<O>);
|
|
817
|
-
/**
|
|
818
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
819
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
820
|
-
*/
|
|
821
|
-
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
822
|
-
/**
|
|
823
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
824
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
825
|
-
*/
|
|
826
|
-
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
827
|
-
}
|
|
828
|
-
export declare class SyslogResourceClient<O> {
|
|
829
|
-
protected httpClient: HttpClient<O>;
|
|
830
|
-
constructor(httpClient: HttpClient<O>);
|
|
831
|
-
/**
|
|
832
|
-
* HTTP GET /syslog/config
|
|
833
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
834
|
-
*/
|
|
835
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
836
|
-
/**
|
|
837
|
-
* HTTP PUT /syslog/config
|
|
838
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
839
|
-
*/
|
|
840
|
-
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
841
|
-
/**
|
|
842
|
-
* HTTP DELETE /syslog/event
|
|
843
|
-
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
844
|
-
*/
|
|
845
|
-
clearEvents(options?: O): RestResponse<void>;
|
|
846
|
-
/**
|
|
847
|
-
* HTTP GET /syslog/event
|
|
848
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
849
|
-
*/
|
|
850
|
-
getEvents(queryParams?: {
|
|
851
|
-
level?: Model.SyslogLevel;
|
|
852
|
-
per_page?: number;
|
|
853
|
-
page?: number;
|
|
854
|
-
from?: number;
|
|
855
|
-
to?: number;
|
|
856
|
-
category?: Model.SyslogCategory[];
|
|
857
|
-
subCategory?: string[];
|
|
858
|
-
}, options?: O): RestResponse<any>;
|
|
859
|
-
}
|
|
860
|
-
export declare class NotificationResourceClient<O> {
|
|
861
|
-
protected httpClient: HttpClient<O>;
|
|
862
|
-
constructor(httpClient: HttpClient<O>);
|
|
863
|
-
/**
|
|
864
|
-
* HTTP GET /notification
|
|
865
|
-
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
866
|
-
*/
|
|
867
|
-
getNotifications(queryParams?: {
|
|
868
|
-
id?: number;
|
|
869
|
-
type?: string;
|
|
870
|
-
from?: number;
|
|
871
|
-
to?: number;
|
|
872
|
-
realmId?: string;
|
|
873
|
-
userId?: string;
|
|
874
|
-
assetId?: string;
|
|
875
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
876
|
-
/**
|
|
877
|
-
* HTTP DELETE /notification
|
|
878
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
879
|
-
*/
|
|
880
|
-
removeNotifications(queryParams?: {
|
|
881
|
-
id?: number;
|
|
882
|
-
type?: string;
|
|
883
|
-
from?: number;
|
|
884
|
-
to?: number;
|
|
885
|
-
realmId?: string;
|
|
886
|
-
userId?: string;
|
|
887
|
-
assetId?: string;
|
|
888
|
-
}, options?: O): RestResponse<void>;
|
|
889
|
-
/**
|
|
890
|
-
* HTTP POST /notification/alert
|
|
891
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
892
|
-
*/
|
|
893
|
-
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
894
|
-
/**
|
|
895
|
-
* HTTP DELETE /notification/{notificationId}
|
|
896
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
897
|
-
*/
|
|
898
|
-
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
899
|
-
/**
|
|
900
|
-
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
901
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
902
|
-
*/
|
|
903
|
-
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
904
|
-
targetId?: string;
|
|
905
|
-
}, options?: O): RestResponse<void>;
|
|
906
|
-
/**
|
|
907
|
-
* HTTP PUT /notification/{notificationId}/delivered
|
|
908
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
909
|
-
*/
|
|
910
|
-
notificationDelivered(notificationId: number, queryParams?: {
|
|
911
|
-
targetId?: string;
|
|
912
|
-
}, options?: O): RestResponse<void>;
|
|
913
|
-
}
|
|
914
|
-
export declare class AssetModelResourceClient<O> {
|
|
915
|
-
protected httpClient: HttpClient<O>;
|
|
916
|
-
constructor(httpClient: HttpClient<O>);
|
|
917
|
-
/**
|
|
918
|
-
* HTTP GET /model/assetDescriptors
|
|
919
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
920
|
-
*/
|
|
921
|
-
getAssetDescriptors(queryParams?: {
|
|
922
|
-
parentId?: string;
|
|
923
|
-
parentType?: string;
|
|
924
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
925
|
-
/**
|
|
926
|
-
* HTTP GET /model/assetInfo/{assetType}
|
|
927
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
928
|
-
*/
|
|
929
|
-
getAssetInfo(assetType: string, queryParams?: {
|
|
930
|
-
parentId?: string;
|
|
931
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
932
|
-
/**
|
|
933
|
-
* HTTP GET /model/assetInfos
|
|
934
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
935
|
-
*/
|
|
936
|
-
getAssetInfos(queryParams?: {
|
|
937
|
-
parentId?: string;
|
|
938
|
-
parentType?: string;
|
|
939
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
940
|
-
/**
|
|
941
|
-
* HTTP GET /model/getValueDescriptorSchema
|
|
942
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
|
|
943
|
-
*/
|
|
944
|
-
getValueDescriptorSchema(queryParams?: {
|
|
945
|
-
name?: string;
|
|
946
|
-
hash?: string;
|
|
947
|
-
}, options?: O): RestResponse<any>;
|
|
948
|
-
/**
|
|
949
|
-
* HTTP GET /model/metaItemDescriptors
|
|
950
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
951
|
-
*/
|
|
952
|
-
getMetaItemDescriptors(queryParams?: {
|
|
953
|
-
parentId?: string;
|
|
954
|
-
}, options?: O): RestResponse<{
|
|
955
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
956
|
-
}>;
|
|
957
|
-
/**
|
|
958
|
-
* HTTP GET /model/valueDescriptors
|
|
959
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
960
|
-
*/
|
|
961
|
-
getValueDescriptors(queryParams?: {
|
|
962
|
-
parentId?: string;
|
|
961
|
+
uploadMap(queryParams?: {
|
|
962
|
+
filename?: string;
|
|
963
963
|
}, options?: O): RestResponse<{
|
|
964
|
-
[
|
|
964
|
+
[id: string]: unknown;
|
|
965
965
|
}>;
|
|
966
966
|
}
|
|
967
967
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
968
968
|
export declare class ApiClient {
|
|
969
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
970
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
971
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
969
972
|
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
970
|
-
protected _mapResource: AxiosMapResourceClient;
|
|
971
973
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
972
|
-
protected
|
|
973
|
-
protected
|
|
974
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
975
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
974
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
975
|
+
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
976
976
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
977
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
977
978
|
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
978
979
|
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
979
|
-
protected
|
|
980
|
-
protected
|
|
980
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
981
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
981
982
|
protected _appResource: AxiosAppResourceClient;
|
|
982
|
-
protected
|
|
983
|
-
protected
|
|
984
|
-
protected
|
|
985
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
986
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
983
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
984
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
985
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
987
986
|
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
988
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
989
987
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
990
988
|
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
989
|
+
protected _userResource: AxiosUserResourceClient;
|
|
990
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
991
991
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
992
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
993
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
994
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
992
995
|
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
993
|
-
get MapResource(): AxiosMapResourceClient;
|
|
994
996
|
get RulesResource(): AxiosRulesResourceClient;
|
|
995
|
-
get
|
|
996
|
-
get
|
|
997
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
998
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
997
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
998
|
+
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
999
999
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1000
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
1000
1001
|
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
1001
1002
|
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
1002
|
-
get
|
|
1003
|
-
get
|
|
1003
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1004
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
1004
1005
|
get AppResource(): AxiosAppResourceClient;
|
|
1005
|
-
get
|
|
1006
|
-
get
|
|
1007
|
-
get
|
|
1008
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
1009
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1006
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
1007
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
1008
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
1010
1009
|
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1011
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
1012
1010
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1013
1011
|
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1012
|
+
get UserResource(): AxiosUserResourceClient;
|
|
1013
|
+
get MapResource(): AxiosMapResourceClient;
|
|
1014
1014
|
}
|
|
1015
1015
|
import * as Axios from "axios";
|
|
1016
1016
|
declare module "axios" {
|
|
@@ -1018,70 +1018,70 @@ declare module "axios" {
|
|
|
1018
1018
|
data: R;
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
|
-
export declare class
|
|
1021
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1022
1022
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1023
1023
|
}
|
|
1024
|
-
export declare class
|
|
1024
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1025
1025
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1026
1026
|
}
|
|
1027
|
-
export declare class
|
|
1027
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1028
1028
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1029
1029
|
}
|
|
1030
|
-
export declare class
|
|
1030
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1031
1031
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1032
1032
|
}
|
|
1033
|
-
export declare class
|
|
1033
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1034
1034
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1035
1035
|
}
|
|
1036
|
-
export declare class
|
|
1036
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1037
1037
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1038
1038
|
}
|
|
1039
|
-
export declare class
|
|
1039
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1040
1040
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1041
1041
|
}
|
|
1042
1042
|
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1043
1043
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1044
1044
|
}
|
|
1045
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1046
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1047
|
+
}
|
|
1045
1048
|
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1046
1049
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1047
1050
|
}
|
|
1048
1051
|
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1049
1052
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1050
1053
|
}
|
|
1051
|
-
export declare class
|
|
1054
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1052
1055
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1053
1056
|
}
|
|
1054
|
-
export declare class
|
|
1057
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1055
1058
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1056
1059
|
}
|
|
1057
1060
|
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1058
1061
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1059
1062
|
}
|
|
1060
|
-
export declare class
|
|
1061
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1062
|
-
}
|
|
1063
|
-
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1063
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1064
1064
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1065
1065
|
}
|
|
1066
|
-
export declare class
|
|
1066
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1067
1067
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1068
1068
|
}
|
|
1069
|
-
export declare class
|
|
1069
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1070
1070
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1071
1071
|
}
|
|
1072
|
-
export declare class
|
|
1072
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1073
1073
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1074
1074
|
}
|
|
1075
|
-
export declare class
|
|
1075
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1076
1076
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1077
1077
|
}
|
|
1078
|
-
export declare class
|
|
1078
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1079
1079
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1080
1080
|
}
|
|
1081
|
-
export declare class
|
|
1081
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1082
1082
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1083
1083
|
}
|
|
1084
|
-
export declare class
|
|
1084
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1085
1085
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1086
1086
|
}
|
|
1087
1087
|
//# sourceMappingURL=restclient.d.ts.map
|