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