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