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