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