@openremote/rest 1.7.0-snapshot.20250611103544 → 1.7.0-snapshot.20250611143921
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 +348 -348
- 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,189 +9,145 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
13
|
-
protected httpClient: HttpClient<O>;
|
|
14
|
-
constructor(httpClient: HttpClient<O>);
|
|
15
|
-
/**
|
|
16
|
-
* HTTP GET /flow
|
|
17
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
18
|
-
*/
|
|
19
|
-
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
20
|
-
/**
|
|
21
|
-
* HTTP GET /flow/{name}
|
|
22
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
23
|
-
*/
|
|
24
|
-
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
25
|
-
/**
|
|
26
|
-
* HTTP GET /flow/{type}
|
|
27
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
28
|
-
*/
|
|
29
|
-
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
30
|
-
}
|
|
31
|
-
export declare class GatewayClientResourceClient<O> {
|
|
12
|
+
export declare class AgentResourceClient<O> {
|
|
32
13
|
protected httpClient: HttpClient<O>;
|
|
33
14
|
constructor(httpClient: HttpClient<O>);
|
|
34
15
|
/**
|
|
35
|
-
* HTTP
|
|
36
|
-
* Java method: org.openremote.model.
|
|
37
|
-
*/
|
|
38
|
-
deleteConnections(queryParams?: {
|
|
39
|
-
realm?: string[];
|
|
40
|
-
}, options?: O): RestResponse<void>;
|
|
41
|
-
/**
|
|
42
|
-
* HTTP GET /gateway/connection
|
|
43
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
44
|
-
*/
|
|
45
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
46
|
-
/**
|
|
47
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
48
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
49
|
-
*/
|
|
50
|
-
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
51
|
-
/**
|
|
52
|
-
* HTTP GET /gateway/connection/{realm}
|
|
53
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
16
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
17
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
54
18
|
*/
|
|
55
|
-
|
|
19
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
20
|
+
realm?: string;
|
|
21
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
56
22
|
/**
|
|
57
|
-
* HTTP
|
|
58
|
-
* Java method: org.openremote.model.
|
|
23
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
24
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
59
25
|
*/
|
|
60
|
-
|
|
26
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
27
|
+
realm?: string;
|
|
28
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
61
29
|
/**
|
|
62
|
-
* HTTP GET /
|
|
63
|
-
* Java method: org.openremote.model.
|
|
30
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
31
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
64
32
|
*/
|
|
65
|
-
|
|
33
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
34
|
+
parentId?: string;
|
|
35
|
+
realm?: string;
|
|
36
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
66
37
|
}
|
|
67
|
-
export declare class
|
|
38
|
+
export declare class NotificationResourceClient<O> {
|
|
68
39
|
protected httpClient: HttpClient<O>;
|
|
69
40
|
constructor(httpClient: HttpClient<O>);
|
|
70
41
|
/**
|
|
71
|
-
* HTTP
|
|
72
|
-
* Java method: org.openremote.model.
|
|
42
|
+
* HTTP GET /notification
|
|
43
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
73
44
|
*/
|
|
74
|
-
|
|
45
|
+
getNotifications(queryParams?: {
|
|
46
|
+
id?: number;
|
|
47
|
+
type?: string;
|
|
48
|
+
from?: number;
|
|
49
|
+
to?: number;
|
|
50
|
+
realmId?: string;
|
|
51
|
+
userId?: string;
|
|
52
|
+
assetId?: string;
|
|
53
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
75
54
|
/**
|
|
76
|
-
* HTTP
|
|
77
|
-
* Java method: org.openremote.model.
|
|
55
|
+
* HTTP DELETE /notification
|
|
56
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
78
57
|
*/
|
|
79
|
-
|
|
58
|
+
removeNotifications(queryParams?: {
|
|
59
|
+
id?: number;
|
|
60
|
+
type?: string;
|
|
61
|
+
from?: number;
|
|
62
|
+
to?: number;
|
|
63
|
+
realmId?: string;
|
|
64
|
+
userId?: string;
|
|
65
|
+
assetId?: string;
|
|
66
|
+
}, options?: O): RestResponse<void>;
|
|
80
67
|
/**
|
|
81
|
-
* HTTP
|
|
82
|
-
* Java method: org.openremote.model.
|
|
68
|
+
* HTTP POST /notification/alert
|
|
69
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
83
70
|
*/
|
|
84
|
-
|
|
71
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
85
72
|
/**
|
|
86
|
-
* HTTP DELETE /
|
|
87
|
-
* Java method: org.openremote.model.
|
|
73
|
+
* HTTP DELETE /notification/{notificationId}
|
|
74
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
88
75
|
*/
|
|
89
|
-
|
|
76
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
90
77
|
/**
|
|
91
|
-
* HTTP
|
|
92
|
-
* Java method: org.openremote.model.
|
|
78
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
79
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
93
80
|
*/
|
|
94
|
-
|
|
81
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
82
|
+
targetId?: string;
|
|
83
|
+
}, options?: O): RestResponse<void>;
|
|
95
84
|
/**
|
|
96
|
-
* HTTP PUT /
|
|
97
|
-
* Java method: org.openremote.model.
|
|
85
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
86
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
98
87
|
*/
|
|
99
|
-
|
|
88
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
89
|
+
targetId?: string;
|
|
90
|
+
}, options?: O): RestResponse<void>;
|
|
100
91
|
}
|
|
101
|
-
export declare class
|
|
92
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
102
93
|
protected httpClient: HttpClient<O>;
|
|
103
94
|
constructor(httpClient: HttpClient<O>);
|
|
104
95
|
/**
|
|
105
|
-
* HTTP GET /
|
|
106
|
-
* Java method: org.openremote.model.
|
|
107
|
-
*/
|
|
108
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
109
|
-
/**
|
|
110
|
-
* HTTP PUT /syslog/config
|
|
111
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
96
|
+
* HTTP GET /asset/datapoint/export
|
|
97
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
112
98
|
*/
|
|
113
|
-
|
|
99
|
+
getDatapointExport(queryParams?: {
|
|
100
|
+
attributeRefs?: string;
|
|
101
|
+
fromTimestamp?: number;
|
|
102
|
+
toTimestamp?: number;
|
|
103
|
+
}, options?: O): RestResponse<any>;
|
|
114
104
|
/**
|
|
115
|
-
* HTTP
|
|
116
|
-
* Java method: org.openremote.model.
|
|
105
|
+
* HTTP GET /asset/datapoint/periods
|
|
106
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
117
107
|
*/
|
|
118
|
-
|
|
108
|
+
getDatapointPeriod(queryParams?: {
|
|
109
|
+
assetId?: string;
|
|
110
|
+
attributeName?: string;
|
|
111
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
119
112
|
/**
|
|
120
|
-
* HTTP
|
|
121
|
-
* Java method: org.openremote.model.
|
|
113
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
114
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
122
115
|
*/
|
|
123
|
-
|
|
124
|
-
level?: Model.SyslogLevel;
|
|
125
|
-
per_page?: number;
|
|
126
|
-
page?: number;
|
|
127
|
-
from?: number;
|
|
128
|
-
to?: number;
|
|
129
|
-
category?: Model.SyslogCategory[];
|
|
130
|
-
subCategory?: string[];
|
|
131
|
-
}, options?: O): RestResponse<any>;
|
|
116
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
132
117
|
}
|
|
133
|
-
export declare class
|
|
118
|
+
export declare class DashboardResourceClient<O> {
|
|
134
119
|
protected httpClient: HttpClient<O>;
|
|
135
120
|
constructor(httpClient: HttpClient<O>);
|
|
136
121
|
/**
|
|
137
|
-
* HTTP
|
|
138
|
-
* Java method: org.openremote.model.
|
|
139
|
-
*/
|
|
140
|
-
getHealthStatus(options?: O): RestResponse<{
|
|
141
|
-
[index: string]: any;
|
|
142
|
-
}>;
|
|
143
|
-
/**
|
|
144
|
-
* HTTP GET /info
|
|
145
|
-
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
122
|
+
* HTTP POST /dashboard
|
|
123
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
146
124
|
*/
|
|
147
|
-
|
|
148
|
-
[index: string]: any;
|
|
149
|
-
}>;
|
|
150
|
-
}
|
|
151
|
-
export declare class AssetModelResourceClient<O> {
|
|
152
|
-
protected httpClient: HttpClient<O>;
|
|
153
|
-
constructor(httpClient: HttpClient<O>);
|
|
125
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
154
126
|
/**
|
|
155
|
-
* HTTP
|
|
156
|
-
* Java method: org.openremote.model.
|
|
127
|
+
* HTTP PUT /dashboard
|
|
128
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
157
129
|
*/
|
|
158
|
-
|
|
159
|
-
parentId?: string;
|
|
160
|
-
parentType?: string;
|
|
161
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
130
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
162
131
|
/**
|
|
163
|
-
* HTTP GET /
|
|
164
|
-
* Java method: org.openremote.model.
|
|
132
|
+
* HTTP GET /dashboard/all/{realm}
|
|
133
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
165
134
|
*/
|
|
166
|
-
|
|
167
|
-
parentId?: string;
|
|
168
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
135
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
169
136
|
/**
|
|
170
|
-
* HTTP
|
|
171
|
-
* Java method: org.openremote.model.
|
|
137
|
+
* HTTP POST /dashboard/query
|
|
138
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
172
139
|
*/
|
|
173
|
-
|
|
174
|
-
parentId?: string;
|
|
175
|
-
parentType?: string;
|
|
176
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
140
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
177
141
|
/**
|
|
178
|
-
* HTTP
|
|
179
|
-
* Java method: org.openremote.model.
|
|
142
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
143
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
180
144
|
*/
|
|
181
|
-
|
|
182
|
-
parentId?: string;
|
|
183
|
-
}, options?: O): RestResponse<{
|
|
184
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
185
|
-
}>;
|
|
145
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
186
146
|
/**
|
|
187
|
-
* HTTP GET /
|
|
188
|
-
* Java method: org.openremote.model.
|
|
147
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
148
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
189
149
|
*/
|
|
190
|
-
|
|
191
|
-
parentId?: string;
|
|
192
|
-
}, options?: O): RestResponse<{
|
|
193
|
-
[index: string]: Model.ValueDescriptor;
|
|
194
|
-
}>;
|
|
150
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
195
151
|
}
|
|
196
152
|
export declare class UserResourceClient<O> {
|
|
197
153
|
protected httpClient: HttpClient<O>;
|
|
@@ -297,68 +253,39 @@ export declare class UserResourceClient<O> {
|
|
|
297
253
|
*/
|
|
298
254
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
299
255
|
}
|
|
300
|
-
export declare class
|
|
256
|
+
export declare class RealmResourceClient<O> {
|
|
301
257
|
protected httpClient: HttpClient<O>;
|
|
302
258
|
constructor(httpClient: HttpClient<O>);
|
|
303
259
|
/**
|
|
304
|
-
* HTTP
|
|
305
|
-
* Java method: org.openremote.model.
|
|
306
|
-
*/
|
|
307
|
-
getNotifications(queryParams?: {
|
|
308
|
-
id?: number;
|
|
309
|
-
type?: string;
|
|
310
|
-
from?: number;
|
|
311
|
-
to?: number;
|
|
312
|
-
realmId?: string;
|
|
313
|
-
userId?: string;
|
|
314
|
-
assetId?: string;
|
|
315
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
316
|
-
/**
|
|
317
|
-
* HTTP DELETE /notification
|
|
318
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
260
|
+
* HTTP POST /realm
|
|
261
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
319
262
|
*/
|
|
320
|
-
|
|
321
|
-
id?: number;
|
|
322
|
-
type?: string;
|
|
323
|
-
from?: number;
|
|
324
|
-
to?: number;
|
|
325
|
-
realmId?: string;
|
|
326
|
-
userId?: string;
|
|
327
|
-
assetId?: string;
|
|
328
|
-
}, options?: O): RestResponse<void>;
|
|
263
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
329
264
|
/**
|
|
330
|
-
* HTTP
|
|
331
|
-
* Java method: org.openremote.model.
|
|
265
|
+
* HTTP GET /realm
|
|
266
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
332
267
|
*/
|
|
333
|
-
|
|
268
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
334
269
|
/**
|
|
335
|
-
* HTTP
|
|
336
|
-
* Java method: org.openremote.model.
|
|
270
|
+
* HTTP GET /realm/accessible
|
|
271
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
337
272
|
*/
|
|
338
|
-
|
|
273
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
339
274
|
/**
|
|
340
|
-
* HTTP
|
|
341
|
-
* Java method: org.openremote.model.
|
|
275
|
+
* HTTP DELETE /realm/{name}
|
|
276
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
342
277
|
*/
|
|
343
|
-
|
|
344
|
-
targetId?: string;
|
|
345
|
-
}, options?: O): RestResponse<void>;
|
|
278
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
346
279
|
/**
|
|
347
|
-
* HTTP
|
|
348
|
-
* Java method: org.openremote.model.
|
|
280
|
+
* HTTP GET /realm/{name}
|
|
281
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
349
282
|
*/
|
|
350
|
-
|
|
351
|
-
targetId?: string;
|
|
352
|
-
}, options?: O): RestResponse<void>;
|
|
353
|
-
}
|
|
354
|
-
export declare class ConsoleResourceClient<O> {
|
|
355
|
-
protected httpClient: HttpClient<O>;
|
|
356
|
-
constructor(httpClient: HttpClient<O>);
|
|
283
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
357
284
|
/**
|
|
358
|
-
* HTTP
|
|
359
|
-
* Java method: org.openremote.model.
|
|
285
|
+
* HTTP PUT /realm/{name}
|
|
286
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
360
287
|
*/
|
|
361
|
-
|
|
288
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
362
289
|
}
|
|
363
290
|
export declare class RulesResourceClient<O> {
|
|
364
291
|
protected httpClient: HttpClient<O>;
|
|
@@ -468,31 +395,31 @@ export declare class RulesResourceClient<O> {
|
|
|
468
395
|
*/
|
|
469
396
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
470
397
|
}
|
|
471
|
-
export declare class
|
|
398
|
+
export declare class ConfigurationResourceClient<O> {
|
|
472
399
|
protected httpClient: HttpClient<O>;
|
|
473
400
|
constructor(httpClient: HttpClient<O>);
|
|
474
401
|
/**
|
|
475
|
-
* HTTP GET /
|
|
476
|
-
* Java method: org.openremote.model.
|
|
402
|
+
* HTTP GET /configuration/manager
|
|
403
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
477
404
|
*/
|
|
478
|
-
|
|
479
|
-
realm?: string;
|
|
480
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
405
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
481
406
|
/**
|
|
482
|
-
* HTTP
|
|
483
|
-
* Java method: org.openremote.model.
|
|
407
|
+
* HTTP PUT /configuration/manager
|
|
408
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
484
409
|
*/
|
|
485
|
-
|
|
486
|
-
realm?: string;
|
|
487
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
410
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
488
411
|
/**
|
|
489
|
-
* HTTP
|
|
490
|
-
* Java method: org.openremote.model.
|
|
412
|
+
* HTTP POST /configuration/manager/file
|
|
413
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
491
414
|
*/
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
415
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
416
|
+
path?: string;
|
|
417
|
+
}, options?: O): RestResponse<string>;
|
|
418
|
+
/**
|
|
419
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
420
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
421
|
+
*/
|
|
422
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
496
423
|
}
|
|
497
424
|
export declare class AssetResourceClient<O> {
|
|
498
425
|
protected httpClient: HttpClient<O>;
|
|
@@ -598,55 +525,56 @@ export declare class AssetResourceClient<O> {
|
|
|
598
525
|
assetIds?: string[];
|
|
599
526
|
}, options?: O): RestResponse<void>;
|
|
600
527
|
}
|
|
601
|
-
export declare class
|
|
528
|
+
export declare class SyslogResourceClient<O> {
|
|
602
529
|
protected httpClient: HttpClient<O>;
|
|
603
530
|
constructor(httpClient: HttpClient<O>);
|
|
604
531
|
/**
|
|
605
|
-
* HTTP GET /
|
|
606
|
-
* Java method: org.openremote.model.
|
|
532
|
+
* HTTP GET /syslog/config
|
|
533
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
607
534
|
*/
|
|
608
|
-
|
|
609
|
-
attributeRefs?: string;
|
|
610
|
-
fromTimestamp?: number;
|
|
611
|
-
toTimestamp?: number;
|
|
612
|
-
}, options?: O): RestResponse<any>;
|
|
535
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
613
536
|
/**
|
|
614
|
-
* HTTP
|
|
615
|
-
* Java method: org.openremote.model.
|
|
537
|
+
* HTTP PUT /syslog/config
|
|
538
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
616
539
|
*/
|
|
617
|
-
|
|
618
|
-
assetId?: string;
|
|
619
|
-
attributeName?: string;
|
|
620
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
540
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
621
541
|
/**
|
|
622
|
-
* HTTP
|
|
623
|
-
* Java method: org.openremote.model.
|
|
542
|
+
* HTTP DELETE /syslog/event
|
|
543
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
624
544
|
*/
|
|
625
|
-
|
|
545
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
546
|
+
/**
|
|
547
|
+
* HTTP GET /syslog/event
|
|
548
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
549
|
+
*/
|
|
550
|
+
getEvents(queryParams?: {
|
|
551
|
+
level?: Model.SyslogLevel;
|
|
552
|
+
per_page?: number;
|
|
553
|
+
page?: number;
|
|
554
|
+
from?: number;
|
|
555
|
+
to?: number;
|
|
556
|
+
category?: Model.SyslogCategory[];
|
|
557
|
+
subCategory?: string[];
|
|
558
|
+
}, options?: O): RestResponse<any>;
|
|
626
559
|
}
|
|
627
|
-
export declare class
|
|
560
|
+
export declare class FlowResourceClient<O> {
|
|
628
561
|
protected httpClient: HttpClient<O>;
|
|
629
562
|
constructor(httpClient: HttpClient<O>);
|
|
630
563
|
/**
|
|
631
|
-
* HTTP
|
|
632
|
-
* Java method: org.openremote.model.
|
|
633
|
-
*/
|
|
634
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
635
|
-
/**
|
|
636
|
-
* HTTP GET /provisioning
|
|
637
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
564
|
+
* HTTP GET /flow
|
|
565
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
638
566
|
*/
|
|
639
|
-
|
|
567
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
640
568
|
/**
|
|
641
|
-
* HTTP
|
|
642
|
-
* Java method: org.openremote.model.
|
|
569
|
+
* HTTP GET /flow/{name}
|
|
570
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
643
571
|
*/
|
|
644
|
-
|
|
572
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
645
573
|
/**
|
|
646
|
-
* HTTP
|
|
647
|
-
* Java method: org.openremote.model.
|
|
574
|
+
* HTTP GET /flow/{type}
|
|
575
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
648
576
|
*/
|
|
649
|
-
|
|
577
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
650
578
|
}
|
|
651
579
|
export declare class AlarmResourceClient<O> {
|
|
652
580
|
protected httpClient: HttpClient<O>;
|
|
@@ -682,24 +610,74 @@ export declare class AlarmResourceClient<O> {
|
|
|
682
610
|
* HTTP GET /alarm/{alarmId}
|
|
683
611
|
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
684
612
|
*/
|
|
685
|
-
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
613
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
614
|
+
/**
|
|
615
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
616
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
617
|
+
*/
|
|
618
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
619
|
+
/**
|
|
620
|
+
* HTTP PUT /alarm/{alarmId}
|
|
621
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
622
|
+
*/
|
|
623
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
624
|
+
/**
|
|
625
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
626
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
627
|
+
*/
|
|
628
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
629
|
+
realm?: string;
|
|
630
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
631
|
+
}
|
|
632
|
+
export declare class GatewayClientResourceClient<O> {
|
|
633
|
+
protected httpClient: HttpClient<O>;
|
|
634
|
+
constructor(httpClient: HttpClient<O>);
|
|
635
|
+
/**
|
|
636
|
+
* HTTP DELETE /gateway/connection
|
|
637
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
638
|
+
*/
|
|
639
|
+
deleteConnections(queryParams?: {
|
|
640
|
+
realm?: string[];
|
|
641
|
+
}, options?: O): RestResponse<void>;
|
|
642
|
+
/**
|
|
643
|
+
* HTTP GET /gateway/connection
|
|
644
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
645
|
+
*/
|
|
646
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
647
|
+
/**
|
|
648
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
649
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
650
|
+
*/
|
|
651
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
652
|
+
/**
|
|
653
|
+
* HTTP GET /gateway/connection/{realm}
|
|
654
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
655
|
+
*/
|
|
656
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
657
|
+
/**
|
|
658
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
659
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
660
|
+
*/
|
|
661
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
686
662
|
/**
|
|
687
|
-
* HTTP
|
|
688
|
-
* Java method: org.openremote.model.
|
|
663
|
+
* HTTP GET /gateway/status/{realm}
|
|
664
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
689
665
|
*/
|
|
690
|
-
|
|
666
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
667
|
+
}
|
|
668
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
669
|
+
protected httpClient: HttpClient<O>;
|
|
670
|
+
constructor(httpClient: HttpClient<O>);
|
|
691
671
|
/**
|
|
692
|
-
* HTTP
|
|
693
|
-
* Java method: org.openremote.model.
|
|
672
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
673
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
694
674
|
*/
|
|
695
|
-
|
|
675
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
696
676
|
/**
|
|
697
|
-
* HTTP
|
|
698
|
-
* Java method: org.openremote.model.
|
|
677
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
678
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
699
679
|
*/
|
|
700
|
-
|
|
701
|
-
realm?: string;
|
|
702
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
680
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
703
681
|
}
|
|
704
682
|
export declare class MapResourceClient<O> {
|
|
705
683
|
protected httpClient: HttpClient<O>;
|
|
@@ -754,84 +732,111 @@ export declare class MapResourceClient<O> {
|
|
|
754
732
|
[id: string]: unknown;
|
|
755
733
|
}>;
|
|
756
734
|
}
|
|
757
|
-
export declare class
|
|
735
|
+
export declare class AppResourceClient<O> {
|
|
758
736
|
protected httpClient: HttpClient<O>;
|
|
759
737
|
constructor(httpClient: HttpClient<O>);
|
|
760
738
|
/**
|
|
761
|
-
* HTTP
|
|
762
|
-
* Java method: org.openremote.model.
|
|
739
|
+
* HTTP GET /apps
|
|
740
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
763
741
|
*/
|
|
764
|
-
|
|
742
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
765
743
|
/**
|
|
766
|
-
* HTTP
|
|
767
|
-
* Java method: org.openremote.model.
|
|
744
|
+
* HTTP GET /apps/consoleConfig
|
|
745
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
768
746
|
*/
|
|
769
|
-
|
|
747
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
770
748
|
/**
|
|
771
|
-
* HTTP GET /
|
|
772
|
-
* Java method: org.openremote.model.
|
|
749
|
+
* HTTP GET /apps/info
|
|
750
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
773
751
|
*/
|
|
774
|
-
|
|
752
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
753
|
+
}
|
|
754
|
+
export declare class ProvisioningResourceClient<O> {
|
|
755
|
+
protected httpClient: HttpClient<O>;
|
|
756
|
+
constructor(httpClient: HttpClient<O>);
|
|
775
757
|
/**
|
|
776
|
-
* HTTP POST /
|
|
777
|
-
* Java method: org.openremote.model.
|
|
758
|
+
* HTTP POST /provisioning
|
|
759
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
778
760
|
*/
|
|
779
|
-
|
|
761
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
780
762
|
/**
|
|
781
|
-
* HTTP
|
|
782
|
-
* Java method: org.openremote.model.
|
|
763
|
+
* HTTP GET /provisioning
|
|
764
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
783
765
|
*/
|
|
784
|
-
|
|
766
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
785
767
|
/**
|
|
786
|
-
* HTTP
|
|
787
|
-
* Java method: org.openremote.model.
|
|
768
|
+
* HTTP DELETE /provisioning/{id}
|
|
769
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
788
770
|
*/
|
|
789
|
-
|
|
771
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
772
|
+
/**
|
|
773
|
+
* HTTP PUT /provisioning/{id}
|
|
774
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
775
|
+
*/
|
|
776
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
790
777
|
}
|
|
791
|
-
export declare class
|
|
778
|
+
export declare class StatusResourceClient<O> {
|
|
792
779
|
protected httpClient: HttpClient<O>;
|
|
793
780
|
constructor(httpClient: HttpClient<O>);
|
|
794
781
|
/**
|
|
795
|
-
* HTTP GET /
|
|
796
|
-
* Java method: org.openremote.model.
|
|
797
|
-
*/
|
|
798
|
-
getApps(options?: O): RestResponse<string[]>;
|
|
799
|
-
/**
|
|
800
|
-
* HTTP GET /apps/consoleConfig
|
|
801
|
-
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
782
|
+
* HTTP GET /health
|
|
783
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
802
784
|
*/
|
|
803
|
-
|
|
785
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
786
|
+
[index: string]: any;
|
|
787
|
+
}>;
|
|
804
788
|
/**
|
|
805
|
-
* HTTP GET /
|
|
806
|
-
* Java method: org.openremote.model.
|
|
789
|
+
* HTTP GET /info
|
|
790
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
807
791
|
*/
|
|
808
|
-
|
|
792
|
+
getInfo(options?: O): RestResponse<{
|
|
793
|
+
[index: string]: any;
|
|
794
|
+
}>;
|
|
809
795
|
}
|
|
810
|
-
export declare class
|
|
796
|
+
export declare class AssetModelResourceClient<O> {
|
|
811
797
|
protected httpClient: HttpClient<O>;
|
|
812
798
|
constructor(httpClient: HttpClient<O>);
|
|
813
799
|
/**
|
|
814
|
-
* HTTP GET /
|
|
815
|
-
* Java method: org.openremote.model.
|
|
800
|
+
* HTTP GET /model/assetDescriptors
|
|
801
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
816
802
|
*/
|
|
817
|
-
|
|
803
|
+
getAssetDescriptors(queryParams?: {
|
|
804
|
+
parentId?: string;
|
|
805
|
+
parentType?: string;
|
|
806
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
818
807
|
/**
|
|
819
|
-
* HTTP
|
|
820
|
-
* Java method: org.openremote.model.
|
|
808
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
809
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
821
810
|
*/
|
|
822
|
-
|
|
811
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
812
|
+
parentId?: string;
|
|
813
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
823
814
|
/**
|
|
824
|
-
* HTTP
|
|
825
|
-
* Java method: org.openremote.model.
|
|
815
|
+
* HTTP GET /model/assetInfos
|
|
816
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
826
817
|
*/
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
818
|
+
getAssetInfos(queryParams?: {
|
|
819
|
+
parentId?: string;
|
|
820
|
+
parentType?: string;
|
|
821
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
830
822
|
/**
|
|
831
|
-
* HTTP GET /
|
|
832
|
-
* Java method: org.openremote.model.
|
|
823
|
+
* HTTP GET /model/metaItemDescriptors
|
|
824
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
833
825
|
*/
|
|
834
|
-
|
|
826
|
+
getMetaItemDescriptors(queryParams?: {
|
|
827
|
+
parentId?: string;
|
|
828
|
+
}, options?: O): RestResponse<{
|
|
829
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
830
|
+
}>;
|
|
831
|
+
/**
|
|
832
|
+
* HTTP GET /model/valueDescriptors
|
|
833
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
834
|
+
*/
|
|
835
|
+
getValueDescriptors(queryParams?: {
|
|
836
|
+
parentId?: string;
|
|
837
|
+
}, options?: O): RestResponse<{
|
|
838
|
+
[index: string]: Model.ValueDescriptor;
|
|
839
|
+
}>;
|
|
835
840
|
}
|
|
836
841
|
export declare class GatewayServiceResourceClient<O> {
|
|
837
842
|
protected httpClient: HttpClient<O>;
|
|
@@ -862,65 +867,60 @@ export declare class GatewayServiceResourceClient<O> {
|
|
|
862
867
|
*/
|
|
863
868
|
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
864
869
|
}
|
|
865
|
-
export declare class
|
|
870
|
+
export declare class ConsoleResourceClient<O> {
|
|
866
871
|
protected httpClient: HttpClient<O>;
|
|
867
872
|
constructor(httpClient: HttpClient<O>);
|
|
868
873
|
/**
|
|
869
|
-
* HTTP POST /
|
|
870
|
-
* Java method: org.openremote.model.
|
|
871
|
-
*/
|
|
872
|
-
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
873
|
-
/**
|
|
874
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
875
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
874
|
+
* HTTP POST /console/register
|
|
875
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
876
876
|
*/
|
|
877
|
-
|
|
877
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
878
878
|
}
|
|
879
879
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
880
880
|
export declare class ApiClient {
|
|
881
|
-
protected
|
|
882
|
-
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
883
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
884
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
885
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
886
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
887
|
-
protected _userResource: AxiosUserResourceClient;
|
|
881
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
888
882
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
889
|
-
protected
|
|
883
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
884
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
885
|
+
protected _userResource: AxiosUserResourceClient;
|
|
886
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
890
887
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
891
|
-
protected
|
|
888
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
892
889
|
protected _assetResource: AxiosAssetResourceClient;
|
|
893
|
-
protected
|
|
894
|
-
protected
|
|
890
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
891
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
895
892
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
893
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
894
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
896
895
|
protected _mapResource: AxiosMapResourceClient;
|
|
897
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
898
896
|
protected _appResource: AxiosAppResourceClient;
|
|
899
|
-
protected
|
|
897
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
898
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
899
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
900
900
|
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
901
|
-
protected
|
|
901
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
902
902
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
903
|
-
get
|
|
904
|
-
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
905
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
906
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
907
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
908
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
909
|
-
get UserResource(): AxiosUserResourceClient;
|
|
903
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
910
904
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
911
|
-
get
|
|
905
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
906
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
907
|
+
get UserResource(): AxiosUserResourceClient;
|
|
908
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
912
909
|
get RulesResource(): AxiosRulesResourceClient;
|
|
913
|
-
get
|
|
910
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
914
911
|
get AssetResource(): AxiosAssetResourceClient;
|
|
915
|
-
get
|
|
916
|
-
get
|
|
912
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
913
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
917
914
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
915
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
916
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
918
917
|
get MapResource(): AxiosMapResourceClient;
|
|
919
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
920
918
|
get AppResource(): AxiosAppResourceClient;
|
|
921
|
-
get
|
|
919
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
920
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
921
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
922
922
|
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
923
|
-
get
|
|
923
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
924
924
|
}
|
|
925
925
|
import * as Axios from "axios";
|
|
926
926
|
declare module "axios" {
|
|
@@ -928,66 +928,66 @@ declare module "axios" {
|
|
|
928
928
|
data: R;
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
|
-
export declare class
|
|
931
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
932
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
933
|
}
|
|
934
|
-
export declare class
|
|
934
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
935
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
936
|
}
|
|
937
|
-
export declare class
|
|
937
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
938
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
939
|
}
|
|
940
|
-
export declare class
|
|
940
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
941
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
942
|
}
|
|
943
|
-
export declare class
|
|
943
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
944
944
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
945
|
}
|
|
946
|
-
export declare class
|
|
946
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
947
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
948
|
}
|
|
949
|
-
export declare class
|
|
949
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
950
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
951
|
}
|
|
952
|
-
export declare class
|
|
952
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
953
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
954
|
}
|
|
955
|
-
export declare class
|
|
955
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
956
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
957
|
}
|
|
958
|
-
export declare class
|
|
958
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
959
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
960
|
}
|
|
961
|
-
export declare class
|
|
961
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
962
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
963
|
}
|
|
964
|
-
export declare class
|
|
964
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
965
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
966
|
}
|
|
967
|
-
export declare class
|
|
967
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
968
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
969
|
}
|
|
970
|
-
export declare class
|
|
970
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
971
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
972
|
}
|
|
973
|
-
export declare class
|
|
973
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
974
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
975
|
}
|
|
976
|
-
export declare class
|
|
976
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
977
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
978
|
}
|
|
979
|
-
export declare class
|
|
979
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
980
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
981
|
}
|
|
982
|
-
export declare class
|
|
982
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
983
983
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
984
984
|
}
|
|
985
|
-
export declare class
|
|
985
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
986
986
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
987
|
}
|
|
988
988
|
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
990
|
}
|
|
991
|
-
export declare class
|
|
991
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
992
992
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
993
993
|
}
|