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