@openremote/rest 1.12.0-snapshot.20251119112219 → 1.12.0-snapshot.20251120123536
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 +569 -569
- 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,6 +9,385 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
+
export declare class ConfigurationResourceClient<O> {
|
|
13
|
+
protected httpClient: HttpClient<O>;
|
|
14
|
+
constructor(httpClient: HttpClient<O>);
|
|
15
|
+
/**
|
|
16
|
+
* HTTP GET /configuration/manager
|
|
17
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
18
|
+
*/
|
|
19
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
20
|
+
/**
|
|
21
|
+
* HTTP PUT /configuration/manager
|
|
22
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
23
|
+
*/
|
|
24
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
25
|
+
/**
|
|
26
|
+
* HTTP POST /configuration/manager/file
|
|
27
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
28
|
+
*/
|
|
29
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
30
|
+
path?: string;
|
|
31
|
+
}, options?: O): RestResponse<string>;
|
|
32
|
+
/**
|
|
33
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
34
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
35
|
+
*/
|
|
36
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
37
|
+
}
|
|
38
|
+
export declare class AssetModelResourceClient<O> {
|
|
39
|
+
protected httpClient: HttpClient<O>;
|
|
40
|
+
constructor(httpClient: HttpClient<O>);
|
|
41
|
+
/**
|
|
42
|
+
* HTTP GET /model/assetDescriptors
|
|
43
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
44
|
+
*/
|
|
45
|
+
getAssetDescriptors(queryParams?: {
|
|
46
|
+
parentId?: string;
|
|
47
|
+
parentType?: string;
|
|
48
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
49
|
+
/**
|
|
50
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
51
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
52
|
+
*/
|
|
53
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
54
|
+
parentId?: string;
|
|
55
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
56
|
+
/**
|
|
57
|
+
* HTTP GET /model/assetInfos
|
|
58
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
59
|
+
*/
|
|
60
|
+
getAssetInfos(queryParams?: {
|
|
61
|
+
parentId?: string;
|
|
62
|
+
parentType?: string;
|
|
63
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
64
|
+
/**
|
|
65
|
+
* HTTP GET /model/getValueDescriptorSchema
|
|
66
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
|
|
67
|
+
*/
|
|
68
|
+
getValueDescriptorSchema(queryParams?: {
|
|
69
|
+
name?: string;
|
|
70
|
+
hash?: string;
|
|
71
|
+
}, options?: O): RestResponse<any>;
|
|
72
|
+
/**
|
|
73
|
+
* HTTP GET /model/metaItemDescriptors
|
|
74
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
75
|
+
*/
|
|
76
|
+
getMetaItemDescriptors(queryParams?: {
|
|
77
|
+
parentId?: string;
|
|
78
|
+
}, options?: O): RestResponse<{
|
|
79
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
80
|
+
}>;
|
|
81
|
+
/**
|
|
82
|
+
* HTTP GET /model/valueDescriptors
|
|
83
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
84
|
+
*/
|
|
85
|
+
getValueDescriptors(queryParams?: {
|
|
86
|
+
parentId?: string;
|
|
87
|
+
}, options?: O): RestResponse<{
|
|
88
|
+
[index: string]: Model.ValueDescriptor;
|
|
89
|
+
}>;
|
|
90
|
+
}
|
|
91
|
+
export declare class SyslogResourceClient<O> {
|
|
92
|
+
protected httpClient: HttpClient<O>;
|
|
93
|
+
constructor(httpClient: HttpClient<O>);
|
|
94
|
+
/**
|
|
95
|
+
* HTTP GET /syslog/config
|
|
96
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
97
|
+
*/
|
|
98
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
99
|
+
/**
|
|
100
|
+
* HTTP PUT /syslog/config
|
|
101
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
102
|
+
*/
|
|
103
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
104
|
+
/**
|
|
105
|
+
* HTTP DELETE /syslog/event
|
|
106
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
107
|
+
*/
|
|
108
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
109
|
+
/**
|
|
110
|
+
* HTTP GET /syslog/event
|
|
111
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
112
|
+
*/
|
|
113
|
+
getEvents(queryParams?: {
|
|
114
|
+
level?: Model.SyslogLevel;
|
|
115
|
+
per_page?: number;
|
|
116
|
+
page?: number;
|
|
117
|
+
from?: number;
|
|
118
|
+
to?: number;
|
|
119
|
+
category?: Model.SyslogCategory[];
|
|
120
|
+
subCategory?: string[];
|
|
121
|
+
}, options?: O): RestResponse<any>;
|
|
122
|
+
}
|
|
123
|
+
export declare class ProvisioningResourceClient<O> {
|
|
124
|
+
protected httpClient: HttpClient<O>;
|
|
125
|
+
constructor(httpClient: HttpClient<O>);
|
|
126
|
+
/**
|
|
127
|
+
* HTTP POST /provisioning
|
|
128
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
129
|
+
*/
|
|
130
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
131
|
+
/**
|
|
132
|
+
* HTTP GET /provisioning
|
|
133
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
134
|
+
*/
|
|
135
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
136
|
+
/**
|
|
137
|
+
* HTTP DELETE /provisioning/{id}
|
|
138
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
139
|
+
*/
|
|
140
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
141
|
+
/**
|
|
142
|
+
* HTTP PUT /provisioning/{id}
|
|
143
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
144
|
+
*/
|
|
145
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
146
|
+
}
|
|
147
|
+
export declare class GatewayClientResourceClient<O> {
|
|
148
|
+
protected httpClient: HttpClient<O>;
|
|
149
|
+
constructor(httpClient: HttpClient<O>);
|
|
150
|
+
/**
|
|
151
|
+
* HTTP DELETE /gateway/connection
|
|
152
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
153
|
+
*/
|
|
154
|
+
deleteConnections(queryParams?: {
|
|
155
|
+
realm?: string[];
|
|
156
|
+
}, options?: O): RestResponse<void>;
|
|
157
|
+
/**
|
|
158
|
+
* HTTP GET /gateway/connection
|
|
159
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
160
|
+
*/
|
|
161
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
162
|
+
/**
|
|
163
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
164
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
165
|
+
*/
|
|
166
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
167
|
+
/**
|
|
168
|
+
* HTTP GET /gateway/connection/{realm}
|
|
169
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
170
|
+
*/
|
|
171
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
172
|
+
/**
|
|
173
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
174
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
175
|
+
*/
|
|
176
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
177
|
+
/**
|
|
178
|
+
* HTTP GET /gateway/status/{realm}
|
|
179
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
180
|
+
*/
|
|
181
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
182
|
+
}
|
|
183
|
+
export declare class AgentResourceClient<O> {
|
|
184
|
+
protected httpClient: HttpClient<O>;
|
|
185
|
+
constructor(httpClient: HttpClient<O>);
|
|
186
|
+
/**
|
|
187
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
188
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
189
|
+
*/
|
|
190
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
191
|
+
realm?: string;
|
|
192
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
193
|
+
/**
|
|
194
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
195
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
196
|
+
*/
|
|
197
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
198
|
+
realm?: string;
|
|
199
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
200
|
+
/**
|
|
201
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
202
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
203
|
+
*/
|
|
204
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
205
|
+
parentId?: string;
|
|
206
|
+
realm?: string;
|
|
207
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
208
|
+
}
|
|
209
|
+
export declare class NotificationResourceClient<O> {
|
|
210
|
+
protected httpClient: HttpClient<O>;
|
|
211
|
+
constructor(httpClient: HttpClient<O>);
|
|
212
|
+
/**
|
|
213
|
+
* HTTP GET /notification
|
|
214
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
215
|
+
*/
|
|
216
|
+
getNotifications(queryParams?: {
|
|
217
|
+
id?: number;
|
|
218
|
+
type?: string;
|
|
219
|
+
from?: number;
|
|
220
|
+
to?: number;
|
|
221
|
+
realmId?: string;
|
|
222
|
+
userId?: string;
|
|
223
|
+
assetId?: string;
|
|
224
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
225
|
+
/**
|
|
226
|
+
* HTTP DELETE /notification
|
|
227
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
228
|
+
*/
|
|
229
|
+
removeNotifications(queryParams?: {
|
|
230
|
+
id?: number;
|
|
231
|
+
type?: string;
|
|
232
|
+
from?: number;
|
|
233
|
+
to?: number;
|
|
234
|
+
realmId?: string;
|
|
235
|
+
userId?: string;
|
|
236
|
+
assetId?: string;
|
|
237
|
+
}, options?: O): RestResponse<void>;
|
|
238
|
+
/**
|
|
239
|
+
* HTTP POST /notification/alert
|
|
240
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
241
|
+
*/
|
|
242
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
243
|
+
/**
|
|
244
|
+
* HTTP DELETE /notification/{notificationId}
|
|
245
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
246
|
+
*/
|
|
247
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
248
|
+
/**
|
|
249
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
250
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
251
|
+
*/
|
|
252
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
253
|
+
targetId?: string;
|
|
254
|
+
}, options?: O): RestResponse<void>;
|
|
255
|
+
/**
|
|
256
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
257
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
258
|
+
*/
|
|
259
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
260
|
+
targetId?: string;
|
|
261
|
+
}, options?: O): RestResponse<void>;
|
|
262
|
+
}
|
|
263
|
+
export declare class AssetResourceClient<O> {
|
|
264
|
+
protected httpClient: HttpClient<O>;
|
|
265
|
+
constructor(httpClient: HttpClient<O>);
|
|
266
|
+
/**
|
|
267
|
+
* HTTP POST /asset
|
|
268
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
269
|
+
*/
|
|
270
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
271
|
+
/**
|
|
272
|
+
* HTTP DELETE /asset
|
|
273
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
274
|
+
*/
|
|
275
|
+
delete(queryParams?: {
|
|
276
|
+
assetId?: string[];
|
|
277
|
+
}, options?: O): RestResponse<void>;
|
|
278
|
+
/**
|
|
279
|
+
* HTTP PUT /asset/attributes
|
|
280
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
281
|
+
*/
|
|
282
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
283
|
+
/**
|
|
284
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
285
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
286
|
+
*/
|
|
287
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
288
|
+
/**
|
|
289
|
+
* HTTP DELETE /asset/parent
|
|
290
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
291
|
+
*/
|
|
292
|
+
updateNoneParent(queryParams?: {
|
|
293
|
+
assetIds?: string[];
|
|
294
|
+
}, options?: O): RestResponse<void>;
|
|
295
|
+
/**
|
|
296
|
+
* HTTP GET /asset/partial/{assetId}
|
|
297
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
298
|
+
*/
|
|
299
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
300
|
+
/**
|
|
301
|
+
* HTTP POST /asset/query
|
|
302
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
303
|
+
*/
|
|
304
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
305
|
+
/**
|
|
306
|
+
* HTTP POST /asset/tree
|
|
307
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
308
|
+
*/
|
|
309
|
+
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
310
|
+
/**
|
|
311
|
+
* HTTP GET /asset/user/current
|
|
312
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
313
|
+
*/
|
|
314
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
315
|
+
/**
|
|
316
|
+
* HTTP POST /asset/user/link
|
|
317
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
318
|
+
*/
|
|
319
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
320
|
+
/**
|
|
321
|
+
* HTTP GET /asset/user/link
|
|
322
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
323
|
+
*/
|
|
324
|
+
getUserAssetLinks(queryParams?: {
|
|
325
|
+
realm?: string;
|
|
326
|
+
userId?: string;
|
|
327
|
+
assetId?: string;
|
|
328
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
329
|
+
/**
|
|
330
|
+
* HTTP POST /asset/user/link/delete
|
|
331
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
332
|
+
*/
|
|
333
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
334
|
+
/**
|
|
335
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
336
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
337
|
+
*/
|
|
338
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
339
|
+
/**
|
|
340
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
341
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
342
|
+
*/
|
|
343
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
344
|
+
/**
|
|
345
|
+
* HTTP GET /asset/{assetId}
|
|
346
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
347
|
+
*/
|
|
348
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
349
|
+
/**
|
|
350
|
+
* HTTP PUT /asset/{assetId}
|
|
351
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
352
|
+
*/
|
|
353
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
354
|
+
/**
|
|
355
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
356
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
357
|
+
*/
|
|
358
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
359
|
+
/**
|
|
360
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
361
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
362
|
+
*/
|
|
363
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
364
|
+
/**
|
|
365
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
366
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
367
|
+
*/
|
|
368
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
369
|
+
assetIds?: string[];
|
|
370
|
+
}, options?: O): RestResponse<void>;
|
|
371
|
+
}
|
|
372
|
+
export declare class FlowResourceClient<O> {
|
|
373
|
+
protected httpClient: HttpClient<O>;
|
|
374
|
+
constructor(httpClient: HttpClient<O>);
|
|
375
|
+
/**
|
|
376
|
+
* HTTP GET /flow
|
|
377
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
378
|
+
*/
|
|
379
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
380
|
+
/**
|
|
381
|
+
* HTTP GET /flow/{name}
|
|
382
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
383
|
+
*/
|
|
384
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
385
|
+
/**
|
|
386
|
+
* HTTP GET /flow/{type}
|
|
387
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
388
|
+
*/
|
|
389
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
390
|
+
}
|
|
12
391
|
export declare class RulesResourceClient<O> {
|
|
13
392
|
protected httpClient: HttpClient<O>;
|
|
14
393
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -117,82 +496,69 @@ export declare class RulesResourceClient<O> {
|
|
|
117
496
|
*/
|
|
118
497
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
119
498
|
}
|
|
120
|
-
export declare class
|
|
499
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
121
500
|
protected httpClient: HttpClient<O>;
|
|
122
501
|
constructor(httpClient: HttpClient<O>);
|
|
123
502
|
/**
|
|
124
|
-
* HTTP
|
|
125
|
-
* Java method: org.openremote.model.
|
|
126
|
-
*/
|
|
127
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
128
|
-
/**
|
|
129
|
-
* HTTP GET /provisioning
|
|
130
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
503
|
+
* HTTP GET /asset/datapoint/export
|
|
504
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
131
505
|
*/
|
|
132
|
-
|
|
506
|
+
getDatapointExport(queryParams?: {
|
|
507
|
+
attributeRefs?: string;
|
|
508
|
+
fromTimestamp?: number;
|
|
509
|
+
toTimestamp?: number;
|
|
510
|
+
}, options?: O): RestResponse<any>;
|
|
133
511
|
/**
|
|
134
|
-
* HTTP
|
|
135
|
-
* Java method: org.openremote.model.
|
|
512
|
+
* HTTP GET /asset/datapoint/periods
|
|
513
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
136
514
|
*/
|
|
137
|
-
|
|
515
|
+
getDatapointPeriod(queryParams?: {
|
|
516
|
+
assetId?: string;
|
|
517
|
+
attributeName?: string;
|
|
518
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
138
519
|
/**
|
|
139
|
-
* HTTP
|
|
140
|
-
* Java method: org.openremote.model.
|
|
520
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
521
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
141
522
|
*/
|
|
142
|
-
|
|
523
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
143
524
|
}
|
|
144
|
-
export declare class
|
|
525
|
+
export declare class ConsoleResourceClient<O> {
|
|
145
526
|
protected httpClient: HttpClient<O>;
|
|
146
527
|
constructor(httpClient: HttpClient<O>);
|
|
147
528
|
/**
|
|
148
|
-
* HTTP
|
|
149
|
-
* Java method: org.openremote.model.
|
|
150
|
-
*/
|
|
151
|
-
getSettings(options?: O): RestResponse<{
|
|
152
|
-
[id: string]: unknown;
|
|
153
|
-
}>;
|
|
154
|
-
/**
|
|
155
|
-
* HTTP PUT /map
|
|
156
|
-
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
529
|
+
* HTTP POST /console/register
|
|
530
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
157
531
|
*/
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
532
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
533
|
+
}
|
|
534
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
535
|
+
protected httpClient: HttpClient<O>;
|
|
536
|
+
constructor(httpClient: HttpClient<O>);
|
|
161
537
|
/**
|
|
162
|
-
* HTTP
|
|
163
|
-
* Java method: org.openremote.model.
|
|
538
|
+
* HTTP POST /gateway/tunnel
|
|
539
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
164
540
|
*/
|
|
165
|
-
|
|
166
|
-
[id: string]: unknown;
|
|
167
|
-
}>;
|
|
541
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
168
542
|
/**
|
|
169
|
-
* HTTP
|
|
170
|
-
* Java method: org.openremote.model.
|
|
543
|
+
* HTTP DELETE /gateway/tunnel
|
|
544
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
171
545
|
*/
|
|
172
|
-
|
|
173
|
-
[id: string]: unknown;
|
|
174
|
-
}>;
|
|
546
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
175
547
|
/**
|
|
176
|
-
* HTTP GET /
|
|
177
|
-
* Java method: org.openremote.model.
|
|
548
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
549
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
178
550
|
*/
|
|
179
|
-
|
|
180
|
-
[id: string]: unknown;
|
|
181
|
-
}>;
|
|
551
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
182
552
|
/**
|
|
183
|
-
* HTTP GET /
|
|
184
|
-
* Java method: org.openremote.model.
|
|
553
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
554
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
185
555
|
*/
|
|
186
|
-
|
|
556
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
187
557
|
/**
|
|
188
|
-
* HTTP
|
|
189
|
-
* Java method: org.openremote.model.
|
|
558
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
559
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
190
560
|
*/
|
|
191
|
-
|
|
192
|
-
filename?: string;
|
|
193
|
-
}, options?: O): RestResponse<{
|
|
194
|
-
[id: string]: unknown;
|
|
195
|
-
}>;
|
|
561
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
196
562
|
}
|
|
197
563
|
export declare class ExternalServiceResourceClient<O> {
|
|
198
564
|
protected httpClient: HttpClient<O>;
|
|
@@ -249,117 +615,71 @@ export declare class ExternalServiceResourceClient<O> {
|
|
|
249
615
|
*/
|
|
250
616
|
heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
251
617
|
}
|
|
252
|
-
export declare class
|
|
618
|
+
export declare class RealmResourceClient<O> {
|
|
253
619
|
protected httpClient: HttpClient<O>;
|
|
254
620
|
constructor(httpClient: HttpClient<O>);
|
|
255
621
|
/**
|
|
256
|
-
* HTTP
|
|
257
|
-
* Java method: org.openremote.model.
|
|
622
|
+
* HTTP POST /realm
|
|
623
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
258
624
|
*/
|
|
259
|
-
|
|
260
|
-
id?: number;
|
|
261
|
-
type?: string;
|
|
262
|
-
from?: number;
|
|
263
|
-
to?: number;
|
|
264
|
-
realmId?: string;
|
|
265
|
-
userId?: string;
|
|
266
|
-
assetId?: string;
|
|
267
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
625
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
268
626
|
/**
|
|
269
|
-
* HTTP
|
|
270
|
-
* Java method: org.openremote.model.
|
|
627
|
+
* HTTP GET /realm
|
|
628
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
271
629
|
*/
|
|
272
|
-
|
|
273
|
-
id?: number;
|
|
274
|
-
type?: string;
|
|
275
|
-
from?: number;
|
|
276
|
-
to?: number;
|
|
277
|
-
realmId?: string;
|
|
278
|
-
userId?: string;
|
|
279
|
-
assetId?: string;
|
|
280
|
-
}, options?: O): RestResponse<void>;
|
|
630
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
281
631
|
/**
|
|
282
|
-
* HTTP
|
|
283
|
-
* Java method: org.openremote.model.
|
|
632
|
+
* HTTP GET /realm/accessible
|
|
633
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
284
634
|
*/
|
|
285
|
-
|
|
635
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
286
636
|
/**
|
|
287
|
-
* HTTP DELETE /
|
|
288
|
-
* Java method: org.openremote.model.
|
|
637
|
+
* HTTP DELETE /realm/{name}
|
|
638
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
289
639
|
*/
|
|
290
|
-
|
|
640
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
291
641
|
/**
|
|
292
|
-
* HTTP
|
|
293
|
-
* Java method: org.openremote.model.
|
|
642
|
+
* HTTP GET /realm/{name}
|
|
643
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
294
644
|
*/
|
|
295
|
-
|
|
296
|
-
targetId?: string;
|
|
297
|
-
}, options?: O): RestResponse<void>;
|
|
645
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
298
646
|
/**
|
|
299
|
-
* HTTP PUT /
|
|
300
|
-
* Java method: org.openremote.model.
|
|
647
|
+
* HTTP PUT /realm/{name}
|
|
648
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
301
649
|
*/
|
|
302
|
-
|
|
303
|
-
targetId?: string;
|
|
304
|
-
}, options?: O): RestResponse<void>;
|
|
650
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
305
651
|
}
|
|
306
|
-
export declare class
|
|
652
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
307
653
|
protected httpClient: HttpClient<O>;
|
|
308
654
|
constructor(httpClient: HttpClient<O>);
|
|
309
655
|
/**
|
|
310
|
-
* HTTP
|
|
311
|
-
* Java method: org.openremote.model.
|
|
312
|
-
*/
|
|
313
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
314
|
-
/**
|
|
315
|
-
* HTTP PUT /syslog/config
|
|
316
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
317
|
-
*/
|
|
318
|
-
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
319
|
-
/**
|
|
320
|
-
* HTTP DELETE /syslog/event
|
|
321
|
-
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
656
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
657
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
322
658
|
*/
|
|
323
|
-
|
|
659
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
324
660
|
/**
|
|
325
|
-
* HTTP
|
|
326
|
-
* Java method: org.openremote.model.
|
|
661
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
662
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
327
663
|
*/
|
|
328
|
-
|
|
329
|
-
level?: Model.SyslogLevel;
|
|
330
|
-
per_page?: number;
|
|
331
|
-
page?: number;
|
|
332
|
-
from?: number;
|
|
333
|
-
to?: number;
|
|
334
|
-
category?: Model.SyslogCategory[];
|
|
335
|
-
subCategory?: string[];
|
|
336
|
-
}, options?: O): RestResponse<any>;
|
|
664
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
337
665
|
}
|
|
338
|
-
export declare class
|
|
666
|
+
export declare class StatusResourceClient<O> {
|
|
339
667
|
protected httpClient: HttpClient<O>;
|
|
340
668
|
constructor(httpClient: HttpClient<O>);
|
|
341
669
|
/**
|
|
342
|
-
* HTTP GET /
|
|
343
|
-
* Java method: org.openremote.model.
|
|
344
|
-
*/
|
|
345
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
346
|
-
realm?: string;
|
|
347
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
348
|
-
/**
|
|
349
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
350
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
670
|
+
* HTTP GET /health
|
|
671
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
351
672
|
*/
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
}
|
|
673
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
674
|
+
[index: string]: any;
|
|
675
|
+
}>;
|
|
355
676
|
/**
|
|
356
|
-
* HTTP GET /
|
|
357
|
-
* Java method: org.openremote.model.
|
|
677
|
+
* HTTP GET /info
|
|
678
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
358
679
|
*/
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
680
|
+
getInfo(options?: O): RestResponse<{
|
|
681
|
+
[index: string]: any;
|
|
682
|
+
}>;
|
|
363
683
|
}
|
|
364
684
|
export declare class AppResourceClient<O> {
|
|
365
685
|
protected httpClient: HttpClient<O>;
|
|
@@ -380,24 +700,58 @@ export declare class AppResourceClient<O> {
|
|
|
380
700
|
*/
|
|
381
701
|
getAppInfos(options?: O): RestResponse<any>;
|
|
382
702
|
}
|
|
383
|
-
export declare class
|
|
703
|
+
export declare class MapResourceClient<O> {
|
|
384
704
|
protected httpClient: HttpClient<O>;
|
|
385
705
|
constructor(httpClient: HttpClient<O>);
|
|
386
706
|
/**
|
|
387
|
-
* HTTP GET /
|
|
388
|
-
* Java method: org.openremote.model.
|
|
707
|
+
* HTTP GET /map
|
|
708
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
709
|
+
*/
|
|
710
|
+
getSettings(options?: O): RestResponse<{
|
|
711
|
+
[id: string]: unknown;
|
|
712
|
+
}>;
|
|
713
|
+
/**
|
|
714
|
+
* HTTP PUT /map
|
|
715
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
716
|
+
*/
|
|
717
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
718
|
+
[id: string]: unknown;
|
|
719
|
+
}>;
|
|
720
|
+
/**
|
|
721
|
+
* HTTP DELETE /map/deleteMap
|
|
722
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
723
|
+
*/
|
|
724
|
+
deleteMap(options?: O): RestResponse<{
|
|
725
|
+
[id: string]: unknown;
|
|
726
|
+
}>;
|
|
727
|
+
/**
|
|
728
|
+
* HTTP GET /map/getCustomMapInfo
|
|
729
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
730
|
+
*/
|
|
731
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
732
|
+
[id: string]: unknown;
|
|
733
|
+
}>;
|
|
734
|
+
/**
|
|
735
|
+
* HTTP GET /map/js
|
|
736
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
389
737
|
*/
|
|
390
|
-
|
|
738
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
739
|
+
[id: string]: unknown;
|
|
740
|
+
}>;
|
|
391
741
|
/**
|
|
392
|
-
* HTTP GET /
|
|
393
|
-
* Java method: org.openremote.model.
|
|
742
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
743
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
394
744
|
*/
|
|
395
|
-
|
|
745
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
396
746
|
/**
|
|
397
|
-
* HTTP
|
|
398
|
-
* Java method: org.openremote.model.
|
|
747
|
+
* HTTP POST /map/upload
|
|
748
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
399
749
|
*/
|
|
400
|
-
|
|
750
|
+
uploadMap(queryParams?: {
|
|
751
|
+
filename?: string;
|
|
752
|
+
}, options?: O): RestResponse<{
|
|
753
|
+
[id: string]: unknown;
|
|
754
|
+
}>;
|
|
401
755
|
}
|
|
402
756
|
export declare class UserResourceClient<O> {
|
|
403
757
|
protected httpClient: HttpClient<O>;
|
|
@@ -491,275 +845,37 @@ export declare class UserResourceClient<O> {
|
|
|
491
845
|
* HTTP GET /user/{realm}/userSessions/{userId}
|
|
492
846
|
* Java method: org.openremote.model.security.UserResource.getUserSessions
|
|
493
847
|
*/
|
|
494
|
-
getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
|
|
495
|
-
/**
|
|
496
|
-
* HTTP POST /user/{realm}/users
|
|
497
|
-
* Java method: org.openremote.model.security.UserResource.create
|
|
498
|
-
*/
|
|
499
|
-
create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
500
|
-
/**
|
|
501
|
-
* HTTP PUT /user/{realm}/users
|
|
502
|
-
* Java method: org.openremote.model.security.UserResource.update
|
|
503
|
-
*/
|
|
504
|
-
update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
505
|
-
/**
|
|
506
|
-
* HTTP DELETE /user/{realm}/users/{userId}
|
|
507
|
-
* Java method: org.openremote.model.security.UserResource.delete
|
|
508
|
-
*/
|
|
509
|
-
delete(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
510
|
-
/**
|
|
511
|
-
* HTTP GET /user/{realm}/{clientId}/roles
|
|
512
|
-
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
513
|
-
*/
|
|
514
|
-
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
515
|
-
/**
|
|
516
|
-
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
517
|
-
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
518
|
-
*/
|
|
519
|
-
updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
520
|
-
/**
|
|
521
|
-
* HTTP GET /user/{realm}/{userId}
|
|
522
|
-
* Java method: org.openremote.model.security.UserResource.get
|
|
523
|
-
*/
|
|
524
|
-
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
525
|
-
}
|
|
526
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
527
|
-
protected httpClient: HttpClient<O>;
|
|
528
|
-
constructor(httpClient: HttpClient<O>);
|
|
529
|
-
/**
|
|
530
|
-
* HTTP POST /gateway/tunnel
|
|
531
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
532
|
-
*/
|
|
533
|
-
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
534
|
-
/**
|
|
535
|
-
* HTTP DELETE /gateway/tunnel
|
|
536
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
537
|
-
*/
|
|
538
|
-
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
539
|
-
/**
|
|
540
|
-
* HTTP GET /gateway/tunnel/{realm}
|
|
541
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
542
|
-
*/
|
|
543
|
-
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
544
|
-
/**
|
|
545
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
546
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
547
|
-
*/
|
|
548
|
-
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
549
|
-
/**
|
|
550
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
551
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
552
|
-
*/
|
|
553
|
-
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
554
|
-
}
|
|
555
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
556
|
-
protected httpClient: HttpClient<O>;
|
|
557
|
-
constructor(httpClient: HttpClient<O>);
|
|
558
|
-
/**
|
|
559
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
560
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
561
|
-
*/
|
|
562
|
-
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
563
|
-
/**
|
|
564
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
565
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
566
|
-
*/
|
|
567
|
-
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
568
|
-
}
|
|
569
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
570
|
-
protected httpClient: HttpClient<O>;
|
|
571
|
-
constructor(httpClient: HttpClient<O>);
|
|
572
|
-
/**
|
|
573
|
-
* HTTP GET /asset/datapoint/export
|
|
574
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
575
|
-
*/
|
|
576
|
-
getDatapointExport(queryParams?: {
|
|
577
|
-
attributeRefs?: string;
|
|
578
|
-
fromTimestamp?: number;
|
|
579
|
-
toTimestamp?: number;
|
|
580
|
-
}, options?: O): RestResponse<any>;
|
|
581
|
-
/**
|
|
582
|
-
* HTTP GET /asset/datapoint/periods
|
|
583
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
584
|
-
*/
|
|
585
|
-
getDatapointPeriod(queryParams?: {
|
|
586
|
-
assetId?: string;
|
|
587
|
-
attributeName?: string;
|
|
588
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
589
|
-
/**
|
|
590
|
-
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
591
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
592
|
-
*/
|
|
593
|
-
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
594
|
-
}
|
|
595
|
-
export declare class ConfigurationResourceClient<O> {
|
|
596
|
-
protected httpClient: HttpClient<O>;
|
|
597
|
-
constructor(httpClient: HttpClient<O>);
|
|
598
|
-
/**
|
|
599
|
-
* HTTP GET /configuration/manager
|
|
600
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
601
|
-
*/
|
|
602
|
-
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
603
|
-
/**
|
|
604
|
-
* HTTP PUT /configuration/manager
|
|
605
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
606
|
-
*/
|
|
607
|
-
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
608
|
-
/**
|
|
609
|
-
* HTTP POST /configuration/manager/file
|
|
610
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
611
|
-
*/
|
|
612
|
-
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
613
|
-
path?: string;
|
|
614
|
-
}, options?: O): RestResponse<string>;
|
|
615
|
-
/**
|
|
616
|
-
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
617
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
618
|
-
*/
|
|
619
|
-
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
620
|
-
}
|
|
621
|
-
export declare class RealmResourceClient<O> {
|
|
622
|
-
protected httpClient: HttpClient<O>;
|
|
623
|
-
constructor(httpClient: HttpClient<O>);
|
|
624
|
-
/**
|
|
625
|
-
* HTTP POST /realm
|
|
626
|
-
* Java method: org.openremote.model.security.RealmResource.create
|
|
627
|
-
*/
|
|
628
|
-
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
629
|
-
/**
|
|
630
|
-
* HTTP GET /realm
|
|
631
|
-
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
632
|
-
*/
|
|
633
|
-
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
634
|
-
/**
|
|
635
|
-
* HTTP GET /realm/accessible
|
|
636
|
-
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
637
|
-
*/
|
|
638
|
-
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
639
|
-
/**
|
|
640
|
-
* HTTP DELETE /realm/{name}
|
|
641
|
-
* Java method: org.openremote.model.security.RealmResource.delete
|
|
642
|
-
*/
|
|
643
|
-
delete(name: string, options?: O): RestResponse<void>;
|
|
644
|
-
/**
|
|
645
|
-
* HTTP GET /realm/{name}
|
|
646
|
-
* Java method: org.openremote.model.security.RealmResource.get
|
|
647
|
-
*/
|
|
648
|
-
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
649
|
-
/**
|
|
650
|
-
* HTTP PUT /realm/{name}
|
|
651
|
-
* Java method: org.openremote.model.security.RealmResource.update
|
|
652
|
-
*/
|
|
653
|
-
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
654
|
-
}
|
|
655
|
-
export declare class AssetResourceClient<O> {
|
|
656
|
-
protected httpClient: HttpClient<O>;
|
|
657
|
-
constructor(httpClient: HttpClient<O>);
|
|
658
|
-
/**
|
|
659
|
-
* HTTP POST /asset
|
|
660
|
-
* Java method: org.openremote.model.asset.AssetResource.create
|
|
661
|
-
*/
|
|
662
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
663
|
-
/**
|
|
664
|
-
* HTTP DELETE /asset
|
|
665
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
666
|
-
*/
|
|
667
|
-
delete(queryParams?: {
|
|
668
|
-
assetId?: string[];
|
|
669
|
-
}, options?: O): RestResponse<void>;
|
|
670
|
-
/**
|
|
671
|
-
* HTTP PUT /asset/attributes
|
|
672
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
673
|
-
*/
|
|
674
|
-
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
675
|
-
/**
|
|
676
|
-
* HTTP PUT /asset/attributes/timestamp
|
|
677
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
678
|
-
*/
|
|
679
|
-
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
680
|
-
/**
|
|
681
|
-
* HTTP DELETE /asset/parent
|
|
682
|
-
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
683
|
-
*/
|
|
684
|
-
updateNoneParent(queryParams?: {
|
|
685
|
-
assetIds?: string[];
|
|
686
|
-
}, options?: O): RestResponse<void>;
|
|
687
|
-
/**
|
|
688
|
-
* HTTP GET /asset/partial/{assetId}
|
|
689
|
-
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
690
|
-
*/
|
|
691
|
-
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
692
|
-
/**
|
|
693
|
-
* HTTP POST /asset/query
|
|
694
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
695
|
-
*/
|
|
696
|
-
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
697
|
-
/**
|
|
698
|
-
* HTTP POST /asset/tree
|
|
699
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
700
|
-
*/
|
|
701
|
-
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
702
|
-
/**
|
|
703
|
-
* HTTP GET /asset/user/current
|
|
704
|
-
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
705
|
-
*/
|
|
706
|
-
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
707
|
-
/**
|
|
708
|
-
* HTTP POST /asset/user/link
|
|
709
|
-
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
710
|
-
*/
|
|
711
|
-
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
712
|
-
/**
|
|
713
|
-
* HTTP GET /asset/user/link
|
|
714
|
-
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
715
|
-
*/
|
|
716
|
-
getUserAssetLinks(queryParams?: {
|
|
717
|
-
realm?: string;
|
|
718
|
-
userId?: string;
|
|
719
|
-
assetId?: string;
|
|
720
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
721
|
-
/**
|
|
722
|
-
* HTTP POST /asset/user/link/delete
|
|
723
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
724
|
-
*/
|
|
725
|
-
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
726
|
-
/**
|
|
727
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
728
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
729
|
-
*/
|
|
730
|
-
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
848
|
+
getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
|
|
731
849
|
/**
|
|
732
|
-
* HTTP
|
|
733
|
-
* Java method: org.openremote.model.
|
|
850
|
+
* HTTP POST /user/{realm}/users
|
|
851
|
+
* Java method: org.openremote.model.security.UserResource.create
|
|
734
852
|
*/
|
|
735
|
-
|
|
853
|
+
create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
736
854
|
/**
|
|
737
|
-
* HTTP
|
|
738
|
-
* Java method: org.openremote.model.
|
|
855
|
+
* HTTP PUT /user/{realm}/users
|
|
856
|
+
* Java method: org.openremote.model.security.UserResource.update
|
|
739
857
|
*/
|
|
740
|
-
|
|
858
|
+
update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
741
859
|
/**
|
|
742
|
-
* HTTP
|
|
743
|
-
* Java method: org.openremote.model.
|
|
860
|
+
* HTTP DELETE /user/{realm}/users/{userId}
|
|
861
|
+
* Java method: org.openremote.model.security.UserResource.delete
|
|
744
862
|
*/
|
|
745
|
-
|
|
863
|
+
delete(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
746
864
|
/**
|
|
747
|
-
* HTTP
|
|
748
|
-
* Java method: org.openremote.model.
|
|
865
|
+
* HTTP GET /user/{realm}/{clientId}/roles
|
|
866
|
+
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
749
867
|
*/
|
|
750
|
-
|
|
868
|
+
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
751
869
|
/**
|
|
752
|
-
* HTTP PUT /
|
|
753
|
-
* Java method: org.openremote.model.
|
|
870
|
+
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
871
|
+
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
754
872
|
*/
|
|
755
|
-
|
|
873
|
+
updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
756
874
|
/**
|
|
757
|
-
* HTTP
|
|
758
|
-
* Java method: org.openremote.model.
|
|
875
|
+
* HTTP GET /user/{realm}/{userId}
|
|
876
|
+
* Java method: org.openremote.model.security.UserResource.get
|
|
759
877
|
*/
|
|
760
|
-
|
|
761
|
-
assetIds?: string[];
|
|
762
|
-
}, options?: O): RestResponse<void>;
|
|
878
|
+
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
763
879
|
}
|
|
764
880
|
export declare class DashboardResourceClient<O> {
|
|
765
881
|
protected httpClient: HttpClient<O>;
|
|
@@ -848,169 +964,53 @@ export declare class AlarmResourceClient<O> {
|
|
|
848
964
|
realm?: string;
|
|
849
965
|
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
850
966
|
}
|
|
851
|
-
export declare class GatewayClientResourceClient<O> {
|
|
852
|
-
protected httpClient: HttpClient<O>;
|
|
853
|
-
constructor(httpClient: HttpClient<O>);
|
|
854
|
-
/**
|
|
855
|
-
* HTTP DELETE /gateway/connection
|
|
856
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
857
|
-
*/
|
|
858
|
-
deleteConnections(queryParams?: {
|
|
859
|
-
realm?: string[];
|
|
860
|
-
}, options?: O): RestResponse<void>;
|
|
861
|
-
/**
|
|
862
|
-
* HTTP GET /gateway/connection
|
|
863
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
864
|
-
*/
|
|
865
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
866
|
-
/**
|
|
867
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
868
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
869
|
-
*/
|
|
870
|
-
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
871
|
-
/**
|
|
872
|
-
* HTTP GET /gateway/connection/{realm}
|
|
873
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
874
|
-
*/
|
|
875
|
-
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
876
|
-
/**
|
|
877
|
-
* HTTP PUT /gateway/connection/{realm}
|
|
878
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
879
|
-
*/
|
|
880
|
-
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
881
|
-
/**
|
|
882
|
-
* HTTP GET /gateway/status/{realm}
|
|
883
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
884
|
-
*/
|
|
885
|
-
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
886
|
-
}
|
|
887
|
-
export declare class AssetModelResourceClient<O> {
|
|
888
|
-
protected httpClient: HttpClient<O>;
|
|
889
|
-
constructor(httpClient: HttpClient<O>);
|
|
890
|
-
/**
|
|
891
|
-
* HTTP GET /model/assetDescriptors
|
|
892
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
893
|
-
*/
|
|
894
|
-
getAssetDescriptors(queryParams?: {
|
|
895
|
-
parentId?: string;
|
|
896
|
-
parentType?: string;
|
|
897
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
898
|
-
/**
|
|
899
|
-
* HTTP GET /model/assetInfo/{assetType}
|
|
900
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
901
|
-
*/
|
|
902
|
-
getAssetInfo(assetType: string, queryParams?: {
|
|
903
|
-
parentId?: string;
|
|
904
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
905
|
-
/**
|
|
906
|
-
* HTTP GET /model/assetInfos
|
|
907
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
908
|
-
*/
|
|
909
|
-
getAssetInfos(queryParams?: {
|
|
910
|
-
parentId?: string;
|
|
911
|
-
parentType?: string;
|
|
912
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
913
|
-
/**
|
|
914
|
-
* HTTP GET /model/getValueDescriptorSchema
|
|
915
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
|
|
916
|
-
*/
|
|
917
|
-
getValueDescriptorSchema(queryParams?: {
|
|
918
|
-
name?: string;
|
|
919
|
-
hash?: string;
|
|
920
|
-
}, options?: O): RestResponse<any>;
|
|
921
|
-
/**
|
|
922
|
-
* HTTP GET /model/metaItemDescriptors
|
|
923
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
924
|
-
*/
|
|
925
|
-
getMetaItemDescriptors(queryParams?: {
|
|
926
|
-
parentId?: string;
|
|
927
|
-
}, options?: O): RestResponse<{
|
|
928
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
929
|
-
}>;
|
|
930
|
-
/**
|
|
931
|
-
* HTTP GET /model/valueDescriptors
|
|
932
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
933
|
-
*/
|
|
934
|
-
getValueDescriptors(queryParams?: {
|
|
935
|
-
parentId?: string;
|
|
936
|
-
}, options?: O): RestResponse<{
|
|
937
|
-
[index: string]: Model.ValueDescriptor;
|
|
938
|
-
}>;
|
|
939
|
-
}
|
|
940
|
-
export declare class ConsoleResourceClient<O> {
|
|
941
|
-
protected httpClient: HttpClient<O>;
|
|
942
|
-
constructor(httpClient: HttpClient<O>);
|
|
943
|
-
/**
|
|
944
|
-
* HTTP POST /console/register
|
|
945
|
-
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
946
|
-
*/
|
|
947
|
-
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
948
|
-
}
|
|
949
|
-
export declare class StatusResourceClient<O> {
|
|
950
|
-
protected httpClient: HttpClient<O>;
|
|
951
|
-
constructor(httpClient: HttpClient<O>);
|
|
952
|
-
/**
|
|
953
|
-
* HTTP GET /health
|
|
954
|
-
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
955
|
-
*/
|
|
956
|
-
getHealthStatus(options?: O): RestResponse<{
|
|
957
|
-
[index: string]: any;
|
|
958
|
-
}>;
|
|
959
|
-
/**
|
|
960
|
-
* HTTP GET /info
|
|
961
|
-
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
962
|
-
*/
|
|
963
|
-
getInfo(options?: O): RestResponse<{
|
|
964
|
-
[index: string]: any;
|
|
965
|
-
}>;
|
|
966
|
-
}
|
|
967
967
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
968
968
|
export declare class ApiClient {
|
|
969
|
-
protected
|
|
970
|
-
protected
|
|
971
|
-
protected _mapResource: AxiosMapResourceClient;
|
|
972
|
-
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
973
|
-
protected _notificationResource: AxiosNotificationResourceClient;
|
|
969
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
970
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
974
971
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
972
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
973
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
975
974
|
protected _agentResource: AxiosAgentResourceClient;
|
|
976
|
-
protected
|
|
975
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
976
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
977
977
|
protected _flowResource: AxiosFlowResourceClient;
|
|
978
|
-
protected
|
|
979
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
980
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
978
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
981
979
|
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
982
|
-
protected
|
|
980
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
981
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
982
|
+
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
983
983
|
protected _realmResource: AxiosRealmResourceClient;
|
|
984
|
-
protected
|
|
984
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
985
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
986
|
+
protected _appResource: AxiosAppResourceClient;
|
|
987
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
988
|
+
protected _userResource: AxiosUserResourceClient;
|
|
985
989
|
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
986
990
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
987
|
-
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
988
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
989
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
990
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
991
991
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
992
|
-
get
|
|
993
|
-
get
|
|
994
|
-
get MapResource(): AxiosMapResourceClient;
|
|
995
|
-
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
996
|
-
get NotificationResource(): AxiosNotificationResourceClient;
|
|
992
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
993
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
997
994
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
995
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
996
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
998
997
|
get AgentResource(): AxiosAgentResourceClient;
|
|
999
|
-
get
|
|
998
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
999
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
1000
1000
|
get FlowResource(): AxiosFlowResourceClient;
|
|
1001
|
-
get
|
|
1002
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
1003
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1001
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
1004
1002
|
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
1005
|
-
get
|
|
1003
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1004
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
1005
|
+
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
1006
1006
|
get RealmResource(): AxiosRealmResourceClient;
|
|
1007
|
-
get
|
|
1007
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1008
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
1009
|
+
get AppResource(): AxiosAppResourceClient;
|
|
1010
|
+
get MapResource(): AxiosMapResourceClient;
|
|
1011
|
+
get UserResource(): AxiosUserResourceClient;
|
|
1008
1012
|
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1009
1013
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1010
|
-
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
1011
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1012
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1013
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
1014
1014
|
}
|
|
1015
1015
|
import * as Axios from "axios";
|
|
1016
1016
|
declare module "axios" {
|
|
@@ -1018,69 +1018,69 @@ declare module "axios" {
|
|
|
1018
1018
|
data: R;
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
|
-
export declare class
|
|
1021
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1022
1022
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1023
1023
|
}
|
|
1024
|
-
export declare class
|
|
1024
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1025
1025
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1026
1026
|
}
|
|
1027
|
-
export declare class
|
|
1027
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1028
1028
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1029
1029
|
}
|
|
1030
|
-
export declare class
|
|
1030
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1031
1031
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1032
1032
|
}
|
|
1033
|
-
export declare class
|
|
1033
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1034
1034
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1035
1035
|
}
|
|
1036
|
-
export declare class
|
|
1036
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1037
1037
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1038
1038
|
}
|
|
1039
|
-
export declare class
|
|
1039
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1040
1040
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1041
1041
|
}
|
|
1042
|
-
export declare class
|
|
1042
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1043
1043
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1044
1044
|
}
|
|
1045
1045
|
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1046
1046
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1047
1047
|
}
|
|
1048
|
-
export declare class
|
|
1048
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1049
1049
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1050
1050
|
}
|
|
1051
|
-
export declare class
|
|
1051
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1052
1052
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1053
1053
|
}
|
|
1054
|
-
export declare class
|
|
1054
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1055
1055
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1056
1056
|
}
|
|
1057
|
-
export declare class
|
|
1057
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1058
1058
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1059
1059
|
}
|
|
1060
|
-
export declare class
|
|
1060
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1061
1061
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1062
1062
|
}
|
|
1063
1063
|
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1064
1064
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1065
1065
|
}
|
|
1066
|
-
export declare class
|
|
1066
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1067
1067
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1068
1068
|
}
|
|
1069
|
-
export declare class
|
|
1069
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1070
1070
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1071
1071
|
}
|
|
1072
|
-
export declare class
|
|
1072
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1073
1073
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1074
1074
|
}
|
|
1075
|
-
export declare class
|
|
1075
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1076
1076
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1077
1077
|
}
|
|
1078
|
-
export declare class
|
|
1078
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1079
1079
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1080
1080
|
}
|
|
1081
|
-
export declare class
|
|
1081
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1082
1082
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1083
1083
|
}
|
|
1084
|
-
export declare class
|
|
1084
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1085
1085
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1086
1086
|
}
|