@openremote/rest 1.5.0-snapshot.20250422072347 → 1.5.0-snapshot.20250422083638
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +1 -1
- package/lib/restclient.d.ts +371 -350
- 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,15 +9,6 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class ConsoleResourceClient<O> {
|
|
13
|
-
protected httpClient: HttpClient<O>;
|
|
14
|
-
constructor(httpClient: HttpClient<O>);
|
|
15
|
-
/**
|
|
16
|
-
* HTTP POST /console/register
|
|
17
|
-
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
18
|
-
*/
|
|
19
|
-
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
20
|
-
}
|
|
21
12
|
export declare class AlarmResourceClient<O> {
|
|
22
13
|
protected httpClient: HttpClient<O>;
|
|
23
14
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -71,6 +62,40 @@ export declare class AlarmResourceClient<O> {
|
|
|
71
62
|
realm?: string;
|
|
72
63
|
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
73
64
|
}
|
|
65
|
+
export declare class RealmResourceClient<O> {
|
|
66
|
+
protected httpClient: HttpClient<O>;
|
|
67
|
+
constructor(httpClient: HttpClient<O>);
|
|
68
|
+
/**
|
|
69
|
+
* HTTP POST /realm
|
|
70
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
71
|
+
*/
|
|
72
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
73
|
+
/**
|
|
74
|
+
* HTTP GET /realm
|
|
75
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
76
|
+
*/
|
|
77
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
78
|
+
/**
|
|
79
|
+
* HTTP GET /realm/accessible
|
|
80
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
81
|
+
*/
|
|
82
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
83
|
+
/**
|
|
84
|
+
* HTTP DELETE /realm/{name}
|
|
85
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
86
|
+
*/
|
|
87
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
88
|
+
/**
|
|
89
|
+
* HTTP GET /realm/{name}
|
|
90
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
91
|
+
*/
|
|
92
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
93
|
+
/**
|
|
94
|
+
* HTTP PUT /realm/{name}
|
|
95
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
96
|
+
*/
|
|
97
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
98
|
+
}
|
|
74
99
|
export declare class RulesResourceClient<O> {
|
|
75
100
|
protected httpClient: HttpClient<O>;
|
|
76
101
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -179,32 +204,6 @@ export declare class RulesResourceClient<O> {
|
|
|
179
204
|
*/
|
|
180
205
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
181
206
|
}
|
|
182
|
-
export declare class ConfigurationResourceClient<O> {
|
|
183
|
-
protected httpClient: HttpClient<O>;
|
|
184
|
-
constructor(httpClient: HttpClient<O>);
|
|
185
|
-
/**
|
|
186
|
-
* HTTP GET /configuration/manager
|
|
187
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
188
|
-
*/
|
|
189
|
-
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
190
|
-
/**
|
|
191
|
-
* HTTP PUT /configuration/manager
|
|
192
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
193
|
-
*/
|
|
194
|
-
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
195
|
-
/**
|
|
196
|
-
* HTTP POST /configuration/manager/file
|
|
197
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
198
|
-
*/
|
|
199
|
-
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
200
|
-
path?: string;
|
|
201
|
-
}, options?: O): RestResponse<string>;
|
|
202
|
-
/**
|
|
203
|
-
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
204
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
205
|
-
*/
|
|
206
|
-
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
207
|
-
}
|
|
208
207
|
export declare class DashboardResourceClient<O> {
|
|
209
208
|
protected httpClient: HttpClient<O>;
|
|
210
209
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -239,20 +238,6 @@ export declare class DashboardResourceClient<O> {
|
|
|
239
238
|
*/
|
|
240
239
|
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
241
240
|
}
|
|
242
|
-
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
243
|
-
protected httpClient: HttpClient<O>;
|
|
244
|
-
constructor(httpClient: HttpClient<O>);
|
|
245
|
-
/**
|
|
246
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
247
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
248
|
-
*/
|
|
249
|
-
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
250
|
-
/**
|
|
251
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
252
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
253
|
-
*/
|
|
254
|
-
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
255
|
-
}
|
|
256
241
|
export declare class AppResourceClient<O> {
|
|
257
242
|
protected httpClient: HttpClient<O>;
|
|
258
243
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -272,41 +257,23 @@ export declare class AppResourceClient<O> {
|
|
|
272
257
|
*/
|
|
273
258
|
getAppInfos(options?: O): RestResponse<any>;
|
|
274
259
|
}
|
|
275
|
-
export declare class
|
|
260
|
+
export declare class StatusResourceClient<O> {
|
|
276
261
|
protected httpClient: HttpClient<O>;
|
|
277
262
|
constructor(httpClient: HttpClient<O>);
|
|
278
263
|
/**
|
|
279
|
-
* HTTP
|
|
280
|
-
* Java method: org.openremote.model.
|
|
281
|
-
*/
|
|
282
|
-
deleteConnections(queryParams?: {
|
|
283
|
-
realm?: string[];
|
|
284
|
-
}, options?: O): RestResponse<void>;
|
|
285
|
-
/**
|
|
286
|
-
* HTTP GET /gateway/connection
|
|
287
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
288
|
-
*/
|
|
289
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
290
|
-
/**
|
|
291
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
292
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
293
|
-
*/
|
|
294
|
-
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
295
|
-
/**
|
|
296
|
-
* HTTP GET /gateway/connection/{realm}
|
|
297
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
298
|
-
*/
|
|
299
|
-
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
300
|
-
/**
|
|
301
|
-
* HTTP PUT /gateway/connection/{realm}
|
|
302
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
264
|
+
* HTTP GET /health
|
|
265
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
303
266
|
*/
|
|
304
|
-
|
|
267
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
268
|
+
[index: string]: any;
|
|
269
|
+
}>;
|
|
305
270
|
/**
|
|
306
|
-
* HTTP GET /
|
|
307
|
-
* Java method: org.openremote.model.
|
|
271
|
+
* HTTP GET /info
|
|
272
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
308
273
|
*/
|
|
309
|
-
|
|
274
|
+
getInfo(options?: O): RestResponse<{
|
|
275
|
+
[index: string]: any;
|
|
276
|
+
}>;
|
|
310
277
|
}
|
|
311
278
|
export declare class AgentResourceClient<O> {
|
|
312
279
|
protected httpClient: HttpClient<O>;
|
|
@@ -334,140 +301,119 @@ export declare class AgentResourceClient<O> {
|
|
|
334
301
|
realm?: string;
|
|
335
302
|
}, options?: O): RestResponse<Model.Agent[]>;
|
|
336
303
|
}
|
|
337
|
-
export declare class
|
|
304
|
+
export declare class ConfigurationResourceClient<O> {
|
|
338
305
|
protected httpClient: HttpClient<O>;
|
|
339
306
|
constructor(httpClient: HttpClient<O>);
|
|
340
307
|
/**
|
|
341
|
-
* HTTP
|
|
342
|
-
* Java method: org.openremote.model.
|
|
308
|
+
* HTTP GET /configuration/manager
|
|
309
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
343
310
|
*/
|
|
344
|
-
|
|
311
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
345
312
|
/**
|
|
346
|
-
* HTTP
|
|
347
|
-
* Java method: org.openremote.model.
|
|
313
|
+
* HTTP PUT /configuration/manager
|
|
314
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
348
315
|
*/
|
|
349
|
-
|
|
316
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
350
317
|
/**
|
|
351
|
-
* HTTP
|
|
352
|
-
* Java method: org.openremote.model.
|
|
318
|
+
* HTTP POST /configuration/manager/file
|
|
319
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
353
320
|
*/
|
|
354
|
-
|
|
321
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
322
|
+
path?: string;
|
|
323
|
+
}, options?: O): RestResponse<string>;
|
|
355
324
|
/**
|
|
356
|
-
* HTTP
|
|
357
|
-
* Java method: org.openremote.model.
|
|
325
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
326
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
358
327
|
*/
|
|
359
|
-
|
|
328
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
360
329
|
}
|
|
361
|
-
export declare class
|
|
330
|
+
export declare class ConsoleResourceClient<O> {
|
|
362
331
|
protected httpClient: HttpClient<O>;
|
|
363
332
|
constructor(httpClient: HttpClient<O>);
|
|
364
333
|
/**
|
|
365
|
-
* HTTP POST /
|
|
366
|
-
* Java method: org.openremote.model.
|
|
334
|
+
* HTTP POST /console/register
|
|
335
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
367
336
|
*/
|
|
368
|
-
|
|
337
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
338
|
+
}
|
|
339
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
340
|
+
protected httpClient: HttpClient<O>;
|
|
341
|
+
constructor(httpClient: HttpClient<O>);
|
|
369
342
|
/**
|
|
370
|
-
* HTTP
|
|
371
|
-
* Java method: org.openremote.model.
|
|
343
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
344
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
372
345
|
*/
|
|
373
|
-
|
|
374
|
-
assetId?: string[];
|
|
375
|
-
}, options?: O): RestResponse<void>;
|
|
346
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
376
347
|
/**
|
|
377
|
-
* HTTP PUT /asset/
|
|
378
|
-
* Java method: org.openremote.model.
|
|
348
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
349
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
379
350
|
*/
|
|
380
|
-
|
|
351
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
352
|
+
}
|
|
353
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
354
|
+
protected httpClient: HttpClient<O>;
|
|
355
|
+
constructor(httpClient: HttpClient<O>);
|
|
381
356
|
/**
|
|
382
|
-
* HTTP
|
|
383
|
-
* Java method: org.openremote.model.
|
|
357
|
+
* HTTP GET /asset/datapoint/export
|
|
358
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
384
359
|
*/
|
|
385
|
-
|
|
360
|
+
getDatapointExport(queryParams?: {
|
|
361
|
+
attributeRefs?: string;
|
|
362
|
+
fromTimestamp?: number;
|
|
363
|
+
toTimestamp?: number;
|
|
364
|
+
}, options?: O): RestResponse<any>;
|
|
386
365
|
/**
|
|
387
|
-
* HTTP
|
|
388
|
-
* Java method: org.openremote.model.
|
|
366
|
+
* HTTP GET /asset/datapoint/periods
|
|
367
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
389
368
|
*/
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
369
|
+
getDatapointPeriod(queryParams?: {
|
|
370
|
+
assetId?: string;
|
|
371
|
+
attributeName?: string;
|
|
372
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
393
373
|
/**
|
|
394
|
-
* HTTP
|
|
395
|
-
* Java method: org.openremote.model.
|
|
374
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
375
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
396
376
|
*/
|
|
397
|
-
|
|
377
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
378
|
+
}
|
|
379
|
+
export declare class SyslogResourceClient<O> {
|
|
380
|
+
protected httpClient: HttpClient<O>;
|
|
381
|
+
constructor(httpClient: HttpClient<O>);
|
|
398
382
|
/**
|
|
399
|
-
* HTTP
|
|
400
|
-
* Java method: org.openremote.model.
|
|
383
|
+
* HTTP GET /syslog/config
|
|
384
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
401
385
|
*/
|
|
402
|
-
|
|
386
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
403
387
|
/**
|
|
404
|
-
* HTTP
|
|
405
|
-
* Java method: org.openremote.model.
|
|
388
|
+
* HTTP PUT /syslog/config
|
|
389
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
406
390
|
*/
|
|
407
|
-
|
|
391
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
408
392
|
/**
|
|
409
|
-
* HTTP
|
|
410
|
-
* Java method: org.openremote.model.
|
|
393
|
+
* HTTP DELETE /syslog/event
|
|
394
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
411
395
|
*/
|
|
412
|
-
|
|
396
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
413
397
|
/**
|
|
414
|
-
* HTTP GET /
|
|
415
|
-
* Java method: org.openremote.model.
|
|
398
|
+
* HTTP GET /syslog/event
|
|
399
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
416
400
|
*/
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
401
|
+
getEvents(queryParams?: {
|
|
402
|
+
level?: Model.SyslogLevel;
|
|
403
|
+
per_page?: number;
|
|
404
|
+
page?: number;
|
|
405
|
+
from?: number;
|
|
406
|
+
to?: number;
|
|
407
|
+
category?: Model.SyslogCategory[];
|
|
408
|
+
subCategory?: string[];
|
|
409
|
+
}, options?: O): RestResponse<any>;
|
|
410
|
+
}
|
|
411
|
+
export declare class UserResourceClient<O> {
|
|
412
|
+
protected httpClient: HttpClient<O>;
|
|
413
|
+
constructor(httpClient: HttpClient<O>);
|
|
422
414
|
/**
|
|
423
|
-
* HTTP
|
|
424
|
-
* Java method: org.openremote.model.
|
|
425
|
-
*/
|
|
426
|
-
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
427
|
-
/**
|
|
428
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
429
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
430
|
-
*/
|
|
431
|
-
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
432
|
-
/**
|
|
433
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
434
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
435
|
-
*/
|
|
436
|
-
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
437
|
-
/**
|
|
438
|
-
* HTTP GET /asset/{assetId}
|
|
439
|
-
* Java method: org.openremote.model.asset.AssetResource.get
|
|
440
|
-
*/
|
|
441
|
-
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
442
|
-
/**
|
|
443
|
-
* HTTP PUT /asset/{assetId}
|
|
444
|
-
* Java method: org.openremote.model.asset.AssetResource.update
|
|
445
|
-
*/
|
|
446
|
-
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
447
|
-
/**
|
|
448
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
449
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
450
|
-
*/
|
|
451
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
452
|
-
/**
|
|
453
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
454
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
455
|
-
*/
|
|
456
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
457
|
-
/**
|
|
458
|
-
* HTTP PUT /asset/{parentAssetId}/child
|
|
459
|
-
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
460
|
-
*/
|
|
461
|
-
updateParent(parentAssetId: string, queryParams?: {
|
|
462
|
-
assetIds?: string[];
|
|
463
|
-
}, options?: O): RestResponse<void>;
|
|
464
|
-
}
|
|
465
|
-
export declare class UserResourceClient<O> {
|
|
466
|
-
protected httpClient: HttpClient<O>;
|
|
467
|
-
constructor(httpClient: HttpClient<O>);
|
|
468
|
-
/**
|
|
469
|
-
* HTTP PUT /user/locale
|
|
470
|
-
* Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
|
|
415
|
+
* HTTP PUT /user/locale
|
|
416
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
|
|
471
417
|
*/
|
|
472
418
|
updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
|
|
473
419
|
/**
|
|
@@ -566,6 +512,30 @@ export declare class UserResourceClient<O> {
|
|
|
566
512
|
*/
|
|
567
513
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
568
514
|
}
|
|
515
|
+
export declare class ProvisioningResourceClient<O> {
|
|
516
|
+
protected httpClient: HttpClient<O>;
|
|
517
|
+
constructor(httpClient: HttpClient<O>);
|
|
518
|
+
/**
|
|
519
|
+
* HTTP POST /provisioning
|
|
520
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
521
|
+
*/
|
|
522
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
523
|
+
/**
|
|
524
|
+
* HTTP GET /provisioning
|
|
525
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
526
|
+
*/
|
|
527
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
528
|
+
/**
|
|
529
|
+
* HTTP DELETE /provisioning/{id}
|
|
530
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
531
|
+
*/
|
|
532
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
533
|
+
/**
|
|
534
|
+
* HTTP PUT /provisioning/{id}
|
|
535
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
536
|
+
*/
|
|
537
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
538
|
+
}
|
|
569
539
|
export declare class GatewayServiceResourceClient<O> {
|
|
570
540
|
protected httpClient: HttpClient<O>;
|
|
571
541
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -595,86 +565,6 @@ export declare class GatewayServiceResourceClient<O> {
|
|
|
595
565
|
*/
|
|
596
566
|
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
597
567
|
}
|
|
598
|
-
export declare class StatusResourceClient<O> {
|
|
599
|
-
protected httpClient: HttpClient<O>;
|
|
600
|
-
constructor(httpClient: HttpClient<O>);
|
|
601
|
-
/**
|
|
602
|
-
* HTTP GET /health
|
|
603
|
-
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
604
|
-
*/
|
|
605
|
-
getHealthStatus(options?: O): RestResponse<{
|
|
606
|
-
[index: string]: any;
|
|
607
|
-
}>;
|
|
608
|
-
/**
|
|
609
|
-
* HTTP GET /info
|
|
610
|
-
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
611
|
-
*/
|
|
612
|
-
getInfo(options?: O): RestResponse<{
|
|
613
|
-
[index: string]: any;
|
|
614
|
-
}>;
|
|
615
|
-
}
|
|
616
|
-
export declare class MapResourceClient<O> {
|
|
617
|
-
protected httpClient: HttpClient<O>;
|
|
618
|
-
constructor(httpClient: HttpClient<O>);
|
|
619
|
-
/**
|
|
620
|
-
* HTTP GET /map
|
|
621
|
-
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
622
|
-
*/
|
|
623
|
-
getSettings(options?: O): RestResponse<{
|
|
624
|
-
[id: string]: unknown;
|
|
625
|
-
}>;
|
|
626
|
-
/**
|
|
627
|
-
* HTTP PUT /map
|
|
628
|
-
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
629
|
-
*/
|
|
630
|
-
saveSettings(mapConfig: {
|
|
631
|
-
[index: string]: Model.MapRealmConfig;
|
|
632
|
-
}, options?: O): RestResponse<any>;
|
|
633
|
-
/**
|
|
634
|
-
* HTTP GET /map/js
|
|
635
|
-
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
636
|
-
*/
|
|
637
|
-
getSettingsJs(options?: O): RestResponse<{
|
|
638
|
-
[id: string]: unknown;
|
|
639
|
-
}>;
|
|
640
|
-
/**
|
|
641
|
-
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
642
|
-
* Java method: org.openremote.model.map.MapResource.getTile
|
|
643
|
-
*/
|
|
644
|
-
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
645
|
-
}
|
|
646
|
-
export declare class SyslogResourceClient<O> {
|
|
647
|
-
protected httpClient: HttpClient<O>;
|
|
648
|
-
constructor(httpClient: HttpClient<O>);
|
|
649
|
-
/**
|
|
650
|
-
* HTTP GET /syslog/config
|
|
651
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
652
|
-
*/
|
|
653
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
654
|
-
/**
|
|
655
|
-
* HTTP PUT /syslog/config
|
|
656
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
657
|
-
*/
|
|
658
|
-
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
659
|
-
/**
|
|
660
|
-
* HTTP DELETE /syslog/event
|
|
661
|
-
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
662
|
-
*/
|
|
663
|
-
clearEvents(options?: O): RestResponse<void>;
|
|
664
|
-
/**
|
|
665
|
-
* HTTP GET /syslog/event
|
|
666
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
667
|
-
*/
|
|
668
|
-
getEvents(queryParams?: {
|
|
669
|
-
level?: Model.SyslogLevel;
|
|
670
|
-
per_page?: number;
|
|
671
|
-
page?: number;
|
|
672
|
-
from?: number;
|
|
673
|
-
to?: number;
|
|
674
|
-
category?: Model.SyslogCategory[];
|
|
675
|
-
subCategory?: string[];
|
|
676
|
-
}, options?: O): RestResponse<any>;
|
|
677
|
-
}
|
|
678
568
|
export declare class NotificationResourceClient<O> {
|
|
679
569
|
protected httpClient: HttpClient<O>;
|
|
680
570
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -729,6 +619,76 @@ export declare class NotificationResourceClient<O> {
|
|
|
729
619
|
targetId?: string;
|
|
730
620
|
}, options?: O): RestResponse<void>;
|
|
731
621
|
}
|
|
622
|
+
export declare class MapResourceClient<O> {
|
|
623
|
+
protected httpClient: HttpClient<O>;
|
|
624
|
+
constructor(httpClient: HttpClient<O>);
|
|
625
|
+
/**
|
|
626
|
+
* HTTP GET /map
|
|
627
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
628
|
+
*/
|
|
629
|
+
getSettings(options?: O): RestResponse<{
|
|
630
|
+
[id: string]: unknown;
|
|
631
|
+
}>;
|
|
632
|
+
/**
|
|
633
|
+
* HTTP PUT /map
|
|
634
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
635
|
+
*/
|
|
636
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<any>;
|
|
637
|
+
/**
|
|
638
|
+
* HTTP DELETE /map/deleteMap
|
|
639
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
640
|
+
*/
|
|
641
|
+
deleteMap(options?: O): RestResponse<{
|
|
642
|
+
[id: string]: unknown;
|
|
643
|
+
}>;
|
|
644
|
+
/**
|
|
645
|
+
* HTTP GET /map/getCustomMapInfo
|
|
646
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
647
|
+
*/
|
|
648
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
649
|
+
[id: string]: unknown;
|
|
650
|
+
}>;
|
|
651
|
+
/**
|
|
652
|
+
* HTTP GET /map/js
|
|
653
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
654
|
+
*/
|
|
655
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
656
|
+
[id: string]: unknown;
|
|
657
|
+
}>;
|
|
658
|
+
/**
|
|
659
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
660
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
661
|
+
*/
|
|
662
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
663
|
+
/**
|
|
664
|
+
* HTTP POST /map/upload
|
|
665
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
666
|
+
*/
|
|
667
|
+
uploadMap(queryParams?: {
|
|
668
|
+
filename?: string;
|
|
669
|
+
}, options?: O): RestResponse<{
|
|
670
|
+
[id: string]: unknown;
|
|
671
|
+
}>;
|
|
672
|
+
}
|
|
673
|
+
export declare class FlowResourceClient<O> {
|
|
674
|
+
protected httpClient: HttpClient<O>;
|
|
675
|
+
constructor(httpClient: HttpClient<O>);
|
|
676
|
+
/**
|
|
677
|
+
* HTTP GET /flow
|
|
678
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
679
|
+
*/
|
|
680
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
681
|
+
/**
|
|
682
|
+
* HTTP GET /flow/{name}
|
|
683
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
684
|
+
*/
|
|
685
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
686
|
+
/**
|
|
687
|
+
* HTTP GET /flow/{type}
|
|
688
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
689
|
+
*/
|
|
690
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
691
|
+
}
|
|
732
692
|
export declare class AssetModelResourceClient<O> {
|
|
733
693
|
protected httpClient: HttpClient<O>;
|
|
734
694
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -774,130 +734,191 @@ export declare class AssetModelResourceClient<O> {
|
|
|
774
734
|
[index: string]: Model.ValueDescriptor;
|
|
775
735
|
}>;
|
|
776
736
|
}
|
|
777
|
-
export declare class
|
|
737
|
+
export declare class AssetResourceClient<O> {
|
|
778
738
|
protected httpClient: HttpClient<O>;
|
|
779
739
|
constructor(httpClient: HttpClient<O>);
|
|
780
740
|
/**
|
|
781
|
-
* HTTP POST /
|
|
782
|
-
* Java method: org.openremote.model.
|
|
741
|
+
* HTTP POST /asset
|
|
742
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
783
743
|
*/
|
|
784
|
-
create(
|
|
744
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
785
745
|
/**
|
|
786
|
-
* HTTP
|
|
787
|
-
* Java method: org.openremote.model.
|
|
746
|
+
* HTTP DELETE /asset
|
|
747
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
788
748
|
*/
|
|
789
|
-
|
|
749
|
+
delete(queryParams?: {
|
|
750
|
+
assetId?: string[];
|
|
751
|
+
}, options?: O): RestResponse<void>;
|
|
790
752
|
/**
|
|
791
|
-
* HTTP
|
|
792
|
-
* Java method: org.openremote.model.
|
|
753
|
+
* HTTP PUT /asset/attributes
|
|
754
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
793
755
|
*/
|
|
794
|
-
|
|
756
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
795
757
|
/**
|
|
796
|
-
* HTTP
|
|
797
|
-
* Java method: org.openremote.model.
|
|
758
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
759
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
798
760
|
*/
|
|
799
|
-
|
|
761
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
800
762
|
/**
|
|
801
|
-
* HTTP
|
|
802
|
-
* Java method: org.openremote.model.
|
|
763
|
+
* HTTP DELETE /asset/parent
|
|
764
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
803
765
|
*/
|
|
804
|
-
|
|
766
|
+
updateNoneParent(queryParams?: {
|
|
767
|
+
assetIds?: string[];
|
|
768
|
+
}, options?: O): RestResponse<void>;
|
|
805
769
|
/**
|
|
806
|
-
* HTTP
|
|
807
|
-
* Java method: org.openremote.model.
|
|
770
|
+
* HTTP GET /asset/partial/{assetId}
|
|
771
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
808
772
|
*/
|
|
809
|
-
|
|
810
|
-
}
|
|
811
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
812
|
-
protected httpClient: HttpClient<O>;
|
|
813
|
-
constructor(httpClient: HttpClient<O>);
|
|
773
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
814
774
|
/**
|
|
815
|
-
* HTTP
|
|
816
|
-
* Java method: org.openremote.model.
|
|
775
|
+
* HTTP POST /asset/query
|
|
776
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
817
777
|
*/
|
|
818
|
-
|
|
819
|
-
attributeRefs?: string;
|
|
820
|
-
fromTimestamp?: number;
|
|
821
|
-
toTimestamp?: number;
|
|
822
|
-
}, options?: O): RestResponse<any>;
|
|
778
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
823
779
|
/**
|
|
824
|
-
* HTTP GET /asset/
|
|
825
|
-
* Java method: org.openremote.model.
|
|
780
|
+
* HTTP GET /asset/user/current
|
|
781
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
826
782
|
*/
|
|
827
|
-
|
|
783
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
784
|
+
/**
|
|
785
|
+
* HTTP POST /asset/user/link
|
|
786
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
787
|
+
*/
|
|
788
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
789
|
+
/**
|
|
790
|
+
* HTTP GET /asset/user/link
|
|
791
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
792
|
+
*/
|
|
793
|
+
getUserAssetLinks(queryParams?: {
|
|
794
|
+
realm?: string;
|
|
795
|
+
userId?: string;
|
|
828
796
|
assetId?: string;
|
|
829
|
-
|
|
830
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
797
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
831
798
|
/**
|
|
832
|
-
* HTTP POST /asset/
|
|
833
|
-
* Java method: org.openremote.model.
|
|
799
|
+
* HTTP POST /asset/user/link/delete
|
|
800
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
834
801
|
*/
|
|
835
|
-
|
|
802
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
803
|
+
/**
|
|
804
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
805
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
806
|
+
*/
|
|
807
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
808
|
+
/**
|
|
809
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
810
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
811
|
+
*/
|
|
812
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
813
|
+
/**
|
|
814
|
+
* HTTP GET /asset/{assetId}
|
|
815
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
816
|
+
*/
|
|
817
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
818
|
+
/**
|
|
819
|
+
* HTTP PUT /asset/{assetId}
|
|
820
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
821
|
+
*/
|
|
822
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
823
|
+
/**
|
|
824
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
825
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
826
|
+
*/
|
|
827
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
828
|
+
/**
|
|
829
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
830
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
831
|
+
*/
|
|
832
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
833
|
+
/**
|
|
834
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
835
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
836
|
+
*/
|
|
837
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
838
|
+
assetIds?: string[];
|
|
839
|
+
}, options?: O): RestResponse<void>;
|
|
836
840
|
}
|
|
837
|
-
export declare class
|
|
841
|
+
export declare class GatewayClientResourceClient<O> {
|
|
838
842
|
protected httpClient: HttpClient<O>;
|
|
839
843
|
constructor(httpClient: HttpClient<O>);
|
|
840
844
|
/**
|
|
841
|
-
* HTTP
|
|
842
|
-
* Java method: org.openremote.model.
|
|
845
|
+
* HTTP DELETE /gateway/connection
|
|
846
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
843
847
|
*/
|
|
844
|
-
|
|
848
|
+
deleteConnections(queryParams?: {
|
|
849
|
+
realm?: string[];
|
|
850
|
+
}, options?: O): RestResponse<void>;
|
|
845
851
|
/**
|
|
846
|
-
* HTTP GET /
|
|
847
|
-
* Java method: org.openremote.model.
|
|
852
|
+
* HTTP GET /gateway/connection
|
|
853
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
848
854
|
*/
|
|
849
|
-
|
|
855
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
850
856
|
/**
|
|
851
|
-
* HTTP
|
|
852
|
-
* Java method: org.openremote.model.
|
|
857
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
858
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
853
859
|
*/
|
|
854
|
-
|
|
860
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
861
|
+
/**
|
|
862
|
+
* HTTP GET /gateway/connection/{realm}
|
|
863
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
864
|
+
*/
|
|
865
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
866
|
+
/**
|
|
867
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
868
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
869
|
+
*/
|
|
870
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
871
|
+
/**
|
|
872
|
+
* HTTP GET /gateway/status/{realm}
|
|
873
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
874
|
+
*/
|
|
875
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
855
876
|
}
|
|
856
877
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
857
878
|
export declare class ApiClient {
|
|
858
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
859
879
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
880
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
860
881
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
861
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
862
882
|
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
863
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
864
883
|
protected _appResource: AxiosAppResourceClient;
|
|
865
|
-
protected
|
|
884
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
866
885
|
protected _agentResource: AxiosAgentResourceClient;
|
|
867
|
-
protected
|
|
868
|
-
protected
|
|
886
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
887
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
888
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
889
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
890
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
869
891
|
protected _userResource: AxiosUserResourceClient;
|
|
892
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
870
893
|
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
871
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
872
|
-
protected _mapResource: AxiosMapResourceClient;
|
|
873
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
874
894
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
875
|
-
protected
|
|
876
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
877
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
895
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
878
896
|
protected _flowResource: AxiosFlowResourceClient;
|
|
897
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
898
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
899
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
879
900
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
880
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
881
901
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
902
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
882
903
|
get RulesResource(): AxiosRulesResourceClient;
|
|
883
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
884
904
|
get DashboardResource(): AxiosDashboardResourceClient;
|
|
885
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
886
905
|
get AppResource(): AxiosAppResourceClient;
|
|
887
|
-
get
|
|
906
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
888
907
|
get AgentResource(): AxiosAgentResourceClient;
|
|
889
|
-
get
|
|
890
|
-
get
|
|
908
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
909
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
910
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
911
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
912
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
891
913
|
get UserResource(): AxiosUserResourceClient;
|
|
914
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
892
915
|
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
893
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
894
|
-
get MapResource(): AxiosMapResourceClient;
|
|
895
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
896
916
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
897
|
-
get
|
|
898
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
899
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
917
|
+
get MapResource(): AxiosMapResourceClient;
|
|
900
918
|
get FlowResource(): AxiosFlowResourceClient;
|
|
919
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
920
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
921
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
901
922
|
}
|
|
902
923
|
import * as Axios from "axios";
|
|
903
924
|
declare module "axios" {
|
|
@@ -905,66 +926,66 @@ declare module "axios" {
|
|
|
905
926
|
data: R;
|
|
906
927
|
}
|
|
907
928
|
}
|
|
908
|
-
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
909
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
910
|
-
}
|
|
911
929
|
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
912
930
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
913
931
|
}
|
|
914
|
-
export declare class
|
|
932
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
915
933
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
916
934
|
}
|
|
917
|
-
export declare class
|
|
935
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
918
936
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
919
937
|
}
|
|
920
938
|
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
921
939
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
922
940
|
}
|
|
923
|
-
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
924
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
925
|
-
}
|
|
926
941
|
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
927
942
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
928
943
|
}
|
|
929
|
-
export declare class
|
|
944
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
930
945
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
931
946
|
}
|
|
932
947
|
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
933
948
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
934
949
|
}
|
|
935
|
-
export declare class
|
|
950
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
936
951
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
937
952
|
}
|
|
938
|
-
export declare class
|
|
953
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
939
954
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
940
955
|
}
|
|
941
|
-
export declare class
|
|
956
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
942
957
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
943
958
|
}
|
|
944
|
-
export declare class
|
|
959
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
945
960
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
946
961
|
}
|
|
947
|
-
export declare class
|
|
962
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
948
963
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
949
964
|
}
|
|
950
|
-
export declare class
|
|
965
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
951
966
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
952
967
|
}
|
|
953
|
-
export declare class
|
|
968
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
969
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
970
|
+
}
|
|
971
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
954
972
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
955
973
|
}
|
|
956
974
|
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
957
975
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
958
976
|
}
|
|
959
|
-
export declare class
|
|
977
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
960
978
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
961
979
|
}
|
|
962
|
-
export declare class
|
|
980
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
963
981
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
964
982
|
}
|
|
965
|
-
export declare class
|
|
983
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
966
984
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
967
985
|
}
|
|
968
|
-
export declare class
|
|
986
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
987
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
988
|
+
}
|
|
989
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
969
990
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
970
991
|
}
|