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