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