@openremote/rest 1.11.0 → 1.11.2

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.
@@ -9,14 +9,77 @@ export interface HttpClient<O> {
9
9
  options?: O;
10
10
  }): RestResponse<R>;
11
11
  }
12
- export declare class ConsoleResourceClient<O> {
12
+ export declare class AppResourceClient<O> {
13
13
  protected httpClient: HttpClient<O>;
14
14
  constructor(httpClient: HttpClient<O>);
15
15
  /**
16
- * HTTP POST /console/register
17
- * Java method: org.openremote.model.console.ConsoleResource.register
16
+ * HTTP GET /apps
17
+ * Java method: org.openremote.model.apps.AppResource.getApps
18
18
  */
19
- register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
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
+ export declare class MapResourceClient<O> {
32
+ protected httpClient: HttpClient<O>;
33
+ constructor(httpClient: HttpClient<O>);
34
+ /**
35
+ * HTTP GET /map
36
+ * Java method: org.openremote.model.map.MapResource.getSettings
37
+ */
38
+ getSettings(options?: O): RestResponse<{
39
+ [id: string]: unknown;
40
+ }>;
41
+ /**
42
+ * HTTP PUT /map
43
+ * Java method: org.openremote.model.map.MapResource.saveSettings
44
+ */
45
+ saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
46
+ [id: string]: unknown;
47
+ }>;
48
+ /**
49
+ * HTTP DELETE /map/deleteMap
50
+ * Java method: org.openremote.model.map.MapResource.deleteMap
51
+ */
52
+ deleteMap(options?: O): RestResponse<{
53
+ [id: string]: unknown;
54
+ }>;
55
+ /**
56
+ * HTTP GET /map/getCustomMapInfo
57
+ * Java method: org.openremote.model.map.MapResource.getCustomMapInfo
58
+ */
59
+ getCustomMapInfo(options?: O): RestResponse<{
60
+ [id: string]: unknown;
61
+ }>;
62
+ /**
63
+ * HTTP GET /map/js
64
+ * Java method: org.openremote.model.map.MapResource.getSettingsJs
65
+ */
66
+ getSettingsJs(options?: O): RestResponse<{
67
+ [id: string]: unknown;
68
+ }>;
69
+ /**
70
+ * HTTP GET /map/tile/{zoom}/{column}/{row}
71
+ * Java method: org.openremote.model.map.MapResource.getTile
72
+ */
73
+ getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
74
+ /**
75
+ * HTTP POST /map/upload
76
+ * Java method: org.openremote.model.map.MapResource.uploadMap
77
+ */
78
+ uploadMap(queryParams?: {
79
+ filename?: string;
80
+ }, options?: O): RestResponse<{
81
+ [id: string]: unknown;
82
+ }>;
20
83
  }
21
84
  export declare class RealmResourceClient<O> {
22
85
  protected httpClient: HttpClient<O>;
@@ -52,29 +115,159 @@ export declare class RealmResourceClient<O> {
52
115
  */
53
116
  update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
54
117
  }
55
- export declare class ProvisioningResourceClient<O> {
118
+ export declare class NotificationResourceClient<O> {
56
119
  protected httpClient: HttpClient<O>;
57
120
  constructor(httpClient: HttpClient<O>);
58
121
  /**
59
- * HTTP POST /provisioning
60
- * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
122
+ * HTTP GET /notification
123
+ * Java method: org.openremote.model.notification.NotificationResource.getNotifications
61
124
  */
62
- createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
125
+ getNotifications(queryParams?: {
126
+ id?: number;
127
+ type?: string;
128
+ from?: number;
129
+ to?: number;
130
+ realmId?: string;
131
+ userId?: string;
132
+ assetId?: string;
133
+ }, options?: O): RestResponse<Model.SentNotification[]>;
63
134
  /**
64
- * HTTP GET /provisioning
65
- * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
135
+ * HTTP DELETE /notification
136
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
66
137
  */
67
- getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
138
+ removeNotifications(queryParams?: {
139
+ id?: number;
140
+ type?: string;
141
+ from?: number;
142
+ to?: number;
143
+ realmId?: string;
144
+ userId?: string;
145
+ assetId?: string;
146
+ }, options?: O): RestResponse<void>;
68
147
  /**
69
- * HTTP DELETE /provisioning/{id}
70
- * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
148
+ * HTTP POST /notification/alert
149
+ * Java method: org.openremote.model.notification.NotificationResource.sendNotification
71
150
  */
72
- deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
151
+ sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
73
152
  /**
74
- * HTTP PUT /provisioning/{id}
75
- * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
153
+ * HTTP DELETE /notification/{notificationId}
154
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotification
76
155
  */
77
- updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
156
+ removeNotification(notificationId: number, options?: O): RestResponse<void>;
157
+ /**
158
+ * HTTP PUT /notification/{notificationId}/acknowledged
159
+ * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
160
+ */
161
+ notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
162
+ targetId?: string;
163
+ }, options?: O): RestResponse<void>;
164
+ /**
165
+ * HTTP PUT /notification/{notificationId}/delivered
166
+ * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
167
+ */
168
+ notificationDelivered(notificationId: number, queryParams?: {
169
+ targetId?: string;
170
+ }, options?: O): RestResponse<void>;
171
+ }
172
+ export declare class ConsoleResourceClient<O> {
173
+ protected httpClient: HttpClient<O>;
174
+ constructor(httpClient: HttpClient<O>);
175
+ /**
176
+ * HTTP POST /console/register
177
+ * Java method: org.openremote.model.console.ConsoleResource.register
178
+ */
179
+ register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
180
+ }
181
+ export declare class ExternalServiceResourceClient<O> {
182
+ protected httpClient: HttpClient<O>;
183
+ constructor(httpClient: HttpClient<O>);
184
+ /**
185
+ * Response code 200 - List of registered external services
186
+ * HTTP GET /service
187
+ * Java method: org.openremote.model.services.ExternalServiceResource.getServices
188
+ */
189
+ getServices(queryParams?: {
190
+ realm?: string;
191
+ }, options?: O): RestResponse<Model.ExternalService[]>;
192
+ /**
193
+ * Response code 200 - Service registered successfully
194
+ * Response code 400 - Invalid external service object
195
+ * Response code 409 - ExternalService instance already registered
196
+ * HTTP POST /service
197
+ * Java method: org.openremote.model.services.ExternalServiceResource.registerService
198
+ */
199
+ registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
200
+ /**
201
+ * Response code 200 - List of registered external services
202
+ * HTTP GET /service/global
203
+ * Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
204
+ */
205
+ getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
206
+ /**
207
+ * Response code 200 - Service registered successfully
208
+ * Response code 400 - Invalid external service object
209
+ * Response code 409 - ExternalService instance already registered
210
+ * HTTP POST /service/global
211
+ * Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
212
+ */
213
+ registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
214
+ /**
215
+ * Response code 204 - Service deregistered successfully
216
+ * Response code 404 - Service instance not found
217
+ * HTTP DELETE /service/{serviceId}/{instanceId}
218
+ * Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
219
+ */
220
+ deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
221
+ /**
222
+ * Response code 200 - ExternalService retrieved successfully
223
+ * Response code 404 - ExternalService not found
224
+ * HTTP GET /service/{serviceId}/{instanceId}
225
+ * Java method: org.openremote.model.services.ExternalServiceResource.getService
226
+ */
227
+ getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
228
+ /**
229
+ * Response code 204 - Heartbeat sent successfully
230
+ * Response code 404 - Service instance not found
231
+ * HTTP PUT /service/{serviceId}/{instanceId}
232
+ * Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
233
+ */
234
+ heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
235
+ }
236
+ export declare class GatewayClientResourceClient<O> {
237
+ protected httpClient: HttpClient<O>;
238
+ constructor(httpClient: HttpClient<O>);
239
+ /**
240
+ * HTTP DELETE /gateway/connection
241
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
242
+ */
243
+ deleteConnections(queryParams?: {
244
+ realm?: string[];
245
+ }, options?: O): RestResponse<void>;
246
+ /**
247
+ * HTTP GET /gateway/connection
248
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
249
+ */
250
+ getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
251
+ /**
252
+ * HTTP DELETE /gateway/connection/{realm}
253
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
254
+ */
255
+ deleteConnection(realm: string, options?: O): RestResponse<void>;
256
+ /**
257
+ * HTTP GET /gateway/connection/{realm}
258
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
259
+ */
260
+ getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
261
+ /**
262
+ * HTTP PUT /gateway/connection/{realm}
263
+ * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
264
+ */
265
+ setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
266
+ /**
267
+ * HTTP GET /gateway/status/{realm}
268
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
269
+ */
270
+ getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
78
271
  }
79
272
  export declare class AssetDatapointResourceClient<O> {
80
273
  protected httpClient: HttpClient<O>;
@@ -102,6 +295,194 @@ export declare class AssetDatapointResourceClient<O> {
102
295
  */
103
296
  getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
104
297
  }
298
+ export declare class DashboardResourceClient<O> {
299
+ protected httpClient: HttpClient<O>;
300
+ constructor(httpClient: HttpClient<O>);
301
+ /**
302
+ * HTTP POST /dashboard
303
+ * Java method: org.openremote.model.dashboard.DashboardResource.create
304
+ */
305
+ create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
306
+ /**
307
+ * HTTP PUT /dashboard
308
+ * Java method: org.openremote.model.dashboard.DashboardResource.update
309
+ */
310
+ update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
311
+ /**
312
+ * HTTP GET /dashboard/all/{realm}
313
+ * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
314
+ */
315
+ getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
316
+ /**
317
+ * HTTP POST /dashboard/query
318
+ * Java method: org.openremote.model.dashboard.DashboardResource.query
319
+ */
320
+ query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
321
+ /**
322
+ * HTTP DELETE /dashboard/{realm}/{dashboardId}
323
+ * Java method: org.openremote.model.dashboard.DashboardResource.delete
324
+ */
325
+ delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
326
+ /**
327
+ * HTTP GET /dashboard/{realm}/{dashboardId}
328
+ * Java method: org.openremote.model.dashboard.DashboardResource.get
329
+ */
330
+ get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
331
+ }
332
+ export declare class ProvisioningResourceClient<O> {
333
+ protected httpClient: HttpClient<O>;
334
+ constructor(httpClient: HttpClient<O>);
335
+ /**
336
+ * HTTP POST /provisioning
337
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
338
+ */
339
+ createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
340
+ /**
341
+ * HTTP GET /provisioning
342
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
343
+ */
344
+ getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
345
+ /**
346
+ * HTTP DELETE /provisioning/{id}
347
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
348
+ */
349
+ deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
350
+ /**
351
+ * HTTP PUT /provisioning/{id}
352
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
353
+ */
354
+ updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
355
+ }
356
+ export declare class AlarmResourceClient<O> {
357
+ protected httpClient: HttpClient<O>;
358
+ constructor(httpClient: HttpClient<O>);
359
+ /**
360
+ * HTTP POST /alarm
361
+ * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
362
+ */
363
+ createAlarm(alarm: Model.Alarm, queryParams?: {
364
+ assetIds?: string[];
365
+ }, options?: O): RestResponse<Model.SentAlarm>;
366
+ /**
367
+ * HTTP GET /alarm
368
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
369
+ */
370
+ getAlarms(queryParams?: {
371
+ realm?: string;
372
+ status?: Model.AlarmStatus;
373
+ assetId?: string;
374
+ assigneeId?: string;
375
+ }, options?: O): RestResponse<Model.SentAlarm[]>;
376
+ /**
377
+ * HTTP DELETE /alarm
378
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
379
+ */
380
+ removeAlarms(ids: number[], options?: O): RestResponse<void>;
381
+ /**
382
+ * HTTP PUT /alarm/assets
383
+ * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
384
+ */
385
+ setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
386
+ /**
387
+ * HTTP GET /alarm/{alarmId}
388
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
389
+ */
390
+ getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
391
+ /**
392
+ * HTTP DELETE /alarm/{alarmId}
393
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
394
+ */
395
+ removeAlarm(alarmId: number, options?: O): RestResponse<void>;
396
+ /**
397
+ * HTTP PUT /alarm/{alarmId}
398
+ * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
399
+ */
400
+ updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
401
+ /**
402
+ * HTTP GET /alarm/{alarmId}/assets
403
+ * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
404
+ */
405
+ getAssetLinks(alarmId: number, queryParams?: {
406
+ realm?: string;
407
+ }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
408
+ }
409
+ export declare class StatusResourceClient<O> {
410
+ protected httpClient: HttpClient<O>;
411
+ constructor(httpClient: HttpClient<O>);
412
+ /**
413
+ * HTTP GET /health
414
+ * Java method: org.openremote.model.system.StatusResource.getHealthStatus
415
+ */
416
+ getHealthStatus(options?: O): RestResponse<{
417
+ [index: string]: any;
418
+ }>;
419
+ /**
420
+ * HTTP GET /info
421
+ * Java method: org.openremote.model.system.StatusResource.getInfo
422
+ */
423
+ getInfo(options?: O): RestResponse<{
424
+ [index: string]: any;
425
+ }>;
426
+ }
427
+ export declare class FlowResourceClient<O> {
428
+ protected httpClient: HttpClient<O>;
429
+ constructor(httpClient: HttpClient<O>);
430
+ /**
431
+ * HTTP GET /flow
432
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
433
+ */
434
+ getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
435
+ /**
436
+ * HTTP GET /flow/{name}
437
+ * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
438
+ */
439
+ getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
440
+ /**
441
+ * HTTP GET /flow/{type}
442
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
443
+ */
444
+ getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
445
+ }
446
+ export declare class AgentResourceClient<O> {
447
+ protected httpClient: HttpClient<O>;
448
+ constructor(httpClient: HttpClient<O>);
449
+ /**
450
+ * HTTP GET /agent/assetDiscovery/{agentId}
451
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
452
+ */
453
+ doProtocolAssetDiscovery(agentId: string, queryParams?: {
454
+ realm?: string;
455
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
456
+ /**
457
+ * HTTP POST /agent/assetImport/{agentId}
458
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
459
+ */
460
+ doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
461
+ realm?: string;
462
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
463
+ /**
464
+ * HTTP GET /agent/instanceDiscovery/{agentType}
465
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
466
+ */
467
+ doProtocolInstanceDiscovery(agentType: string, queryParams?: {
468
+ parentId?: string;
469
+ realm?: string;
470
+ }, options?: O): RestResponse<Model.Agent[]>;
471
+ }
472
+ export declare class AssetPredictedDatapointResourceClient<O> {
473
+ protected httpClient: HttpClient<O>;
474
+ constructor(httpClient: HttpClient<O>);
475
+ /**
476
+ * HTTP POST /asset/predicted/{assetId}/{attributeName}
477
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
478
+ */
479
+ getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
480
+ /**
481
+ * HTTP PUT /asset/predicted/{assetId}/{attributeName}
482
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
483
+ */
484
+ writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
485
+ }
105
486
  export declare class AssetResourceClient<O> {
106
487
  protected httpClient: HttpClient<O>;
107
488
  constructor(httpClient: HttpClient<O>);
@@ -211,38 +592,6 @@ export declare class AssetResourceClient<O> {
211
592
  assetIds?: string[];
212
593
  }, options?: O): RestResponse<void>;
213
594
  }
214
- export declare class SyslogResourceClient<O> {
215
- protected httpClient: HttpClient<O>;
216
- constructor(httpClient: HttpClient<O>);
217
- /**
218
- * HTTP GET /syslog/config
219
- * Java method: org.openremote.model.syslog.SyslogResource.getConfig
220
- */
221
- getConfig(options?: O): RestResponse<Model.SyslogConfig>;
222
- /**
223
- * HTTP PUT /syslog/config
224
- * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
225
- */
226
- updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
227
- /**
228
- * HTTP DELETE /syslog/event
229
- * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
230
- */
231
- clearEvents(options?: O): RestResponse<void>;
232
- /**
233
- * HTTP GET /syslog/event
234
- * Java method: org.openremote.model.syslog.SyslogResource.getEvents
235
- */
236
- getEvents(queryParams?: {
237
- level?: Model.SyslogLevel;
238
- per_page?: number;
239
- page?: number;
240
- from?: number;
241
- to?: number;
242
- category?: Model.SyslogCategory[];
243
- subCategory?: string[];
244
- }, options?: O): RestResponse<any>;
245
- }
246
595
  export declare class RulesResourceClient<O> {
247
596
  protected httpClient: HttpClient<O>;
248
597
  constructor(httpClient: HttpClient<O>);
@@ -348,61 +697,8 @@ export declare class RulesResourceClient<O> {
348
697
  /**
349
698
  * HTTP PUT /rules/{id}
350
699
  * Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
351
- */
352
- updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
353
- }
354
- export declare class MapResourceClient<O> {
355
- protected httpClient: HttpClient<O>;
356
- constructor(httpClient: HttpClient<O>);
357
- /**
358
- * HTTP GET /map
359
- * Java method: org.openremote.model.map.MapResource.getSettings
360
- */
361
- getSettings(options?: O): RestResponse<{
362
- [id: string]: unknown;
363
- }>;
364
- /**
365
- * HTTP PUT /map
366
- * Java method: org.openremote.model.map.MapResource.saveSettings
367
- */
368
- saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
369
- [id: string]: unknown;
370
- }>;
371
- /**
372
- * HTTP DELETE /map/deleteMap
373
- * Java method: org.openremote.model.map.MapResource.deleteMap
374
- */
375
- deleteMap(options?: O): RestResponse<{
376
- [id: string]: unknown;
377
- }>;
378
- /**
379
- * HTTP GET /map/getCustomMapInfo
380
- * Java method: org.openremote.model.map.MapResource.getCustomMapInfo
381
- */
382
- getCustomMapInfo(options?: O): RestResponse<{
383
- [id: string]: unknown;
384
- }>;
385
- /**
386
- * HTTP GET /map/js
387
- * Java method: org.openremote.model.map.MapResource.getSettingsJs
388
- */
389
- getSettingsJs(options?: O): RestResponse<{
390
- [id: string]: unknown;
391
- }>;
392
- /**
393
- * HTTP GET /map/tile/{zoom}/{column}/{row}
394
- * Java method: org.openremote.model.map.MapResource.getTile
395
- */
396
- getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
397
- /**
398
- * HTTP POST /map/upload
399
- * Java method: org.openremote.model.map.MapResource.uploadMap
400
- */
401
- uploadMap(queryParams?: {
402
- filename?: string;
403
- }, options?: O): RestResponse<{
404
- [id: string]: unknown;
405
- }>;
700
+ */
701
+ updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
406
702
  }
407
703
  export declare class GatewayServiceResourceClient<O> {
408
704
  protected httpClient: HttpClient<O>;
@@ -433,73 +729,6 @@ export declare class GatewayServiceResourceClient<O> {
433
729
  */
434
730
  getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
435
731
  }
436
- export declare class AssetPredictedDatapointResourceClient<O> {
437
- protected httpClient: HttpClient<O>;
438
- constructor(httpClient: HttpClient<O>);
439
- /**
440
- * HTTP POST /asset/predicted/{assetId}/{attributeName}
441
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
442
- */
443
- getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
444
- /**
445
- * HTTP PUT /asset/predicted/{assetId}/{attributeName}
446
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
447
- */
448
- writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
449
- }
450
- export declare class AppResourceClient<O> {
451
- protected httpClient: HttpClient<O>;
452
- constructor(httpClient: HttpClient<O>);
453
- /**
454
- * HTTP GET /apps
455
- * Java method: org.openremote.model.apps.AppResource.getApps
456
- */
457
- getApps(options?: O): RestResponse<string[]>;
458
- /**
459
- * HTTP GET /apps/consoleConfig
460
- * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
461
- */
462
- getConsoleConfig(options?: O): RestResponse<any>;
463
- /**
464
- * HTTP GET /apps/info
465
- * Java method: org.openremote.model.apps.AppResource.getAppInfos
466
- */
467
- getAppInfos(options?: O): RestResponse<any>;
468
- }
469
- export declare class DashboardResourceClient<O> {
470
- protected httpClient: HttpClient<O>;
471
- constructor(httpClient: HttpClient<O>);
472
- /**
473
- * HTTP POST /dashboard
474
- * Java method: org.openremote.model.dashboard.DashboardResource.create
475
- */
476
- create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
477
- /**
478
- * HTTP PUT /dashboard
479
- * Java method: org.openremote.model.dashboard.DashboardResource.update
480
- */
481
- update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
482
- /**
483
- * HTTP GET /dashboard/all/{realm}
484
- * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
485
- */
486
- getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
487
- /**
488
- * HTTP POST /dashboard/query
489
- * Java method: org.openremote.model.dashboard.DashboardResource.query
490
- */
491
- query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
492
- /**
493
- * HTTP DELETE /dashboard/{realm}/{dashboardId}
494
- * Java method: org.openremote.model.dashboard.DashboardResource.delete
495
- */
496
- delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
497
- /**
498
- * HTTP GET /dashboard/{realm}/{dashboardId}
499
- * Java method: org.openremote.model.dashboard.DashboardResource.get
500
- */
501
- get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
502
- }
503
732
  export declare class UserResourceClient<O> {
504
733
  protected httpClient: HttpClient<O>;
505
734
  constructor(httpClient: HttpClient<O>);
@@ -601,260 +830,86 @@ export declare class UserResourceClient<O> {
601
830
  /**
602
831
  * HTTP PUT /user/{realm}/users
603
832
  * Java method: org.openremote.model.security.UserResource.update
604
- */
605
- update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
606
- /**
607
- * HTTP DELETE /user/{realm}/users/{userId}
608
- * Java method: org.openremote.model.security.UserResource.delete
609
- */
610
- delete(realm: string, userId: string, options?: O): RestResponse<void>;
611
- /**
612
- * HTTP GET /user/{realm}/{clientId}/roles
613
- * Java method: org.openremote.model.security.UserResource.getClientRoles
614
- */
615
- getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
616
- /**
617
- * HTTP PUT /user/{realm}/{clientId}/roles
618
- * Java method: org.openremote.model.security.UserResource.updateClientRoles
619
- */
620
- updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
621
- /**
622
- * HTTP GET /user/{realm}/{userId}
623
- * Java method: org.openremote.model.security.UserResource.get
624
- */
625
- get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
626
- }
627
- export declare class GatewayClientResourceClient<O> {
628
- protected httpClient: HttpClient<O>;
629
- constructor(httpClient: HttpClient<O>);
630
- /**
631
- * HTTP DELETE /gateway/connection
632
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
633
- */
634
- deleteConnections(queryParams?: {
635
- realm?: string[];
636
- }, options?: O): RestResponse<void>;
637
- /**
638
- * HTTP GET /gateway/connection
639
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
640
- */
641
- getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
642
- /**
643
- * HTTP DELETE /gateway/connection/{realm}
644
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
645
- */
646
- deleteConnection(realm: string, options?: O): RestResponse<void>;
647
- /**
648
- * HTTP GET /gateway/connection/{realm}
649
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
650
- */
651
- getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
652
- /**
653
- * HTTP PUT /gateway/connection/{realm}
654
- * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
655
- */
656
- setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
657
- /**
658
- * HTTP GET /gateway/status/{realm}
659
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
660
- */
661
- getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
662
- }
663
- export declare class ConfigurationResourceClient<O> {
664
- protected httpClient: HttpClient<O>;
665
- constructor(httpClient: HttpClient<O>);
666
- /**
667
- * HTTP GET /configuration/manager
668
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
669
- */
670
- getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
671
- /**
672
- * HTTP PUT /configuration/manager
673
- * Java method: org.openremote.model.manager.ConfigurationResource.update
674
- */
675
- update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
676
- /**
677
- * HTTP POST /configuration/manager/file
678
- * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
679
- */
680
- fileUpload(fileInfo: Model.FileInfo, queryParams?: {
681
- path?: string;
682
- }, options?: O): RestResponse<string>;
683
- /**
684
- * HTTP GET /configuration/manager/image/{filename: .+}
685
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
686
- */
687
- getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
688
- }
689
- export declare class FlowResourceClient<O> {
690
- protected httpClient: HttpClient<O>;
691
- constructor(httpClient: HttpClient<O>);
692
- /**
693
- * HTTP GET /flow
694
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
695
- */
696
- getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
697
- /**
698
- * HTTP GET /flow/{name}
699
- * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
700
- */
701
- getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
702
- /**
703
- * HTTP GET /flow/{type}
704
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
705
- */
706
- getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
707
- }
708
- export declare class NotificationResourceClient<O> {
709
- protected httpClient: HttpClient<O>;
710
- constructor(httpClient: HttpClient<O>);
711
- /**
712
- * HTTP GET /notification
713
- * Java method: org.openremote.model.notification.NotificationResource.getNotifications
714
- */
715
- getNotifications(queryParams?: {
716
- id?: number;
717
- type?: string;
718
- from?: number;
719
- to?: number;
720
- realmId?: string;
721
- userId?: string;
722
- assetId?: string;
723
- }, options?: O): RestResponse<Model.SentNotification[]>;
724
- /**
725
- * HTTP DELETE /notification
726
- * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
727
- */
728
- removeNotifications(queryParams?: {
729
- id?: number;
730
- type?: string;
731
- from?: number;
732
- to?: number;
733
- realmId?: string;
734
- userId?: string;
735
- assetId?: string;
736
- }, options?: O): RestResponse<void>;
737
- /**
738
- * HTTP POST /notification/alert
739
- * Java method: org.openremote.model.notification.NotificationResource.sendNotification
740
- */
741
- sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
742
- /**
743
- * HTTP DELETE /notification/{notificationId}
744
- * Java method: org.openremote.model.notification.NotificationResource.removeNotification
745
- */
746
- removeNotification(notificationId: number, options?: O): RestResponse<void>;
747
- /**
748
- * HTTP PUT /notification/{notificationId}/acknowledged
749
- * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
750
- */
751
- notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
752
- targetId?: string;
753
- }, options?: O): RestResponse<void>;
754
- /**
755
- * HTTP PUT /notification/{notificationId}/delivered
756
- * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
757
- */
758
- notificationDelivered(notificationId: number, queryParams?: {
759
- targetId?: string;
760
- }, options?: O): RestResponse<void>;
761
- }
762
- export declare class AgentResourceClient<O> {
763
- protected httpClient: HttpClient<O>;
764
- constructor(httpClient: HttpClient<O>);
765
- /**
766
- * HTTP GET /agent/assetDiscovery/{agentId}
767
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
768
- */
769
- doProtocolAssetDiscovery(agentId: string, queryParams?: {
770
- realm?: string;
771
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
772
- /**
773
- * HTTP POST /agent/assetImport/{agentId}
774
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
775
- */
776
- doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
777
- realm?: string;
778
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
779
- /**
780
- * HTTP GET /agent/instanceDiscovery/{agentType}
781
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
782
- */
783
- doProtocolInstanceDiscovery(agentType: string, queryParams?: {
784
- parentId?: string;
785
- realm?: string;
786
- }, options?: O): RestResponse<Model.Agent[]>;
787
- }
788
- export declare class AlarmResourceClient<O> {
789
- protected httpClient: HttpClient<O>;
790
- constructor(httpClient: HttpClient<O>);
833
+ */
834
+ update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
791
835
  /**
792
- * HTTP POST /alarm
793
- * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
836
+ * HTTP DELETE /user/{realm}/users/{userId}
837
+ * Java method: org.openremote.model.security.UserResource.delete
794
838
  */
795
- createAlarm(alarm: Model.Alarm, queryParams?: {
796
- assetIds?: string[];
797
- }, options?: O): RestResponse<Model.SentAlarm>;
839
+ delete(realm: string, userId: string, options?: O): RestResponse<void>;
798
840
  /**
799
- * HTTP GET /alarm
800
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
841
+ * HTTP GET /user/{realm}/{clientId}/roles
842
+ * Java method: org.openremote.model.security.UserResource.getClientRoles
801
843
  */
802
- getAlarms(queryParams?: {
803
- realm?: string;
804
- status?: Model.AlarmStatus;
805
- assetId?: string;
806
- assigneeId?: string;
807
- }, options?: O): RestResponse<Model.SentAlarm[]>;
844
+ getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
808
845
  /**
809
- * HTTP DELETE /alarm
810
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
846
+ * HTTP PUT /user/{realm}/{clientId}/roles
847
+ * Java method: org.openremote.model.security.UserResource.updateClientRoles
811
848
  */
812
- removeAlarms(ids: number[], options?: O): RestResponse<void>;
849
+ updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
813
850
  /**
814
- * HTTP PUT /alarm/assets
815
- * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
851
+ * HTTP GET /user/{realm}/{userId}
852
+ * Java method: org.openremote.model.security.UserResource.get
816
853
  */
817
- setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
854
+ get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
855
+ }
856
+ export declare class SyslogResourceClient<O> {
857
+ protected httpClient: HttpClient<O>;
858
+ constructor(httpClient: HttpClient<O>);
818
859
  /**
819
- * HTTP GET /alarm/{alarmId}
820
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
860
+ * HTTP GET /syslog/config
861
+ * Java method: org.openremote.model.syslog.SyslogResource.getConfig
821
862
  */
822
- getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
863
+ getConfig(options?: O): RestResponse<Model.SyslogConfig>;
823
864
  /**
824
- * HTTP DELETE /alarm/{alarmId}
825
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
865
+ * HTTP PUT /syslog/config
866
+ * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
826
867
  */
827
- removeAlarm(alarmId: number, options?: O): RestResponse<void>;
868
+ updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
828
869
  /**
829
- * HTTP PUT /alarm/{alarmId}
830
- * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
870
+ * HTTP DELETE /syslog/event
871
+ * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
831
872
  */
832
- updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
873
+ clearEvents(options?: O): RestResponse<void>;
833
874
  /**
834
- * HTTP GET /alarm/{alarmId}/assets
835
- * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
875
+ * HTTP GET /syslog/event
876
+ * Java method: org.openremote.model.syslog.SyslogResource.getEvents
836
877
  */
837
- getAssetLinks(alarmId: number, queryParams?: {
838
- realm?: string;
839
- }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
878
+ getEvents(queryParams?: {
879
+ level?: Model.SyslogLevel;
880
+ per_page?: number;
881
+ page?: number;
882
+ from?: number;
883
+ to?: number;
884
+ category?: Model.SyslogCategory[];
885
+ subCategory?: string[];
886
+ }, options?: O): RestResponse<any>;
840
887
  }
841
- export declare class StatusResourceClient<O> {
888
+ export declare class ConfigurationResourceClient<O> {
842
889
  protected httpClient: HttpClient<O>;
843
890
  constructor(httpClient: HttpClient<O>);
844
891
  /**
845
- * HTTP GET /health
846
- * Java method: org.openremote.model.system.StatusResource.getHealthStatus
892
+ * HTTP GET /configuration/manager
893
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
847
894
  */
848
- getHealthStatus(options?: O): RestResponse<{
849
- [index: string]: any;
850
- }>;
895
+ getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
851
896
  /**
852
- * HTTP GET /info
853
- * Java method: org.openremote.model.system.StatusResource.getInfo
897
+ * HTTP PUT /configuration/manager
898
+ * Java method: org.openremote.model.manager.ConfigurationResource.update
854
899
  */
855
- getInfo(options?: O): RestResponse<{
856
- [index: string]: any;
857
- }>;
900
+ update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
901
+ /**
902
+ * HTTP POST /configuration/manager/file
903
+ * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
904
+ */
905
+ fileUpload(fileInfo: Model.FileInfo, queryParams?: {
906
+ path?: string;
907
+ }, options?: O): RestResponse<string>;
908
+ /**
909
+ * HTTP GET /configuration/manager/image/{filename: .+}
910
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
911
+ */
912
+ getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
858
913
  }
859
914
  export declare class AssetModelResourceClient<O> {
860
915
  protected httpClient: HttpClient<O>;
@@ -909,108 +964,53 @@ export declare class AssetModelResourceClient<O> {
909
964
  [index: string]: Model.ValueDescriptor;
910
965
  }>;
911
966
  }
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 _consoleResource: AxiosConsoleResourceClient;
969
+ protected _appResource: AxiosAppResourceClient;
970
+ protected _mapResource: AxiosMapResourceClient;
970
971
  protected _realmResource: AxiosRealmResourceClient;
971
- protected _provisioningResource: AxiosProvisioningResourceClient;
972
+ protected _notificationResource: AxiosNotificationResourceClient;
973
+ protected _consoleResource: AxiosConsoleResourceClient;
974
+ protected _externalServiceResource: AxiosExternalServiceResourceClient;
975
+ protected _gatewayClientResource: AxiosGatewayClientResourceClient;
972
976
  protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
977
+ protected _dashboardResource: AxiosDashboardResourceClient;
978
+ protected _provisioningResource: AxiosProvisioningResourceClient;
979
+ protected _alarmResource: AxiosAlarmResourceClient;
980
+ protected _statusResource: AxiosStatusResourceClient;
981
+ protected _flowResource: AxiosFlowResourceClient;
982
+ protected _agentResource: AxiosAgentResourceClient;
983
+ protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
973
984
  protected _assetResource: AxiosAssetResourceClient;
974
- protected _syslogResource: AxiosSyslogResourceClient;
975
985
  protected _rulesResource: AxiosRulesResourceClient;
976
- protected _mapResource: AxiosMapResourceClient;
977
986
  protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
978
- protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
979
- protected _appResource: AxiosAppResourceClient;
980
- protected _dashboardResource: AxiosDashboardResourceClient;
981
987
  protected _userResource: AxiosUserResourceClient;
982
- protected _gatewayClientResource: AxiosGatewayClientResourceClient;
988
+ protected _syslogResource: AxiosSyslogResourceClient;
983
989
  protected _configurationResource: AxiosConfigurationResourceClient;
984
- protected _flowResource: AxiosFlowResourceClient;
985
- protected _notificationResource: AxiosNotificationResourceClient;
986
- protected _agentResource: AxiosAgentResourceClient;
987
- protected _alarmResource: AxiosAlarmResourceClient;
988
- protected _statusResource: AxiosStatusResourceClient;
989
990
  protected _assetModelResource: AxiosAssetModelResourceClient;
990
- protected _externalServiceResource: AxiosExternalServiceResourceClient;
991
991
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
992
- get ConsoleResource(): AxiosConsoleResourceClient;
992
+ get AppResource(): AxiosAppResourceClient;
993
+ get MapResource(): AxiosMapResourceClient;
993
994
  get RealmResource(): AxiosRealmResourceClient;
994
- get ProvisioningResource(): AxiosProvisioningResourceClient;
995
+ get NotificationResource(): AxiosNotificationResourceClient;
996
+ get ConsoleResource(): AxiosConsoleResourceClient;
997
+ get ExternalServiceResource(): AxiosExternalServiceResourceClient;
998
+ get GatewayClientResource(): AxiosGatewayClientResourceClient;
995
999
  get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
1000
+ get DashboardResource(): AxiosDashboardResourceClient;
1001
+ get ProvisioningResource(): AxiosProvisioningResourceClient;
1002
+ get AlarmResource(): AxiosAlarmResourceClient;
1003
+ get StatusResource(): AxiosStatusResourceClient;
1004
+ get FlowResource(): AxiosFlowResourceClient;
1005
+ get AgentResource(): AxiosAgentResourceClient;
1006
+ get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
996
1007
  get AssetResource(): AxiosAssetResourceClient;
997
- get SyslogResource(): AxiosSyslogResourceClient;
998
1008
  get RulesResource(): AxiosRulesResourceClient;
999
- get MapResource(): AxiosMapResourceClient;
1000
1009
  get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
1001
- get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
1002
- get AppResource(): AxiosAppResourceClient;
1003
- get DashboardResource(): AxiosDashboardResourceClient;
1004
1010
  get UserResource(): AxiosUserResourceClient;
1005
- get GatewayClientResource(): AxiosGatewayClientResourceClient;
1011
+ get SyslogResource(): AxiosSyslogResourceClient;
1006
1012
  get ConfigurationResource(): AxiosConfigurationResourceClient;
1007
- get FlowResource(): AxiosFlowResourceClient;
1008
- get NotificationResource(): AxiosNotificationResourceClient;
1009
- get AgentResource(): AxiosAgentResourceClient;
1010
- get AlarmResource(): AxiosAlarmResourceClient;
1011
- get StatusResource(): AxiosStatusResourceClient;
1012
1013
  get AssetModelResource(): AxiosAssetModelResourceClient;
1013
- get ExternalServiceResource(): AxiosExternalServiceResourceClient;
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 AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
1021
+ export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1022
1022
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1023
1023
  }
1024
- export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1024
+ export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
1025
1025
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1026
1026
  }
1027
- export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
1027
+ export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1028
1028
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1029
1029
  }
1030
- export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
1030
+ export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
1031
1031
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1032
1032
  }
1033
- export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
1033
+ export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
1034
1034
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1035
1035
  }
1036
- export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1036
+ export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
1037
1037
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1038
1038
  }
1039
- export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
1039
+ export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1040
1040
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1041
1041
  }
1042
- export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
1042
+ export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
1043
1043
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1044
1044
  }
1045
- export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1045
+ export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1046
1046
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1047
1047
  }
1048
- export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1048
+ export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
1049
1049
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1050
1050
  }
1051
- export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1051
+ export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1052
1052
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1053
1053
  }
1054
- export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1054
+ export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
1055
1055
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1056
1056
  }
1057
- export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1057
+ export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1058
1058
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1059
1059
  }
1060
- export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1060
+ export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
1061
1061
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1062
1062
  }
1063
- export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1063
+ export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1064
1064
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1065
1065
  }
1066
- export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1066
+ export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
1067
1067
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1068
1068
  }
1069
- export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
1069
+ export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
1070
1070
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1071
1071
  }
1072
- export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
1072
+ export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1073
1073
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1074
1074
  }
1075
- export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1075
+ export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1076
1076
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1077
1077
  }
1078
- export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
1078
+ export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1079
1079
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1080
1080
  }
1081
- export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
1081
+ export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1082
1082
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1083
1083
  }
1084
- export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
1084
+ export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
1085
1085
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1086
1086
  }