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