@openremote/rest 1.5.0-snapshot.20250422162853 → 1.5.0
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 +386 -386
- 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,90 +9,192 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class UserResourceClient<O> {
|
|
13
13
|
protected httpClient: HttpClient<O>;
|
|
14
14
|
constructor(httpClient: HttpClient<O>);
|
|
15
15
|
/**
|
|
16
|
-
* HTTP
|
|
17
|
-
* Java method: org.openremote.model.
|
|
16
|
+
* HTTP PUT /user/locale
|
|
17
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
|
|
20
20
|
/**
|
|
21
|
-
* HTTP
|
|
22
|
-
* Java method: org.openremote.model.
|
|
21
|
+
* HTTP POST /user/query
|
|
22
|
+
* Java method: org.openremote.model.security.UserResource.query
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
|
|
25
25
|
/**
|
|
26
|
-
* HTTP
|
|
27
|
-
* Java method: org.openremote.model.
|
|
26
|
+
* HTTP GET /user/user
|
|
27
|
+
* Java method: org.openremote.model.security.UserResource.getCurrent
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
getCurrent(options?: O): RestResponse<Model.User>;
|
|
30
30
|
/**
|
|
31
|
-
* HTTP GET /
|
|
32
|
-
* Java method: org.openremote.model.
|
|
31
|
+
* HTTP GET /user/userRealmRoles
|
|
32
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
|
|
33
33
|
*/
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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>;
|
|
43
115
|
}
|
|
44
|
-
export declare class
|
|
116
|
+
export declare class ProvisioningResourceClient<O> {
|
|
45
117
|
protected httpClient: HttpClient<O>;
|
|
46
118
|
constructor(httpClient: HttpClient<O>);
|
|
47
119
|
/**
|
|
48
|
-
* HTTP POST /
|
|
49
|
-
* Java method: org.openremote.model.
|
|
120
|
+
* HTTP POST /provisioning
|
|
121
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
50
122
|
*/
|
|
51
|
-
|
|
123
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
52
124
|
/**
|
|
53
|
-
* HTTP GET /
|
|
54
|
-
* Java method: org.openremote.model.
|
|
125
|
+
* HTTP GET /provisioning
|
|
126
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
55
127
|
*/
|
|
56
|
-
|
|
128
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
57
129
|
/**
|
|
58
|
-
* HTTP
|
|
59
|
-
* Java method: org.openremote.model.
|
|
130
|
+
* HTTP DELETE /provisioning/{id}
|
|
131
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
60
132
|
*/
|
|
61
|
-
|
|
133
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
62
134
|
/**
|
|
63
|
-
* HTTP
|
|
64
|
-
* Java method: org.openremote.model.
|
|
135
|
+
* HTTP PUT /provisioning/{id}
|
|
136
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
65
137
|
*/
|
|
66
|
-
|
|
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>);
|
|
67
143
|
/**
|
|
68
|
-
* HTTP
|
|
69
|
-
* Java method: org.openremote.model.
|
|
144
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
145
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
70
146
|
*/
|
|
71
|
-
|
|
147
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
72
148
|
/**
|
|
73
|
-
* HTTP PUT /
|
|
74
|
-
* Java method: org.openremote.model.
|
|
149
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
150
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
75
151
|
*/
|
|
76
|
-
|
|
152
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
77
153
|
}
|
|
78
|
-
export declare class
|
|
154
|
+
export declare class AssetModelResourceClient<O> {
|
|
79
155
|
protected httpClient: HttpClient<O>;
|
|
80
156
|
constructor(httpClient: HttpClient<O>);
|
|
81
157
|
/**
|
|
82
|
-
* HTTP GET /
|
|
83
|
-
* Java method: org.openremote.model.
|
|
158
|
+
* HTTP GET /model/assetDescriptors
|
|
159
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
84
160
|
*/
|
|
85
|
-
|
|
161
|
+
getAssetDescriptors(queryParams?: {
|
|
162
|
+
parentId?: string;
|
|
163
|
+
parentType?: string;
|
|
164
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
86
165
|
/**
|
|
87
|
-
* HTTP GET /
|
|
88
|
-
* Java method: org.openremote.model.
|
|
166
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
167
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
89
168
|
*/
|
|
90
|
-
|
|
169
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
170
|
+
parentId?: string;
|
|
171
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
91
172
|
/**
|
|
92
|
-
* HTTP GET /
|
|
93
|
-
* Java method: org.openremote.model.
|
|
173
|
+
* HTTP GET /model/assetInfos
|
|
174
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
94
175
|
*/
|
|
95
|
-
|
|
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
|
+
}>;
|
|
96
198
|
}
|
|
97
199
|
export declare class RulesResourceClient<O> {
|
|
98
200
|
protected httpClient: HttpClient<O>;
|
|
@@ -202,118 +304,61 @@ export declare class RulesResourceClient<O> {
|
|
|
202
304
|
*/
|
|
203
305
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
204
306
|
}
|
|
205
|
-
export declare class
|
|
307
|
+
export declare class AppResourceClient<O> {
|
|
206
308
|
protected httpClient: HttpClient<O>;
|
|
207
309
|
constructor(httpClient: HttpClient<O>);
|
|
208
310
|
/**
|
|
209
|
-
* HTTP GET /
|
|
210
|
-
* Java method: org.openremote.model.
|
|
311
|
+
* HTTP GET /apps
|
|
312
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
211
313
|
*/
|
|
212
|
-
|
|
213
|
-
[id: string]: unknown;
|
|
214
|
-
}>;
|
|
314
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
215
315
|
/**
|
|
216
|
-
* HTTP
|
|
217
|
-
* Java method: org.openremote.model.
|
|
316
|
+
* HTTP GET /apps/consoleConfig
|
|
317
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
218
318
|
*/
|
|
219
|
-
|
|
220
|
-
[id: string]: unknown;
|
|
221
|
-
}>;
|
|
319
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
222
320
|
/**
|
|
223
|
-
* HTTP
|
|
224
|
-
* Java method: org.openremote.model.
|
|
321
|
+
* HTTP GET /apps/info
|
|
322
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
225
323
|
*/
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
324
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
325
|
+
}
|
|
326
|
+
export declare class FlowResourceClient<O> {
|
|
327
|
+
protected httpClient: HttpClient<O>;
|
|
328
|
+
constructor(httpClient: HttpClient<O>);
|
|
229
329
|
/**
|
|
230
|
-
* HTTP GET /
|
|
231
|
-
* Java method: org.openremote.model.
|
|
330
|
+
* HTTP GET /flow
|
|
331
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
232
332
|
*/
|
|
233
|
-
|
|
234
|
-
[id: string]: unknown;
|
|
235
|
-
}>;
|
|
333
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
236
334
|
/**
|
|
237
|
-
* HTTP GET /
|
|
238
|
-
* Java method: org.openremote.model.
|
|
335
|
+
* HTTP GET /flow/{name}
|
|
336
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
239
337
|
*/
|
|
240
|
-
|
|
241
|
-
[id: string]: unknown;
|
|
242
|
-
}>;
|
|
338
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
243
339
|
/**
|
|
244
|
-
* HTTP GET /
|
|
245
|
-
* Java method: org.openremote.model.
|
|
340
|
+
* HTTP GET /flow/{type}
|
|
341
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
246
342
|
*/
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* HTTP POST /map/upload
|
|
250
|
-
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
251
|
-
*/
|
|
252
|
-
uploadMap(queryParams?: {
|
|
253
|
-
filename?: string;
|
|
254
|
-
}, options?: O): RestResponse<{
|
|
255
|
-
[id: string]: unknown;
|
|
256
|
-
}>;
|
|
257
|
-
}
|
|
258
|
-
export declare class ConfigurationResourceClient<O> {
|
|
259
|
-
protected httpClient: HttpClient<O>;
|
|
260
|
-
constructor(httpClient: HttpClient<O>);
|
|
261
|
-
/**
|
|
262
|
-
* HTTP GET /configuration/manager
|
|
263
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
264
|
-
*/
|
|
265
|
-
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
266
|
-
/**
|
|
267
|
-
* HTTP PUT /configuration/manager
|
|
268
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
269
|
-
*/
|
|
270
|
-
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
271
|
-
/**
|
|
272
|
-
* HTTP POST /configuration/manager/file
|
|
273
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
274
|
-
*/
|
|
275
|
-
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
276
|
-
path?: string;
|
|
277
|
-
}, options?: O): RestResponse<string>;
|
|
278
|
-
/**
|
|
279
|
-
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
280
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
281
|
-
*/
|
|
282
|
-
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
343
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
283
344
|
}
|
|
284
|
-
export declare class
|
|
345
|
+
export declare class StatusResourceClient<O> {
|
|
285
346
|
protected httpClient: HttpClient<O>;
|
|
286
347
|
constructor(httpClient: HttpClient<O>);
|
|
287
348
|
/**
|
|
288
|
-
* HTTP
|
|
289
|
-
* Java method: org.openremote.model.
|
|
290
|
-
*/
|
|
291
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
292
|
-
/**
|
|
293
|
-
* HTTP PUT /dashboard
|
|
294
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
295
|
-
*/
|
|
296
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
297
|
-
/**
|
|
298
|
-
* HTTP GET /dashboard/all/{realm}
|
|
299
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
300
|
-
*/
|
|
301
|
-
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
302
|
-
/**
|
|
303
|
-
* HTTP POST /dashboard/query
|
|
304
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
305
|
-
*/
|
|
306
|
-
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
307
|
-
/**
|
|
308
|
-
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
309
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
349
|
+
* HTTP GET /health
|
|
350
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
310
351
|
*/
|
|
311
|
-
|
|
352
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
353
|
+
[index: string]: any;
|
|
354
|
+
}>;
|
|
312
355
|
/**
|
|
313
|
-
* HTTP GET /
|
|
314
|
-
* Java method: org.openremote.model.
|
|
356
|
+
* HTTP GET /info
|
|
357
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
315
358
|
*/
|
|
316
|
-
|
|
359
|
+
getInfo(options?: O): RestResponse<{
|
|
360
|
+
[index: string]: any;
|
|
361
|
+
}>;
|
|
317
362
|
}
|
|
318
363
|
export declare class GatewayClientResourceClient<O> {
|
|
319
364
|
protected httpClient: HttpClient<O>;
|
|
@@ -351,77 +396,6 @@ export declare class GatewayClientResourceClient<O> {
|
|
|
351
396
|
*/
|
|
352
397
|
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
353
398
|
}
|
|
354
|
-
export declare class AgentResourceClient<O> {
|
|
355
|
-
protected httpClient: HttpClient<O>;
|
|
356
|
-
constructor(httpClient: HttpClient<O>);
|
|
357
|
-
/**
|
|
358
|
-
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
359
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
360
|
-
*/
|
|
361
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
362
|
-
realm?: string;
|
|
363
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
364
|
-
/**
|
|
365
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
366
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
367
|
-
*/
|
|
368
|
-
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
369
|
-
realm?: string;
|
|
370
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
371
|
-
/**
|
|
372
|
-
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
373
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
374
|
-
*/
|
|
375
|
-
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
376
|
-
parentId?: string;
|
|
377
|
-
realm?: string;
|
|
378
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
379
|
-
}
|
|
380
|
-
export declare class AssetModelResourceClient<O> {
|
|
381
|
-
protected httpClient: HttpClient<O>;
|
|
382
|
-
constructor(httpClient: HttpClient<O>);
|
|
383
|
-
/**
|
|
384
|
-
* HTTP GET /model/assetDescriptors
|
|
385
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
386
|
-
*/
|
|
387
|
-
getAssetDescriptors(queryParams?: {
|
|
388
|
-
parentId?: string;
|
|
389
|
-
parentType?: string;
|
|
390
|
-
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
391
|
-
/**
|
|
392
|
-
* HTTP GET /model/assetInfo/{assetType}
|
|
393
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
394
|
-
*/
|
|
395
|
-
getAssetInfo(assetType: string, queryParams?: {
|
|
396
|
-
parentId?: string;
|
|
397
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
398
|
-
/**
|
|
399
|
-
* HTTP GET /model/assetInfos
|
|
400
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
401
|
-
*/
|
|
402
|
-
getAssetInfos(queryParams?: {
|
|
403
|
-
parentId?: string;
|
|
404
|
-
parentType?: string;
|
|
405
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
406
|
-
/**
|
|
407
|
-
* HTTP GET /model/metaItemDescriptors
|
|
408
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
409
|
-
*/
|
|
410
|
-
getMetaItemDescriptors(queryParams?: {
|
|
411
|
-
parentId?: string;
|
|
412
|
-
}, options?: O): RestResponse<{
|
|
413
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
414
|
-
}>;
|
|
415
|
-
/**
|
|
416
|
-
* HTTP GET /model/valueDescriptors
|
|
417
|
-
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
418
|
-
*/
|
|
419
|
-
getValueDescriptors(queryParams?: {
|
|
420
|
-
parentId?: string;
|
|
421
|
-
}, options?: O): RestResponse<{
|
|
422
|
-
[index: string]: Model.ValueDescriptor;
|
|
423
|
-
}>;
|
|
424
|
-
}
|
|
425
399
|
export declare class AssetDatapointResourceClient<O> {
|
|
426
400
|
protected httpClient: HttpClient<O>;
|
|
427
401
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -501,38 +475,92 @@ export declare class AlarmResourceClient<O> {
|
|
|
501
475
|
realm?: string;
|
|
502
476
|
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
503
477
|
}
|
|
504
|
-
export declare class
|
|
478
|
+
export declare class MapResourceClient<O> {
|
|
505
479
|
protected httpClient: HttpClient<O>;
|
|
506
480
|
constructor(httpClient: HttpClient<O>);
|
|
507
481
|
/**
|
|
508
|
-
* HTTP GET /
|
|
509
|
-
* Java method: org.openremote.model.
|
|
482
|
+
* HTTP GET /map
|
|
483
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
510
484
|
*/
|
|
511
|
-
|
|
485
|
+
getSettings(options?: O): RestResponse<{
|
|
486
|
+
[id: string]: unknown;
|
|
487
|
+
}>;
|
|
512
488
|
/**
|
|
513
|
-
* HTTP
|
|
514
|
-
* Java method: org.openremote.model.
|
|
489
|
+
* HTTP PUT /map
|
|
490
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
515
491
|
*/
|
|
516
|
-
|
|
492
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
493
|
+
[id: string]: unknown;
|
|
494
|
+
}>;
|
|
517
495
|
/**
|
|
518
|
-
* HTTP
|
|
519
|
-
* Java method: org.openremote.model.
|
|
496
|
+
* HTTP DELETE /map/deleteMap
|
|
497
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
520
498
|
*/
|
|
521
|
-
|
|
499
|
+
deleteMap(options?: O): RestResponse<{
|
|
500
|
+
[id: string]: unknown;
|
|
501
|
+
}>;
|
|
502
|
+
/**
|
|
503
|
+
* HTTP GET /map/getCustomMapInfo
|
|
504
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
505
|
+
*/
|
|
506
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
507
|
+
[id: string]: unknown;
|
|
508
|
+
}>;
|
|
509
|
+
/**
|
|
510
|
+
* HTTP GET /map/js
|
|
511
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
512
|
+
*/
|
|
513
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
514
|
+
[id: string]: unknown;
|
|
515
|
+
}>;
|
|
516
|
+
/**
|
|
517
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
518
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
519
|
+
*/
|
|
520
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
521
|
+
/**
|
|
522
|
+
* HTTP POST /map/upload
|
|
523
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
524
|
+
*/
|
|
525
|
+
uploadMap(queryParams?: {
|
|
526
|
+
filename?: string;
|
|
527
|
+
}, options?: O): RestResponse<{
|
|
528
|
+
[id: string]: unknown;
|
|
529
|
+
}>;
|
|
522
530
|
}
|
|
523
|
-
export declare class
|
|
531
|
+
export declare class DashboardResourceClient<O> {
|
|
524
532
|
protected httpClient: HttpClient<O>;
|
|
525
533
|
constructor(httpClient: HttpClient<O>);
|
|
526
534
|
/**
|
|
527
|
-
* HTTP POST /
|
|
528
|
-
* Java method: org.openremote.model.
|
|
535
|
+
* HTTP POST /dashboard
|
|
536
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
529
537
|
*/
|
|
530
|
-
|
|
538
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
531
539
|
/**
|
|
532
|
-
* HTTP PUT /
|
|
533
|
-
* Java method: org.openremote.model.
|
|
540
|
+
* HTTP PUT /dashboard
|
|
541
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
534
542
|
*/
|
|
535
|
-
|
|
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
|
|
557
|
+
*/
|
|
558
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
559
|
+
/**
|
|
560
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
561
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
562
|
+
*/
|
|
563
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
536
564
|
}
|
|
537
565
|
export declare class AssetResourceClient<O> {
|
|
538
566
|
protected httpClient: HttpClient<O>;
|
|
@@ -638,15 +666,6 @@ export declare class AssetResourceClient<O> {
|
|
|
638
666
|
assetIds?: string[];
|
|
639
667
|
}, options?: O): RestResponse<void>;
|
|
640
668
|
}
|
|
641
|
-
export declare class ConsoleResourceClient<O> {
|
|
642
|
-
protected httpClient: HttpClient<O>;
|
|
643
|
-
constructor(httpClient: HttpClient<O>);
|
|
644
|
-
/**
|
|
645
|
-
* HTTP POST /console/register
|
|
646
|
-
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
647
|
-
*/
|
|
648
|
-
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
649
|
-
}
|
|
650
669
|
export declare class NotificationResourceClient<O> {
|
|
651
670
|
protected httpClient: HttpClient<O>;
|
|
652
671
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -701,151 +720,132 @@ export declare class NotificationResourceClient<O> {
|
|
|
701
720
|
targetId?: string;
|
|
702
721
|
}, options?: O): RestResponse<void>;
|
|
703
722
|
}
|
|
704
|
-
export declare class
|
|
723
|
+
export declare class ConfigurationResourceClient<O> {
|
|
705
724
|
protected httpClient: HttpClient<O>;
|
|
706
725
|
constructor(httpClient: HttpClient<O>);
|
|
707
726
|
/**
|
|
708
|
-
* HTTP
|
|
709
|
-
* Java method: org.openremote.model.
|
|
727
|
+
* HTTP GET /configuration/manager
|
|
728
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
710
729
|
*/
|
|
711
|
-
|
|
730
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
712
731
|
/**
|
|
713
|
-
* HTTP
|
|
714
|
-
* Java method: org.openremote.model.
|
|
732
|
+
* HTTP PUT /configuration/manager
|
|
733
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
715
734
|
*/
|
|
716
|
-
|
|
735
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
717
736
|
/**
|
|
718
|
-
* HTTP
|
|
719
|
-
* Java method: org.openremote.model.
|
|
720
|
-
*/
|
|
721
|
-
getCurrent(options?: O): RestResponse<Model.User>;
|
|
722
|
-
/**
|
|
723
|
-
* HTTP GET /user/userRealmRoles
|
|
724
|
-
* Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
|
|
725
|
-
*/
|
|
726
|
-
getCurrentUserRealmRoles(options?: O): RestResponse<string[]>;
|
|
727
|
-
/**
|
|
728
|
-
* HTTP GET /user/userRoles/{clientId}
|
|
729
|
-
* Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
|
|
730
|
-
*/
|
|
731
|
-
getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<string[]>;
|
|
732
|
-
/**
|
|
733
|
-
* HTTP GET /user/{realm}/disconnect/{sessionID}
|
|
734
|
-
* Java method: org.openremote.model.security.UserResource.disconnectUserSession
|
|
735
|
-
*/
|
|
736
|
-
disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
|
|
737
|
-
/**
|
|
738
|
-
* HTTP PUT /user/{realm}/reset-password/{userId}
|
|
739
|
-
* Java method: org.openremote.model.security.UserResource.resetPassword
|
|
740
|
-
*/
|
|
741
|
-
resetPassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
|
|
742
|
-
/**
|
|
743
|
-
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
744
|
-
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
745
|
-
*/
|
|
746
|
-
resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
|
|
747
|
-
/**
|
|
748
|
-
* HTTP PUT /user/{realm}/roles
|
|
749
|
-
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
750
|
-
*/
|
|
751
|
-
updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
752
|
-
/**
|
|
753
|
-
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
754
|
-
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
737
|
+
* HTTP POST /configuration/manager/file
|
|
738
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
755
739
|
*/
|
|
756
|
-
|
|
740
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
741
|
+
path?: string;
|
|
742
|
+
}, options?: O): RestResponse<string>;
|
|
757
743
|
/**
|
|
758
|
-
* HTTP
|
|
759
|
-
* Java method: org.openremote.model.
|
|
744
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
745
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
760
746
|
*/
|
|
761
|
-
|
|
747
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
748
|
+
}
|
|
749
|
+
export declare class AgentResourceClient<O> {
|
|
750
|
+
protected httpClient: HttpClient<O>;
|
|
751
|
+
constructor(httpClient: HttpClient<O>);
|
|
762
752
|
/**
|
|
763
|
-
* HTTP GET /
|
|
764
|
-
* Java method: org.openremote.model.
|
|
753
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
754
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
765
755
|
*/
|
|
766
|
-
|
|
756
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
757
|
+
realm?: string;
|
|
758
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
767
759
|
/**
|
|
768
|
-
* HTTP
|
|
769
|
-
* Java method: org.openremote.model.
|
|
760
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
761
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
770
762
|
*/
|
|
771
|
-
|
|
763
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
764
|
+
realm?: string;
|
|
765
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
772
766
|
/**
|
|
773
|
-
* HTTP GET /
|
|
774
|
-
* Java method: org.openremote.model.
|
|
767
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
768
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
775
769
|
*/
|
|
776
|
-
|
|
770
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
771
|
+
parentId?: string;
|
|
772
|
+
realm?: string;
|
|
773
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
774
|
+
}
|
|
775
|
+
export declare class RealmResourceClient<O> {
|
|
776
|
+
protected httpClient: HttpClient<O>;
|
|
777
|
+
constructor(httpClient: HttpClient<O>);
|
|
777
778
|
/**
|
|
778
|
-
* HTTP POST /
|
|
779
|
-
* Java method: org.openremote.model.security.
|
|
779
|
+
* HTTP POST /realm
|
|
780
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
780
781
|
*/
|
|
781
|
-
create(realm:
|
|
782
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
782
783
|
/**
|
|
783
|
-
* HTTP
|
|
784
|
-
* Java method: org.openremote.model.security.
|
|
784
|
+
* HTTP GET /realm
|
|
785
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
785
786
|
*/
|
|
786
|
-
|
|
787
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
787
788
|
/**
|
|
788
|
-
* HTTP
|
|
789
|
-
* Java method: org.openremote.model.security.
|
|
789
|
+
* HTTP GET /realm/accessible
|
|
790
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
790
791
|
*/
|
|
791
|
-
|
|
792
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
792
793
|
/**
|
|
793
|
-
* HTTP
|
|
794
|
-
* Java method: org.openremote.model.security.
|
|
794
|
+
* HTTP DELETE /realm/{name}
|
|
795
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
795
796
|
*/
|
|
796
|
-
|
|
797
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
797
798
|
/**
|
|
798
|
-
* HTTP
|
|
799
|
-
* Java method: org.openremote.model.security.
|
|
799
|
+
* HTTP GET /realm/{name}
|
|
800
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
800
801
|
*/
|
|
801
|
-
|
|
802
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
802
803
|
/**
|
|
803
|
-
* HTTP
|
|
804
|
-
* Java method: org.openremote.model.security.
|
|
804
|
+
* HTTP PUT /realm/{name}
|
|
805
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
805
806
|
*/
|
|
806
|
-
|
|
807
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
807
808
|
}
|
|
808
|
-
export declare class
|
|
809
|
+
export declare class ConsoleResourceClient<O> {
|
|
809
810
|
protected httpClient: HttpClient<O>;
|
|
810
811
|
constructor(httpClient: HttpClient<O>);
|
|
811
812
|
/**
|
|
812
|
-
* HTTP
|
|
813
|
-
* Java method: org.openremote.model.
|
|
814
|
-
*/
|
|
815
|
-
getHealthStatus(options?: O): RestResponse<{
|
|
816
|
-
[index: string]: any;
|
|
817
|
-
}>;
|
|
818
|
-
/**
|
|
819
|
-
* HTTP GET /info
|
|
820
|
-
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
813
|
+
* HTTP POST /console/register
|
|
814
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
821
815
|
*/
|
|
822
|
-
|
|
823
|
-
[index: string]: any;
|
|
824
|
-
}>;
|
|
816
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
825
817
|
}
|
|
826
|
-
export declare class
|
|
818
|
+
export declare class SyslogResourceClient<O> {
|
|
827
819
|
protected httpClient: HttpClient<O>;
|
|
828
820
|
constructor(httpClient: HttpClient<O>);
|
|
829
821
|
/**
|
|
830
|
-
* HTTP
|
|
831
|
-
* Java method: org.openremote.model.
|
|
822
|
+
* HTTP GET /syslog/config
|
|
823
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
832
824
|
*/
|
|
833
|
-
|
|
825
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
834
826
|
/**
|
|
835
|
-
* HTTP
|
|
836
|
-
* Java method: org.openremote.model.
|
|
827
|
+
* HTTP PUT /syslog/config
|
|
828
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
837
829
|
*/
|
|
838
|
-
|
|
830
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
839
831
|
/**
|
|
840
|
-
* HTTP DELETE /
|
|
841
|
-
* Java method: org.openremote.model.
|
|
832
|
+
* HTTP DELETE /syslog/event
|
|
833
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
842
834
|
*/
|
|
843
|
-
|
|
835
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
844
836
|
/**
|
|
845
|
-
* HTTP
|
|
846
|
-
* Java method: org.openremote.model.
|
|
837
|
+
* HTTP GET /syslog/event
|
|
838
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
847
839
|
*/
|
|
848
|
-
|
|
840
|
+
getEvents(queryParams?: {
|
|
841
|
+
level?: Model.SyslogLevel;
|
|
842
|
+
per_page?: number;
|
|
843
|
+
page?: number;
|
|
844
|
+
from?: number;
|
|
845
|
+
to?: number;
|
|
846
|
+
category?: Model.SyslogCategory[];
|
|
847
|
+
subCategory?: string[];
|
|
848
|
+
}, options?: O): RestResponse<any>;
|
|
849
849
|
}
|
|
850
850
|
export declare class GatewayServiceResourceClient<O> {
|
|
851
851
|
protected httpClient: HttpClient<O>;
|
|
@@ -878,48 +878,48 @@ export declare class GatewayServiceResourceClient<O> {
|
|
|
878
878
|
}
|
|
879
879
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
880
880
|
export declare class ApiClient {
|
|
881
|
-
protected
|
|
882
|
-
protected
|
|
883
|
-
protected
|
|
881
|
+
protected _userResource: AxiosUserResourceClient;
|
|
882
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
883
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
884
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
884
885
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
885
|
-
protected
|
|
886
|
-
protected
|
|
887
|
-
protected
|
|
886
|
+
protected _appResource: AxiosAppResourceClient;
|
|
887
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
888
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
888
889
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
889
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
890
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
891
890
|
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
892
891
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
893
|
-
protected
|
|
894
|
-
protected
|
|
892
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
893
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
895
894
|
protected _assetResource: AxiosAssetResourceClient;
|
|
896
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
897
895
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
898
|
-
protected
|
|
899
|
-
protected
|
|
900
|
-
protected
|
|
896
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
897
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
898
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
899
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
900
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
901
901
|
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
902
902
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
903
|
-
get
|
|
904
|
-
get
|
|
905
|
-
get
|
|
903
|
+
get UserResource(): AxiosUserResourceClient;
|
|
904
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
905
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
906
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
906
907
|
get RulesResource(): AxiosRulesResourceClient;
|
|
907
|
-
get
|
|
908
|
-
get
|
|
909
|
-
get
|
|
908
|
+
get AppResource(): AxiosAppResourceClient;
|
|
909
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
910
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
910
911
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
911
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
912
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
913
912
|
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
914
913
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
915
|
-
get
|
|
916
|
-
get
|
|
914
|
+
get MapResource(): AxiosMapResourceClient;
|
|
915
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
917
916
|
get AssetResource(): AxiosAssetResourceClient;
|
|
918
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
919
917
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
920
|
-
get
|
|
921
|
-
get
|
|
922
|
-
get
|
|
918
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
919
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
920
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
921
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
922
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
923
923
|
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
924
924
|
}
|
|
925
925
|
import * as Axios from "axios";
|
|
@@ -928,34 +928,31 @@ declare module "axios" {
|
|
|
928
928
|
data: R;
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
|
-
export declare class
|
|
932
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
|
-
}
|
|
934
|
-
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
931
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
935
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
933
|
}
|
|
937
|
-
export declare class
|
|
934
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
938
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
936
|
}
|
|
940
|
-
export declare class
|
|
937
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
941
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
939
|
}
|
|
943
|
-
export declare class
|
|
940
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
944
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
942
|
}
|
|
946
|
-
export declare class
|
|
943
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
947
944
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
945
|
}
|
|
949
|
-
export declare class
|
|
946
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
950
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
948
|
}
|
|
952
|
-
export declare class
|
|
949
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
953
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
951
|
}
|
|
955
|
-
export declare class
|
|
952
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
956
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
954
|
}
|
|
958
|
-
export declare class
|
|
955
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
959
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
957
|
}
|
|
961
958
|
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
@@ -964,28 +961,31 @@ export declare class AxiosAssetDatapointResourceClient extends AssetDatapointRes
|
|
|
964
961
|
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
965
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
963
|
}
|
|
967
|
-
export declare class
|
|
964
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
968
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
966
|
}
|
|
970
|
-
export declare class
|
|
967
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
971
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
969
|
}
|
|
973
970
|
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
974
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
972
|
}
|
|
976
|
-
export declare class
|
|
973
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
977
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
975
|
}
|
|
979
|
-
export declare class
|
|
976
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
980
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
978
|
}
|
|
982
|
-
export declare class
|
|
979
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
983
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
984
981
|
}
|
|
985
|
-
export declare class
|
|
982
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
986
983
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
984
|
}
|
|
988
|
-
export declare class
|
|
985
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
986
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
|
+
}
|
|
988
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
990
|
}
|
|
991
991
|
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|