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