@openremote/rest 1.9.0-snapshot.20250828123218 → 1.9.0-snapshot.20250828134529

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