@openremote/rest 1.2.3 → 1.2.4

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.
@@ -41,6 +41,68 @@ export declare class SyslogResourceClient<O> {
41
41
  subCategory?: any[];
42
42
  }, options?: O): RestResponse<any>;
43
43
  }
44
+ export declare class AssetDatapointResourceClient<O> {
45
+ protected httpClient: HttpClient<O>;
46
+ constructor(httpClient: HttpClient<O>);
47
+ /**
48
+ * HTTP GET /asset/datapoint/export
49
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
50
+ */
51
+ getDatapointExport(queryParams?: {
52
+ attributeRefs?: any;
53
+ fromTimestamp?: number;
54
+ toTimestamp?: number;
55
+ }, options?: O): RestResponse<any>;
56
+ /**
57
+ * HTTP GET /asset/datapoint/periods
58
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
59
+ */
60
+ getDatapointPeriod(queryParams?: {
61
+ assetId?: any;
62
+ attributeName?: any;
63
+ }, options?: O): RestResponse<Model.DatapointPeriod>;
64
+ /**
65
+ * HTTP POST /asset/datapoint/{assetId}/{attributeName}
66
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
67
+ */
68
+ getDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
69
+ }
70
+ export declare class GatewayClientResourceClient<O> {
71
+ protected httpClient: HttpClient<O>;
72
+ constructor(httpClient: HttpClient<O>);
73
+ /**
74
+ * HTTP DELETE /gateway/connection
75
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
76
+ */
77
+ deleteConnections(queryParams?: {
78
+ realm?: any[];
79
+ }, options?: O): RestResponse<void>;
80
+ /**
81
+ * HTTP GET /gateway/connection
82
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
83
+ */
84
+ getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
85
+ /**
86
+ * HTTP DELETE /gateway/connection/{realm}
87
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
88
+ */
89
+ deleteConnection(realm: any, options?: O): RestResponse<void>;
90
+ /**
91
+ * HTTP GET /gateway/connection/{realm}
92
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
93
+ */
94
+ getConnection(realm: any, options?: O): RestResponse<Model.GatewayConnection>;
95
+ /**
96
+ * HTTP PUT /gateway/connection/{realm}
97
+ * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
98
+ */
99
+ setConnection(realm: any, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
100
+ /**
101
+ * HTTP GET /gateway/status/{realm}
102
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
103
+ */
104
+ getConnectionStatus(realm: any, options?: O): RestResponse<Model.ConnectionStatus>;
105
+ }
44
106
  export declare class RealmResourceClient<O> {
45
107
  protected httpClient: HttpClient<O>;
46
108
  constructor(httpClient: HttpClient<O>);
@@ -75,58 +137,6 @@ export declare class RealmResourceClient<O> {
75
137
  */
76
138
  update(name: any, realm: Model.Realm, options?: O): RestResponse<void>;
77
139
  }
78
- export declare class DashboardResourceClient<O> {
79
- protected httpClient: HttpClient<O>;
80
- constructor(httpClient: HttpClient<O>);
81
- /**
82
- * HTTP POST /dashboard
83
- * Java method: org.openremote.model.dashboard.DashboardResource.create
84
- */
85
- create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
86
- /**
87
- * HTTP PUT /dashboard
88
- * Java method: org.openremote.model.dashboard.DashboardResource.update
89
- */
90
- update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
91
- /**
92
- * HTTP GET /dashboard/all/{realm}
93
- * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
94
- */
95
- getAllRealmDashboards(realm: any, options?: O): RestResponse<Model.Dashboard[]>;
96
- /**
97
- * HTTP POST /dashboard/query
98
- * Java method: org.openremote.model.dashboard.DashboardResource.query
99
- */
100
- query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
101
- /**
102
- * HTTP DELETE /dashboard/{realm}/{dashboardId}
103
- * Java method: org.openremote.model.dashboard.DashboardResource.delete
104
- */
105
- delete(realm: any, dashboardId: any, options?: O): RestResponse<void>;
106
- /**
107
- * HTTP GET /dashboard/{realm}/{dashboardId}
108
- * Java method: org.openremote.model.dashboard.DashboardResource.get
109
- */
110
- get(realm: any, dashboardId: any, options?: O): RestResponse<Model.Dashboard>;
111
- }
112
- export declare class StatusResourceClient<O> {
113
- protected httpClient: HttpClient<O>;
114
- constructor(httpClient: HttpClient<O>);
115
- /**
116
- * HTTP GET /health
117
- * Java method: org.openremote.model.system.StatusResource.getHealthStatus
118
- */
119
- getHealthStatus(options?: O): RestResponse<{
120
- [index: string]: any;
121
- }>;
122
- /**
123
- * HTTP GET /info
124
- * Java method: org.openremote.model.system.StatusResource.getInfo
125
- */
126
- getInfo(options?: O): RestResponse<{
127
- [index: string]: any;
128
- }>;
129
- }
130
140
  export declare class AppResourceClient<O> {
131
141
  protected httpClient: HttpClient<O>;
132
142
  constructor(httpClient: HttpClient<O>);
@@ -146,115 +156,34 @@ export declare class AppResourceClient<O> {
146
156
  */
147
157
  getAppInfos(options?: O): RestResponse<any>;
148
158
  }
149
- export declare class MapResourceClient<O> {
150
- protected httpClient: HttpClient<O>;
151
- constructor(httpClient: HttpClient<O>);
152
- /**
153
- * HTTP GET /map
154
- * Java method: org.openremote.model.map.MapResource.getSettings
155
- */
156
- getSettings(options?: O): RestResponse<{
157
- [id: string]: any;
158
- }>;
159
- /**
160
- * HTTP PUT /map
161
- * Java method: org.openremote.model.map.MapResource.saveSettings
162
- */
163
- saveSettings(mapConfig: {
164
- [index: string]: Model.MapRealmConfig;
165
- }, options?: O): RestResponse<any>;
166
- /**
167
- * HTTP GET /map/js
168
- * Java method: org.openremote.model.map.MapResource.getSettingsJs
169
- */
170
- getSettingsJs(options?: O): RestResponse<{
171
- [id: string]: any;
172
- }>;
173
- /**
174
- * HTTP GET /map/tile/{zoom}/{column}/{row}
175
- * Java method: org.openremote.model.map.MapResource.getTile
176
- */
177
- getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
178
- }
179
- export declare class NotificationResourceClient<O> {
159
+ export declare class GatewayServiceResourceClient<O> {
180
160
  protected httpClient: HttpClient<O>;
181
161
  constructor(httpClient: HttpClient<O>);
182
162
  /**
183
- * HTTP GET /notification
184
- * Java method: org.openremote.model.notification.NotificationResource.getNotifications
185
- */
186
- getNotifications(queryParams?: {
187
- id?: any;
188
- type?: any;
189
- from?: any;
190
- to?: any;
191
- realmId?: any;
192
- userId?: any;
193
- assetId?: any;
194
- }, options?: O): RestResponse<Model.SentNotification[]>;
195
- /**
196
- * HTTP DELETE /notification
197
- * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
198
- */
199
- removeNotifications(queryParams?: {
200
- id?: any;
201
- type?: any;
202
- from?: any;
203
- to?: any;
204
- realmId?: any;
205
- userId?: any;
206
- assetId?: any;
207
- }, options?: O): RestResponse<void>;
208
- /**
209
- * HTTP POST /notification/alert
210
- * Java method: org.openremote.model.notification.NotificationResource.sendNotification
211
- */
212
- sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
213
- /**
214
- * HTTP DELETE /notification/{notificationId}
215
- * Java method: org.openremote.model.notification.NotificationResource.removeNotification
216
- */
217
- removeNotification(notificationId: any, options?: O): RestResponse<void>;
218
- /**
219
- * HTTP PUT /notification/{notificationId}/acknowledged
220
- * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
163
+ * HTTP POST /gateway/tunnel
164
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
221
165
  */
222
- notificationAcknowledged(notificationId: any, acknowledgement: any, queryParams?: {
223
- targetId?: any;
224
- }, options?: O): RestResponse<void>;
166
+ startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
225
167
  /**
226
- * HTTP PUT /notification/{notificationId}/delivered
227
- * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
168
+ * HTTP DELETE /gateway/tunnel
169
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
228
170
  */
229
- notificationDelivered(notificationId: any, queryParams?: {
230
- targetId?: any;
231
- }, options?: O): RestResponse<void>;
232
- }
233
- export declare class AgentResourceClient<O> {
234
- protected httpClient: HttpClient<O>;
235
- constructor(httpClient: HttpClient<O>);
171
+ stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
236
172
  /**
237
- * HTTP GET /agent/assetDiscovery/{agentId}
238
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
173
+ * HTTP GET /gateway/tunnel/{realm}
174
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
239
175
  */
240
- doProtocolAssetDiscovery(agentId: any, queryParams?: {
241
- realm?: any;
242
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
176
+ getAllActiveTunnelInfos(realm: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
243
177
  /**
244
- * HTTP POST /agent/assetImport/{agentId}
245
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
178
+ * HTTP GET /gateway/tunnel/{realm}/{id}
179
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
246
180
  */
247
- doProtocolAssetImport(agentId: any, fileInfo: Model.FileInfo, queryParams?: {
248
- realm?: any;
249
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
181
+ getGatewayActiveTunnelInfos(realm: any, id: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
250
182
  /**
251
- * HTTP GET /agent/instanceDiscovery/{agentType}
252
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
183
+ * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
184
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
253
185
  */
254
- doProtocolInstanceDiscovery(agentType: any, queryParams?: {
255
- parentId?: any;
256
- realm?: any;
257
- }, options?: O): RestResponse<Model.Agent[]>;
186
+ getActiveTunnelInfo(realm: any, id: any, target: any, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
258
187
  }
259
188
  export declare class ConsoleResourceClient<O> {
260
189
  protected httpClient: HttpClient<O>;
@@ -265,180 +194,140 @@ export declare class ConsoleResourceClient<O> {
265
194
  */
266
195
  register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
267
196
  }
268
- export declare class RulesResourceClient<O> {
197
+ export declare class DashboardResourceClient<O> {
269
198
  protected httpClient: HttpClient<O>;
270
199
  constructor(httpClient: HttpClient<O>);
271
200
  /**
272
- * HTTP POST /rules
273
- * Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
274
- */
275
- createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
276
- /**
277
- * HTTP GET /rules
278
- * Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
279
- */
280
- getGlobalRulesets(queryParams?: {
281
- language?: Model.RulesetLang[];
282
- fullyPopulate?: boolean;
283
- }, options?: O): RestResponse<Model.GlobalRuleset[]>;
284
- /**
285
- * HTTP POST /rules/asset
286
- * Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
287
- */
288
- createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
289
- /**
290
- * HTTP GET /rules/asset/for/{assetId}
291
- * Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
292
- */
293
- getAssetRulesets(assetId: any, queryParams?: {
294
- language?: Model.RulesetLang[];
295
- fullyPopulate?: boolean;
296
- }, options?: O): RestResponse<Model.AssetRuleset[]>;
297
- /**
298
- * HTTP DELETE /rules/asset/{id}
299
- * Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
300
- */
301
- deleteAssetRuleset(id: any, options?: O): RestResponse<void>;
302
- /**
303
- * HTTP GET /rules/asset/{id}
304
- * Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
305
- */
306
- getAssetRuleset(id: any, options?: O): RestResponse<Model.AssetRuleset>;
307
- /**
308
- * HTTP PUT /rules/asset/{id}
309
- * Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
310
- */
311
- updateAssetRuleset(id: any, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
312
- /**
313
- * HTTP GET /rules/geofences/{assetId}
314
- * Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
315
- */
316
- getAssetGeofences(assetId: any, options?: O): RestResponse<Model.GeofenceDefinition[]>;
317
- /**
318
- * HTTP GET /rules/info/asset/{assetId}
319
- * Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
320
- */
321
- getAssetEngineInfo(assetId: any, options?: O): RestResponse<Model.RulesEngineInfo>;
322
- /**
323
- * HTTP GET /rules/info/global
324
- * Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
201
+ * HTTP POST /dashboard
202
+ * Java method: org.openremote.model.dashboard.DashboardResource.create
325
203
  */
326
- getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
204
+ create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
327
205
  /**
328
- * HTTP GET /rules/info/realm/{realm}
329
- * Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
206
+ * HTTP PUT /dashboard
207
+ * Java method: org.openremote.model.dashboard.DashboardResource.update
330
208
  */
331
- getRealmEngineInfo(realm: any, options?: O): RestResponse<Model.RulesEngineInfo>;
209
+ update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
332
210
  /**
333
- * HTTP POST /rules/realm
334
- * Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
211
+ * HTTP GET /dashboard/all/{realm}
212
+ * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
335
213
  */
336
- createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
214
+ getAllRealmDashboards(realm: any, options?: O): RestResponse<Model.Dashboard[]>;
337
215
  /**
338
- * HTTP GET /rules/realm/for/{realm}
339
- * Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
216
+ * HTTP POST /dashboard/query
217
+ * Java method: org.openremote.model.dashboard.DashboardResource.query
340
218
  */
341
- getRealmRulesets(realm: any, queryParams?: {
342
- language?: Model.RulesetLang[];
343
- fullyPopulate?: boolean;
344
- }, options?: O): RestResponse<Model.RealmRuleset[]>;
219
+ query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
345
220
  /**
346
- * HTTP DELETE /rules/realm/{id}
347
- * Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
221
+ * HTTP DELETE /dashboard/{realm}/{dashboardId}
222
+ * Java method: org.openremote.model.dashboard.DashboardResource.delete
348
223
  */
349
- deleteRealmRuleset(id: any, options?: O): RestResponse<void>;
224
+ delete(realm: any, dashboardId: any, options?: O): RestResponse<void>;
350
225
  /**
351
- * HTTP GET /rules/realm/{id}
352
- * Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
226
+ * HTTP GET /dashboard/{realm}/{dashboardId}
227
+ * Java method: org.openremote.model.dashboard.DashboardResource.get
353
228
  */
354
- getRealmRuleset(id: any, options?: O): RestResponse<Model.RealmRuleset>;
229
+ get(realm: any, dashboardId: any, options?: O): RestResponse<Model.Dashboard>;
230
+ }
231
+ export declare class MapResourceClient<O> {
232
+ protected httpClient: HttpClient<O>;
233
+ constructor(httpClient: HttpClient<O>);
355
234
  /**
356
- * HTTP PUT /rules/realm/{id}
357
- * Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
235
+ * HTTP GET /map
236
+ * Java method: org.openremote.model.map.MapResource.getSettings
358
237
  */
359
- updateRealmRuleset(id: any, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
238
+ getSettings(options?: O): RestResponse<{
239
+ [id: string]: any;
240
+ }>;
360
241
  /**
361
- * HTTP DELETE /rules/{id}
362
- * Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
242
+ * HTTP PUT /map
243
+ * Java method: org.openremote.model.map.MapResource.saveSettings
363
244
  */
364
- deleteGlobalRuleset(id: any, options?: O): RestResponse<void>;
365
- /**
366
- * HTTP GET /rules/{id}
367
- * Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
245
+ saveSettings(mapConfig: {
246
+ [index: string]: Model.MapRealmConfig;
247
+ }, options?: O): RestResponse<any>;
248
+ /**
249
+ * HTTP GET /map/js
250
+ * Java method: org.openremote.model.map.MapResource.getSettingsJs
368
251
  */
369
- getGlobalRuleset(id: any, options?: O): RestResponse<Model.GlobalRuleset>;
252
+ getSettingsJs(options?: O): RestResponse<{
253
+ [id: string]: any;
254
+ }>;
370
255
  /**
371
- * HTTP PUT /rules/{id}
372
- * Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
256
+ * HTTP GET /map/tile/{zoom}/{column}/{row}
257
+ * Java method: org.openremote.model.map.MapResource.getTile
373
258
  */
374
- updateGlobalRuleset(id: any, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
259
+ getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
375
260
  }
376
- export declare class ProvisioningResourceClient<O> {
261
+ export declare class AssetModelResourceClient<O> {
377
262
  protected httpClient: HttpClient<O>;
378
263
  constructor(httpClient: HttpClient<O>);
379
264
  /**
380
- * HTTP POST /provisioning
381
- * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
382
- */
383
- createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
384
- /**
385
- * HTTP GET /provisioning
386
- * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
265
+ * HTTP GET /model/assetDescriptors
266
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
387
267
  */
388
- getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
268
+ getAssetDescriptors(queryParams?: {
269
+ parentId?: any;
270
+ parentType?: any;
271
+ }, options?: O): RestResponse<Model.AssetDescriptor[]>;
389
272
  /**
390
- * HTTP DELETE /provisioning/{id}
391
- * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
273
+ * HTTP GET /model/assetInfo/{assetType}
274
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
392
275
  */
393
- deleteProvisioningConfig(id: any, options?: O): RestResponse<void>;
276
+ getAssetInfo(assetType: any, queryParams?: {
277
+ parentId?: any;
278
+ }, options?: O): RestResponse<Model.AssetTypeInfo>;
394
279
  /**
395
- * HTTP PUT /provisioning/{id}
396
- * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
280
+ * HTTP GET /model/assetInfos
281
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
397
282
  */
398
- updateProvisioningConfig(id: any, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
399
- }
400
- export declare class AssetPredictedDatapointResourceClient<O> {
401
- protected httpClient: HttpClient<O>;
402
- constructor(httpClient: HttpClient<O>);
283
+ getAssetInfos(queryParams?: {
284
+ parentId?: any;
285
+ parentType?: any;
286
+ }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
403
287
  /**
404
- * HTTP POST /asset/predicted/{assetId}/{attributeName}
405
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
288
+ * HTTP GET /model/metaItemDescriptors
289
+ * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
406
290
  */
407
- getPredictedDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
291
+ getMetaItemDescriptors(queryParams?: {
292
+ parentId?: any;
293
+ }, options?: O): RestResponse<{
294
+ [index: string]: Model.MetaItemDescriptor;
295
+ }>;
408
296
  /**
409
- * HTTP PUT /asset/predicted/{assetId}/{attributeName}
410
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
297
+ * HTTP GET /model/valueDescriptors
298
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
411
299
  */
412
- writePredictedDatapoints(assetId: any, attributeName: any, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
300
+ getValueDescriptors(queryParams?: {
301
+ parentId?: any;
302
+ }, options?: O): RestResponse<{
303
+ [index: string]: Model.ValueDescriptor;
304
+ }>;
413
305
  }
414
- export declare class GatewayServiceResourceClient<O> {
306
+ export declare class AgentResourceClient<O> {
415
307
  protected httpClient: HttpClient<O>;
416
308
  constructor(httpClient: HttpClient<O>);
417
309
  /**
418
- * HTTP POST /gateway/tunnel
419
- * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
420
- */
421
- startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
422
- /**
423
- * HTTP DELETE /gateway/tunnel
424
- * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
425
- */
426
- stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
427
- /**
428
- * HTTP GET /gateway/tunnel/{realm}
429
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
310
+ * HTTP GET /agent/assetDiscovery/{agentId}
311
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
430
312
  */
431
- getAllActiveTunnelInfos(realm: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
313
+ doProtocolAssetDiscovery(agentId: any, queryParams?: {
314
+ realm?: any;
315
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
432
316
  /**
433
- * HTTP GET /gateway/tunnel/{realm}/{id}
434
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
317
+ * HTTP POST /agent/assetImport/{agentId}
318
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
435
319
  */
436
- getGatewayActiveTunnelInfos(realm: any, id: any, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
320
+ doProtocolAssetImport(agentId: any, fileInfo: Model.FileInfo, queryParams?: {
321
+ realm?: any;
322
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
437
323
  /**
438
- * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
439
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
324
+ * HTTP GET /agent/instanceDiscovery/{agentType}
325
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
440
326
  */
441
- getActiveTunnelInfo(realm: any, id: any, target: any, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
327
+ doProtocolInstanceDiscovery(agentType: any, queryParams?: {
328
+ parentId?: any;
329
+ realm?: any;
330
+ }, options?: O): RestResponse<Model.Agent[]>;
442
331
  }
443
332
  export declare class AssetResourceClient<O> {
444
333
  protected httpClient: HttpClient<O>;
@@ -544,6 +433,24 @@ export declare class AssetResourceClient<O> {
544
433
  assetIds?: any[];
545
434
  }, options?: O): RestResponse<void>;
546
435
  }
436
+ export declare class StatusResourceClient<O> {
437
+ protected httpClient: HttpClient<O>;
438
+ constructor(httpClient: HttpClient<O>);
439
+ /**
440
+ * HTTP GET /health
441
+ * Java method: org.openremote.model.system.StatusResource.getHealthStatus
442
+ */
443
+ getHealthStatus(options?: O): RestResponse<{
444
+ [index: string]: any;
445
+ }>;
446
+ /**
447
+ * HTTP GET /info
448
+ * Java method: org.openremote.model.system.StatusResource.getInfo
449
+ */
450
+ getInfo(options?: O): RestResponse<{
451
+ [index: string]: any;
452
+ }>;
453
+ }
547
454
  export declare class FlowResourceClient<O> {
548
455
  protected httpClient: HttpClient<O>;
549
456
  constructor(httpClient: HttpClient<O>);
@@ -563,6 +470,84 @@ export declare class FlowResourceClient<O> {
563
470
  */
564
471
  getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
565
472
  }
473
+ export declare class ProvisioningResourceClient<O> {
474
+ protected httpClient: HttpClient<O>;
475
+ constructor(httpClient: HttpClient<O>);
476
+ /**
477
+ * HTTP POST /provisioning
478
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
479
+ */
480
+ createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
481
+ /**
482
+ * HTTP GET /provisioning
483
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
484
+ */
485
+ getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
486
+ /**
487
+ * HTTP DELETE /provisioning/{id}
488
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
489
+ */
490
+ deleteProvisioningConfig(id: any, options?: O): RestResponse<void>;
491
+ /**
492
+ * HTTP PUT /provisioning/{id}
493
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
494
+ */
495
+ updateProvisioningConfig(id: any, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
496
+ }
497
+ export declare class NotificationResourceClient<O> {
498
+ protected httpClient: HttpClient<O>;
499
+ constructor(httpClient: HttpClient<O>);
500
+ /**
501
+ * HTTP GET /notification
502
+ * Java method: org.openremote.model.notification.NotificationResource.getNotifications
503
+ */
504
+ getNotifications(queryParams?: {
505
+ id?: any;
506
+ type?: any;
507
+ from?: any;
508
+ to?: any;
509
+ realmId?: any;
510
+ userId?: any;
511
+ assetId?: any;
512
+ }, options?: O): RestResponse<Model.SentNotification[]>;
513
+ /**
514
+ * HTTP DELETE /notification
515
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
516
+ */
517
+ removeNotifications(queryParams?: {
518
+ id?: any;
519
+ type?: any;
520
+ from?: any;
521
+ to?: any;
522
+ realmId?: any;
523
+ userId?: any;
524
+ assetId?: any;
525
+ }, options?: O): RestResponse<void>;
526
+ /**
527
+ * HTTP POST /notification/alert
528
+ * Java method: org.openremote.model.notification.NotificationResource.sendNotification
529
+ */
530
+ sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
531
+ /**
532
+ * HTTP DELETE /notification/{notificationId}
533
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotification
534
+ */
535
+ removeNotification(notificationId: any, options?: O): RestResponse<void>;
536
+ /**
537
+ * HTTP PUT /notification/{notificationId}/acknowledged
538
+ * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
539
+ */
540
+ notificationAcknowledged(notificationId: any, acknowledgement: any, queryParams?: {
541
+ targetId?: any;
542
+ }, options?: O): RestResponse<void>;
543
+ /**
544
+ * HTTP PUT /notification/{notificationId}/delivered
545
+ * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
546
+ */
547
+ notificationDelivered(notificationId: any, queryParams?: {
548
+ targetId?: any;
549
+ }, options?: O): RestResponse<void>;
550
+ }
566
551
  export declare class UserResourceClient<O> {
567
552
  protected httpClient: HttpClient<O>;
568
553
  constructor(httpClient: HttpClient<O>);
@@ -670,84 +655,130 @@ export declare class UserResourceClient<O> {
670
655
  * HTTP DELETE /user/{realm}/users/{userId}
671
656
  * Java method: org.openremote.model.security.UserResource.delete
672
657
  */
673
- delete(realm: any, userId: any, options?: O): RestResponse<void>;
658
+ delete(realm: any, userId: any, options?: O): RestResponse<void>;
659
+ /**
660
+ * HTTP GET /user/{realm}/{clientId}/roles
661
+ * Java method: org.openremote.model.security.UserResource.getClientRoles
662
+ */
663
+ getClientRoles(realm: any, clientId: any, options?: O): RestResponse<Model.Role[]>;
664
+ /**
665
+ * HTTP PUT /user/{realm}/{clientId}/roles
666
+ * Java method: org.openremote.model.security.UserResource.updateClientRoles
667
+ */
668
+ updateClientRoles(realm: any, clientId: any, roles: Model.Role[], options?: O): RestResponse<void>;
669
+ /**
670
+ * HTTP GET /user/{realm}/{userId}
671
+ * Java method: org.openremote.model.security.UserResource.get
672
+ */
673
+ get(realm: any, userId: any, options?: O): RestResponse<Model.User>;
674
+ }
675
+ export declare class RulesResourceClient<O> {
676
+ protected httpClient: HttpClient<O>;
677
+ constructor(httpClient: HttpClient<O>);
678
+ /**
679
+ * HTTP POST /rules
680
+ * Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
681
+ */
682
+ createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
683
+ /**
684
+ * HTTP GET /rules
685
+ * Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
686
+ */
687
+ getGlobalRulesets(queryParams?: {
688
+ language?: Model.RulesetLang[];
689
+ fullyPopulate?: boolean;
690
+ }, options?: O): RestResponse<Model.GlobalRuleset[]>;
691
+ /**
692
+ * HTTP POST /rules/asset
693
+ * Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
694
+ */
695
+ createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
696
+ /**
697
+ * HTTP GET /rules/asset/for/{assetId}
698
+ * Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
699
+ */
700
+ getAssetRulesets(assetId: any, queryParams?: {
701
+ language?: Model.RulesetLang[];
702
+ fullyPopulate?: boolean;
703
+ }, options?: O): RestResponse<Model.AssetRuleset[]>;
704
+ /**
705
+ * HTTP DELETE /rules/asset/{id}
706
+ * Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
707
+ */
708
+ deleteAssetRuleset(id: any, options?: O): RestResponse<void>;
709
+ /**
710
+ * HTTP GET /rules/asset/{id}
711
+ * Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
712
+ */
713
+ getAssetRuleset(id: any, options?: O): RestResponse<Model.AssetRuleset>;
674
714
  /**
675
- * HTTP GET /user/{realm}/{clientId}/roles
676
- * Java method: org.openremote.model.security.UserResource.getClientRoles
715
+ * HTTP PUT /rules/asset/{id}
716
+ * Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
677
717
  */
678
- getClientRoles(realm: any, clientId: any, options?: O): RestResponse<Model.Role[]>;
718
+ updateAssetRuleset(id: any, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
679
719
  /**
680
- * HTTP PUT /user/{realm}/{clientId}/roles
681
- * Java method: org.openremote.model.security.UserResource.updateClientRoles
720
+ * HTTP GET /rules/geofences/{assetId}
721
+ * Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
682
722
  */
683
- updateClientRoles(realm: any, clientId: any, roles: Model.Role[], options?: O): RestResponse<void>;
723
+ getAssetGeofences(assetId: any, options?: O): RestResponse<Model.GeofenceDefinition[]>;
684
724
  /**
685
- * HTTP GET /user/{realm}/{userId}
686
- * Java method: org.openremote.model.security.UserResource.get
725
+ * HTTP GET /rules/info/asset/{assetId}
726
+ * Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
687
727
  */
688
- get(realm: any, userId: any, options?: O): RestResponse<Model.User>;
689
- }
690
- export declare class GatewayClientResourceClient<O> {
691
- protected httpClient: HttpClient<O>;
692
- constructor(httpClient: HttpClient<O>);
728
+ getAssetEngineInfo(assetId: any, options?: O): RestResponse<Model.RulesEngineInfo>;
693
729
  /**
694
- * HTTP DELETE /gateway/connection
695
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
730
+ * HTTP GET /rules/info/global
731
+ * Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
696
732
  */
697
- deleteConnections(queryParams?: {
698
- realm?: any[];
699
- }, options?: O): RestResponse<void>;
733
+ getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
700
734
  /**
701
- * HTTP GET /gateway/connection
702
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
735
+ * HTTP GET /rules/info/realm/{realm}
736
+ * Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
703
737
  */
704
- getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
738
+ getRealmEngineInfo(realm: any, options?: O): RestResponse<Model.RulesEngineInfo>;
705
739
  /**
706
- * HTTP DELETE /gateway/connection/{realm}
707
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
740
+ * HTTP POST /rules/realm
741
+ * Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
708
742
  */
709
- deleteConnection(realm: any, options?: O): RestResponse<void>;
743
+ createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
710
744
  /**
711
- * HTTP GET /gateway/connection/{realm}
712
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
745
+ * HTTP GET /rules/realm/for/{realm}
746
+ * Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
713
747
  */
714
- getConnection(realm: any, options?: O): RestResponse<Model.GatewayConnection>;
748
+ getRealmRulesets(realm: any, queryParams?: {
749
+ language?: Model.RulesetLang[];
750
+ fullyPopulate?: boolean;
751
+ }, options?: O): RestResponse<Model.RealmRuleset[]>;
715
752
  /**
716
- * HTTP PUT /gateway/connection/{realm}
717
- * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
753
+ * HTTP DELETE /rules/realm/{id}
754
+ * Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
718
755
  */
719
- setConnection(realm: any, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
756
+ deleteRealmRuleset(id: any, options?: O): RestResponse<void>;
720
757
  /**
721
- * HTTP GET /gateway/status/{realm}
722
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
758
+ * HTTP GET /rules/realm/{id}
759
+ * Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
723
760
  */
724
- getConnectionStatus(realm: any, options?: O): RestResponse<Model.ConnectionStatus>;
725
- }
726
- export declare class ConfigurationResourceClient<O> {
727
- protected httpClient: HttpClient<O>;
728
- constructor(httpClient: HttpClient<O>);
761
+ getRealmRuleset(id: any, options?: O): RestResponse<Model.RealmRuleset>;
729
762
  /**
730
- * HTTP GET /configuration/manager
731
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
763
+ * HTTP PUT /rules/realm/{id}
764
+ * Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
732
765
  */
733
- getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
766
+ updateRealmRuleset(id: any, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
734
767
  /**
735
- * HTTP PUT /configuration/manager
736
- * Java method: org.openremote.model.manager.ConfigurationResource.update
768
+ * HTTP DELETE /rules/{id}
769
+ * Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
737
770
  */
738
- update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
771
+ deleteGlobalRuleset(id: any, options?: O): RestResponse<void>;
739
772
  /**
740
- * HTTP POST /configuration/manager/file
741
- * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
773
+ * HTTP GET /rules/{id}
774
+ * Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
742
775
  */
743
- fileUpload(fileInfo: Model.FileInfo, queryParams?: {
744
- path?: any;
745
- }, options?: O): RestResponse<any>;
776
+ getGlobalRuleset(id: any, options?: O): RestResponse<Model.GlobalRuleset>;
746
777
  /**
747
- * HTTP GET /configuration/manager/image/{filename: .+}
748
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
778
+ * HTTP PUT /rules/{id}
779
+ * Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
749
780
  */
750
- getManagerConfigImage(filename: any, options?: O): RestResponse<any>;
781
+ updateGlobalRuleset(id: any, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
751
782
  }
752
783
  export declare class AlarmResourceClient<O> {
753
784
  protected httpClient: HttpClient<O>;
@@ -802,122 +833,91 @@ export declare class AlarmResourceClient<O> {
802
833
  realm?: any;
803
834
  }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
804
835
  }
805
- export declare class AssetModelResourceClient<O> {
836
+ export declare class ConfigurationResourceClient<O> {
806
837
  protected httpClient: HttpClient<O>;
807
838
  constructor(httpClient: HttpClient<O>);
808
839
  /**
809
- * HTTP GET /model/assetDescriptors
810
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
811
- */
812
- getAssetDescriptors(queryParams?: {
813
- parentId?: any;
814
- parentType?: any;
815
- }, options?: O): RestResponse<Model.AssetDescriptor[]>;
816
- /**
817
- * HTTP GET /model/assetInfo/{assetType}
818
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
840
+ * HTTP GET /configuration/manager
841
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
819
842
  */
820
- getAssetInfo(assetType: any, queryParams?: {
821
- parentId?: any;
822
- }, options?: O): RestResponse<Model.AssetTypeInfo>;
843
+ getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
823
844
  /**
824
- * HTTP GET /model/assetInfos
825
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
845
+ * HTTP PUT /configuration/manager
846
+ * Java method: org.openremote.model.manager.ConfigurationResource.update
826
847
  */
827
- getAssetInfos(queryParams?: {
828
- parentId?: any;
829
- parentType?: any;
830
- }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
848
+ update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
831
849
  /**
832
- * HTTP GET /model/metaItemDescriptors
833
- * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
850
+ * HTTP POST /configuration/manager/file
851
+ * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
834
852
  */
835
- getMetaItemDescriptors(queryParams?: {
836
- parentId?: any;
837
- }, options?: O): RestResponse<{
838
- [index: string]: Model.MetaItemDescriptor;
839
- }>;
853
+ fileUpload(fileInfo: Model.FileInfo, queryParams?: {
854
+ path?: any;
855
+ }, options?: O): RestResponse<any>;
840
856
  /**
841
- * HTTP GET /model/valueDescriptors
842
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
857
+ * HTTP GET /configuration/manager/image/{filename: .+}
858
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
843
859
  */
844
- getValueDescriptors(queryParams?: {
845
- parentId?: any;
846
- }, options?: O): RestResponse<{
847
- [index: string]: Model.ValueDescriptor;
848
- }>;
860
+ getManagerConfigImage(filename: any, options?: O): RestResponse<any>;
849
861
  }
850
- export declare class AssetDatapointResourceClient<O> {
862
+ export declare class AssetPredictedDatapointResourceClient<O> {
851
863
  protected httpClient: HttpClient<O>;
852
864
  constructor(httpClient: HttpClient<O>);
853
865
  /**
854
- * HTTP GET /asset/datapoint/export
855
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
856
- */
857
- getDatapointExport(queryParams?: {
858
- attributeRefs?: any;
859
- fromTimestamp?: number;
860
- toTimestamp?: number;
861
- }, options?: O): RestResponse<any>;
862
- /**
863
- * HTTP GET /asset/datapoint/periods
864
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
866
+ * HTTP POST /asset/predicted/{assetId}/{attributeName}
867
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
865
868
  */
866
- getDatapointPeriod(queryParams?: {
867
- assetId?: any;
868
- attributeName?: any;
869
- }, options?: O): RestResponse<Model.DatapointPeriod>;
869
+ getPredictedDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
870
870
  /**
871
- * HTTP POST /asset/datapoint/{assetId}/{attributeName}
872
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
871
+ * HTTP PUT /asset/predicted/{assetId}/{attributeName}
872
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
873
873
  */
874
- getDatapoints(assetId: any, attributeName: any, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
874
+ writePredictedDatapoints(assetId: any, attributeName: any, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
875
875
  }
876
876
  export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
877
877
  export declare class ApiClient {
878
878
  protected _syslogResource: AxiosSyslogResourceClient;
879
+ protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
880
+ protected _gatewayClientResource: AxiosGatewayClientResourceClient;
879
881
  protected _realmResource: AxiosRealmResourceClient;
880
- protected _dashboardResource: AxiosDashboardResourceClient;
881
- protected _statusResource: AxiosStatusResourceClient;
882
882
  protected _appResource: AxiosAppResourceClient;
883
+ protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
884
+ protected _consoleResource: AxiosConsoleResourceClient;
885
+ protected _dashboardResource: AxiosDashboardResourceClient;
883
886
  protected _mapResource: AxiosMapResourceClient;
884
- protected _notificationResource: AxiosNotificationResourceClient;
887
+ protected _assetModelResource: AxiosAssetModelResourceClient;
885
888
  protected _agentResource: AxiosAgentResourceClient;
886
- protected _consoleResource: AxiosConsoleResourceClient;
887
- protected _rulesResource: AxiosRulesResourceClient;
888
- protected _provisioningResource: AxiosProvisioningResourceClient;
889
- protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
890
- protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
891
889
  protected _assetResource: AxiosAssetResourceClient;
890
+ protected _statusResource: AxiosStatusResourceClient;
892
891
  protected _flowResource: AxiosFlowResourceClient;
892
+ protected _provisioningResource: AxiosProvisioningResourceClient;
893
+ protected _notificationResource: AxiosNotificationResourceClient;
893
894
  protected _userResource: AxiosUserResourceClient;
894
- protected _gatewayClientResource: AxiosGatewayClientResourceClient;
895
- protected _configurationResource: AxiosConfigurationResourceClient;
895
+ protected _rulesResource: AxiosRulesResourceClient;
896
896
  protected _alarmResource: AxiosAlarmResourceClient;
897
- protected _assetModelResource: AxiosAssetModelResourceClient;
898
- protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
897
+ protected _configurationResource: AxiosConfigurationResourceClient;
898
+ protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
899
899
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
900
900
  get SyslogResource(): AxiosSyslogResourceClient;
901
+ get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
902
+ get GatewayClientResource(): AxiosGatewayClientResourceClient;
901
903
  get RealmResource(): AxiosRealmResourceClient;
902
- get DashboardResource(): AxiosDashboardResourceClient;
903
- get StatusResource(): AxiosStatusResourceClient;
904
904
  get AppResource(): AxiosAppResourceClient;
905
+ get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
906
+ get ConsoleResource(): AxiosConsoleResourceClient;
907
+ get DashboardResource(): AxiosDashboardResourceClient;
905
908
  get MapResource(): AxiosMapResourceClient;
906
- get NotificationResource(): AxiosNotificationResourceClient;
909
+ get AssetModelResource(): AxiosAssetModelResourceClient;
907
910
  get AgentResource(): AxiosAgentResourceClient;
908
- get ConsoleResource(): AxiosConsoleResourceClient;
909
- get RulesResource(): AxiosRulesResourceClient;
910
- get ProvisioningResource(): AxiosProvisioningResourceClient;
911
- get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
912
- get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
913
911
  get AssetResource(): AxiosAssetResourceClient;
912
+ get StatusResource(): AxiosStatusResourceClient;
914
913
  get FlowResource(): AxiosFlowResourceClient;
914
+ get ProvisioningResource(): AxiosProvisioningResourceClient;
915
+ get NotificationResource(): AxiosNotificationResourceClient;
915
916
  get UserResource(): AxiosUserResourceClient;
916
- get GatewayClientResource(): AxiosGatewayClientResourceClient;
917
- get ConfigurationResource(): AxiosConfigurationResourceClient;
917
+ get RulesResource(): AxiosRulesResourceClient;
918
918
  get AlarmResource(): AxiosAlarmResourceClient;
919
- get AssetModelResource(): AxiosAssetModelResourceClient;
920
- get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
919
+ get ConfigurationResource(): AxiosConfigurationResourceClient;
920
+ get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
921
921
  }
922
922
  import * as Axios from "axios";
923
923
  declare module "axios" {
@@ -928,63 +928,63 @@ declare module "axios" {
928
928
  export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
929
929
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
930
930
  }
931
- export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
931
+ export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
932
932
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
933
933
  }
934
- export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
934
+ export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
935
935
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
936
936
  }
937
- export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
937
+ export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
938
938
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
939
939
  }
940
940
  export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
941
941
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
942
942
  }
943
- export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
943
+ export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
944
944
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
945
945
  }
946
- export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
946
+ export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
947
947
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
948
948
  }
949
- export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
949
+ export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
950
950
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
951
951
  }
952
- export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
952
+ export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
953
953
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
954
954
  }
955
- export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
955
+ export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
956
956
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
957
957
  }
958
- export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
958
+ export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
959
959
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
960
960
  }
961
- export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
961
+ export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
962
962
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
963
963
  }
964
- export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
964
+ export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
965
965
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
966
966
  }
967
- export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
967
+ export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
968
968
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
969
969
  }
970
- export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
970
+ export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
971
971
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
972
972
  }
973
- export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
973
+ export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
974
974
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
975
975
  }
976
- export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
976
+ export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
977
977
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
978
978
  }
979
- export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
979
+ export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
980
980
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
981
981
  }
982
982
  export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
983
983
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
984
984
  }
985
- export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
985
+ export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
986
986
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
987
987
  }
988
- export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
988
+ export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
989
989
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
990
990
  }