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