@openremote/rest 1.21.0 → 1.22.0-snapshot.20260407154359
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 +538 -538
- 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,173 +9,32 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
13
|
-
protected httpClient: HttpClient<O>;
|
|
14
|
-
constructor(httpClient: HttpClient<O>);
|
|
15
|
-
/**
|
|
16
|
-
* HTTP GET /notification
|
|
17
|
-
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
18
|
-
*/
|
|
19
|
-
getNotifications(queryParams?: {
|
|
20
|
-
id?: number;
|
|
21
|
-
type?: string;
|
|
22
|
-
from?: number;
|
|
23
|
-
to?: number;
|
|
24
|
-
realmId?: string;
|
|
25
|
-
userId?: string;
|
|
26
|
-
assetId?: string;
|
|
27
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
28
|
-
/**
|
|
29
|
-
* HTTP DELETE /notification
|
|
30
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
31
|
-
*/
|
|
32
|
-
removeNotifications(queryParams?: {
|
|
33
|
-
id?: number;
|
|
34
|
-
type?: string;
|
|
35
|
-
from?: number;
|
|
36
|
-
to?: number;
|
|
37
|
-
realmId?: string;
|
|
38
|
-
userId?: string;
|
|
39
|
-
assetId?: string;
|
|
40
|
-
}, options?: O): RestResponse<void>;
|
|
41
|
-
/**
|
|
42
|
-
* HTTP POST /notification/alert
|
|
43
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
44
|
-
*/
|
|
45
|
-
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
46
|
-
/**
|
|
47
|
-
* HTTP DELETE /notification/{notificationId}
|
|
48
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
49
|
-
*/
|
|
50
|
-
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
51
|
-
/**
|
|
52
|
-
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
53
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
54
|
-
*/
|
|
55
|
-
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
56
|
-
targetId?: string;
|
|
57
|
-
}, options?: O): RestResponse<void>;
|
|
58
|
-
/**
|
|
59
|
-
* HTTP PUT /notification/{notificationId}/delivered
|
|
60
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
61
|
-
*/
|
|
62
|
-
notificationDelivered(notificationId: number, queryParams?: {
|
|
63
|
-
targetId?: string;
|
|
64
|
-
}, options?: O): RestResponse<void>;
|
|
65
|
-
}
|
|
66
|
-
export declare class AssetResourceClient<O> {
|
|
12
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
67
13
|
protected httpClient: HttpClient<O>;
|
|
68
14
|
constructor(httpClient: HttpClient<O>);
|
|
69
15
|
/**
|
|
70
|
-
* HTTP
|
|
71
|
-
* Java method: org.openremote.model.
|
|
72
|
-
*/
|
|
73
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
74
|
-
/**
|
|
75
|
-
* HTTP DELETE /asset
|
|
76
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
77
|
-
*/
|
|
78
|
-
delete(queryParams?: {
|
|
79
|
-
assetId?: string[];
|
|
80
|
-
}, options?: O): RestResponse<void>;
|
|
81
|
-
/**
|
|
82
|
-
* HTTP PUT /asset/attributes
|
|
83
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
84
|
-
*/
|
|
85
|
-
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
86
|
-
/**
|
|
87
|
-
* HTTP PUT /asset/attributes/timestamp
|
|
88
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
89
|
-
*/
|
|
90
|
-
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
91
|
-
/**
|
|
92
|
-
* HTTP POST /asset/count
|
|
93
|
-
* Java method: org.openremote.model.asset.AssetResource.queryCount
|
|
94
|
-
*/
|
|
95
|
-
queryCount(query: Model.AssetQuery, options?: O): RestResponse<number>;
|
|
96
|
-
/**
|
|
97
|
-
* HTTP DELETE /asset/parent
|
|
98
|
-
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
99
|
-
*/
|
|
100
|
-
updateNoneParent(queryParams?: {
|
|
101
|
-
assetIds?: string[];
|
|
102
|
-
}, options?: O): RestResponse<void>;
|
|
103
|
-
/**
|
|
104
|
-
* HTTP GET /asset/partial/{assetId}
|
|
105
|
-
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
106
|
-
*/
|
|
107
|
-
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
108
|
-
/**
|
|
109
|
-
* HTTP POST /asset/query
|
|
110
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
111
|
-
*/
|
|
112
|
-
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
113
|
-
/**
|
|
114
|
-
* HTTP POST /asset/tree
|
|
115
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
116
|
-
*/
|
|
117
|
-
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
118
|
-
/**
|
|
119
|
-
* HTTP GET /asset/user/current
|
|
120
|
-
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
121
|
-
*/
|
|
122
|
-
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
123
|
-
/**
|
|
124
|
-
* HTTP POST /asset/user/link
|
|
125
|
-
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
16
|
+
* HTTP GET /asset/datapoint/export
|
|
17
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
126
18
|
*/
|
|
127
|
-
|
|
19
|
+
getDatapointExport(queryParams?: {
|
|
20
|
+
attributeRefs?: string;
|
|
21
|
+
fromTimestamp?: number;
|
|
22
|
+
toTimestamp?: number;
|
|
23
|
+
format?: Model.DatapointExportFormat;
|
|
24
|
+
}, options?: O): RestResponse<any>;
|
|
128
25
|
/**
|
|
129
|
-
* HTTP GET /asset/
|
|
130
|
-
* Java method: org.openremote.model.
|
|
26
|
+
* HTTP GET /asset/datapoint/periods
|
|
27
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
131
28
|
*/
|
|
132
|
-
|
|
133
|
-
realm?: string;
|
|
134
|
-
userId?: string;
|
|
29
|
+
getDatapointPeriod(queryParams?: {
|
|
135
30
|
assetId?: string;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
* HTTP POST /asset/user/link/delete
|
|
139
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
140
|
-
*/
|
|
141
|
-
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
142
|
-
/**
|
|
143
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
144
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
145
|
-
*/
|
|
146
|
-
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
147
|
-
/**
|
|
148
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
149
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
150
|
-
*/
|
|
151
|
-
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
152
|
-
/**
|
|
153
|
-
* HTTP GET /asset/{assetId}
|
|
154
|
-
* Java method: org.openremote.model.asset.AssetResource.get
|
|
155
|
-
*/
|
|
156
|
-
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
157
|
-
/**
|
|
158
|
-
* HTTP PUT /asset/{assetId}
|
|
159
|
-
* Java method: org.openremote.model.asset.AssetResource.update
|
|
160
|
-
*/
|
|
161
|
-
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
162
|
-
/**
|
|
163
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
164
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
165
|
-
*/
|
|
166
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
167
|
-
/**
|
|
168
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
169
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
170
|
-
*/
|
|
171
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
31
|
+
attributeName?: string;
|
|
32
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
172
33
|
/**
|
|
173
|
-
* HTTP
|
|
174
|
-
* Java method: org.openremote.model.
|
|
34
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
35
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
175
36
|
*/
|
|
176
|
-
|
|
177
|
-
assetIds?: string[];
|
|
178
|
-
}, options?: O): RestResponse<void>;
|
|
37
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
179
38
|
}
|
|
180
39
|
export declare class UserResourceClient<O> {
|
|
181
40
|
protected httpClient: HttpClient<O>;
|
|
@@ -301,23 +160,34 @@ export declare class UserResourceClient<O> {
|
|
|
301
160
|
*/
|
|
302
161
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
303
162
|
}
|
|
304
|
-
export declare class
|
|
163
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
305
164
|
protected httpClient: HttpClient<O>;
|
|
306
165
|
constructor(httpClient: HttpClient<O>);
|
|
307
166
|
/**
|
|
308
|
-
* HTTP
|
|
309
|
-
* Java method: org.openremote.model.
|
|
167
|
+
* HTTP POST /gateway/tunnel
|
|
168
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
310
169
|
*/
|
|
311
|
-
|
|
312
|
-
[index: string]: any;
|
|
313
|
-
}>;
|
|
170
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
314
171
|
/**
|
|
315
|
-
* HTTP
|
|
316
|
-
* Java method: org.openremote.model.
|
|
172
|
+
* HTTP DELETE /gateway/tunnel
|
|
173
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
317
174
|
*/
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
175
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
176
|
+
/**
|
|
177
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
178
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
179
|
+
*/
|
|
180
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
181
|
+
/**
|
|
182
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
183
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
184
|
+
*/
|
|
185
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
186
|
+
/**
|
|
187
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
188
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
189
|
+
*/
|
|
190
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
321
191
|
}
|
|
322
192
|
export declare class AgentResourceClient<O> {
|
|
323
193
|
protected httpClient: HttpClient<O>;
|
|
@@ -345,201 +215,40 @@ export declare class AgentResourceClient<O> {
|
|
|
345
215
|
realm?: string;
|
|
346
216
|
}, options?: O): RestResponse<Model.Agent[]>;
|
|
347
217
|
}
|
|
348
|
-
export declare class
|
|
218
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
349
219
|
protected httpClient: HttpClient<O>;
|
|
350
220
|
constructor(httpClient: HttpClient<O>);
|
|
351
221
|
/**
|
|
352
|
-
* HTTP
|
|
353
|
-
* Java method: org.openremote.model.
|
|
354
|
-
*/
|
|
355
|
-
deleteConnections(queryParams?: {
|
|
356
|
-
realm?: string[];
|
|
357
|
-
}, options?: O): RestResponse<void>;
|
|
358
|
-
/**
|
|
359
|
-
* HTTP GET /gateway/connection
|
|
360
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
222
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
223
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
361
224
|
*/
|
|
362
|
-
|
|
225
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
363
226
|
/**
|
|
364
|
-
* HTTP
|
|
365
|
-
* Java method: org.openremote.model.
|
|
227
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
228
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
366
229
|
*/
|
|
367
|
-
|
|
230
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
231
|
+
}
|
|
232
|
+
export declare class FlowResourceClient<O> {
|
|
233
|
+
protected httpClient: HttpClient<O>;
|
|
234
|
+
constructor(httpClient: HttpClient<O>);
|
|
368
235
|
/**
|
|
369
|
-
* HTTP GET /
|
|
370
|
-
* Java method: org.openremote.model.
|
|
236
|
+
* HTTP GET /flow
|
|
237
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
371
238
|
*/
|
|
372
|
-
|
|
239
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
373
240
|
/**
|
|
374
|
-
* HTTP
|
|
375
|
-
* Java method: org.openremote.model.
|
|
241
|
+
* HTTP GET /flow/{name}
|
|
242
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
376
243
|
*/
|
|
377
|
-
|
|
244
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
378
245
|
/**
|
|
379
|
-
* HTTP GET /
|
|
380
|
-
* Java method: org.openremote.model.
|
|
246
|
+
* HTTP GET /flow/{type}
|
|
247
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
381
248
|
*/
|
|
382
|
-
|
|
249
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
383
250
|
}
|
|
384
|
-
export declare class
|
|
385
|
-
protected httpClient: HttpClient<O>;
|
|
386
|
-
constructor(httpClient: HttpClient<O>);
|
|
387
|
-
/**
|
|
388
|
-
* HTTP GET /configuration/manager
|
|
389
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
390
|
-
*/
|
|
391
|
-
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
392
|
-
/**
|
|
393
|
-
* HTTP PUT /configuration/manager
|
|
394
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
395
|
-
*/
|
|
396
|
-
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
397
|
-
/**
|
|
398
|
-
* HTTP POST /configuration/manager/file
|
|
399
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
400
|
-
*/
|
|
401
|
-
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
402
|
-
path?: string;
|
|
403
|
-
}, options?: O): RestResponse<string>;
|
|
404
|
-
/**
|
|
405
|
-
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
406
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
407
|
-
*/
|
|
408
|
-
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
409
|
-
}
|
|
410
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
411
|
-
protected httpClient: HttpClient<O>;
|
|
412
|
-
constructor(httpClient: HttpClient<O>);
|
|
413
|
-
/**
|
|
414
|
-
* HTTP GET /asset/datapoint/export
|
|
415
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
416
|
-
*/
|
|
417
|
-
getDatapointExport(queryParams?: {
|
|
418
|
-
attributeRefs?: string;
|
|
419
|
-
fromTimestamp?: number;
|
|
420
|
-
toTimestamp?: number;
|
|
421
|
-
format?: Model.DatapointExportFormat;
|
|
422
|
-
}, options?: O): RestResponse<any>;
|
|
423
|
-
/**
|
|
424
|
-
* HTTP GET /asset/datapoint/periods
|
|
425
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
426
|
-
*/
|
|
427
|
-
getDatapointPeriod(queryParams?: {
|
|
428
|
-
assetId?: string;
|
|
429
|
-
attributeName?: string;
|
|
430
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
431
|
-
/**
|
|
432
|
-
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
433
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
434
|
-
*/
|
|
435
|
-
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
436
|
-
}
|
|
437
|
-
export declare class AppResourceClient<O> {
|
|
438
|
-
protected httpClient: HttpClient<O>;
|
|
439
|
-
constructor(httpClient: HttpClient<O>);
|
|
440
|
-
/**
|
|
441
|
-
* HTTP GET /apps
|
|
442
|
-
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
443
|
-
*/
|
|
444
|
-
getApps(options?: O): RestResponse<string[]>;
|
|
445
|
-
/**
|
|
446
|
-
* HTTP GET /apps/consoleConfig
|
|
447
|
-
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
448
|
-
*/
|
|
449
|
-
getConsoleConfig(options?: O): RestResponse<any>;
|
|
450
|
-
/**
|
|
451
|
-
* HTTP GET /apps/info
|
|
452
|
-
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
453
|
-
*/
|
|
454
|
-
getAppInfos(options?: O): RestResponse<any>;
|
|
455
|
-
}
|
|
456
|
-
export declare class AssetModelResourceClient<O> {
|
|
457
|
-
protected httpClient: HttpClient<O>;
|
|
458
|
-
constructor(httpClient: HttpClient<O>);
|
|
459
|
-
/**
|
|
460
|
-
* HTTP GET /model/assetDescriptors
|
|
461
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
462
|
-
*/
|
|
463
|
-
getAssetDescriptors(queryParams?: {
|
|
464
|
-
parentId?: string;
|
|
465
|
-
parentType?: string;
|
|
466
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
467
|
-
/**
|
|
468
|
-
* HTTP GET /model/assetInfo/{assetType}
|
|
469
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
470
|
-
*/
|
|
471
|
-
getAssetInfo(assetType: string, queryParams?: {
|
|
472
|
-
parentId?: string;
|
|
473
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
474
|
-
/**
|
|
475
|
-
* HTTP GET /model/assetInfos
|
|
476
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
477
|
-
*/
|
|
478
|
-
getAssetInfos(queryParams?: {
|
|
479
|
-
parentId?: string;
|
|
480
|
-
parentType?: string;
|
|
481
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
482
|
-
/**
|
|
483
|
-
* HTTP GET /model/getValueDescriptorSchema
|
|
484
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
|
|
485
|
-
*/
|
|
486
|
-
getValueDescriptorSchema(queryParams?: {
|
|
487
|
-
name?: string;
|
|
488
|
-
}, options?: O): RestResponse<any>;
|
|
489
|
-
/**
|
|
490
|
-
* HTTP GET /model/metaItemDescriptors
|
|
491
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
492
|
-
*/
|
|
493
|
-
getMetaItemDescriptors(queryParams?: {
|
|
494
|
-
parentId?: string;
|
|
495
|
-
}, options?: O): RestResponse<{
|
|
496
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
497
|
-
}>;
|
|
498
|
-
/**
|
|
499
|
-
* HTTP GET /model/valueDescriptors
|
|
500
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
501
|
-
*/
|
|
502
|
-
getValueDescriptors(queryParams?: {
|
|
503
|
-
parentId?: string;
|
|
504
|
-
}, options?: O): RestResponse<{
|
|
505
|
-
[index: string]: Model.ValueDescriptor;
|
|
506
|
-
}>;
|
|
507
|
-
}
|
|
508
|
-
export declare class RealmResourceClient<O> {
|
|
509
|
-
protected httpClient: HttpClient<O>;
|
|
510
|
-
constructor(httpClient: HttpClient<O>);
|
|
511
|
-
/**
|
|
512
|
-
* HTTP POST /realm
|
|
513
|
-
* Java method: org.openremote.model.security.RealmResource.create
|
|
514
|
-
*/
|
|
515
|
-
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
516
|
-
/**
|
|
517
|
-
* HTTP GET /realm
|
|
518
|
-
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
519
|
-
*/
|
|
520
|
-
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
521
|
-
/**
|
|
522
|
-
* HTTP GET /realm/accessible
|
|
523
|
-
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
524
|
-
*/
|
|
525
|
-
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
526
|
-
/**
|
|
527
|
-
* HTTP DELETE /realm/{name}
|
|
528
|
-
* Java method: org.openremote.model.security.RealmResource.delete
|
|
529
|
-
*/
|
|
530
|
-
delete(name: string, options?: O): RestResponse<void>;
|
|
531
|
-
/**
|
|
532
|
-
* HTTP GET /realm/{name}
|
|
533
|
-
* Java method: org.openremote.model.security.RealmResource.get
|
|
534
|
-
*/
|
|
535
|
-
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
536
|
-
/**
|
|
537
|
-
* HTTP PUT /realm/{name}
|
|
538
|
-
* Java method: org.openremote.model.security.RealmResource.update
|
|
539
|
-
*/
|
|
540
|
-
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
541
|
-
}
|
|
542
|
-
export declare class ExternalServiceResourceClient<O> {
|
|
251
|
+
export declare class ExternalServiceResourceClient<O> {
|
|
543
252
|
protected httpClient: HttpClient<O>;
|
|
544
253
|
constructor(httpClient: HttpClient<O>);
|
|
545
254
|
/**
|
|
@@ -649,6 +358,40 @@ export declare class MapResourceClient<O> {
|
|
|
649
358
|
[id: string]: unknown;
|
|
650
359
|
}>;
|
|
651
360
|
}
|
|
361
|
+
export declare class RealmResourceClient<O> {
|
|
362
|
+
protected httpClient: HttpClient<O>;
|
|
363
|
+
constructor(httpClient: HttpClient<O>);
|
|
364
|
+
/**
|
|
365
|
+
* HTTP POST /realm
|
|
366
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
367
|
+
*/
|
|
368
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
369
|
+
/**
|
|
370
|
+
* HTTP GET /realm
|
|
371
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
372
|
+
*/
|
|
373
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
374
|
+
/**
|
|
375
|
+
* HTTP GET /realm/accessible
|
|
376
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
377
|
+
*/
|
|
378
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
379
|
+
/**
|
|
380
|
+
* HTTP DELETE /realm/{name}
|
|
381
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
382
|
+
*/
|
|
383
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
384
|
+
/**
|
|
385
|
+
* HTTP GET /realm/{name}
|
|
386
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
387
|
+
*/
|
|
388
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
389
|
+
/**
|
|
390
|
+
* HTTP PUT /realm/{name}
|
|
391
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
392
|
+
*/
|
|
393
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
394
|
+
}
|
|
652
395
|
export declare class SyslogResourceClient<O> {
|
|
653
396
|
protected httpClient: HttpClient<O>;
|
|
654
397
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -681,106 +424,435 @@ export declare class SyslogResourceClient<O> {
|
|
|
681
424
|
subCategory?: string[];
|
|
682
425
|
}, options?: O): RestResponse<any>;
|
|
683
426
|
}
|
|
684
|
-
export declare class
|
|
427
|
+
export declare class AppResourceClient<O> {
|
|
685
428
|
protected httpClient: HttpClient<O>;
|
|
686
429
|
constructor(httpClient: HttpClient<O>);
|
|
687
430
|
/**
|
|
688
|
-
* HTTP
|
|
689
|
-
* Java method: org.openremote.model.
|
|
431
|
+
* HTTP GET /apps
|
|
432
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
690
433
|
*/
|
|
691
|
-
|
|
434
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
692
435
|
/**
|
|
693
|
-
* HTTP
|
|
694
|
-
* Java method: org.openremote.model.
|
|
436
|
+
* HTTP GET /apps/consoleConfig
|
|
437
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
695
438
|
*/
|
|
696
|
-
|
|
439
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
697
440
|
/**
|
|
698
|
-
* HTTP GET /
|
|
699
|
-
* Java method: org.openremote.model.
|
|
441
|
+
* HTTP GET /apps/info
|
|
442
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
700
443
|
*/
|
|
701
|
-
|
|
444
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
445
|
+
}
|
|
446
|
+
export declare class AssetResourceClient<O> {
|
|
447
|
+
protected httpClient: HttpClient<O>;
|
|
448
|
+
constructor(httpClient: HttpClient<O>);
|
|
702
449
|
/**
|
|
703
|
-
* HTTP
|
|
704
|
-
* Java method: org.openremote.model.
|
|
450
|
+
* HTTP POST /asset
|
|
451
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
705
452
|
*/
|
|
706
|
-
|
|
453
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
707
454
|
/**
|
|
708
|
-
* HTTP
|
|
709
|
-
* Java method: org.openremote.model.
|
|
455
|
+
* HTTP DELETE /asset
|
|
456
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
710
457
|
*/
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
protected httpClient: HttpClient<O>;
|
|
715
|
-
constructor(httpClient: HttpClient<O>);
|
|
458
|
+
delete(queryParams?: {
|
|
459
|
+
assetId?: string[];
|
|
460
|
+
}, options?: O): RestResponse<void>;
|
|
716
461
|
/**
|
|
717
|
-
* HTTP
|
|
718
|
-
* Java method: org.openremote.model.
|
|
462
|
+
* HTTP PUT /asset/attributes
|
|
463
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
719
464
|
*/
|
|
720
|
-
|
|
465
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
466
|
+
/**
|
|
467
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
468
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
469
|
+
*/
|
|
470
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
471
|
+
/**
|
|
472
|
+
* HTTP POST /asset/count
|
|
473
|
+
* Java method: org.openremote.model.asset.AssetResource.queryCount
|
|
474
|
+
*/
|
|
475
|
+
queryCount(query: Model.AssetQuery, options?: O): RestResponse<number>;
|
|
476
|
+
/**
|
|
477
|
+
* HTTP DELETE /asset/parent
|
|
478
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
479
|
+
*/
|
|
480
|
+
updateNoneParent(queryParams?: {
|
|
481
|
+
assetIds?: string[];
|
|
482
|
+
}, options?: O): RestResponse<void>;
|
|
483
|
+
/**
|
|
484
|
+
* HTTP GET /asset/partial/{assetId}
|
|
485
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
486
|
+
*/
|
|
487
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
488
|
+
/**
|
|
489
|
+
* HTTP POST /asset/query
|
|
490
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
491
|
+
*/
|
|
492
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
493
|
+
/**
|
|
494
|
+
* HTTP POST /asset/tree
|
|
495
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
496
|
+
*/
|
|
497
|
+
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
498
|
+
/**
|
|
499
|
+
* HTTP GET /asset/user/current
|
|
500
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
501
|
+
*/
|
|
502
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
503
|
+
/**
|
|
504
|
+
* HTTP POST /asset/user/link
|
|
505
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
506
|
+
*/
|
|
507
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
508
|
+
/**
|
|
509
|
+
* HTTP GET /asset/user/link
|
|
510
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
511
|
+
*/
|
|
512
|
+
getUserAssetLinks(queryParams?: {
|
|
513
|
+
realm?: string;
|
|
514
|
+
userId?: string;
|
|
515
|
+
assetId?: string;
|
|
516
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
517
|
+
/**
|
|
518
|
+
* HTTP POST /asset/user/link/delete
|
|
519
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
520
|
+
*/
|
|
521
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
522
|
+
/**
|
|
523
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
524
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
525
|
+
*/
|
|
526
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
527
|
+
/**
|
|
528
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
529
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
530
|
+
*/
|
|
531
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
532
|
+
/**
|
|
533
|
+
* HTTP GET /asset/{assetId}
|
|
534
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
535
|
+
*/
|
|
536
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
537
|
+
/**
|
|
538
|
+
* HTTP PUT /asset/{assetId}
|
|
539
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
540
|
+
*/
|
|
541
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
542
|
+
/**
|
|
543
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
544
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
545
|
+
*/
|
|
546
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
547
|
+
/**
|
|
548
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
549
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
550
|
+
*/
|
|
551
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
552
|
+
/**
|
|
553
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
554
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
555
|
+
*/
|
|
556
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
557
|
+
assetIds?: string[];
|
|
558
|
+
}, options?: O): RestResponse<void>;
|
|
559
|
+
}
|
|
560
|
+
export declare class DashboardResourceClient<O> {
|
|
561
|
+
protected httpClient: HttpClient<O>;
|
|
562
|
+
constructor(httpClient: HttpClient<O>);
|
|
563
|
+
/**
|
|
564
|
+
* HTTP POST /dashboard
|
|
565
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
566
|
+
*/
|
|
567
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
568
|
+
/**
|
|
569
|
+
* HTTP PUT /dashboard
|
|
570
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
571
|
+
*/
|
|
572
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
573
|
+
/**
|
|
574
|
+
* HTTP GET /dashboard/all/{realm}
|
|
575
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
576
|
+
*/
|
|
577
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
578
|
+
/**
|
|
579
|
+
* HTTP POST /dashboard/query
|
|
580
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
581
|
+
*/
|
|
582
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
583
|
+
/**
|
|
584
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
585
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
586
|
+
*/
|
|
587
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
588
|
+
/**
|
|
589
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
590
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
591
|
+
*/
|
|
592
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
593
|
+
}
|
|
594
|
+
export declare class StatusResourceClient<O> {
|
|
595
|
+
protected httpClient: HttpClient<O>;
|
|
596
|
+
constructor(httpClient: HttpClient<O>);
|
|
597
|
+
/**
|
|
598
|
+
* HTTP GET /health
|
|
599
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
600
|
+
*/
|
|
601
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
602
|
+
[index: string]: any;
|
|
603
|
+
}>;
|
|
604
|
+
/**
|
|
605
|
+
* HTTP GET /info
|
|
606
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
607
|
+
*/
|
|
608
|
+
getInfo(options?: O): RestResponse<{
|
|
609
|
+
[index: string]: any;
|
|
610
|
+
}>;
|
|
611
|
+
}
|
|
612
|
+
export declare class ProvisioningResourceClient<O> {
|
|
613
|
+
protected httpClient: HttpClient<O>;
|
|
614
|
+
constructor(httpClient: HttpClient<O>);
|
|
615
|
+
/**
|
|
616
|
+
* HTTP POST /provisioning
|
|
617
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
618
|
+
*/
|
|
619
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
620
|
+
/**
|
|
621
|
+
* HTTP GET /provisioning
|
|
622
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
623
|
+
*/
|
|
624
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
625
|
+
/**
|
|
626
|
+
* HTTP DELETE /provisioning/{id}
|
|
627
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
628
|
+
*/
|
|
629
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
630
|
+
/**
|
|
631
|
+
* HTTP PUT /provisioning/{id}
|
|
632
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
633
|
+
*/
|
|
634
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
635
|
+
}
|
|
636
|
+
export declare class AlarmResourceClient<O> {
|
|
637
|
+
protected httpClient: HttpClient<O>;
|
|
638
|
+
constructor(httpClient: HttpClient<O>);
|
|
639
|
+
/**
|
|
640
|
+
* HTTP POST /alarm
|
|
641
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
642
|
+
*/
|
|
643
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
644
|
+
assetIds?: string[];
|
|
645
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
646
|
+
/**
|
|
647
|
+
* HTTP GET /alarm
|
|
648
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
649
|
+
*/
|
|
650
|
+
getAlarms(queryParams?: {
|
|
651
|
+
realm?: string;
|
|
652
|
+
status?: Model.AlarmStatus;
|
|
653
|
+
assetId?: string;
|
|
654
|
+
assigneeId?: string;
|
|
655
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
656
|
+
/**
|
|
657
|
+
* HTTP DELETE /alarm
|
|
658
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
659
|
+
*/
|
|
660
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
661
|
+
/**
|
|
662
|
+
* HTTP PUT /alarm/assets
|
|
663
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
664
|
+
*/
|
|
665
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
666
|
+
/**
|
|
667
|
+
* HTTP GET /alarm/{alarmId}
|
|
668
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
669
|
+
*/
|
|
670
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
671
|
+
/**
|
|
672
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
673
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
674
|
+
*/
|
|
675
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
676
|
+
/**
|
|
677
|
+
* HTTP PUT /alarm/{alarmId}
|
|
678
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
679
|
+
*/
|
|
680
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
681
|
+
/**
|
|
682
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
683
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
684
|
+
*/
|
|
685
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
686
|
+
realm?: string;
|
|
687
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
688
|
+
}
|
|
689
|
+
export declare class ConfigurationResourceClient<O> {
|
|
690
|
+
protected httpClient: HttpClient<O>;
|
|
691
|
+
constructor(httpClient: HttpClient<O>);
|
|
692
|
+
/**
|
|
693
|
+
* HTTP GET /configuration/manager
|
|
694
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
695
|
+
*/
|
|
696
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
697
|
+
/**
|
|
698
|
+
* HTTP PUT /configuration/manager
|
|
699
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
700
|
+
*/
|
|
701
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
702
|
+
/**
|
|
703
|
+
* HTTP POST /configuration/manager/file
|
|
704
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
705
|
+
*/
|
|
706
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
707
|
+
path?: string;
|
|
708
|
+
}, options?: O): RestResponse<string>;
|
|
709
|
+
/**
|
|
710
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
711
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
712
|
+
*/
|
|
713
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
714
|
+
}
|
|
715
|
+
export declare class NotificationResourceClient<O> {
|
|
716
|
+
protected httpClient: HttpClient<O>;
|
|
717
|
+
constructor(httpClient: HttpClient<O>);
|
|
718
|
+
/**
|
|
719
|
+
* HTTP GET /notification
|
|
720
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
721
|
+
*/
|
|
722
|
+
getNotifications(queryParams?: {
|
|
723
|
+
id?: number;
|
|
724
|
+
type?: string;
|
|
725
|
+
from?: number;
|
|
726
|
+
to?: number;
|
|
727
|
+
realmId?: string;
|
|
728
|
+
userId?: string;
|
|
729
|
+
assetId?: string;
|
|
730
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
731
|
+
/**
|
|
732
|
+
* HTTP DELETE /notification
|
|
733
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
734
|
+
*/
|
|
735
|
+
removeNotifications(queryParams?: {
|
|
736
|
+
id?: number;
|
|
737
|
+
type?: string;
|
|
738
|
+
from?: number;
|
|
739
|
+
to?: number;
|
|
740
|
+
realmId?: string;
|
|
741
|
+
userId?: string;
|
|
742
|
+
assetId?: string;
|
|
743
|
+
}, options?: O): RestResponse<void>;
|
|
744
|
+
/**
|
|
745
|
+
* HTTP POST /notification/alert
|
|
746
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
747
|
+
*/
|
|
748
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
749
|
+
/**
|
|
750
|
+
* HTTP DELETE /notification/{notificationId}
|
|
751
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
752
|
+
*/
|
|
753
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
754
|
+
/**
|
|
755
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
756
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
757
|
+
*/
|
|
758
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
759
|
+
targetId?: string;
|
|
760
|
+
}, options?: O): RestResponse<void>;
|
|
761
|
+
/**
|
|
762
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
763
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
764
|
+
*/
|
|
765
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
766
|
+
targetId?: string;
|
|
767
|
+
}, options?: O): RestResponse<void>;
|
|
768
|
+
}
|
|
769
|
+
export declare class GatewayClientResourceClient<O> {
|
|
770
|
+
protected httpClient: HttpClient<O>;
|
|
771
|
+
constructor(httpClient: HttpClient<O>);
|
|
772
|
+
/**
|
|
773
|
+
* HTTP DELETE /gateway/connection
|
|
774
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
775
|
+
*/
|
|
776
|
+
deleteConnections(queryParams?: {
|
|
777
|
+
realm?: string[];
|
|
778
|
+
}, options?: O): RestResponse<void>;
|
|
779
|
+
/**
|
|
780
|
+
* HTTP GET /gateway/connection
|
|
781
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
782
|
+
*/
|
|
783
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
784
|
+
/**
|
|
785
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
786
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
787
|
+
*/
|
|
788
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
789
|
+
/**
|
|
790
|
+
* HTTP GET /gateway/connection/{realm}
|
|
791
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
792
|
+
*/
|
|
793
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
721
794
|
/**
|
|
722
|
-
* HTTP
|
|
723
|
-
* Java method: org.openremote.model.
|
|
795
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
796
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
724
797
|
*/
|
|
725
|
-
|
|
798
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
726
799
|
/**
|
|
727
|
-
* HTTP GET /
|
|
728
|
-
* Java method: org.openremote.model.
|
|
800
|
+
* HTTP GET /gateway/status/{realm}
|
|
801
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
729
802
|
*/
|
|
730
|
-
|
|
803
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
731
804
|
}
|
|
732
|
-
export declare class
|
|
805
|
+
export declare class AssetModelResourceClient<O> {
|
|
733
806
|
protected httpClient: HttpClient<O>;
|
|
734
807
|
constructor(httpClient: HttpClient<O>);
|
|
735
808
|
/**
|
|
736
|
-
* HTTP
|
|
737
|
-
* Java method: org.openremote.model.
|
|
738
|
-
*/
|
|
739
|
-
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
740
|
-
assetIds?: string[];
|
|
741
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
742
|
-
/**
|
|
743
|
-
* HTTP GET /alarm
|
|
744
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
745
|
-
*/
|
|
746
|
-
getAlarms(queryParams?: {
|
|
747
|
-
realm?: string;
|
|
748
|
-
status?: Model.AlarmStatus;
|
|
749
|
-
assetId?: string;
|
|
750
|
-
assigneeId?: string;
|
|
751
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
752
|
-
/**
|
|
753
|
-
* HTTP DELETE /alarm
|
|
754
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
809
|
+
* HTTP GET /model/assetDescriptors
|
|
810
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
755
811
|
*/
|
|
756
|
-
|
|
812
|
+
getAssetDescriptors(queryParams?: {
|
|
813
|
+
parentId?: string;
|
|
814
|
+
parentType?: string;
|
|
815
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
757
816
|
/**
|
|
758
|
-
* HTTP
|
|
759
|
-
* Java method: org.openremote.model.
|
|
817
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
818
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
760
819
|
*/
|
|
761
|
-
|
|
820
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
821
|
+
parentId?: string;
|
|
822
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
762
823
|
/**
|
|
763
|
-
* HTTP GET /
|
|
764
|
-
* Java method: org.openremote.model.
|
|
824
|
+
* HTTP GET /model/assetInfos
|
|
825
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
765
826
|
*/
|
|
766
|
-
|
|
827
|
+
getAssetInfos(queryParams?: {
|
|
828
|
+
parentId?: string;
|
|
829
|
+
parentType?: string;
|
|
830
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
767
831
|
/**
|
|
768
|
-
* HTTP
|
|
769
|
-
* Java method: org.openremote.model.
|
|
832
|
+
* HTTP GET /model/getValueDescriptorSchema
|
|
833
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
|
|
770
834
|
*/
|
|
771
|
-
|
|
835
|
+
getValueDescriptorSchema(queryParams?: {
|
|
836
|
+
name?: string;
|
|
837
|
+
}, options?: O): RestResponse<any>;
|
|
772
838
|
/**
|
|
773
|
-
* HTTP
|
|
774
|
-
* Java method: org.openremote.model.
|
|
839
|
+
* HTTP GET /model/metaItemDescriptors
|
|
840
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
775
841
|
*/
|
|
776
|
-
|
|
842
|
+
getMetaItemDescriptors(queryParams?: {
|
|
843
|
+
parentId?: string;
|
|
844
|
+
}, options?: O): RestResponse<{
|
|
845
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
846
|
+
}>;
|
|
777
847
|
/**
|
|
778
|
-
* HTTP GET /
|
|
779
|
-
* Java method: org.openremote.model.
|
|
848
|
+
* HTTP GET /model/valueDescriptors
|
|
849
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
780
850
|
*/
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
}, options?: O): RestResponse<
|
|
851
|
+
getValueDescriptors(queryParams?: {
|
|
852
|
+
parentId?: string;
|
|
853
|
+
}, options?: O): RestResponse<{
|
|
854
|
+
[index: string]: Model.ValueDescriptor;
|
|
855
|
+
}>;
|
|
784
856
|
}
|
|
785
857
|
export declare class RulesResourceClient<O> {
|
|
786
858
|
protected httpClient: HttpClient<O>;
|
|
@@ -890,125 +962,53 @@ export declare class RulesResourceClient<O> {
|
|
|
890
962
|
*/
|
|
891
963
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
892
964
|
}
|
|
893
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
894
|
-
protected httpClient: HttpClient<O>;
|
|
895
|
-
constructor(httpClient: HttpClient<O>);
|
|
896
|
-
/**
|
|
897
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
898
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
899
|
-
*/
|
|
900
|
-
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
901
|
-
/**
|
|
902
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
903
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
904
|
-
*/
|
|
905
|
-
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
906
|
-
}
|
|
907
|
-
export declare class DashboardResourceClient<O> {
|
|
908
|
-
protected httpClient: HttpClient<O>;
|
|
909
|
-
constructor(httpClient: HttpClient<O>);
|
|
910
|
-
/**
|
|
911
|
-
* HTTP POST /dashboard
|
|
912
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
913
|
-
*/
|
|
914
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
915
|
-
/**
|
|
916
|
-
* HTTP PUT /dashboard
|
|
917
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
918
|
-
*/
|
|
919
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
920
|
-
/**
|
|
921
|
-
* HTTP GET /dashboard/all/{realm}
|
|
922
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
923
|
-
*/
|
|
924
|
-
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
925
|
-
/**
|
|
926
|
-
* HTTP POST /dashboard/query
|
|
927
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
928
|
-
*/
|
|
929
|
-
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
930
|
-
/**
|
|
931
|
-
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
932
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
933
|
-
*/
|
|
934
|
-
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
935
|
-
/**
|
|
936
|
-
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
937
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
938
|
-
*/
|
|
939
|
-
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
940
|
-
}
|
|
941
|
-
export declare class ProvisioningResourceClient<O> {
|
|
942
|
-
protected httpClient: HttpClient<O>;
|
|
943
|
-
constructor(httpClient: HttpClient<O>);
|
|
944
|
-
/**
|
|
945
|
-
* HTTP POST /provisioning
|
|
946
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
947
|
-
*/
|
|
948
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
949
|
-
/**
|
|
950
|
-
* HTTP GET /provisioning
|
|
951
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
952
|
-
*/
|
|
953
|
-
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
954
|
-
/**
|
|
955
|
-
* HTTP DELETE /provisioning/{id}
|
|
956
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
957
|
-
*/
|
|
958
|
-
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
959
|
-
/**
|
|
960
|
-
* HTTP PUT /provisioning/{id}
|
|
961
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
962
|
-
*/
|
|
963
|
-
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
964
|
-
}
|
|
965
965
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
966
966
|
export declare class ApiClient {
|
|
967
|
-
protected
|
|
968
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
967
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
969
968
|
protected _userResource: AxiosUserResourceClient;
|
|
970
|
-
protected
|
|
969
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
971
970
|
protected _agentResource: AxiosAgentResourceClient;
|
|
972
|
-
protected
|
|
973
|
-
protected
|
|
974
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
975
|
-
protected _appResource: AxiosAppResourceClient;
|
|
976
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
977
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
971
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
972
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
978
973
|
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
979
974
|
protected _consoleResource: AxiosConsoleResourceClient;
|
|
980
975
|
protected _mapResource: AxiosMapResourceClient;
|
|
976
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
981
977
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
982
|
-
protected
|
|
983
|
-
protected
|
|
984
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
985
|
-
protected _rulesResource: AxiosRulesResourceClient;
|
|
986
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
978
|
+
protected _appResource: AxiosAppResourceClient;
|
|
979
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
987
980
|
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
981
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
988
982
|
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
983
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
984
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
985
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
986
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
987
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
988
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
|
-
get
|
|
991
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
990
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
992
991
|
get UserResource(): AxiosUserResourceClient;
|
|
993
|
-
get
|
|
992
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
994
993
|
get AgentResource(): AxiosAgentResourceClient;
|
|
995
|
-
get
|
|
996
|
-
get
|
|
997
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
998
|
-
get AppResource(): AxiosAppResourceClient;
|
|
999
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1000
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
994
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
995
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
1001
996
|
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
1002
997
|
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1003
998
|
get MapResource(): AxiosMapResourceClient;
|
|
999
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
1004
1000
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
1005
|
-
get
|
|
1006
|
-
get
|
|
1007
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1008
|
-
get RulesResource(): AxiosRulesResourceClient;
|
|
1009
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1001
|
+
get AppResource(): AxiosAppResourceClient;
|
|
1002
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
1010
1003
|
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1004
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
1011
1005
|
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
1006
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1007
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
1008
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1009
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
1010
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1011
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
1012
1012
|
}
|
|
1013
1013
|
import * as Axios from "axios";
|
|
1014
1014
|
declare module "axios" {
|
|
@@ -1016,70 +1016,70 @@ declare module "axios" {
|
|
|
1016
1016
|
data: R;
|
|
1017
1017
|
}
|
|
1018
1018
|
}
|
|
1019
|
-
export declare class
|
|
1020
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1021
|
-
}
|
|
1022
|
-
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1019
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1023
1020
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1024
1021
|
}
|
|
1025
1022
|
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1026
1023
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1027
1024
|
}
|
|
1028
|
-
export declare class
|
|
1025
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1029
1026
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1030
1027
|
}
|
|
1031
1028
|
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1032
1029
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1033
1030
|
}
|
|
1034
|
-
export declare class
|
|
1031
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1035
1032
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1036
1033
|
}
|
|
1037
|
-
export declare class
|
|
1034
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1038
1035
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1039
1036
|
}
|
|
1040
|
-
export declare class
|
|
1037
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1041
1038
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1042
1039
|
}
|
|
1043
|
-
export declare class
|
|
1040
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1044
1041
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1045
1042
|
}
|
|
1046
|
-
export declare class
|
|
1043
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1047
1044
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1048
1045
|
}
|
|
1049
1046
|
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1050
1047
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1051
1048
|
}
|
|
1052
|
-
export declare class
|
|
1049
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1053
1050
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1054
1051
|
}
|
|
1055
|
-
export declare class
|
|
1052
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1056
1053
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1057
1054
|
}
|
|
1058
|
-
export declare class
|
|
1055
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1059
1056
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1060
1057
|
}
|
|
1061
|
-
export declare class
|
|
1058
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1062
1059
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1063
1060
|
}
|
|
1064
|
-
export declare class
|
|
1061
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1065
1062
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1066
1063
|
}
|
|
1067
|
-
export declare class
|
|
1064
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1068
1065
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1069
1066
|
}
|
|
1070
1067
|
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1071
1068
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1072
1069
|
}
|
|
1073
|
-
export declare class
|
|
1070
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1074
1071
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1075
1072
|
}
|
|
1076
|
-
export declare class
|
|
1073
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1077
1074
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1078
1075
|
}
|
|
1079
|
-
export declare class
|
|
1076
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1080
1077
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1081
1078
|
}
|
|
1082
|
-
export declare class
|
|
1079
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1080
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1081
|
+
}
|
|
1082
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1083
1083
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1084
1084
|
}
|
|
1085
1085
|
//# sourceMappingURL=restclient.d.ts.map
|