@openremote/rest 1.4.0-snapshot.20250314091541 → 1.4.0-snapshot.20250314134031
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +1 -1
- package/lib/restclient.d.ts +534 -534
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +3 -3
package/lib/restclient.d.ts
CHANGED
|
@@ -9,144 +9,256 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class DashboardResourceClient<O> {
|
|
13
13
|
protected httpClient: HttpClient<O>;
|
|
14
14
|
constructor(httpClient: HttpClient<O>);
|
|
15
15
|
/**
|
|
16
|
-
* HTTP POST /
|
|
17
|
-
* Java method: org.openremote.model.
|
|
16
|
+
* HTTP POST /dashboard
|
|
17
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
20
|
+
/**
|
|
21
|
+
* HTTP PUT /dashboard
|
|
22
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
23
|
+
*/
|
|
24
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
25
|
+
/**
|
|
26
|
+
* HTTP GET /dashboard/all/{realm}
|
|
27
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
28
|
+
*/
|
|
29
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
30
|
+
/**
|
|
31
|
+
* HTTP POST /dashboard/query
|
|
32
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
33
|
+
*/
|
|
34
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
35
|
+
/**
|
|
36
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
37
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
38
|
+
*/
|
|
39
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
40
|
+
/**
|
|
41
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
42
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
43
|
+
*/
|
|
44
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
20
45
|
}
|
|
21
|
-
export declare class
|
|
46
|
+
export declare class AssetModelResourceClient<O> {
|
|
22
47
|
protected httpClient: HttpClient<O>;
|
|
23
48
|
constructor(httpClient: HttpClient<O>);
|
|
24
49
|
/**
|
|
25
|
-
* HTTP GET /
|
|
26
|
-
* Java method: org.openremote.model.asset.
|
|
50
|
+
* HTTP GET /model/assetDescriptors
|
|
51
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
27
52
|
*/
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
53
|
+
getAssetDescriptors(queryParams?: {
|
|
54
|
+
parentId?: string;
|
|
55
|
+
parentType?: string;
|
|
56
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
31
57
|
/**
|
|
32
|
-
* HTTP
|
|
33
|
-
* Java method: org.openremote.model.asset.
|
|
58
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
59
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
34
60
|
*/
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}, options?: O): RestResponse<Model.
|
|
61
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
62
|
+
parentId?: string;
|
|
63
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
38
64
|
/**
|
|
39
|
-
* HTTP GET /
|
|
40
|
-
* Java method: org.openremote.model.asset.
|
|
65
|
+
* HTTP GET /model/assetInfos
|
|
66
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
41
67
|
*/
|
|
42
|
-
|
|
68
|
+
getAssetInfos(queryParams?: {
|
|
43
69
|
parentId?: string;
|
|
44
|
-
|
|
45
|
-
}, options?: O): RestResponse<Model.
|
|
70
|
+
parentType?: string;
|
|
71
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
72
|
+
/**
|
|
73
|
+
* HTTP GET /model/metaItemDescriptors
|
|
74
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
75
|
+
*/
|
|
76
|
+
getMetaItemDescriptors(queryParams?: {
|
|
77
|
+
parentId?: string;
|
|
78
|
+
}, options?: O): RestResponse<{
|
|
79
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
80
|
+
}>;
|
|
81
|
+
/**
|
|
82
|
+
* HTTP GET /model/valueDescriptors
|
|
83
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
84
|
+
*/
|
|
85
|
+
getValueDescriptors(queryParams?: {
|
|
86
|
+
parentId?: string;
|
|
87
|
+
}, options?: O): RestResponse<{
|
|
88
|
+
[index: string]: Model.ValueDescriptor;
|
|
89
|
+
}>;
|
|
46
90
|
}
|
|
47
|
-
export declare class
|
|
91
|
+
export declare class AppResourceClient<O> {
|
|
48
92
|
protected httpClient: HttpClient<O>;
|
|
49
93
|
constructor(httpClient: HttpClient<O>);
|
|
50
94
|
/**
|
|
51
|
-
* HTTP
|
|
52
|
-
* Java method: org.openremote.model.
|
|
95
|
+
* HTTP GET /apps
|
|
96
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
53
97
|
*/
|
|
54
|
-
|
|
98
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
55
99
|
/**
|
|
56
|
-
* HTTP
|
|
57
|
-
* Java method: org.openremote.model.
|
|
100
|
+
* HTTP GET /apps/consoleConfig
|
|
101
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
58
102
|
*/
|
|
59
|
-
|
|
60
|
-
assetId?: string[];
|
|
61
|
-
}, options?: O): RestResponse<void>;
|
|
103
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
62
104
|
/**
|
|
63
|
-
* HTTP
|
|
64
|
-
* Java method: org.openremote.model.
|
|
105
|
+
* HTTP GET /apps/info
|
|
106
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
65
107
|
*/
|
|
66
|
-
|
|
108
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
109
|
+
}
|
|
110
|
+
export declare class UserResourceClient<O> {
|
|
111
|
+
protected httpClient: HttpClient<O>;
|
|
112
|
+
constructor(httpClient: HttpClient<O>);
|
|
67
113
|
/**
|
|
68
|
-
* HTTP PUT /
|
|
69
|
-
* Java method: org.openremote.model.
|
|
114
|
+
* HTTP PUT /user/locale
|
|
115
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
|
|
70
116
|
*/
|
|
71
|
-
|
|
117
|
+
updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
|
|
72
118
|
/**
|
|
73
|
-
* HTTP
|
|
74
|
-
* Java method: org.openremote.model.
|
|
119
|
+
* HTTP POST /user/query
|
|
120
|
+
* Java method: org.openremote.model.security.UserResource.query
|
|
75
121
|
*/
|
|
76
|
-
|
|
77
|
-
assetIds?: string[];
|
|
78
|
-
}, options?: O): RestResponse<void>;
|
|
122
|
+
query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
|
|
79
123
|
/**
|
|
80
|
-
* HTTP GET /
|
|
81
|
-
* Java method: org.openremote.model.
|
|
124
|
+
* HTTP GET /user/user
|
|
125
|
+
* Java method: org.openremote.model.security.UserResource.getCurrent
|
|
82
126
|
*/
|
|
83
|
-
|
|
127
|
+
getCurrent(options?: O): RestResponse<Model.User>;
|
|
84
128
|
/**
|
|
85
|
-
* HTTP
|
|
86
|
-
* Java method: org.openremote.model.
|
|
129
|
+
* HTTP GET /user/userRealmRoles
|
|
130
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
|
|
87
131
|
*/
|
|
88
|
-
|
|
132
|
+
getCurrentUserRealmRoles(options?: O): RestResponse<Model.Role[]>;
|
|
89
133
|
/**
|
|
90
|
-
* HTTP GET /
|
|
91
|
-
* Java method: org.openremote.model.
|
|
134
|
+
* HTTP GET /user/userRoles
|
|
135
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserRoles
|
|
92
136
|
*/
|
|
93
|
-
|
|
137
|
+
getCurrentUserRoles(options?: O): RestResponse<Model.Role[]>;
|
|
94
138
|
/**
|
|
95
|
-
* HTTP
|
|
96
|
-
* Java method: org.openremote.model.
|
|
139
|
+
* HTTP GET /user/userRoles/{clientId}
|
|
140
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
|
|
97
141
|
*/
|
|
98
|
-
|
|
142
|
+
getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
99
143
|
/**
|
|
100
|
-
* HTTP GET /
|
|
101
|
-
* Java method: org.openremote.model.
|
|
144
|
+
* HTTP GET /user/{realm}/disconnect/{sessionID}
|
|
145
|
+
* Java method: org.openremote.model.security.UserResource.disconnectUserSession
|
|
102
146
|
*/
|
|
103
|
-
|
|
104
|
-
realm?: string;
|
|
105
|
-
userId?: string;
|
|
106
|
-
assetId?: string;
|
|
107
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
147
|
+
disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
|
|
108
148
|
/**
|
|
109
|
-
* HTTP
|
|
110
|
-
* Java method: org.openremote.model.
|
|
149
|
+
* HTTP PUT /user/{realm}/reset-password/{userId}
|
|
150
|
+
* Java method: org.openremote.model.security.UserResource.resetPassword
|
|
111
151
|
*/
|
|
112
|
-
|
|
152
|
+
resetPassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
|
|
113
153
|
/**
|
|
114
|
-
* HTTP
|
|
115
|
-
* Java method: org.openremote.model.
|
|
154
|
+
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
155
|
+
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
116
156
|
*/
|
|
117
|
-
|
|
157
|
+
resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
|
|
118
158
|
/**
|
|
119
|
-
* HTTP
|
|
120
|
-
* Java method: org.openremote.model.
|
|
159
|
+
* HTTP GET /user/{realm}/roles
|
|
160
|
+
* Java method: org.openremote.model.security.UserResource.getRoles
|
|
121
161
|
*/
|
|
122
|
-
|
|
162
|
+
getRoles(realm: string, options?: O): RestResponse<Model.Role[]>;
|
|
123
163
|
/**
|
|
124
|
-
* HTTP
|
|
125
|
-
* Java method: org.openremote.model.
|
|
164
|
+
* HTTP PUT /user/{realm}/roles
|
|
165
|
+
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
126
166
|
*/
|
|
127
|
-
|
|
167
|
+
updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
128
168
|
/**
|
|
129
|
-
* HTTP
|
|
130
|
-
* Java method: org.openremote.model.
|
|
169
|
+
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
170
|
+
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
131
171
|
*/
|
|
132
|
-
|
|
172
|
+
getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<Model.Role[]>;
|
|
133
173
|
/**
|
|
134
|
-
* HTTP PUT /
|
|
135
|
-
* Java method: org.openremote.model.
|
|
174
|
+
* HTTP PUT /user/{realm}/userRealmRoles/{userId}
|
|
175
|
+
* Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
|
|
136
176
|
*/
|
|
137
|
-
|
|
177
|
+
updateUserRealmRoles(realm: string, userId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
138
178
|
/**
|
|
139
|
-
* HTTP
|
|
140
|
-
* Java method: org.openremote.model.
|
|
179
|
+
* HTTP GET /user/{realm}/userRoles/{userId}
|
|
180
|
+
* Java method: org.openremote.model.security.UserResource.getUserRoles
|
|
141
181
|
*/
|
|
142
|
-
|
|
182
|
+
getUserRoles(realm: string, userId: string, options?: O): RestResponse<Model.Role[]>;
|
|
143
183
|
/**
|
|
144
|
-
* HTTP PUT /
|
|
145
|
-
* Java method: org.openremote.model.
|
|
184
|
+
* HTTP PUT /user/{realm}/userRoles/{userId}
|
|
185
|
+
* Java method: org.openremote.model.security.UserResource.updateUserRoles
|
|
146
186
|
*/
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
187
|
+
updateUserRoles(realm: string, userId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
188
|
+
/**
|
|
189
|
+
* HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
|
|
190
|
+
* Java method: org.openremote.model.security.UserResource.getUserClientRoles
|
|
191
|
+
*/
|
|
192
|
+
getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
193
|
+
/**
|
|
194
|
+
* HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
|
|
195
|
+
* Java method: org.openremote.model.security.UserResource.updateUserClientRoles
|
|
196
|
+
*/
|
|
197
|
+
updateUserClientRoles(realm: string, userId: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
198
|
+
/**
|
|
199
|
+
* HTTP GET /user/{realm}/userSessions/{userId}
|
|
200
|
+
* Java method: org.openremote.model.security.UserResource.getUserSessions
|
|
201
|
+
*/
|
|
202
|
+
getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
|
|
203
|
+
/**
|
|
204
|
+
* HTTP POST /user/{realm}/users
|
|
205
|
+
* Java method: org.openremote.model.security.UserResource.create
|
|
206
|
+
*/
|
|
207
|
+
create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
208
|
+
/**
|
|
209
|
+
* HTTP PUT /user/{realm}/users
|
|
210
|
+
* Java method: org.openremote.model.security.UserResource.update
|
|
211
|
+
*/
|
|
212
|
+
update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
213
|
+
/**
|
|
214
|
+
* HTTP DELETE /user/{realm}/users/{userId}
|
|
215
|
+
* Java method: org.openremote.model.security.UserResource.delete
|
|
216
|
+
*/
|
|
217
|
+
delete(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
218
|
+
/**
|
|
219
|
+
* HTTP GET /user/{realm}/{clientId}/roles
|
|
220
|
+
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
221
|
+
*/
|
|
222
|
+
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
223
|
+
/**
|
|
224
|
+
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
225
|
+
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
226
|
+
*/
|
|
227
|
+
updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
228
|
+
/**
|
|
229
|
+
* HTTP GET /user/{realm}/{userId}
|
|
230
|
+
* Java method: org.openremote.model.security.UserResource.get
|
|
231
|
+
*/
|
|
232
|
+
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
233
|
+
}
|
|
234
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
235
|
+
protected httpClient: HttpClient<O>;
|
|
236
|
+
constructor(httpClient: HttpClient<O>);
|
|
237
|
+
/**
|
|
238
|
+
* HTTP POST /gateway/tunnel
|
|
239
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
240
|
+
*/
|
|
241
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
242
|
+
/**
|
|
243
|
+
* HTTP DELETE /gateway/tunnel
|
|
244
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
245
|
+
*/
|
|
246
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
247
|
+
/**
|
|
248
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
249
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
250
|
+
*/
|
|
251
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
252
|
+
/**
|
|
253
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
254
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
255
|
+
*/
|
|
256
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
257
|
+
/**
|
|
258
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
259
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
260
|
+
*/
|
|
261
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
150
262
|
}
|
|
151
263
|
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
152
264
|
protected httpClient: HttpClient<O>;
|
|
@@ -162,24 +274,31 @@ export declare class AssetPredictedDatapointResourceClient<O> {
|
|
|
162
274
|
*/
|
|
163
275
|
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
164
276
|
}
|
|
165
|
-
export declare class
|
|
277
|
+
export declare class AgentResourceClient<O> {
|
|
166
278
|
protected httpClient: HttpClient<O>;
|
|
167
279
|
constructor(httpClient: HttpClient<O>);
|
|
168
280
|
/**
|
|
169
|
-
* HTTP GET /
|
|
170
|
-
* Java method: org.openremote.model.
|
|
281
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
282
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
171
283
|
*/
|
|
172
|
-
|
|
284
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
285
|
+
realm?: string;
|
|
286
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
173
287
|
/**
|
|
174
|
-
* HTTP
|
|
175
|
-
* Java method: org.openremote.model.
|
|
288
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
289
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
176
290
|
*/
|
|
177
|
-
|
|
291
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
292
|
+
realm?: string;
|
|
293
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
178
294
|
/**
|
|
179
|
-
* HTTP GET /
|
|
180
|
-
* Java method: org.openremote.model.
|
|
295
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
296
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
181
297
|
*/
|
|
182
|
-
|
|
298
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
299
|
+
parentId?: string;
|
|
300
|
+
realm?: string;
|
|
301
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
183
302
|
}
|
|
184
303
|
export declare class RulesResourceClient<O> {
|
|
185
304
|
protected httpClient: HttpClient<O>;
|
|
@@ -289,365 +408,277 @@ export declare class RulesResourceClient<O> {
|
|
|
289
408
|
*/
|
|
290
409
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
291
410
|
}
|
|
292
|
-
export declare class
|
|
411
|
+
export declare class StatusResourceClient<O> {
|
|
293
412
|
protected httpClient: HttpClient<O>;
|
|
294
413
|
constructor(httpClient: HttpClient<O>);
|
|
295
414
|
/**
|
|
296
|
-
* HTTP
|
|
297
|
-
* Java method: org.openremote.model.
|
|
298
|
-
*/
|
|
299
|
-
updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
|
|
300
|
-
/**
|
|
301
|
-
* HTTP POST /user/query
|
|
302
|
-
* Java method: org.openremote.model.security.UserResource.query
|
|
303
|
-
*/
|
|
304
|
-
query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
|
|
305
|
-
/**
|
|
306
|
-
* HTTP GET /user/user
|
|
307
|
-
* Java method: org.openremote.model.security.UserResource.getCurrent
|
|
308
|
-
*/
|
|
309
|
-
getCurrent(options?: O): RestResponse<Model.User>;
|
|
310
|
-
/**
|
|
311
|
-
* HTTP GET /user/userRealmRoles
|
|
312
|
-
* Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
|
|
313
|
-
*/
|
|
314
|
-
getCurrentUserRealmRoles(options?: O): RestResponse<Model.Role[]>;
|
|
315
|
-
/**
|
|
316
|
-
* HTTP GET /user/userRoles
|
|
317
|
-
* Java method: org.openremote.model.security.UserResource.getCurrentUserRoles
|
|
318
|
-
*/
|
|
319
|
-
getCurrentUserRoles(options?: O): RestResponse<Model.Role[]>;
|
|
320
|
-
/**
|
|
321
|
-
* HTTP GET /user/userRoles/{clientId}
|
|
322
|
-
* Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
|
|
323
|
-
*/
|
|
324
|
-
getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
325
|
-
/**
|
|
326
|
-
* HTTP GET /user/{realm}/disconnect/{sessionID}
|
|
327
|
-
* Java method: org.openremote.model.security.UserResource.disconnectUserSession
|
|
328
|
-
*/
|
|
329
|
-
disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
|
|
330
|
-
/**
|
|
331
|
-
* HTTP PUT /user/{realm}/reset-password/{userId}
|
|
332
|
-
* Java method: org.openremote.model.security.UserResource.resetPassword
|
|
333
|
-
*/
|
|
334
|
-
resetPassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
|
|
335
|
-
/**
|
|
336
|
-
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
337
|
-
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
338
|
-
*/
|
|
339
|
-
resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
|
|
340
|
-
/**
|
|
341
|
-
* HTTP GET /user/{realm}/roles
|
|
342
|
-
* Java method: org.openremote.model.security.UserResource.getRoles
|
|
343
|
-
*/
|
|
344
|
-
getRoles(realm: string, options?: O): RestResponse<Model.Role[]>;
|
|
345
|
-
/**
|
|
346
|
-
* HTTP PUT /user/{realm}/roles
|
|
347
|
-
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
348
|
-
*/
|
|
349
|
-
updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
350
|
-
/**
|
|
351
|
-
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
352
|
-
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
353
|
-
*/
|
|
354
|
-
getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<Model.Role[]>;
|
|
355
|
-
/**
|
|
356
|
-
* HTTP PUT /user/{realm}/userRealmRoles/{userId}
|
|
357
|
-
* Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
|
|
358
|
-
*/
|
|
359
|
-
updateUserRealmRoles(realm: string, userId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
360
|
-
/**
|
|
361
|
-
* HTTP GET /user/{realm}/userRoles/{userId}
|
|
362
|
-
* Java method: org.openremote.model.security.UserResource.getUserRoles
|
|
363
|
-
*/
|
|
364
|
-
getUserRoles(realm: string, userId: string, options?: O): RestResponse<Model.Role[]>;
|
|
365
|
-
/**
|
|
366
|
-
* HTTP PUT /user/{realm}/userRoles/{userId}
|
|
367
|
-
* Java method: org.openremote.model.security.UserResource.updateUserRoles
|
|
368
|
-
*/
|
|
369
|
-
updateUserRoles(realm: string, userId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
370
|
-
/**
|
|
371
|
-
* HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
|
|
372
|
-
* Java method: org.openremote.model.security.UserResource.getUserClientRoles
|
|
373
|
-
*/
|
|
374
|
-
getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
375
|
-
/**
|
|
376
|
-
* HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
|
|
377
|
-
* Java method: org.openremote.model.security.UserResource.updateUserClientRoles
|
|
415
|
+
* HTTP GET /health
|
|
416
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
378
417
|
*/
|
|
379
|
-
|
|
418
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
419
|
+
[index: string]: any;
|
|
420
|
+
}>;
|
|
380
421
|
/**
|
|
381
|
-
* HTTP GET /
|
|
382
|
-
* Java method: org.openremote.model.
|
|
422
|
+
* HTTP GET /info
|
|
423
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
383
424
|
*/
|
|
384
|
-
|
|
425
|
+
getInfo(options?: O): RestResponse<{
|
|
426
|
+
[index: string]: any;
|
|
427
|
+
}>;
|
|
428
|
+
}
|
|
429
|
+
export declare class NotificationResourceClient<O> {
|
|
430
|
+
protected httpClient: HttpClient<O>;
|
|
431
|
+
constructor(httpClient: HttpClient<O>);
|
|
385
432
|
/**
|
|
386
|
-
* HTTP
|
|
387
|
-
* Java method: org.openremote.model.
|
|
433
|
+
* HTTP GET /notification
|
|
434
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
388
435
|
*/
|
|
389
|
-
|
|
436
|
+
getNotifications(queryParams?: {
|
|
437
|
+
id?: number;
|
|
438
|
+
type?: string;
|
|
439
|
+
from?: number;
|
|
440
|
+
to?: number;
|
|
441
|
+
realmId?: string;
|
|
442
|
+
userId?: string;
|
|
443
|
+
assetId?: string;
|
|
444
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
390
445
|
/**
|
|
391
|
-
* HTTP
|
|
392
|
-
* Java method: org.openremote.model.
|
|
446
|
+
* HTTP DELETE /notification
|
|
447
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
393
448
|
*/
|
|
394
|
-
|
|
449
|
+
removeNotifications(queryParams?: {
|
|
450
|
+
id?: number;
|
|
451
|
+
type?: string;
|
|
452
|
+
from?: number;
|
|
453
|
+
to?: number;
|
|
454
|
+
realmId?: string;
|
|
455
|
+
userId?: string;
|
|
456
|
+
assetId?: string;
|
|
457
|
+
}, options?: O): RestResponse<void>;
|
|
395
458
|
/**
|
|
396
|
-
* HTTP
|
|
397
|
-
* Java method: org.openremote.model.
|
|
459
|
+
* HTTP POST /notification/alert
|
|
460
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
398
461
|
*/
|
|
399
|
-
|
|
462
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
400
463
|
/**
|
|
401
|
-
* HTTP
|
|
402
|
-
* Java method: org.openremote.model.
|
|
464
|
+
* HTTP DELETE /notification/{notificationId}
|
|
465
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
403
466
|
*/
|
|
404
|
-
|
|
467
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
405
468
|
/**
|
|
406
|
-
* HTTP PUT /
|
|
407
|
-
* Java method: org.openremote.model.
|
|
469
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
470
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
408
471
|
*/
|
|
409
|
-
|
|
472
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
473
|
+
targetId?: string;
|
|
474
|
+
}, options?: O): RestResponse<void>;
|
|
410
475
|
/**
|
|
411
|
-
* HTTP
|
|
412
|
-
* Java method: org.openremote.model.
|
|
476
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
477
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
413
478
|
*/
|
|
414
|
-
|
|
479
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
480
|
+
targetId?: string;
|
|
481
|
+
}, options?: O): RestResponse<void>;
|
|
415
482
|
}
|
|
416
|
-
export declare class
|
|
483
|
+
export declare class AssetResourceClient<O> {
|
|
417
484
|
protected httpClient: HttpClient<O>;
|
|
418
485
|
constructor(httpClient: HttpClient<O>);
|
|
419
486
|
/**
|
|
420
|
-
* HTTP POST /
|
|
421
|
-
* Java method: org.openremote.model.
|
|
422
|
-
*/
|
|
423
|
-
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
424
|
-
/**
|
|
425
|
-
* HTTP GET /realm
|
|
426
|
-
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
427
|
-
*/
|
|
428
|
-
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
429
|
-
/**
|
|
430
|
-
* HTTP GET /realm/accessible
|
|
431
|
-
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
487
|
+
* HTTP POST /asset
|
|
488
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
432
489
|
*/
|
|
433
|
-
|
|
490
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
434
491
|
/**
|
|
435
|
-
* HTTP DELETE /
|
|
436
|
-
* Java method: org.openremote.model.
|
|
492
|
+
* HTTP DELETE /asset
|
|
493
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
437
494
|
*/
|
|
438
|
-
delete(
|
|
495
|
+
delete(queryParams?: {
|
|
496
|
+
assetId?: string[];
|
|
497
|
+
}, options?: O): RestResponse<void>;
|
|
439
498
|
/**
|
|
440
|
-
* HTTP
|
|
441
|
-
* Java method: org.openremote.model.
|
|
499
|
+
* HTTP PUT /asset/attributes
|
|
500
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
442
501
|
*/
|
|
443
|
-
|
|
502
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
444
503
|
/**
|
|
445
|
-
* HTTP PUT /
|
|
446
|
-
* Java method: org.openremote.model.
|
|
504
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
505
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
447
506
|
*/
|
|
448
|
-
|
|
449
|
-
}
|
|
450
|
-
export declare class ConfigurationResourceClient<O> {
|
|
451
|
-
protected httpClient: HttpClient<O>;
|
|
452
|
-
constructor(httpClient: HttpClient<O>);
|
|
507
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
453
508
|
/**
|
|
454
|
-
* HTTP
|
|
455
|
-
* Java method: org.openremote.model.
|
|
509
|
+
* HTTP DELETE /asset/parent
|
|
510
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
456
511
|
*/
|
|
457
|
-
|
|
512
|
+
updateNoneParent(queryParams?: {
|
|
513
|
+
assetIds?: string[];
|
|
514
|
+
}, options?: O): RestResponse<void>;
|
|
458
515
|
/**
|
|
459
|
-
* HTTP
|
|
460
|
-
* Java method: org.openremote.model.
|
|
516
|
+
* HTTP GET /asset/partial/{assetId}
|
|
517
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
461
518
|
*/
|
|
462
|
-
|
|
519
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
463
520
|
/**
|
|
464
|
-
* HTTP POST /
|
|
465
|
-
* Java method: org.openremote.model.
|
|
521
|
+
* HTTP POST /asset/query
|
|
522
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
466
523
|
*/
|
|
467
|
-
|
|
468
|
-
path?: string;
|
|
469
|
-
}, options?: O): RestResponse<string>;
|
|
524
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
470
525
|
/**
|
|
471
|
-
* HTTP GET /
|
|
472
|
-
* Java method: org.openremote.model.
|
|
526
|
+
* HTTP GET /asset/user/current
|
|
527
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
473
528
|
*/
|
|
474
|
-
|
|
475
|
-
}
|
|
476
|
-
export declare class ProvisioningResourceClient<O> {
|
|
477
|
-
protected httpClient: HttpClient<O>;
|
|
478
|
-
constructor(httpClient: HttpClient<O>);
|
|
529
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
479
530
|
/**
|
|
480
|
-
* HTTP POST /
|
|
481
|
-
* Java method: org.openremote.model.
|
|
531
|
+
* HTTP POST /asset/user/link
|
|
532
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
482
533
|
*/
|
|
483
|
-
|
|
534
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
484
535
|
/**
|
|
485
|
-
* HTTP GET /
|
|
486
|
-
* Java method: org.openremote.model.
|
|
536
|
+
* HTTP GET /asset/user/link
|
|
537
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
487
538
|
*/
|
|
488
|
-
|
|
539
|
+
getUserAssetLinks(queryParams?: {
|
|
540
|
+
realm?: string;
|
|
541
|
+
userId?: string;
|
|
542
|
+
assetId?: string;
|
|
543
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
489
544
|
/**
|
|
490
|
-
* HTTP
|
|
491
|
-
* Java method: org.openremote.model.
|
|
545
|
+
* HTTP POST /asset/user/link/delete
|
|
546
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
492
547
|
*/
|
|
493
|
-
|
|
548
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
494
549
|
/**
|
|
495
|
-
* HTTP
|
|
496
|
-
* Java method: org.openremote.model.
|
|
550
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
551
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
497
552
|
*/
|
|
498
|
-
|
|
499
|
-
}
|
|
500
|
-
export declare class NotificationResourceClient<O> {
|
|
501
|
-
protected httpClient: HttpClient<O>;
|
|
502
|
-
constructor(httpClient: HttpClient<O>);
|
|
553
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
503
554
|
/**
|
|
504
|
-
* HTTP
|
|
505
|
-
* Java method: org.openremote.model.
|
|
555
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
556
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
506
557
|
*/
|
|
507
|
-
|
|
508
|
-
id?: number;
|
|
509
|
-
type?: string;
|
|
510
|
-
from?: number;
|
|
511
|
-
to?: number;
|
|
512
|
-
realmId?: string;
|
|
513
|
-
userId?: string;
|
|
514
|
-
assetId?: string;
|
|
515
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
558
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
516
559
|
/**
|
|
517
|
-
* HTTP
|
|
518
|
-
* Java method: org.openremote.model.
|
|
560
|
+
* HTTP GET /asset/{assetId}
|
|
561
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
519
562
|
*/
|
|
520
|
-
|
|
521
|
-
id?: number;
|
|
522
|
-
type?: string;
|
|
523
|
-
from?: number;
|
|
524
|
-
to?: number;
|
|
525
|
-
realmId?: string;
|
|
526
|
-
userId?: string;
|
|
527
|
-
assetId?: string;
|
|
528
|
-
}, options?: O): RestResponse<void>;
|
|
563
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
529
564
|
/**
|
|
530
|
-
* HTTP
|
|
531
|
-
* Java method: org.openremote.model.
|
|
565
|
+
* HTTP PUT /asset/{assetId}
|
|
566
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
532
567
|
*/
|
|
533
|
-
|
|
568
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
534
569
|
/**
|
|
535
|
-
* HTTP
|
|
536
|
-
* Java method: org.openremote.model.
|
|
570
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
571
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
537
572
|
*/
|
|
538
|
-
|
|
573
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
539
574
|
/**
|
|
540
|
-
* HTTP PUT /
|
|
541
|
-
* Java method: org.openremote.model.
|
|
575
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
576
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
542
577
|
*/
|
|
543
|
-
|
|
544
|
-
targetId?: string;
|
|
545
|
-
}, options?: O): RestResponse<void>;
|
|
578
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
546
579
|
/**
|
|
547
|
-
* HTTP PUT /
|
|
548
|
-
* Java method: org.openremote.model.
|
|
580
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
581
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
549
582
|
*/
|
|
550
|
-
|
|
551
|
-
|
|
583
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
584
|
+
assetIds?: string[];
|
|
552
585
|
}, options?: O): RestResponse<void>;
|
|
553
586
|
}
|
|
554
|
-
export declare class
|
|
587
|
+
export declare class SyslogResourceClient<O> {
|
|
555
588
|
protected httpClient: HttpClient<O>;
|
|
556
589
|
constructor(httpClient: HttpClient<O>);
|
|
557
590
|
/**
|
|
558
|
-
* HTTP GET /
|
|
559
|
-
* Java method: org.openremote.model.
|
|
591
|
+
* HTTP GET /syslog/config
|
|
592
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
560
593
|
*/
|
|
561
|
-
|
|
562
|
-
parentId?: string;
|
|
563
|
-
parentType?: string;
|
|
564
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
594
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
565
595
|
/**
|
|
566
|
-
* HTTP
|
|
567
|
-
* Java method: org.openremote.model.
|
|
596
|
+
* HTTP PUT /syslog/config
|
|
597
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
568
598
|
*/
|
|
569
|
-
|
|
570
|
-
parentId?: string;
|
|
571
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
599
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
572
600
|
/**
|
|
573
|
-
* HTTP
|
|
574
|
-
* Java method: org.openremote.model.
|
|
601
|
+
* HTTP DELETE /syslog/event
|
|
602
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
575
603
|
*/
|
|
576
|
-
|
|
577
|
-
parentId?: string;
|
|
578
|
-
parentType?: string;
|
|
579
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
604
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
580
605
|
/**
|
|
581
|
-
* HTTP GET /
|
|
582
|
-
* Java method: org.openremote.model.
|
|
606
|
+
* HTTP GET /syslog/event
|
|
607
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
583
608
|
*/
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
609
|
+
getEvents(queryParams?: {
|
|
610
|
+
level?: Model.SyslogLevel;
|
|
611
|
+
per_page?: number;
|
|
612
|
+
page?: number;
|
|
613
|
+
from?: number;
|
|
614
|
+
to?: number;
|
|
615
|
+
category?: Model.SyslogCategory[];
|
|
616
|
+
subCategory?: string[];
|
|
617
|
+
}, options?: O): RestResponse<any>;
|
|
618
|
+
}
|
|
619
|
+
export declare class ConsoleResourceClient<O> {
|
|
620
|
+
protected httpClient: HttpClient<O>;
|
|
621
|
+
constructor(httpClient: HttpClient<O>);
|
|
589
622
|
/**
|
|
590
|
-
* HTTP
|
|
591
|
-
* Java method: org.openremote.model.
|
|
623
|
+
* HTTP POST /console/register
|
|
624
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
592
625
|
*/
|
|
593
|
-
|
|
594
|
-
parentId?: string;
|
|
595
|
-
}, options?: O): RestResponse<{
|
|
596
|
-
[index: string]: Model.ValueDescriptor;
|
|
597
|
-
}>;
|
|
626
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
598
627
|
}
|
|
599
|
-
export declare class
|
|
628
|
+
export declare class FlowResourceClient<O> {
|
|
600
629
|
protected httpClient: HttpClient<O>;
|
|
601
630
|
constructor(httpClient: HttpClient<O>);
|
|
602
631
|
/**
|
|
603
|
-
* HTTP
|
|
604
|
-
* Java method: org.openremote.model.
|
|
632
|
+
* HTTP GET /flow
|
|
633
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
605
634
|
*/
|
|
606
|
-
|
|
607
|
-
assetIds?: string[];
|
|
608
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
635
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
609
636
|
/**
|
|
610
|
-
* HTTP GET /
|
|
611
|
-
* Java method: org.openremote.model.
|
|
637
|
+
* HTTP GET /flow/{name}
|
|
638
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
612
639
|
*/
|
|
613
|
-
|
|
614
|
-
realm?: string;
|
|
615
|
-
status?: Model.AlarmStatus;
|
|
616
|
-
assetId?: string;
|
|
617
|
-
assigneeId?: string;
|
|
618
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
640
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
619
641
|
/**
|
|
620
|
-
* HTTP
|
|
621
|
-
* Java method: org.openremote.model.
|
|
642
|
+
* HTTP GET /flow/{type}
|
|
643
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
622
644
|
*/
|
|
623
|
-
|
|
645
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
646
|
+
}
|
|
647
|
+
export declare class GatewayClientResourceClient<O> {
|
|
648
|
+
protected httpClient: HttpClient<O>;
|
|
649
|
+
constructor(httpClient: HttpClient<O>);
|
|
624
650
|
/**
|
|
625
|
-
* HTTP
|
|
626
|
-
* Java method: org.openremote.model.
|
|
651
|
+
* HTTP DELETE /gateway/connection
|
|
652
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
627
653
|
*/
|
|
628
|
-
|
|
654
|
+
deleteConnections(queryParams?: {
|
|
655
|
+
realm?: string[];
|
|
656
|
+
}, options?: O): RestResponse<void>;
|
|
629
657
|
/**
|
|
630
|
-
* HTTP GET /
|
|
631
|
-
* Java method: org.openremote.model.
|
|
658
|
+
* HTTP GET /gateway/connection
|
|
659
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
632
660
|
*/
|
|
633
|
-
|
|
661
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
634
662
|
/**
|
|
635
|
-
* HTTP DELETE /
|
|
636
|
-
* Java method: org.openremote.model.
|
|
663
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
664
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
637
665
|
*/
|
|
638
|
-
|
|
666
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
639
667
|
/**
|
|
640
|
-
* HTTP
|
|
641
|
-
* Java method: org.openremote.model.
|
|
668
|
+
* HTTP GET /gateway/connection/{realm}
|
|
669
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
642
670
|
*/
|
|
643
|
-
|
|
671
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
644
672
|
/**
|
|
645
|
-
* HTTP
|
|
646
|
-
* Java method: org.openremote.model.
|
|
673
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
674
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
647
675
|
*/
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
676
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
677
|
+
/**
|
|
678
|
+
* HTTP GET /gateway/status/{realm}
|
|
679
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
680
|
+
*/
|
|
681
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
651
682
|
}
|
|
652
683
|
export declare class MapResourceClient<O> {
|
|
653
684
|
protected httpClient: HttpClient<O>;
|
|
@@ -679,35 +710,6 @@ export declare class MapResourceClient<O> {
|
|
|
679
710
|
*/
|
|
680
711
|
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
681
712
|
}
|
|
682
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
683
|
-
protected httpClient: HttpClient<O>;
|
|
684
|
-
constructor(httpClient: HttpClient<O>);
|
|
685
|
-
/**
|
|
686
|
-
* HTTP POST /gateway/tunnel
|
|
687
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
688
|
-
*/
|
|
689
|
-
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
690
|
-
/**
|
|
691
|
-
* HTTP DELETE /gateway/tunnel
|
|
692
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
693
|
-
*/
|
|
694
|
-
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
695
|
-
/**
|
|
696
|
-
* HTTP GET /gateway/tunnel/{realm}
|
|
697
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
698
|
-
*/
|
|
699
|
-
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
700
|
-
/**
|
|
701
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
702
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
703
|
-
*/
|
|
704
|
-
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
705
|
-
/**
|
|
706
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
707
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
708
|
-
*/
|
|
709
|
-
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
710
|
-
}
|
|
711
713
|
export declare class AssetDatapointResourceClient<O> {
|
|
712
714
|
protected httpClient: HttpClient<O>;
|
|
713
715
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -734,190 +736,188 @@ export declare class AssetDatapointResourceClient<O> {
|
|
|
734
736
|
*/
|
|
735
737
|
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
736
738
|
}
|
|
737
|
-
export declare class
|
|
739
|
+
export declare class ConfigurationResourceClient<O> {
|
|
738
740
|
protected httpClient: HttpClient<O>;
|
|
739
741
|
constructor(httpClient: HttpClient<O>);
|
|
740
742
|
/**
|
|
741
|
-
* HTTP GET /
|
|
742
|
-
* Java method: org.openremote.model.
|
|
743
|
+
* HTTP GET /configuration/manager
|
|
744
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
743
745
|
*/
|
|
744
|
-
|
|
746
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
745
747
|
/**
|
|
746
|
-
* HTTP
|
|
747
|
-
* Java method: org.openremote.model.
|
|
748
|
+
* HTTP PUT /configuration/manager
|
|
749
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
748
750
|
*/
|
|
749
|
-
|
|
751
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
750
752
|
/**
|
|
751
|
-
* HTTP
|
|
752
|
-
* Java method: org.openremote.model.
|
|
753
|
+
* HTTP POST /configuration/manager/file
|
|
754
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
755
|
+
*/
|
|
756
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
757
|
+
path?: string;
|
|
758
|
+
}, options?: O): RestResponse<string>;
|
|
759
|
+
/**
|
|
760
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
761
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
753
762
|
*/
|
|
754
|
-
|
|
763
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
755
764
|
}
|
|
756
|
-
export declare class
|
|
765
|
+
export declare class RealmResourceClient<O> {
|
|
757
766
|
protected httpClient: HttpClient<O>;
|
|
758
767
|
constructor(httpClient: HttpClient<O>);
|
|
759
768
|
/**
|
|
760
|
-
* HTTP
|
|
761
|
-
* Java method: org.openremote.model.
|
|
769
|
+
* HTTP POST /realm
|
|
770
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
762
771
|
*/
|
|
763
|
-
|
|
772
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
764
773
|
/**
|
|
765
|
-
* HTTP
|
|
766
|
-
* Java method: org.openremote.model.
|
|
774
|
+
* HTTP GET /realm
|
|
775
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
767
776
|
*/
|
|
768
|
-
|
|
777
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
769
778
|
/**
|
|
770
|
-
* HTTP
|
|
771
|
-
* Java method: org.openremote.model.
|
|
779
|
+
* HTTP GET /realm/accessible
|
|
780
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
772
781
|
*/
|
|
773
|
-
|
|
782
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
774
783
|
/**
|
|
775
|
-
* HTTP
|
|
776
|
-
* Java method: org.openremote.model.
|
|
784
|
+
* HTTP DELETE /realm/{name}
|
|
785
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
777
786
|
*/
|
|
778
|
-
|
|
779
|
-
level?: Model.SyslogLevel;
|
|
780
|
-
per_page?: number;
|
|
781
|
-
page?: number;
|
|
782
|
-
from?: number;
|
|
783
|
-
to?: number;
|
|
784
|
-
category?: Model.SyslogCategory[];
|
|
785
|
-
subCategory?: string[];
|
|
786
|
-
}, options?: O): RestResponse<any>;
|
|
787
|
-
}
|
|
788
|
-
export declare class GatewayClientResourceClient<O> {
|
|
789
|
-
protected httpClient: HttpClient<O>;
|
|
790
|
-
constructor(httpClient: HttpClient<O>);
|
|
787
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
791
788
|
/**
|
|
792
|
-
* HTTP
|
|
793
|
-
* Java method: org.openremote.model.
|
|
789
|
+
* HTTP GET /realm/{name}
|
|
790
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
794
791
|
*/
|
|
795
|
-
|
|
796
|
-
realm?: string[];
|
|
797
|
-
}, options?: O): RestResponse<void>;
|
|
792
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
798
793
|
/**
|
|
799
|
-
* HTTP
|
|
800
|
-
* Java method: org.openremote.model.
|
|
794
|
+
* HTTP PUT /realm/{name}
|
|
795
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
801
796
|
*/
|
|
802
|
-
|
|
797
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
798
|
+
}
|
|
799
|
+
export declare class ProvisioningResourceClient<O> {
|
|
800
|
+
protected httpClient: HttpClient<O>;
|
|
801
|
+
constructor(httpClient: HttpClient<O>);
|
|
803
802
|
/**
|
|
804
|
-
* HTTP
|
|
805
|
-
* Java method: org.openremote.model.
|
|
803
|
+
* HTTP POST /provisioning
|
|
804
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
806
805
|
*/
|
|
807
|
-
|
|
806
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
808
807
|
/**
|
|
809
|
-
* HTTP GET /
|
|
810
|
-
* Java method: org.openremote.model.
|
|
808
|
+
* HTTP GET /provisioning
|
|
809
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
811
810
|
*/
|
|
812
|
-
|
|
811
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
813
812
|
/**
|
|
814
|
-
* HTTP
|
|
815
|
-
* Java method: org.openremote.model.
|
|
813
|
+
* HTTP DELETE /provisioning/{id}
|
|
814
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
816
815
|
*/
|
|
817
|
-
|
|
816
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
818
817
|
/**
|
|
819
|
-
* HTTP
|
|
820
|
-
* Java method: org.openremote.model.
|
|
818
|
+
* HTTP PUT /provisioning/{id}
|
|
819
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
821
820
|
*/
|
|
822
|
-
|
|
821
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
823
822
|
}
|
|
824
|
-
export declare class
|
|
823
|
+
export declare class AlarmResourceClient<O> {
|
|
825
824
|
protected httpClient: HttpClient<O>;
|
|
826
825
|
constructor(httpClient: HttpClient<O>);
|
|
827
826
|
/**
|
|
828
|
-
* HTTP POST /
|
|
829
|
-
* Java method: org.openremote.model.
|
|
827
|
+
* HTTP POST /alarm
|
|
828
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
830
829
|
*/
|
|
831
|
-
|
|
830
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
831
|
+
assetIds?: string[];
|
|
832
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
832
833
|
/**
|
|
833
|
-
* HTTP
|
|
834
|
-
* Java method: org.openremote.model.
|
|
834
|
+
* HTTP GET /alarm
|
|
835
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
835
836
|
*/
|
|
836
|
-
|
|
837
|
+
getAlarms(queryParams?: {
|
|
838
|
+
realm?: string;
|
|
839
|
+
status?: Model.AlarmStatus;
|
|
840
|
+
assetId?: string;
|
|
841
|
+
assigneeId?: string;
|
|
842
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
837
843
|
/**
|
|
838
|
-
* HTTP
|
|
839
|
-
* Java method: org.openremote.model.
|
|
844
|
+
* HTTP DELETE /alarm
|
|
845
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
840
846
|
*/
|
|
841
|
-
|
|
847
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
842
848
|
/**
|
|
843
|
-
* HTTP
|
|
844
|
-
* Java method: org.openremote.model.
|
|
849
|
+
* HTTP PUT /alarm/assets
|
|
850
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
845
851
|
*/
|
|
846
|
-
|
|
852
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
847
853
|
/**
|
|
848
|
-
* HTTP
|
|
849
|
-
* Java method: org.openremote.model.
|
|
854
|
+
* HTTP GET /alarm/{alarmId}
|
|
855
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
850
856
|
*/
|
|
851
|
-
|
|
857
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
852
858
|
/**
|
|
853
|
-
* HTTP
|
|
854
|
-
* Java method: org.openremote.model.
|
|
859
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
860
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
855
861
|
*/
|
|
856
|
-
|
|
857
|
-
}
|
|
858
|
-
export declare class StatusResourceClient<O> {
|
|
859
|
-
protected httpClient: HttpClient<O>;
|
|
860
|
-
constructor(httpClient: HttpClient<O>);
|
|
862
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
861
863
|
/**
|
|
862
|
-
* HTTP
|
|
863
|
-
* Java method: org.openremote.model.
|
|
864
|
+
* HTTP PUT /alarm/{alarmId}
|
|
865
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
864
866
|
*/
|
|
865
|
-
|
|
866
|
-
[index: string]: any;
|
|
867
|
-
}>;
|
|
867
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
868
868
|
/**
|
|
869
|
-
* HTTP GET /
|
|
870
|
-
* Java method: org.openremote.model.
|
|
869
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
870
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
871
871
|
*/
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
}>;
|
|
872
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
873
|
+
realm?: string;
|
|
874
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
875
875
|
}
|
|
876
876
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
877
877
|
export declare class ApiClient {
|
|
878
|
-
protected
|
|
879
|
-
protected
|
|
880
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
881
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
878
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
879
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
882
880
|
protected _appResource: AxiosAppResourceClient;
|
|
883
|
-
protected _rulesResource: AxiosRulesResourceClient;
|
|
884
881
|
protected _userResource: AxiosUserResourceClient;
|
|
885
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
886
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
887
|
-
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
888
|
-
protected _notificationResource: AxiosNotificationResourceClient;
|
|
889
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
890
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
891
|
-
protected _mapResource: AxiosMapResourceClient;
|
|
892
882
|
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
893
|
-
protected
|
|
894
|
-
protected
|
|
883
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
884
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
885
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
886
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
887
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
888
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
895
889
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
890
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
891
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
896
892
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
897
|
-
protected
|
|
898
|
-
protected
|
|
893
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
894
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
895
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
896
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
897
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
898
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
899
899
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
900
|
-
get
|
|
901
|
-
get
|
|
902
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
903
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
900
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
901
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
904
902
|
get AppResource(): AxiosAppResourceClient;
|
|
905
|
-
get RulesResource(): AxiosRulesResourceClient;
|
|
906
903
|
get UserResource(): AxiosUserResourceClient;
|
|
907
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
908
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
909
|
-
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
910
|
-
get NotificationResource(): AxiosNotificationResourceClient;
|
|
911
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
912
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
913
|
-
get MapResource(): AxiosMapResourceClient;
|
|
914
904
|
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
915
|
-
get
|
|
916
|
-
get
|
|
905
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
906
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
907
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
908
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
909
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
910
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
917
911
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
912
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
913
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
918
914
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
919
|
-
get
|
|
920
|
-
get
|
|
915
|
+
get MapResource(): AxiosMapResourceClient;
|
|
916
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
917
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
918
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
919
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
920
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
921
921
|
}
|
|
922
922
|
import * as Axios from "axios";
|
|
923
923
|
declare module "axios" {
|
|
@@ -925,66 +925,66 @@ declare module "axios" {
|
|
|
925
925
|
data: R;
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
export declare class
|
|
928
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
929
929
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
930
930
|
}
|
|
931
|
-
export declare class
|
|
931
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
932
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
933
|
}
|
|
934
|
-
export declare class
|
|
934
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
935
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
936
|
}
|
|
937
|
-
export declare class
|
|
937
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
938
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
939
|
}
|
|
940
|
-
export declare class
|
|
940
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
941
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
942
|
}
|
|
943
|
-
export declare class
|
|
943
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
944
944
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
945
|
}
|
|
946
|
-
export declare class
|
|
946
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
947
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
948
|
}
|
|
949
|
-
export declare class
|
|
949
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
950
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
951
|
}
|
|
952
|
-
export declare class
|
|
952
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
953
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
954
|
}
|
|
955
|
-
export declare class
|
|
955
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
956
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
957
|
}
|
|
958
|
-
export declare class
|
|
958
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
959
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
960
|
}
|
|
961
|
-
export declare class
|
|
961
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
962
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
963
|
}
|
|
964
|
-
export declare class
|
|
964
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
965
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
966
|
}
|
|
967
|
-
export declare class
|
|
967
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
968
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
969
|
}
|
|
970
|
-
export declare class
|
|
970
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
971
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
972
|
}
|
|
973
|
-
export declare class
|
|
973
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
974
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
975
|
}
|
|
976
|
-
export declare class
|
|
976
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
977
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
978
|
}
|
|
979
|
-
export declare class
|
|
979
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
980
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
981
|
}
|
|
982
|
-
export declare class
|
|
982
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
983
983
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
984
984
|
}
|
|
985
|
-
export declare class
|
|
985
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
986
986
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
987
|
}
|
|
988
|
-
export declare class
|
|
988
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
990
|
}
|