@openremote/rest 1.4.0-snapshot.20250328114049 → 1.4.0-snapshot.20250331211521
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +1 -1
- package/lib/restclient.d.ts +394 -394
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +3 -3
package/lib/restclient.d.ts
CHANGED
|
@@ -9,20 +9,6 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
13
|
-
protected httpClient: HttpClient<O>;
|
|
14
|
-
constructor(httpClient: HttpClient<O>);
|
|
15
|
-
/**
|
|
16
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
17
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
18
|
-
*/
|
|
19
|
-
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
20
|
-
/**
|
|
21
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
22
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
23
|
-
*/
|
|
24
|
-
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
25
|
-
}
|
|
26
12
|
export declare class ProvisioningResourceClient<O> {
|
|
27
13
|
protected httpClient: HttpClient<O>;
|
|
28
14
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -47,6 +33,15 @@ export declare class ProvisioningResourceClient<O> {
|
|
|
47
33
|
*/
|
|
48
34
|
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
49
35
|
}
|
|
36
|
+
export declare class ConsoleResourceClient<O> {
|
|
37
|
+
protected httpClient: HttpClient<O>;
|
|
38
|
+
constructor(httpClient: HttpClient<O>);
|
|
39
|
+
/**
|
|
40
|
+
* HTTP POST /console/register
|
|
41
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
42
|
+
*/
|
|
43
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
44
|
+
}
|
|
50
45
|
export declare class AssetDatapointResourceClient<O> {
|
|
51
46
|
protected httpClient: HttpClient<O>;
|
|
52
47
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -73,14 +68,196 @@ export declare class AssetDatapointResourceClient<O> {
|
|
|
73
68
|
*/
|
|
74
69
|
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
75
70
|
}
|
|
76
|
-
export declare class
|
|
71
|
+
export declare class NotificationResourceClient<O> {
|
|
77
72
|
protected httpClient: HttpClient<O>;
|
|
78
73
|
constructor(httpClient: HttpClient<O>);
|
|
79
74
|
/**
|
|
80
|
-
* HTTP
|
|
81
|
-
* Java method: org.openremote.model.
|
|
75
|
+
* HTTP GET /notification
|
|
76
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
82
77
|
*/
|
|
83
|
-
|
|
78
|
+
getNotifications(queryParams?: {
|
|
79
|
+
id?: number;
|
|
80
|
+
type?: string;
|
|
81
|
+
from?: number;
|
|
82
|
+
to?: number;
|
|
83
|
+
realmId?: string;
|
|
84
|
+
userId?: string;
|
|
85
|
+
assetId?: string;
|
|
86
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
87
|
+
/**
|
|
88
|
+
* HTTP DELETE /notification
|
|
89
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
90
|
+
*/
|
|
91
|
+
removeNotifications(queryParams?: {
|
|
92
|
+
id?: number;
|
|
93
|
+
type?: string;
|
|
94
|
+
from?: number;
|
|
95
|
+
to?: number;
|
|
96
|
+
realmId?: string;
|
|
97
|
+
userId?: string;
|
|
98
|
+
assetId?: string;
|
|
99
|
+
}, options?: O): RestResponse<void>;
|
|
100
|
+
/**
|
|
101
|
+
* HTTP POST /notification/alert
|
|
102
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
103
|
+
*/
|
|
104
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
105
|
+
/**
|
|
106
|
+
* HTTP DELETE /notification/{notificationId}
|
|
107
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
108
|
+
*/
|
|
109
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
110
|
+
/**
|
|
111
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
112
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
113
|
+
*/
|
|
114
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
115
|
+
targetId?: string;
|
|
116
|
+
}, options?: O): RestResponse<void>;
|
|
117
|
+
/**
|
|
118
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
119
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
120
|
+
*/
|
|
121
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
122
|
+
targetId?: string;
|
|
123
|
+
}, options?: O): RestResponse<void>;
|
|
124
|
+
}
|
|
125
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
126
|
+
protected httpClient: HttpClient<O>;
|
|
127
|
+
constructor(httpClient: HttpClient<O>);
|
|
128
|
+
/**
|
|
129
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
130
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
131
|
+
*/
|
|
132
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
133
|
+
/**
|
|
134
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
135
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
136
|
+
*/
|
|
137
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
138
|
+
}
|
|
139
|
+
export declare class AgentResourceClient<O> {
|
|
140
|
+
protected httpClient: HttpClient<O>;
|
|
141
|
+
constructor(httpClient: HttpClient<O>);
|
|
142
|
+
/**
|
|
143
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
144
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
145
|
+
*/
|
|
146
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
147
|
+
realm?: string;
|
|
148
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
149
|
+
/**
|
|
150
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
151
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
152
|
+
*/
|
|
153
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
154
|
+
realm?: string;
|
|
155
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
156
|
+
/**
|
|
157
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
158
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
159
|
+
*/
|
|
160
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
161
|
+
parentId?: string;
|
|
162
|
+
realm?: string;
|
|
163
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
164
|
+
}
|
|
165
|
+
export declare class RealmResourceClient<O> {
|
|
166
|
+
protected httpClient: HttpClient<O>;
|
|
167
|
+
constructor(httpClient: HttpClient<O>);
|
|
168
|
+
/**
|
|
169
|
+
* HTTP POST /realm
|
|
170
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
171
|
+
*/
|
|
172
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
173
|
+
/**
|
|
174
|
+
* HTTP GET /realm
|
|
175
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
176
|
+
*/
|
|
177
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
178
|
+
/**
|
|
179
|
+
* HTTP GET /realm/accessible
|
|
180
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
181
|
+
*/
|
|
182
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
183
|
+
/**
|
|
184
|
+
* HTTP DELETE /realm/{name}
|
|
185
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
186
|
+
*/
|
|
187
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
188
|
+
/**
|
|
189
|
+
* HTTP GET /realm/{name}
|
|
190
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
191
|
+
*/
|
|
192
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
193
|
+
/**
|
|
194
|
+
* HTTP PUT /realm/{name}
|
|
195
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
196
|
+
*/
|
|
197
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
198
|
+
}
|
|
199
|
+
export declare class AssetModelResourceClient<O> {
|
|
200
|
+
protected httpClient: HttpClient<O>;
|
|
201
|
+
constructor(httpClient: HttpClient<O>);
|
|
202
|
+
/**
|
|
203
|
+
* HTTP GET /model/assetDescriptors
|
|
204
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
205
|
+
*/
|
|
206
|
+
getAssetDescriptors(queryParams?: {
|
|
207
|
+
parentId?: string;
|
|
208
|
+
parentType?: string;
|
|
209
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
210
|
+
/**
|
|
211
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
212
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
213
|
+
*/
|
|
214
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
215
|
+
parentId?: string;
|
|
216
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
217
|
+
/**
|
|
218
|
+
* HTTP GET /model/assetInfos
|
|
219
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
220
|
+
*/
|
|
221
|
+
getAssetInfos(queryParams?: {
|
|
222
|
+
parentId?: string;
|
|
223
|
+
parentType?: string;
|
|
224
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
225
|
+
/**
|
|
226
|
+
* HTTP GET /model/metaItemDescriptors
|
|
227
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
228
|
+
*/
|
|
229
|
+
getMetaItemDescriptors(queryParams?: {
|
|
230
|
+
parentId?: string;
|
|
231
|
+
}, options?: O): RestResponse<{
|
|
232
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
233
|
+
}>;
|
|
234
|
+
/**
|
|
235
|
+
* HTTP GET /model/valueDescriptors
|
|
236
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
237
|
+
*/
|
|
238
|
+
getValueDescriptors(queryParams?: {
|
|
239
|
+
parentId?: string;
|
|
240
|
+
}, options?: O): RestResponse<{
|
|
241
|
+
[index: string]: Model.ValueDescriptor;
|
|
242
|
+
}>;
|
|
243
|
+
}
|
|
244
|
+
export declare class StatusResourceClient<O> {
|
|
245
|
+
protected httpClient: HttpClient<O>;
|
|
246
|
+
constructor(httpClient: HttpClient<O>);
|
|
247
|
+
/**
|
|
248
|
+
* HTTP GET /health
|
|
249
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
250
|
+
*/
|
|
251
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
252
|
+
[index: string]: any;
|
|
253
|
+
}>;
|
|
254
|
+
/**
|
|
255
|
+
* HTTP GET /info
|
|
256
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
257
|
+
*/
|
|
258
|
+
getInfo(options?: O): RestResponse<{
|
|
259
|
+
[index: string]: any;
|
|
260
|
+
}>;
|
|
84
261
|
}
|
|
85
262
|
export declare class UserResourceClient<O> {
|
|
86
263
|
protected httpClient: HttpClient<O>;
|
|
@@ -206,6 +383,36 @@ export declare class UserResourceClient<O> {
|
|
|
206
383
|
*/
|
|
207
384
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
208
385
|
}
|
|
386
|
+
export declare class MapResourceClient<O> {
|
|
387
|
+
protected httpClient: HttpClient<O>;
|
|
388
|
+
constructor(httpClient: HttpClient<O>);
|
|
389
|
+
/**
|
|
390
|
+
* HTTP GET /map
|
|
391
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
392
|
+
*/
|
|
393
|
+
getSettings(options?: O): RestResponse<{
|
|
394
|
+
[id: string]: unknown;
|
|
395
|
+
}>;
|
|
396
|
+
/**
|
|
397
|
+
* HTTP PUT /map
|
|
398
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
399
|
+
*/
|
|
400
|
+
saveSettings(mapConfig: {
|
|
401
|
+
[index: string]: Model.MapRealmConfig;
|
|
402
|
+
}, options?: O): RestResponse<any>;
|
|
403
|
+
/**
|
|
404
|
+
* HTTP GET /map/js
|
|
405
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
406
|
+
*/
|
|
407
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
408
|
+
[id: string]: unknown;
|
|
409
|
+
}>;
|
|
410
|
+
/**
|
|
411
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
412
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
413
|
+
*/
|
|
414
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
415
|
+
}
|
|
209
416
|
export declare class GatewayServiceResourceClient<O> {
|
|
210
417
|
protected httpClient: HttpClient<O>;
|
|
211
418
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -235,86 +442,16 @@ export declare class GatewayServiceResourceClient<O> {
|
|
|
235
442
|
*/
|
|
236
443
|
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
237
444
|
}
|
|
238
|
-
export declare class
|
|
445
|
+
export declare class GatewayClientResourceClient<O> {
|
|
239
446
|
protected httpClient: HttpClient<O>;
|
|
240
447
|
constructor(httpClient: HttpClient<O>);
|
|
241
448
|
/**
|
|
242
|
-
* HTTP
|
|
243
|
-
* Java method: org.openremote.model.
|
|
449
|
+
* HTTP DELETE /gateway/connection
|
|
450
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
244
451
|
*/
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
249
|
-
*/
|
|
250
|
-
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
251
|
-
/**
|
|
252
|
-
* HTTP POST /configuration/manager/file
|
|
253
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
254
|
-
*/
|
|
255
|
-
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
256
|
-
path?: string;
|
|
257
|
-
}, options?: O): RestResponse<string>;
|
|
258
|
-
/**
|
|
259
|
-
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
260
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
261
|
-
*/
|
|
262
|
-
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
263
|
-
}
|
|
264
|
-
export declare class AgentResourceClient<O> {
|
|
265
|
-
protected httpClient: HttpClient<O>;
|
|
266
|
-
constructor(httpClient: HttpClient<O>);
|
|
267
|
-
/**
|
|
268
|
-
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
269
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
270
|
-
*/
|
|
271
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
272
|
-
realm?: string;
|
|
273
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
274
|
-
/**
|
|
275
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
276
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
277
|
-
*/
|
|
278
|
-
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
279
|
-
realm?: string;
|
|
280
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
281
|
-
/**
|
|
282
|
-
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
283
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
284
|
-
*/
|
|
285
|
-
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
286
|
-
parentId?: string;
|
|
287
|
-
realm?: string;
|
|
288
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
289
|
-
}
|
|
290
|
-
export declare class StatusResourceClient<O> {
|
|
291
|
-
protected httpClient: HttpClient<O>;
|
|
292
|
-
constructor(httpClient: HttpClient<O>);
|
|
293
|
-
/**
|
|
294
|
-
* HTTP GET /health
|
|
295
|
-
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
296
|
-
*/
|
|
297
|
-
getHealthStatus(options?: O): RestResponse<{
|
|
298
|
-
[index: string]: any;
|
|
299
|
-
}>;
|
|
300
|
-
/**
|
|
301
|
-
* HTTP GET /info
|
|
302
|
-
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
303
|
-
*/
|
|
304
|
-
getInfo(options?: O): RestResponse<{
|
|
305
|
-
[index: string]: any;
|
|
306
|
-
}>;
|
|
307
|
-
}
|
|
308
|
-
export declare class GatewayClientResourceClient<O> {
|
|
309
|
-
protected httpClient: HttpClient<O>;
|
|
310
|
-
constructor(httpClient: HttpClient<O>);
|
|
311
|
-
/**
|
|
312
|
-
* HTTP DELETE /gateway/connection
|
|
313
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
314
|
-
*/
|
|
315
|
-
deleteConnections(queryParams?: {
|
|
316
|
-
realm?: string[];
|
|
317
|
-
}, options?: O): RestResponse<void>;
|
|
452
|
+
deleteConnections(queryParams?: {
|
|
453
|
+
realm?: string[];
|
|
454
|
+
}, options?: O): RestResponse<void>;
|
|
318
455
|
/**
|
|
319
456
|
* HTTP GET /gateway/connection
|
|
320
457
|
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
@@ -445,179 +582,6 @@ export declare class AssetResourceClient<O> {
|
|
|
445
582
|
assetIds?: string[];
|
|
446
583
|
}, options?: O): RestResponse<void>;
|
|
447
584
|
}
|
|
448
|
-
export declare class SyslogResourceClient<O> {
|
|
449
|
-
protected httpClient: HttpClient<O>;
|
|
450
|
-
constructor(httpClient: HttpClient<O>);
|
|
451
|
-
/**
|
|
452
|
-
* HTTP GET /syslog/config
|
|
453
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
454
|
-
*/
|
|
455
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
456
|
-
/**
|
|
457
|
-
* HTTP PUT /syslog/config
|
|
458
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
459
|
-
*/
|
|
460
|
-
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
461
|
-
/**
|
|
462
|
-
* HTTP DELETE /syslog/event
|
|
463
|
-
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
464
|
-
*/
|
|
465
|
-
clearEvents(options?: O): RestResponse<void>;
|
|
466
|
-
/**
|
|
467
|
-
* HTTP GET /syslog/event
|
|
468
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
469
|
-
*/
|
|
470
|
-
getEvents(queryParams?: {
|
|
471
|
-
level?: Model.SyslogLevel;
|
|
472
|
-
per_page?: number;
|
|
473
|
-
page?: number;
|
|
474
|
-
from?: number;
|
|
475
|
-
to?: number;
|
|
476
|
-
category?: Model.SyslogCategory[];
|
|
477
|
-
subCategory?: string[];
|
|
478
|
-
}, options?: O): RestResponse<any>;
|
|
479
|
-
}
|
|
480
|
-
export declare class AlarmResourceClient<O> {
|
|
481
|
-
protected httpClient: HttpClient<O>;
|
|
482
|
-
constructor(httpClient: HttpClient<O>);
|
|
483
|
-
/**
|
|
484
|
-
* HTTP POST /alarm
|
|
485
|
-
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
486
|
-
*/
|
|
487
|
-
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
488
|
-
assetIds?: string[];
|
|
489
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
490
|
-
/**
|
|
491
|
-
* HTTP GET /alarm
|
|
492
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
493
|
-
*/
|
|
494
|
-
getAlarms(queryParams?: {
|
|
495
|
-
realm?: string;
|
|
496
|
-
status?: Model.AlarmStatus;
|
|
497
|
-
assetId?: string;
|
|
498
|
-
assigneeId?: string;
|
|
499
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
500
|
-
/**
|
|
501
|
-
* HTTP DELETE /alarm
|
|
502
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
503
|
-
*/
|
|
504
|
-
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
505
|
-
/**
|
|
506
|
-
* HTTP PUT /alarm/assets
|
|
507
|
-
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
508
|
-
*/
|
|
509
|
-
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
510
|
-
/**
|
|
511
|
-
* HTTP GET /alarm/{alarmId}
|
|
512
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
513
|
-
*/
|
|
514
|
-
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
515
|
-
/**
|
|
516
|
-
* HTTP DELETE /alarm/{alarmId}
|
|
517
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
518
|
-
*/
|
|
519
|
-
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
520
|
-
/**
|
|
521
|
-
* HTTP PUT /alarm/{alarmId}
|
|
522
|
-
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
523
|
-
*/
|
|
524
|
-
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
525
|
-
/**
|
|
526
|
-
* HTTP GET /alarm/{alarmId}/assets
|
|
527
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
528
|
-
*/
|
|
529
|
-
getAssetLinks(alarmId: number, queryParams?: {
|
|
530
|
-
realm?: string;
|
|
531
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
532
|
-
}
|
|
533
|
-
export declare class NotificationResourceClient<O> {
|
|
534
|
-
protected httpClient: HttpClient<O>;
|
|
535
|
-
constructor(httpClient: HttpClient<O>);
|
|
536
|
-
/**
|
|
537
|
-
* HTTP GET /notification
|
|
538
|
-
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
539
|
-
*/
|
|
540
|
-
getNotifications(queryParams?: {
|
|
541
|
-
id?: number;
|
|
542
|
-
type?: string;
|
|
543
|
-
from?: number;
|
|
544
|
-
to?: number;
|
|
545
|
-
realmId?: string;
|
|
546
|
-
userId?: string;
|
|
547
|
-
assetId?: string;
|
|
548
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
549
|
-
/**
|
|
550
|
-
* HTTP DELETE /notification
|
|
551
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
552
|
-
*/
|
|
553
|
-
removeNotifications(queryParams?: {
|
|
554
|
-
id?: number;
|
|
555
|
-
type?: string;
|
|
556
|
-
from?: number;
|
|
557
|
-
to?: number;
|
|
558
|
-
realmId?: string;
|
|
559
|
-
userId?: string;
|
|
560
|
-
assetId?: string;
|
|
561
|
-
}, options?: O): RestResponse<void>;
|
|
562
|
-
/**
|
|
563
|
-
* HTTP POST /notification/alert
|
|
564
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
565
|
-
*/
|
|
566
|
-
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
567
|
-
/**
|
|
568
|
-
* HTTP DELETE /notification/{notificationId}
|
|
569
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
570
|
-
*/
|
|
571
|
-
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
572
|
-
/**
|
|
573
|
-
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
574
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
575
|
-
*/
|
|
576
|
-
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
577
|
-
targetId?: string;
|
|
578
|
-
}, options?: O): RestResponse<void>;
|
|
579
|
-
/**
|
|
580
|
-
* HTTP PUT /notification/{notificationId}/delivered
|
|
581
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
582
|
-
*/
|
|
583
|
-
notificationDelivered(notificationId: number, queryParams?: {
|
|
584
|
-
targetId?: string;
|
|
585
|
-
}, options?: O): RestResponse<void>;
|
|
586
|
-
}
|
|
587
|
-
export declare class DashboardResourceClient<O> {
|
|
588
|
-
protected httpClient: HttpClient<O>;
|
|
589
|
-
constructor(httpClient: HttpClient<O>);
|
|
590
|
-
/**
|
|
591
|
-
* HTTP POST /dashboard
|
|
592
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
593
|
-
*/
|
|
594
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
595
|
-
/**
|
|
596
|
-
* HTTP PUT /dashboard
|
|
597
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
598
|
-
*/
|
|
599
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
600
|
-
/**
|
|
601
|
-
* HTTP GET /dashboard/all/{realm}
|
|
602
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
603
|
-
*/
|
|
604
|
-
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
605
|
-
/**
|
|
606
|
-
* HTTP POST /dashboard/query
|
|
607
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
608
|
-
*/
|
|
609
|
-
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
610
|
-
/**
|
|
611
|
-
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
612
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
613
|
-
*/
|
|
614
|
-
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
615
|
-
/**
|
|
616
|
-
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
617
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
618
|
-
*/
|
|
619
|
-
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
620
|
-
}
|
|
621
585
|
export declare class RulesResourceClient<O> {
|
|
622
586
|
protected httpClient: HttpClient<O>;
|
|
623
587
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -726,35 +690,24 @@ export declare class RulesResourceClient<O> {
|
|
|
726
690
|
*/
|
|
727
691
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
728
692
|
}
|
|
729
|
-
export declare class
|
|
693
|
+
export declare class FlowResourceClient<O> {
|
|
730
694
|
protected httpClient: HttpClient<O>;
|
|
731
695
|
constructor(httpClient: HttpClient<O>);
|
|
732
696
|
/**
|
|
733
|
-
* HTTP GET /
|
|
734
|
-
* Java method: org.openremote.model.
|
|
697
|
+
* HTTP GET /flow
|
|
698
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
735
699
|
*/
|
|
736
|
-
|
|
737
|
-
[id: string]: unknown;
|
|
738
|
-
}>;
|
|
700
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
739
701
|
/**
|
|
740
|
-
* HTTP
|
|
741
|
-
* Java method: org.openremote.model.
|
|
702
|
+
* HTTP GET /flow/{name}
|
|
703
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
742
704
|
*/
|
|
743
|
-
|
|
744
|
-
[index: string]: Model.MapRealmConfig;
|
|
745
|
-
}, options?: O): RestResponse<any>;
|
|
746
|
-
/**
|
|
747
|
-
* HTTP GET /map/js
|
|
748
|
-
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
749
|
-
*/
|
|
750
|
-
getSettingsJs(options?: O): RestResponse<{
|
|
751
|
-
[id: string]: unknown;
|
|
752
|
-
}>;
|
|
705
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
753
706
|
/**
|
|
754
|
-
* HTTP GET /
|
|
755
|
-
* Java method: org.openremote.model.
|
|
707
|
+
* HTTP GET /flow/{type}
|
|
708
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
756
709
|
*/
|
|
757
|
-
|
|
710
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
758
711
|
}
|
|
759
712
|
export declare class AppResourceClient<O> {
|
|
760
713
|
protected httpClient: HttpClient<O>;
|
|
@@ -775,149 +728,196 @@ export declare class AppResourceClient<O> {
|
|
|
775
728
|
*/
|
|
776
729
|
getAppInfos(options?: O): RestResponse<any>;
|
|
777
730
|
}
|
|
778
|
-
export declare class
|
|
731
|
+
export declare class AlarmResourceClient<O> {
|
|
779
732
|
protected httpClient: HttpClient<O>;
|
|
780
733
|
constructor(httpClient: HttpClient<O>);
|
|
781
734
|
/**
|
|
782
|
-
* HTTP POST /
|
|
783
|
-
* Java method: org.openremote.model.
|
|
735
|
+
* HTTP POST /alarm
|
|
736
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
784
737
|
*/
|
|
785
|
-
|
|
738
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
739
|
+
assetIds?: string[];
|
|
740
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
786
741
|
/**
|
|
787
|
-
* HTTP GET /
|
|
788
|
-
* Java method: org.openremote.model.
|
|
742
|
+
* HTTP GET /alarm
|
|
743
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
789
744
|
*/
|
|
790
|
-
|
|
745
|
+
getAlarms(queryParams?: {
|
|
746
|
+
realm?: string;
|
|
747
|
+
status?: Model.AlarmStatus;
|
|
748
|
+
assetId?: string;
|
|
749
|
+
assigneeId?: string;
|
|
750
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
791
751
|
/**
|
|
792
|
-
* HTTP
|
|
793
|
-
* Java method: org.openremote.model.
|
|
752
|
+
* HTTP DELETE /alarm
|
|
753
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
794
754
|
*/
|
|
795
|
-
|
|
755
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
796
756
|
/**
|
|
797
|
-
* HTTP
|
|
798
|
-
* Java method: org.openremote.model.
|
|
757
|
+
* HTTP PUT /alarm/assets
|
|
758
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
799
759
|
*/
|
|
800
|
-
|
|
760
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
801
761
|
/**
|
|
802
|
-
* HTTP GET /
|
|
803
|
-
* Java method: org.openremote.model.
|
|
762
|
+
* HTTP GET /alarm/{alarmId}
|
|
763
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
804
764
|
*/
|
|
805
|
-
|
|
765
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
806
766
|
/**
|
|
807
|
-
* HTTP
|
|
808
|
-
* Java method: org.openremote.model.
|
|
767
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
768
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
809
769
|
*/
|
|
810
|
-
|
|
770
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
771
|
+
/**
|
|
772
|
+
* HTTP PUT /alarm/{alarmId}
|
|
773
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
774
|
+
*/
|
|
775
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
776
|
+
/**
|
|
777
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
778
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
779
|
+
*/
|
|
780
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
781
|
+
realm?: string;
|
|
782
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
811
783
|
}
|
|
812
|
-
export declare class
|
|
784
|
+
export declare class ConfigurationResourceClient<O> {
|
|
813
785
|
protected httpClient: HttpClient<O>;
|
|
814
786
|
constructor(httpClient: HttpClient<O>);
|
|
815
787
|
/**
|
|
816
|
-
* HTTP GET /
|
|
817
|
-
* Java method: org.openremote.model.
|
|
788
|
+
* HTTP GET /configuration/manager
|
|
789
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
818
790
|
*/
|
|
819
|
-
|
|
791
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
820
792
|
/**
|
|
821
|
-
* HTTP
|
|
822
|
-
* Java method: org.openremote.model.
|
|
793
|
+
* HTTP PUT /configuration/manager
|
|
794
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
823
795
|
*/
|
|
824
|
-
|
|
796
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
825
797
|
/**
|
|
826
|
-
* HTTP
|
|
827
|
-
* Java method: org.openremote.model.
|
|
798
|
+
* HTTP POST /configuration/manager/file
|
|
799
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
828
800
|
*/
|
|
829
|
-
|
|
801
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
802
|
+
path?: string;
|
|
803
|
+
}, options?: O): RestResponse<string>;
|
|
804
|
+
/**
|
|
805
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
806
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
807
|
+
*/
|
|
808
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
830
809
|
}
|
|
831
|
-
export declare class
|
|
810
|
+
export declare class DashboardResourceClient<O> {
|
|
832
811
|
protected httpClient: HttpClient<O>;
|
|
833
812
|
constructor(httpClient: HttpClient<O>);
|
|
834
813
|
/**
|
|
835
|
-
* HTTP
|
|
836
|
-
* Java method: org.openremote.model.
|
|
814
|
+
* HTTP POST /dashboard
|
|
815
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
837
816
|
*/
|
|
838
|
-
|
|
839
|
-
parentId?: string;
|
|
840
|
-
parentType?: string;
|
|
841
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
817
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
842
818
|
/**
|
|
843
|
-
* HTTP
|
|
844
|
-
* Java method: org.openremote.model.
|
|
819
|
+
* HTTP PUT /dashboard
|
|
820
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
845
821
|
*/
|
|
846
|
-
|
|
847
|
-
parentId?: string;
|
|
848
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
822
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
849
823
|
/**
|
|
850
|
-
* HTTP GET /
|
|
851
|
-
* Java method: org.openremote.model.
|
|
824
|
+
* HTTP GET /dashboard/all/{realm}
|
|
825
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
852
826
|
*/
|
|
853
|
-
|
|
854
|
-
parentId?: string;
|
|
855
|
-
parentType?: string;
|
|
856
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
827
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
857
828
|
/**
|
|
858
|
-
* HTTP
|
|
859
|
-
* Java method: org.openremote.model.
|
|
829
|
+
* HTTP POST /dashboard/query
|
|
830
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
860
831
|
*/
|
|
861
|
-
|
|
862
|
-
parentId?: string;
|
|
863
|
-
}, options?: O): RestResponse<{
|
|
864
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
865
|
-
}>;
|
|
832
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
866
833
|
/**
|
|
867
|
-
* HTTP
|
|
868
|
-
* Java method: org.openremote.model.
|
|
834
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
835
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
869
836
|
*/
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
837
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
838
|
+
/**
|
|
839
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
840
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
841
|
+
*/
|
|
842
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
843
|
+
}
|
|
844
|
+
export declare class SyslogResourceClient<O> {
|
|
845
|
+
protected httpClient: HttpClient<O>;
|
|
846
|
+
constructor(httpClient: HttpClient<O>);
|
|
847
|
+
/**
|
|
848
|
+
* HTTP GET /syslog/config
|
|
849
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
850
|
+
*/
|
|
851
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
852
|
+
/**
|
|
853
|
+
* HTTP PUT /syslog/config
|
|
854
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
855
|
+
*/
|
|
856
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
857
|
+
/**
|
|
858
|
+
* HTTP DELETE /syslog/event
|
|
859
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
860
|
+
*/
|
|
861
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
862
|
+
/**
|
|
863
|
+
* HTTP GET /syslog/event
|
|
864
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
865
|
+
*/
|
|
866
|
+
getEvents(queryParams?: {
|
|
867
|
+
level?: Model.SyslogLevel;
|
|
868
|
+
per_page?: number;
|
|
869
|
+
page?: number;
|
|
870
|
+
from?: number;
|
|
871
|
+
to?: number;
|
|
872
|
+
category?: Model.SyslogCategory[];
|
|
873
|
+
subCategory?: string[];
|
|
874
|
+
}, options?: O): RestResponse<any>;
|
|
875
875
|
}
|
|
876
876
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
877
877
|
export declare class ApiClient {
|
|
878
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
879
878
|
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
880
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
881
879
|
protected _consoleResource: AxiosConsoleResourceClient;
|
|
882
|
-
protected
|
|
883
|
-
protected
|
|
884
|
-
protected
|
|
880
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
881
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
882
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
885
883
|
protected _agentResource: AxiosAgentResourceClient;
|
|
884
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
885
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
886
886
|
protected _statusResource: AxiosStatusResourceClient;
|
|
887
|
+
protected _userResource: AxiosUserResourceClient;
|
|
888
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
889
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
887
890
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
888
891
|
protected _assetResource: AxiosAssetResourceClient;
|
|
889
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
890
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
891
|
-
protected _notificationResource: AxiosNotificationResourceClient;
|
|
892
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
893
892
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
894
|
-
protected _mapResource: AxiosMapResourceClient;
|
|
895
|
-
protected _appResource: AxiosAppResourceClient;
|
|
896
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
897
893
|
protected _flowResource: AxiosFlowResourceClient;
|
|
898
|
-
protected
|
|
894
|
+
protected _appResource: AxiosAppResourceClient;
|
|
895
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
896
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
897
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
898
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
899
899
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
900
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
901
900
|
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
902
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
903
901
|
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
904
|
-
get
|
|
905
|
-
get
|
|
906
|
-
get
|
|
902
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
903
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
904
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
907
905
|
get AgentResource(): AxiosAgentResourceClient;
|
|
906
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
907
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
908
908
|
get StatusResource(): AxiosStatusResourceClient;
|
|
909
|
+
get UserResource(): AxiosUserResourceClient;
|
|
910
|
+
get MapResource(): AxiosMapResourceClient;
|
|
911
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
909
912
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
910
913
|
get AssetResource(): AxiosAssetResourceClient;
|
|
911
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
912
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
913
|
-
get NotificationResource(): AxiosNotificationResourceClient;
|
|
914
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
915
914
|
get RulesResource(): AxiosRulesResourceClient;
|
|
916
|
-
get MapResource(): AxiosMapResourceClient;
|
|
917
|
-
get AppResource(): AxiosAppResourceClient;
|
|
918
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
919
915
|
get FlowResource(): AxiosFlowResourceClient;
|
|
920
|
-
get
|
|
916
|
+
get AppResource(): AxiosAppResourceClient;
|
|
917
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
918
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
919
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
920
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
921
921
|
}
|
|
922
922
|
import * as Axios from "axios";
|
|
923
923
|
declare module "axios" {
|
|
@@ -925,66 +925,66 @@ declare module "axios" {
|
|
|
925
925
|
data: R;
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
export declare class
|
|
928
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
929
929
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
930
930
|
}
|
|
931
|
-
export declare class
|
|
931
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
932
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
933
|
}
|
|
934
934
|
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
935
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
936
|
}
|
|
937
|
-
export declare class
|
|
937
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
938
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
939
|
}
|
|
940
|
-
export declare class
|
|
940
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
941
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
942
|
}
|
|
943
|
-
export declare class
|
|
943
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
944
944
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
945
|
}
|
|
946
|
-
export declare class
|
|
946
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
947
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
948
|
}
|
|
949
|
-
export declare class
|
|
949
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
950
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
951
|
}
|
|
952
952
|
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
953
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
954
|
}
|
|
955
|
-
export declare class
|
|
956
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
|
-
}
|
|
958
|
-
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
955
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
959
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
957
|
}
|
|
961
|
-
export declare class
|
|
958
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
962
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
960
|
}
|
|
964
|
-
export declare class
|
|
961
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
965
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
963
|
}
|
|
967
|
-
export declare class
|
|
964
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
968
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
966
|
}
|
|
970
|
-
export declare class
|
|
967
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
971
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
969
|
}
|
|
973
970
|
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
974
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
972
|
}
|
|
976
|
-
export declare class
|
|
973
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
977
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
975
|
}
|
|
979
976
|
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
980
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
978
|
}
|
|
982
|
-
export declare class
|
|
979
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
983
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
984
981
|
}
|
|
985
|
-
export declare class
|
|
982
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
986
983
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
984
|
}
|
|
988
|
-
export declare class
|
|
985
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
986
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
|
+
}
|
|
988
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
990
|
}
|