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