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