@openremote/rest 1.7.0-snapshot.20250603085130 → 1.7.0-snapshot.20250603152201

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,109 +9,39 @@ export interface HttpClient<O> {
9
9
  options?: O;
10
10
  }): RestResponse<R>;
11
11
  }
12
- export declare class UserResourceClient<O> {
12
+ export declare class RealmResourceClient<O> {
13
13
  protected httpClient: HttpClient<O>;
14
14
  constructor(httpClient: HttpClient<O>);
15
15
  /**
16
- * HTTP PUT /user/locale
17
- * Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
18
- */
19
- updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
20
- /**
21
- * HTTP POST /user/query
22
- * Java method: org.openremote.model.security.UserResource.query
23
- */
24
- query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
25
- /**
26
- * HTTP GET /user/user
27
- * Java method: org.openremote.model.security.UserResource.getCurrent
28
- */
29
- getCurrent(options?: O): RestResponse<Model.User>;
30
- /**
31
- * HTTP GET /user/userRealmRoles
32
- * Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
33
- */
34
- getCurrentUserRealmRoles(options?: O): RestResponse<string[]>;
35
- /**
36
- * HTTP GET /user/userRoles/{clientId}
37
- * Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
38
- */
39
- getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<string[]>;
40
- /**
41
- * HTTP GET /user/{realm}/disconnect/{sessionID}
42
- * Java method: org.openremote.model.security.UserResource.disconnectUserSession
43
- */
44
- disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
45
- /**
46
- * HTTP PUT /user/{realm}/reset-password/{userId}
47
- * Java method: org.openremote.model.security.UserResource.resetPassword
48
- */
49
- resetPassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
50
- /**
51
- * HTTP GET /user/{realm}/reset-secret/{userId}
52
- * Java method: org.openremote.model.security.UserResource.resetSecret
53
- */
54
- resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
55
- /**
56
- * HTTP PUT /user/{realm}/roles
57
- * Java method: org.openremote.model.security.UserResource.updateRoles
58
- */
59
- updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
60
- /**
61
- * HTTP GET /user/{realm}/userRealmRoles/{userId}
62
- * Java method: org.openremote.model.security.UserResource.getUserRealmRoles
63
- */
64
- getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<string[]>;
65
- /**
66
- * HTTP PUT /user/{realm}/userRealmRoles/{userId}
67
- * Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
68
- */
69
- updateUserRealmRoles(realm: string, userId: string, roles: string[], options?: O): RestResponse<void>;
70
- /**
71
- * HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
72
- * Java method: org.openremote.model.security.UserResource.getUserClientRoles
73
- */
74
- getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<string[]>;
75
- /**
76
- * HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
77
- * Java method: org.openremote.model.security.UserResource.updateUserClientRoles
78
- */
79
- updateUserClientRoles(realm: string, userId: string, clientId: string, roles: string[], options?: O): RestResponse<void>;
80
- /**
81
- * HTTP GET /user/{realm}/userSessions/{userId}
82
- * Java method: org.openremote.model.security.UserResource.getUserSessions
83
- */
84
- getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
85
- /**
86
- * HTTP POST /user/{realm}/users
87
- * Java method: org.openremote.model.security.UserResource.create
16
+ * HTTP POST /realm
17
+ * Java method: org.openremote.model.security.RealmResource.create
88
18
  */
89
- create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
19
+ create(realm: Model.Realm, options?: O): RestResponse<void>;
90
20
  /**
91
- * HTTP PUT /user/{realm}/users
92
- * Java method: org.openremote.model.security.UserResource.update
21
+ * HTTP GET /realm
22
+ * Java method: org.openremote.model.security.RealmResource.getAll
93
23
  */
94
- update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
24
+ getAll(options?: O): RestResponse<Model.Realm[]>;
95
25
  /**
96
- * HTTP DELETE /user/{realm}/users/{userId}
97
- * Java method: org.openremote.model.security.UserResource.delete
26
+ * HTTP GET /realm/accessible
27
+ * Java method: org.openremote.model.security.RealmResource.getAccessible
98
28
  */
99
- delete(realm: string, userId: string, options?: O): RestResponse<void>;
29
+ getAccessible(options?: O): RestResponse<Model.Realm[]>;
100
30
  /**
101
- * HTTP GET /user/{realm}/{clientId}/roles
102
- * Java method: org.openremote.model.security.UserResource.getClientRoles
31
+ * HTTP DELETE /realm/{name}
32
+ * Java method: org.openremote.model.security.RealmResource.delete
103
33
  */
104
- getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
34
+ delete(name: string, options?: O): RestResponse<void>;
105
35
  /**
106
- * HTTP PUT /user/{realm}/{clientId}/roles
107
- * Java method: org.openremote.model.security.UserResource.updateClientRoles
36
+ * HTTP GET /realm/{name}
37
+ * Java method: org.openremote.model.security.RealmResource.get
108
38
  */
109
- updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
39
+ get(name: string, options?: O): RestResponse<Model.Realm>;
110
40
  /**
111
- * HTTP GET /user/{realm}/{userId}
112
- * Java method: org.openremote.model.security.UserResource.get
41
+ * HTTP PUT /realm/{name}
42
+ * Java method: org.openremote.model.security.RealmResource.update
113
43
  */
114
- get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
44
+ update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
115
45
  }
116
46
  export declare class MapResourceClient<O> {
117
47
  protected httpClient: HttpClient<O>;
@@ -166,92 +96,128 @@ export declare class MapResourceClient<O> {
166
96
  [id: string]: unknown;
167
97
  }>;
168
98
  }
169
- export declare class RealmResourceClient<O> {
99
+ export declare class AssetResourceClient<O> {
170
100
  protected httpClient: HttpClient<O>;
171
101
  constructor(httpClient: HttpClient<O>);
172
102
  /**
173
- * HTTP POST /realm
174
- * Java method: org.openremote.model.security.RealmResource.create
103
+ * HTTP POST /asset
104
+ * Java method: org.openremote.model.asset.AssetResource.create
175
105
  */
176
- create(realm: Model.Realm, options?: O): RestResponse<void>;
106
+ create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
177
107
  /**
178
- * HTTP GET /realm
179
- * Java method: org.openremote.model.security.RealmResource.getAll
108
+ * HTTP DELETE /asset
109
+ * Java method: org.openremote.model.asset.AssetResource.delete
180
110
  */
181
- getAll(options?: O): RestResponse<Model.Realm[]>;
111
+ delete(queryParams?: {
112
+ assetId?: string[];
113
+ }, options?: O): RestResponse<void>;
182
114
  /**
183
- * HTTP GET /realm/accessible
184
- * Java method: org.openremote.model.security.RealmResource.getAccessible
115
+ * HTTP PUT /asset/attributes
116
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
185
117
  */
186
- getAccessible(options?: O): RestResponse<Model.Realm[]>;
118
+ writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
187
119
  /**
188
- * HTTP DELETE /realm/{name}
189
- * Java method: org.openremote.model.security.RealmResource.delete
120
+ * HTTP PUT /asset/attributes/timestamp
121
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
190
122
  */
191
- delete(name: string, options?: O): RestResponse<void>;
123
+ writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
192
124
  /**
193
- * HTTP GET /realm/{name}
194
- * Java method: org.openremote.model.security.RealmResource.get
125
+ * HTTP DELETE /asset/parent
126
+ * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
195
127
  */
196
- get(name: string, options?: O): RestResponse<Model.Realm>;
128
+ updateNoneParent(queryParams?: {
129
+ assetIds?: string[];
130
+ }, options?: O): RestResponse<void>;
197
131
  /**
198
- * HTTP PUT /realm/{name}
199
- * Java method: org.openremote.model.security.RealmResource.update
132
+ * HTTP GET /asset/partial/{assetId}
133
+ * Java method: org.openremote.model.asset.AssetResource.getPartial
200
134
  */
201
- update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
202
- }
203
- export declare class AlarmResourceClient<O> {
204
- protected httpClient: HttpClient<O>;
205
- constructor(httpClient: HttpClient<O>);
135
+ getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
206
136
  /**
207
- * HTTP POST /alarm
208
- * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
137
+ * HTTP POST /asset/query
138
+ * Java method: org.openremote.model.asset.AssetResource.queryAssets
209
139
  */
210
- createAlarm(alarm: Model.Alarm, queryParams?: {
211
- assetIds?: string[];
212
- }, options?: O): RestResponse<Model.SentAlarm>;
140
+ queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
213
141
  /**
214
- * HTTP GET /alarm
215
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
142
+ * HTTP GET /asset/user/current
143
+ * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
216
144
  */
217
- getAlarms(queryParams?: {
145
+ getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
146
+ /**
147
+ * HTTP POST /asset/user/link
148
+ * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
149
+ */
150
+ createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
151
+ /**
152
+ * HTTP GET /asset/user/link
153
+ * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
154
+ */
155
+ getUserAssetLinks(queryParams?: {
218
156
  realm?: string;
219
- status?: Model.AlarmStatus;
157
+ userId?: string;
220
158
  assetId?: string;
221
- assigneeId?: string;
222
- }, options?: O): RestResponse<Model.SentAlarm[]>;
159
+ }, options?: O): RestResponse<Model.UserAssetLink[]>;
223
160
  /**
224
- * HTTP DELETE /alarm
225
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
161
+ * HTTP POST /asset/user/link/delete
162
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
226
163
  */
227
- removeAlarms(ids: number[], options?: O): RestResponse<void>;
164
+ deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
228
165
  /**
229
- * HTTP PUT /alarm/assets
230
- * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
166
+ * HTTP DELETE /asset/user/link/{realm}/{userId}
167
+ * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
231
168
  */
232
- setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
169
+ deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
233
170
  /**
234
- * HTTP GET /alarm/{alarmId}
235
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
171
+ * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
172
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
236
173
  */
237
- getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
174
+ deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
238
175
  /**
239
- * HTTP DELETE /alarm/{alarmId}
240
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
176
+ * HTTP GET /asset/{assetId}
177
+ * Java method: org.openremote.model.asset.AssetResource.get
241
178
  */
242
- removeAlarm(alarmId: number, options?: O): RestResponse<void>;
179
+ get(assetId: string, options?: O): RestResponse<Model.Asset>;
243
180
  /**
244
- * HTTP PUT /alarm/{alarmId}
245
- * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
181
+ * HTTP PUT /asset/{assetId}
182
+ * Java method: org.openremote.model.asset.AssetResource.update
246
183
  */
247
- updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
184
+ update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
248
185
  /**
249
- * HTTP GET /alarm/{alarmId}/assets
250
- * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
186
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}
187
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
251
188
  */
252
- getAssetLinks(alarmId: number, queryParams?: {
253
- realm?: string;
254
- }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
189
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
190
+ /**
191
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
192
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
193
+ */
194
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
195
+ /**
196
+ * HTTP PUT /asset/{parentAssetId}/child
197
+ * Java method: org.openremote.model.asset.AssetResource.updateParent
198
+ */
199
+ updateParent(parentAssetId: string, queryParams?: {
200
+ assetIds?: string[];
201
+ }, options?: O): RestResponse<void>;
202
+ }
203
+ export declare class FlowResourceClient<O> {
204
+ protected httpClient: HttpClient<O>;
205
+ constructor(httpClient: HttpClient<O>);
206
+ /**
207
+ * HTTP GET /flow
208
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
209
+ */
210
+ getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
211
+ /**
212
+ * HTTP GET /flow/{name}
213
+ * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
214
+ */
215
+ getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
216
+ /**
217
+ * HTTP GET /flow/{type}
218
+ * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
219
+ */
220
+ getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
255
221
  }
256
222
  export declare class ProvisioningResourceClient<O> {
257
223
  protected httpClient: HttpClient<O>;
@@ -277,333 +243,399 @@ export declare class ProvisioningResourceClient<O> {
277
243
  */
278
244
  updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
279
245
  }
280
- export declare class AssetDatapointResourceClient<O> {
246
+ export declare class DashboardResourceClient<O> {
281
247
  protected httpClient: HttpClient<O>;
282
248
  constructor(httpClient: HttpClient<O>);
283
249
  /**
284
- * HTTP GET /asset/datapoint/export
285
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
250
+ * HTTP POST /dashboard
251
+ * Java method: org.openremote.model.dashboard.DashboardResource.create
286
252
  */
287
- getDatapointExport(queryParams?: {
288
- attributeRefs?: string;
289
- fromTimestamp?: number;
290
- toTimestamp?: number;
291
- }, options?: O): RestResponse<any>;
253
+ create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
292
254
  /**
293
- * HTTP GET /asset/datapoint/periods
294
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
255
+ * HTTP PUT /dashboard
256
+ * Java method: org.openremote.model.dashboard.DashboardResource.update
295
257
  */
296
- getDatapointPeriod(queryParams?: {
297
- assetId?: string;
298
- attributeName?: string;
299
- }, options?: O): RestResponse<Model.DatapointPeriod>;
258
+ update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
300
259
  /**
301
- * HTTP POST /asset/datapoint/{assetId}/{attributeName}
302
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
260
+ * HTTP GET /dashboard/all/{realm}
261
+ * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
303
262
  */
304
- getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
263
+ getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
264
+ /**
265
+ * HTTP POST /dashboard/query
266
+ * Java method: org.openremote.model.dashboard.DashboardResource.query
267
+ */
268
+ query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
269
+ /**
270
+ * HTTP DELETE /dashboard/{realm}/{dashboardId}
271
+ * Java method: org.openremote.model.dashboard.DashboardResource.delete
272
+ */
273
+ delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
274
+ /**
275
+ * HTTP GET /dashboard/{realm}/{dashboardId}
276
+ * Java method: org.openremote.model.dashboard.DashboardResource.get
277
+ */
278
+ get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
305
279
  }
306
- export declare class ConsoleResourceClient<O> {
280
+ export declare class AgentResourceClient<O> {
307
281
  protected httpClient: HttpClient<O>;
308
282
  constructor(httpClient: HttpClient<O>);
309
283
  /**
310
- * HTTP POST /console/register
311
- * Java method: org.openremote.model.console.ConsoleResource.register
284
+ * HTTP GET /agent/assetDiscovery/{agentId}
285
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
312
286
  */
313
- register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
287
+ doProtocolAssetDiscovery(agentId: string, queryParams?: {
288
+ realm?: string;
289
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
290
+ /**
291
+ * HTTP POST /agent/assetImport/{agentId}
292
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
293
+ */
294
+ doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
295
+ realm?: string;
296
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
297
+ /**
298
+ * HTTP GET /agent/instanceDiscovery/{agentType}
299
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
300
+ */
301
+ doProtocolInstanceDiscovery(agentType: string, queryParams?: {
302
+ parentId?: string;
303
+ realm?: string;
304
+ }, options?: O): RestResponse<Model.Agent[]>;
314
305
  }
315
- export declare class AssetModelResourceClient<O> {
306
+ export declare class AlarmResourceClient<O> {
316
307
  protected httpClient: HttpClient<O>;
317
308
  constructor(httpClient: HttpClient<O>);
318
309
  /**
319
- * HTTP GET /model/assetDescriptors
320
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
310
+ * HTTP POST /alarm
311
+ * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
321
312
  */
322
- getAssetDescriptors(queryParams?: {
323
- parentId?: string;
324
- parentType?: string;
325
- }, options?: O): RestResponse<Model.AssetDescriptor[]>;
313
+ createAlarm(alarm: Model.Alarm, queryParams?: {
314
+ assetIds?: string[];
315
+ }, options?: O): RestResponse<Model.SentAlarm>;
326
316
  /**
327
- * HTTP GET /model/assetInfo/{assetType}
328
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
317
+ * HTTP GET /alarm
318
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
329
319
  */
330
- getAssetInfo(assetType: string, queryParams?: {
331
- parentId?: string;
332
- }, options?: O): RestResponse<Model.AssetTypeInfo>;
320
+ getAlarms(queryParams?: {
321
+ realm?: string;
322
+ status?: Model.AlarmStatus;
323
+ assetId?: string;
324
+ assigneeId?: string;
325
+ }, options?: O): RestResponse<Model.SentAlarm[]>;
333
326
  /**
334
- * HTTP GET /model/assetInfos
335
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
327
+ * HTTP DELETE /alarm
328
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
336
329
  */
337
- getAssetInfos(queryParams?: {
338
- parentId?: string;
339
- parentType?: string;
340
- }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
330
+ removeAlarms(ids: number[], options?: O): RestResponse<void>;
341
331
  /**
342
- * HTTP GET /model/metaItemDescriptors
343
- * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
332
+ * HTTP PUT /alarm/assets
333
+ * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
344
334
  */
345
- getMetaItemDescriptors(queryParams?: {
346
- parentId?: string;
347
- }, options?: O): RestResponse<{
348
- [index: string]: Model.MetaItemDescriptor;
349
- }>;
335
+ setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
350
336
  /**
351
- * HTTP GET /model/valueDescriptors
352
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
337
+ * HTTP GET /alarm/{alarmId}
338
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
353
339
  */
354
- getValueDescriptors(queryParams?: {
355
- parentId?: string;
356
- }, options?: O): RestResponse<{
357
- [index: string]: Model.ValueDescriptor;
358
- }>;
340
+ getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
341
+ /**
342
+ * HTTP DELETE /alarm/{alarmId}
343
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
344
+ */
345
+ removeAlarm(alarmId: number, options?: O): RestResponse<void>;
346
+ /**
347
+ * HTTP PUT /alarm/{alarmId}
348
+ * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
349
+ */
350
+ updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
351
+ /**
352
+ * HTTP GET /alarm/{alarmId}/assets
353
+ * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
354
+ */
355
+ getAssetLinks(alarmId: number, queryParams?: {
356
+ realm?: string;
357
+ }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
359
358
  }
360
- export declare class FlowResourceClient<O> {
359
+ export declare class ConsoleResourceClient<O> {
361
360
  protected httpClient: HttpClient<O>;
362
361
  constructor(httpClient: HttpClient<O>);
363
362
  /**
364
- * HTTP GET /flow
365
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
363
+ * HTTP POST /console/register
364
+ * Java method: org.openremote.model.console.ConsoleResource.register
366
365
  */
367
- getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
366
+ register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
367
+ }
368
+ export declare class AssetPredictedDatapointResourceClient<O> {
369
+ protected httpClient: HttpClient<O>;
370
+ constructor(httpClient: HttpClient<O>);
368
371
  /**
369
- * HTTP GET /flow/{name}
370
- * Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
372
+ * HTTP POST /asset/predicted/{assetId}/{attributeName}
373
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
371
374
  */
372
- getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
375
+ getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
373
376
  /**
374
- * HTTP GET /flow/{type}
375
- * Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
377
+ * HTTP PUT /asset/predicted/{assetId}/{attributeName}
378
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
376
379
  */
377
- getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
380
+ writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
378
381
  }
379
- export declare class DashboardResourceClient<O> {
382
+ export declare class GatewayServiceResourceClient<O> {
380
383
  protected httpClient: HttpClient<O>;
381
384
  constructor(httpClient: HttpClient<O>);
382
385
  /**
383
- * HTTP POST /dashboard
384
- * Java method: org.openremote.model.dashboard.DashboardResource.create
385
- */
386
- create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
387
- /**
388
- * HTTP PUT /dashboard
389
- * Java method: org.openremote.model.dashboard.DashboardResource.update
386
+ * HTTP POST /gateway/tunnel
387
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
390
388
  */
391
- update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
389
+ startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
392
390
  /**
393
- * HTTP GET /dashboard/all/{realm}
394
- * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
391
+ * HTTP DELETE /gateway/tunnel
392
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
395
393
  */
396
- getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
394
+ stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
397
395
  /**
398
- * HTTP POST /dashboard/query
399
- * Java method: org.openremote.model.dashboard.DashboardResource.query
396
+ * HTTP GET /gateway/tunnel/{realm}
397
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
400
398
  */
401
- query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
399
+ getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
402
400
  /**
403
- * HTTP DELETE /dashboard/{realm}/{dashboardId}
404
- * Java method: org.openremote.model.dashboard.DashboardResource.delete
401
+ * HTTP GET /gateway/tunnel/{realm}/{id}
402
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
405
403
  */
406
- delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
404
+ getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
407
405
  /**
408
- * HTTP GET /dashboard/{realm}/{dashboardId}
409
- * Java method: org.openremote.model.dashboard.DashboardResource.get
406
+ * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
407
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
410
408
  */
411
- get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
409
+ getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
412
410
  }
413
- export declare class StatusResourceClient<O> {
411
+ export declare class AssetDatapointResourceClient<O> {
414
412
  protected httpClient: HttpClient<O>;
415
413
  constructor(httpClient: HttpClient<O>);
416
414
  /**
417
- * HTTP GET /health
418
- * Java method: org.openremote.model.system.StatusResource.getHealthStatus
415
+ * HTTP GET /asset/datapoint/export
416
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
419
417
  */
420
- getHealthStatus(options?: O): RestResponse<{
421
- [index: string]: any;
422
- }>;
418
+ getDatapointExport(queryParams?: {
419
+ attributeRefs?: string;
420
+ fromTimestamp?: number;
421
+ toTimestamp?: number;
422
+ }, options?: O): RestResponse<any>;
423
423
  /**
424
- * HTTP GET /info
425
- * Java method: org.openremote.model.system.StatusResource.getInfo
424
+ * HTTP GET /asset/datapoint/periods
425
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
426
426
  */
427
- getInfo(options?: O): RestResponse<{
428
- [index: string]: any;
429
- }>;
427
+ getDatapointPeriod(queryParams?: {
428
+ assetId?: string;
429
+ attributeName?: string;
430
+ }, options?: O): RestResponse<Model.DatapointPeriod>;
431
+ /**
432
+ * HTTP POST /asset/datapoint/{assetId}/{attributeName}
433
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
434
+ */
435
+ getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
430
436
  }
431
- export declare class NotificationResourceClient<O> {
437
+ export declare class GatewayClientResourceClient<O> {
432
438
  protected httpClient: HttpClient<O>;
433
439
  constructor(httpClient: HttpClient<O>);
434
440
  /**
435
- * HTTP GET /notification
436
- * Java method: org.openremote.model.notification.NotificationResource.getNotifications
441
+ * HTTP DELETE /gateway/connection
442
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
437
443
  */
438
- getNotifications(queryParams?: {
439
- id?: number;
440
- type?: string;
441
- from?: number;
442
- to?: number;
443
- realmId?: string;
444
- userId?: string;
445
- assetId?: string;
446
- }, options?: O): RestResponse<Model.SentNotification[]>;
444
+ deleteConnections(queryParams?: {
445
+ realm?: string[];
446
+ }, options?: O): RestResponse<void>;
447
447
  /**
448
- * HTTP DELETE /notification
449
- * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
448
+ * HTTP GET /gateway/connection
449
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
450
450
  */
451
- removeNotifications(queryParams?: {
452
- id?: number;
453
- type?: string;
454
- from?: number;
455
- to?: number;
456
- realmId?: string;
457
- userId?: string;
458
- assetId?: string;
459
- }, options?: O): RestResponse<void>;
451
+ getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
460
452
  /**
461
- * HTTP POST /notification/alert
462
- * Java method: org.openremote.model.notification.NotificationResource.sendNotification
453
+ * HTTP DELETE /gateway/connection/{realm}
454
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
463
455
  */
464
- sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
456
+ deleteConnection(realm: string, options?: O): RestResponse<void>;
465
457
  /**
466
- * HTTP DELETE /notification/{notificationId}
467
- * Java method: org.openremote.model.notification.NotificationResource.removeNotification
458
+ * HTTP GET /gateway/connection/{realm}
459
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
468
460
  */
469
- removeNotification(notificationId: number, options?: O): RestResponse<void>;
461
+ getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
470
462
  /**
471
- * HTTP PUT /notification/{notificationId}/acknowledged
472
- * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
463
+ * HTTP PUT /gateway/connection/{realm}
464
+ * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
473
465
  */
474
- notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
475
- targetId?: string;
476
- }, options?: O): RestResponse<void>;
466
+ setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
467
+ /**
468
+ * HTTP GET /gateway/status/{realm}
469
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
470
+ */
471
+ getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
472
+ }
473
+ export declare class AssetModelResourceClient<O> {
474
+ protected httpClient: HttpClient<O>;
475
+ constructor(httpClient: HttpClient<O>);
476
+ /**
477
+ * HTTP GET /model/assetDescriptors
478
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
479
+ */
480
+ getAssetDescriptors(queryParams?: {
481
+ parentId?: string;
482
+ parentType?: string;
483
+ }, options?: O): RestResponse<Model.AssetDescriptor[]>;
484
+ /**
485
+ * HTTP GET /model/assetInfo/{assetType}
486
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
487
+ */
488
+ getAssetInfo(assetType: string, queryParams?: {
489
+ parentId?: string;
490
+ }, options?: O): RestResponse<Model.AssetTypeInfo>;
491
+ /**
492
+ * HTTP GET /model/assetInfos
493
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
494
+ */
495
+ getAssetInfos(queryParams?: {
496
+ parentId?: string;
497
+ parentType?: string;
498
+ }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
499
+ /**
500
+ * HTTP GET /model/metaItemDescriptors
501
+ * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
502
+ */
503
+ getMetaItemDescriptors(queryParams?: {
504
+ parentId?: string;
505
+ }, options?: O): RestResponse<{
506
+ [index: string]: Model.MetaItemDescriptor;
507
+ }>;
477
508
  /**
478
- * HTTP PUT /notification/{notificationId}/delivered
479
- * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
509
+ * HTTP GET /model/valueDescriptors
510
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
480
511
  */
481
- notificationDelivered(notificationId: number, queryParams?: {
482
- targetId?: string;
483
- }, options?: O): RestResponse<void>;
512
+ getValueDescriptors(queryParams?: {
513
+ parentId?: string;
514
+ }, options?: O): RestResponse<{
515
+ [index: string]: Model.ValueDescriptor;
516
+ }>;
484
517
  }
485
- export declare class AssetResourceClient<O> {
518
+ export declare class StatusResourceClient<O> {
486
519
  protected httpClient: HttpClient<O>;
487
520
  constructor(httpClient: HttpClient<O>);
488
521
  /**
489
- * HTTP POST /asset
490
- * Java method: org.openremote.model.asset.AssetResource.create
522
+ * HTTP GET /health
523
+ * Java method: org.openremote.model.system.StatusResource.getHealthStatus
491
524
  */
492
- create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
525
+ getHealthStatus(options?: O): RestResponse<{
526
+ [index: string]: any;
527
+ }>;
493
528
  /**
494
- * HTTP DELETE /asset
495
- * Java method: org.openremote.model.asset.AssetResource.delete
529
+ * HTTP GET /info
530
+ * Java method: org.openremote.model.system.StatusResource.getInfo
496
531
  */
497
- delete(queryParams?: {
498
- assetId?: string[];
499
- }, options?: O): RestResponse<void>;
532
+ getInfo(options?: O): RestResponse<{
533
+ [index: string]: any;
534
+ }>;
535
+ }
536
+ export declare class UserResourceClient<O> {
537
+ protected httpClient: HttpClient<O>;
538
+ constructor(httpClient: HttpClient<O>);
500
539
  /**
501
- * HTTP PUT /asset/attributes
502
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
540
+ * HTTP PUT /user/locale
541
+ * Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
503
542
  */
504
- writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
543
+ updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
505
544
  /**
506
- * HTTP PUT /asset/attributes/timestamp
507
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
545
+ * HTTP POST /user/query
546
+ * Java method: org.openremote.model.security.UserResource.query
508
547
  */
509
- writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
548
+ query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
510
549
  /**
511
- * HTTP DELETE /asset/parent
512
- * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
550
+ * HTTP GET /user/user
551
+ * Java method: org.openremote.model.security.UserResource.getCurrent
513
552
  */
514
- updateNoneParent(queryParams?: {
515
- assetIds?: string[];
516
- }, options?: O): RestResponse<void>;
553
+ getCurrent(options?: O): RestResponse<Model.User>;
517
554
  /**
518
- * HTTP GET /asset/partial/{assetId}
519
- * Java method: org.openremote.model.asset.AssetResource.getPartial
555
+ * HTTP GET /user/userRealmRoles
556
+ * Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
520
557
  */
521
- getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
558
+ getCurrentUserRealmRoles(options?: O): RestResponse<string[]>;
522
559
  /**
523
- * HTTP POST /asset/query
524
- * Java method: org.openremote.model.asset.AssetResource.queryAssets
560
+ * HTTP GET /user/userRoles/{clientId}
561
+ * Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
525
562
  */
526
- queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
563
+ getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<string[]>;
527
564
  /**
528
- * HTTP GET /asset/user/current
529
- * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
565
+ * HTTP GET /user/{realm}/disconnect/{sessionID}
566
+ * Java method: org.openremote.model.security.UserResource.disconnectUserSession
530
567
  */
531
- getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
568
+ disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
532
569
  /**
533
- * HTTP POST /asset/user/link
534
- * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
570
+ * HTTP PUT /user/{realm}/reset-password/{userId}
571
+ * Java method: org.openremote.model.security.UserResource.resetPassword
535
572
  */
536
- createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
573
+ resetPassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
537
574
  /**
538
- * HTTP GET /asset/user/link
539
- * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
575
+ * HTTP GET /user/{realm}/reset-secret/{userId}
576
+ * Java method: org.openremote.model.security.UserResource.resetSecret
540
577
  */
541
- getUserAssetLinks(queryParams?: {
542
- realm?: string;
543
- userId?: string;
544
- assetId?: string;
545
- }, options?: O): RestResponse<Model.UserAssetLink[]>;
578
+ resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
546
579
  /**
547
- * HTTP POST /asset/user/link/delete
548
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
580
+ * HTTP PUT /user/{realm}/roles
581
+ * Java method: org.openremote.model.security.UserResource.updateRoles
549
582
  */
550
- deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
583
+ updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
551
584
  /**
552
- * HTTP DELETE /asset/user/link/{realm}/{userId}
553
- * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
585
+ * HTTP GET /user/{realm}/userRealmRoles/{userId}
586
+ * Java method: org.openremote.model.security.UserResource.getUserRealmRoles
554
587
  */
555
- deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
588
+ getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<string[]>;
556
589
  /**
557
- * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
558
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
590
+ * HTTP PUT /user/{realm}/userRealmRoles/{userId}
591
+ * Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
559
592
  */
560
- deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
593
+ updateUserRealmRoles(realm: string, userId: string, roles: string[], options?: O): RestResponse<void>;
561
594
  /**
562
- * HTTP GET /asset/{assetId}
563
- * Java method: org.openremote.model.asset.AssetResource.get
595
+ * HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
596
+ * Java method: org.openremote.model.security.UserResource.getUserClientRoles
564
597
  */
565
- get(assetId: string, options?: O): RestResponse<Model.Asset>;
598
+ getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<string[]>;
566
599
  /**
567
- * HTTP PUT /asset/{assetId}
568
- * Java method: org.openremote.model.asset.AssetResource.update
600
+ * HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
601
+ * Java method: org.openremote.model.security.UserResource.updateUserClientRoles
569
602
  */
570
- update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
603
+ updateUserClientRoles(realm: string, userId: string, clientId: string, roles: string[], options?: O): RestResponse<void>;
571
604
  /**
572
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}
573
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
605
+ * HTTP GET /user/{realm}/userSessions/{userId}
606
+ * Java method: org.openremote.model.security.UserResource.getUserSessions
574
607
  */
575
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
608
+ getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
576
609
  /**
577
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
578
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
610
+ * HTTP POST /user/{realm}/users
611
+ * Java method: org.openremote.model.security.UserResource.create
579
612
  */
580
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
613
+ create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
581
614
  /**
582
- * HTTP PUT /asset/{parentAssetId}/child
583
- * Java method: org.openremote.model.asset.AssetResource.updateParent
615
+ * HTTP PUT /user/{realm}/users
616
+ * Java method: org.openremote.model.security.UserResource.update
584
617
  */
585
- updateParent(parentAssetId: string, queryParams?: {
586
- assetIds?: string[];
587
- }, options?: O): RestResponse<void>;
588
- }
589
- export declare class AppResourceClient<O> {
590
- protected httpClient: HttpClient<O>;
591
- constructor(httpClient: HttpClient<O>);
618
+ update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
592
619
  /**
593
- * HTTP GET /apps
594
- * Java method: org.openremote.model.apps.AppResource.getApps
620
+ * HTTP DELETE /user/{realm}/users/{userId}
621
+ * Java method: org.openremote.model.security.UserResource.delete
595
622
  */
596
- getApps(options?: O): RestResponse<string[]>;
623
+ delete(realm: string, userId: string, options?: O): RestResponse<void>;
597
624
  /**
598
- * HTTP GET /apps/consoleConfig
599
- * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
625
+ * HTTP GET /user/{realm}/{clientId}/roles
626
+ * Java method: org.openremote.model.security.UserResource.getClientRoles
600
627
  */
601
- getConsoleConfig(options?: O): RestResponse<any>;
628
+ getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
602
629
  /**
603
- * HTTP GET /apps/info
604
- * Java method: org.openremote.model.apps.AppResource.getAppInfos
630
+ * HTTP PUT /user/{realm}/{clientId}/roles
631
+ * Java method: org.openremote.model.security.UserResource.updateClientRoles
605
632
  */
606
- getAppInfos(options?: O): RestResponse<any>;
633
+ updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
634
+ /**
635
+ * HTTP GET /user/{realm}/{userId}
636
+ * Java method: org.openremote.model.security.UserResource.get
637
+ */
638
+ get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
607
639
  }
608
640
  export declare class RulesResourceClient<O> {
609
641
  protected httpClient: HttpClient<O>;
@@ -683,146 +715,54 @@ export declare class RulesResourceClient<O> {
683
715
  fullyPopulate?: boolean;
684
716
  }, options?: O): RestResponse<Model.RealmRuleset[]>;
685
717
  /**
686
- * HTTP DELETE /rules/realm/{id}
687
- * Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
688
- */
689
- deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
690
- /**
691
- * HTTP GET /rules/realm/{id}
692
- * Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
693
- */
694
- getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
695
- /**
696
- * HTTP PUT /rules/realm/{id}
697
- * Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
698
- */
699
- updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
700
- /**
701
- * HTTP DELETE /rules/{id}
702
- * Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
703
- */
704
- deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
705
- /**
706
- * HTTP GET /rules/{id}
707
- * Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
708
- */
709
- getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
710
- /**
711
- * HTTP PUT /rules/{id}
712
- * Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
713
- */
714
- updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
715
- }
716
- export declare class SyslogResourceClient<O> {
717
- protected httpClient: HttpClient<O>;
718
- constructor(httpClient: HttpClient<O>);
719
- /**
720
- * HTTP GET /syslog/config
721
- * Java method: org.openremote.model.syslog.SyslogResource.getConfig
722
- */
723
- getConfig(options?: O): RestResponse<Model.SyslogConfig>;
724
- /**
725
- * HTTP PUT /syslog/config
726
- * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
727
- */
728
- updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
729
- /**
730
- * HTTP DELETE /syslog/event
731
- * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
732
- */
733
- clearEvents(options?: O): RestResponse<void>;
734
- /**
735
- * HTTP GET /syslog/event
736
- * Java method: org.openremote.model.syslog.SyslogResource.getEvents
737
- */
738
- getEvents(queryParams?: {
739
- level?: Model.SyslogLevel;
740
- per_page?: number;
741
- page?: number;
742
- from?: number;
743
- to?: number;
744
- category?: Model.SyslogCategory[];
745
- subCategory?: string[];
746
- }, options?: O): RestResponse<any>;
747
- }
748
- export declare class GatewayServiceResourceClient<O> {
749
- protected httpClient: HttpClient<O>;
750
- constructor(httpClient: HttpClient<O>);
751
- /**
752
- * HTTP POST /gateway/tunnel
753
- * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
754
- */
755
- startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
756
- /**
757
- * HTTP DELETE /gateway/tunnel
758
- * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
759
- */
760
- stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
761
- /**
762
- * HTTP GET /gateway/tunnel/{realm}
763
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
764
- */
765
- getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
766
- /**
767
- * HTTP GET /gateway/tunnel/{realm}/{id}
768
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
769
- */
770
- getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
771
- /**
772
- * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
773
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
718
+ * HTTP DELETE /rules/realm/{id}
719
+ * Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
774
720
  */
775
- getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
776
- }
777
- export declare class AssetPredictedDatapointResourceClient<O> {
778
- protected httpClient: HttpClient<O>;
779
- constructor(httpClient: HttpClient<O>);
721
+ deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
780
722
  /**
781
- * HTTP POST /asset/predicted/{assetId}/{attributeName}
782
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
723
+ * HTTP GET /rules/realm/{id}
724
+ * Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
783
725
  */
784
- getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
726
+ getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
785
727
  /**
786
- * HTTP PUT /asset/predicted/{assetId}/{attributeName}
787
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
728
+ * HTTP PUT /rules/realm/{id}
729
+ * Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
788
730
  */
789
- writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
790
- }
791
- export declare class GatewayClientResourceClient<O> {
792
- protected httpClient: HttpClient<O>;
793
- constructor(httpClient: HttpClient<O>);
731
+ updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
794
732
  /**
795
- * HTTP DELETE /gateway/connection
796
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
733
+ * HTTP DELETE /rules/{id}
734
+ * Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
797
735
  */
798
- deleteConnections(queryParams?: {
799
- realm?: string[];
800
- }, options?: O): RestResponse<void>;
736
+ deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
801
737
  /**
802
- * HTTP GET /gateway/connection
803
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
738
+ * HTTP GET /rules/{id}
739
+ * Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
804
740
  */
805
- getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
741
+ getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
806
742
  /**
807
- * HTTP DELETE /gateway/connection/{realm}
808
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
743
+ * HTTP PUT /rules/{id}
744
+ * Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
809
745
  */
810
- deleteConnection(realm: string, options?: O): RestResponse<void>;
746
+ updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
747
+ }
748
+ export declare class AppResourceClient<O> {
749
+ protected httpClient: HttpClient<O>;
750
+ constructor(httpClient: HttpClient<O>);
811
751
  /**
812
- * HTTP GET /gateway/connection/{realm}
813
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
752
+ * HTTP GET /apps
753
+ * Java method: org.openremote.model.apps.AppResource.getApps
814
754
  */
815
- getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
755
+ getApps(options?: O): RestResponse<string[]>;
816
756
  /**
817
- * HTTP PUT /gateway/connection/{realm}
818
- * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
757
+ * HTTP GET /apps/consoleConfig
758
+ * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
819
759
  */
820
- setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
760
+ getConsoleConfig(options?: O): RestResponse<any>;
821
761
  /**
822
- * HTTP GET /gateway/status/{realm}
823
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
762
+ * HTTP GET /apps/info
763
+ * Java method: org.openremote.model.apps.AppResource.getAppInfos
824
764
  */
825
- getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
765
+ getAppInfos(options?: O): RestResponse<any>;
826
766
  }
827
767
  export declare class ConfigurationResourceClient<O> {
828
768
  protected httpClient: HttpClient<O>;
@@ -850,77 +790,137 @@ export declare class ConfigurationResourceClient<O> {
850
790
  */
851
791
  getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
852
792
  }
853
- export declare class AgentResourceClient<O> {
793
+ export declare class SyslogResourceClient<O> {
854
794
  protected httpClient: HttpClient<O>;
855
795
  constructor(httpClient: HttpClient<O>);
856
796
  /**
857
- * HTTP GET /agent/assetDiscovery/{agentId}
858
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
797
+ * HTTP GET /syslog/config
798
+ * Java method: org.openremote.model.syslog.SyslogResource.getConfig
859
799
  */
860
- doProtocolAssetDiscovery(agentId: string, queryParams?: {
861
- realm?: string;
862
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
800
+ getConfig(options?: O): RestResponse<Model.SyslogConfig>;
863
801
  /**
864
- * HTTP POST /agent/assetImport/{agentId}
865
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
802
+ * HTTP PUT /syslog/config
803
+ * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
866
804
  */
867
- doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
868
- realm?: string;
869
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
805
+ updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
870
806
  /**
871
- * HTTP GET /agent/instanceDiscovery/{agentType}
872
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
807
+ * HTTP DELETE /syslog/event
808
+ * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
873
809
  */
874
- doProtocolInstanceDiscovery(agentType: string, queryParams?: {
875
- parentId?: string;
876
- realm?: string;
877
- }, options?: O): RestResponse<Model.Agent[]>;
810
+ clearEvents(options?: O): RestResponse<void>;
811
+ /**
812
+ * HTTP GET /syslog/event
813
+ * Java method: org.openremote.model.syslog.SyslogResource.getEvents
814
+ */
815
+ getEvents(queryParams?: {
816
+ level?: Model.SyslogLevel;
817
+ per_page?: number;
818
+ page?: number;
819
+ from?: number;
820
+ to?: number;
821
+ category?: Model.SyslogCategory[];
822
+ subCategory?: string[];
823
+ }, options?: O): RestResponse<any>;
824
+ }
825
+ export declare class NotificationResourceClient<O> {
826
+ protected httpClient: HttpClient<O>;
827
+ constructor(httpClient: HttpClient<O>);
828
+ /**
829
+ * HTTP GET /notification
830
+ * Java method: org.openremote.model.notification.NotificationResource.getNotifications
831
+ */
832
+ getNotifications(queryParams?: {
833
+ id?: number;
834
+ type?: string;
835
+ from?: number;
836
+ to?: number;
837
+ realmId?: string;
838
+ userId?: string;
839
+ assetId?: string;
840
+ }, options?: O): RestResponse<Model.SentNotification[]>;
841
+ /**
842
+ * HTTP DELETE /notification
843
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
844
+ */
845
+ removeNotifications(queryParams?: {
846
+ id?: number;
847
+ type?: string;
848
+ from?: number;
849
+ to?: number;
850
+ realmId?: string;
851
+ userId?: string;
852
+ assetId?: string;
853
+ }, options?: O): RestResponse<void>;
854
+ /**
855
+ * HTTP POST /notification/alert
856
+ * Java method: org.openremote.model.notification.NotificationResource.sendNotification
857
+ */
858
+ sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
859
+ /**
860
+ * HTTP DELETE /notification/{notificationId}
861
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotification
862
+ */
863
+ removeNotification(notificationId: number, options?: O): RestResponse<void>;
864
+ /**
865
+ * HTTP PUT /notification/{notificationId}/acknowledged
866
+ * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
867
+ */
868
+ notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
869
+ targetId?: string;
870
+ }, options?: O): RestResponse<void>;
871
+ /**
872
+ * HTTP PUT /notification/{notificationId}/delivered
873
+ * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
874
+ */
875
+ notificationDelivered(notificationId: number, queryParams?: {
876
+ targetId?: string;
877
+ }, options?: O): RestResponse<void>;
878
878
  }
879
879
  export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
880
880
  export declare class ApiClient {
881
- protected _userResource: AxiosUserResourceClient;
882
- protected _mapResource: AxiosMapResourceClient;
883
881
  protected _realmResource: AxiosRealmResourceClient;
884
- protected _alarmResource: AxiosAlarmResourceClient;
882
+ protected _mapResource: AxiosMapResourceClient;
883
+ protected _assetResource: AxiosAssetResourceClient;
884
+ protected _flowResource: AxiosFlowResourceClient;
885
885
  protected _provisioningResource: AxiosProvisioningResourceClient;
886
- protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
886
+ protected _dashboardResource: AxiosDashboardResourceClient;
887
+ protected _agentResource: AxiosAgentResourceClient;
888
+ protected _alarmResource: AxiosAlarmResourceClient;
887
889
  protected _consoleResource: AxiosConsoleResourceClient;
890
+ protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
891
+ protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
892
+ protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
893
+ protected _gatewayClientResource: AxiosGatewayClientResourceClient;
888
894
  protected _assetModelResource: AxiosAssetModelResourceClient;
889
- protected _flowResource: AxiosFlowResourceClient;
890
- protected _dashboardResource: AxiosDashboardResourceClient;
891
895
  protected _statusResource: AxiosStatusResourceClient;
892
- protected _notificationResource: AxiosNotificationResourceClient;
893
- protected _assetResource: AxiosAssetResourceClient;
894
- protected _appResource: AxiosAppResourceClient;
896
+ protected _userResource: AxiosUserResourceClient;
895
897
  protected _rulesResource: AxiosRulesResourceClient;
896
- protected _syslogResource: AxiosSyslogResourceClient;
897
- protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
898
- protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
899
- protected _gatewayClientResource: AxiosGatewayClientResourceClient;
898
+ protected _appResource: AxiosAppResourceClient;
900
899
  protected _configurationResource: AxiosConfigurationResourceClient;
901
- protected _agentResource: AxiosAgentResourceClient;
900
+ protected _syslogResource: AxiosSyslogResourceClient;
901
+ protected _notificationResource: AxiosNotificationResourceClient;
902
902
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
903
- get UserResource(): AxiosUserResourceClient;
904
- get MapResource(): AxiosMapResourceClient;
905
903
  get RealmResource(): AxiosRealmResourceClient;
906
- get AlarmResource(): AxiosAlarmResourceClient;
904
+ get MapResource(): AxiosMapResourceClient;
905
+ get AssetResource(): AxiosAssetResourceClient;
906
+ get FlowResource(): AxiosFlowResourceClient;
907
907
  get ProvisioningResource(): AxiosProvisioningResourceClient;
908
- get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
908
+ get DashboardResource(): AxiosDashboardResourceClient;
909
+ get AgentResource(): AxiosAgentResourceClient;
910
+ get AlarmResource(): AxiosAlarmResourceClient;
909
911
  get ConsoleResource(): AxiosConsoleResourceClient;
912
+ get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
913
+ get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
914
+ get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
915
+ get GatewayClientResource(): AxiosGatewayClientResourceClient;
910
916
  get AssetModelResource(): AxiosAssetModelResourceClient;
911
- get FlowResource(): AxiosFlowResourceClient;
912
- get DashboardResource(): AxiosDashboardResourceClient;
913
917
  get StatusResource(): AxiosStatusResourceClient;
914
- get NotificationResource(): AxiosNotificationResourceClient;
915
- get AssetResource(): AxiosAssetResourceClient;
916
- get AppResource(): AxiosAppResourceClient;
918
+ get UserResource(): AxiosUserResourceClient;
917
919
  get RulesResource(): AxiosRulesResourceClient;
918
- get SyslogResource(): AxiosSyslogResourceClient;
919
- get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
920
- get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
921
- get GatewayClientResource(): AxiosGatewayClientResourceClient;
920
+ get AppResource(): AxiosAppResourceClient;
922
921
  get ConfigurationResource(): AxiosConfigurationResourceClient;
923
- get AgentResource(): AxiosAgentResourceClient;
922
+ get SyslogResource(): AxiosSyslogResourceClient;
923
+ get NotificationResource(): AxiosNotificationResourceClient;
924
924
  }
925
925
  import * as Axios from "axios";
926
926
  declare module "axios" {
@@ -928,66 +928,66 @@ declare module "axios" {
928
928
  data: R;
929
929
  }
930
930
  }
931
- export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
931
+ export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
932
932
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
933
933
  }
934
934
  export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
935
935
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
936
936
  }
937
- export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
937
+ export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
938
938
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
939
939
  }
940
- export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
940
+ export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
941
941
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
942
942
  }
943
943
  export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
944
944
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
945
945
  }
946
- export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
946
+ export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
947
947
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
948
948
  }
949
- export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
949
+ export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
950
950
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
951
951
  }
952
- export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
952
+ export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
953
953
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
954
954
  }
955
- export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
955
+ export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
956
956
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
957
957
  }
958
- export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
958
+ export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
959
959
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
960
960
  }
961
- export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
961
+ export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
962
962
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
963
963
  }
964
- export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
964
+ export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<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 AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
968
968
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
969
969
  }
970
- export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
970
+ export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
971
971
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
972
972
  }
973
- export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
973
+ export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
974
974
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
975
975
  }
976
- export declare class AxiosSyslogResourceClient extends SyslogResourceClient<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 AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
979
+ export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
980
980
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
981
981
  }
982
- export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
982
+ export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
983
983
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
984
984
  }
985
- export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<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 AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
988
+ export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
989
989
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
990
990
  }
991
- export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
991
+ export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
992
992
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
993
993
  }