@openremote/rest 1.15.1 → 1.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,278 +9,306 @@ export interface HttpClient<O> {
9
9
  options?: O;
10
10
  }): RestResponse<R>;
11
11
  }
12
- export declare class SyslogResourceClient<O> {
12
+ export declare class NotificationResourceClient<O> {
13
13
  protected httpClient: HttpClient<O>;
14
14
  constructor(httpClient: HttpClient<O>);
15
15
  /**
16
- * HTTP GET /syslog/config
17
- * Java method: org.openremote.model.syslog.SyslogResource.getConfig
16
+ * HTTP GET /notification
17
+ * Java method: org.openremote.model.notification.NotificationResource.getNotifications
18
18
  */
19
- getConfig(options?: O): RestResponse<Model.SyslogConfig>;
19
+ getNotifications(queryParams?: {
20
+ id?: number;
21
+ type?: string;
22
+ from?: number;
23
+ to?: number;
24
+ realmId?: string;
25
+ userId?: string;
26
+ assetId?: string;
27
+ }, options?: O): RestResponse<Model.SentNotification[]>;
20
28
  /**
21
- * HTTP PUT /syslog/config
22
- * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
29
+ * HTTP DELETE /notification
30
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
23
31
  */
24
- updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
32
+ removeNotifications(queryParams?: {
33
+ id?: number;
34
+ type?: string;
35
+ from?: number;
36
+ to?: number;
37
+ realmId?: string;
38
+ userId?: string;
39
+ assetId?: string;
40
+ }, options?: O): RestResponse<void>;
25
41
  /**
26
- * HTTP DELETE /syslog/event
27
- * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
42
+ * HTTP POST /notification/alert
43
+ * Java method: org.openremote.model.notification.NotificationResource.sendNotification
28
44
  */
29
- clearEvents(options?: O): RestResponse<void>;
45
+ sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
30
46
  /**
31
- * HTTP GET /syslog/event
32
- * Java method: org.openremote.model.syslog.SyslogResource.getEvents
47
+ * HTTP DELETE /notification/{notificationId}
48
+ * Java method: org.openremote.model.notification.NotificationResource.removeNotification
33
49
  */
34
- getEvents(queryParams?: {
35
- level?: Model.SyslogLevel;
36
- per_page?: number;
37
- page?: number;
38
- from?: number;
39
- to?: number;
40
- category?: Model.SyslogCategory[];
41
- subCategory?: string[];
42
- }, options?: O): RestResponse<any>;
50
+ removeNotification(notificationId: number, options?: O): RestResponse<void>;
51
+ /**
52
+ * HTTP PUT /notification/{notificationId}/acknowledged
53
+ * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
54
+ */
55
+ notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
56
+ targetId?: string;
57
+ }, options?: O): RestResponse<void>;
58
+ /**
59
+ * HTTP PUT /notification/{notificationId}/delivered
60
+ * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
61
+ */
62
+ notificationDelivered(notificationId: number, queryParams?: {
63
+ targetId?: string;
64
+ }, options?: O): RestResponse<void>;
43
65
  }
44
- export declare class AssetResourceClient<O> {
66
+ export declare class AssetDatapointResourceClient<O> {
45
67
  protected httpClient: HttpClient<O>;
46
68
  constructor(httpClient: HttpClient<O>);
47
69
  /**
48
- * HTTP POST /asset
49
- * Java method: org.openremote.model.asset.AssetResource.create
70
+ * HTTP GET /asset/datapoint/export
71
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
50
72
  */
51
- create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
73
+ getDatapointExport(queryParams?: {
74
+ attributeRefs?: string;
75
+ fromTimestamp?: number;
76
+ toTimestamp?: number;
77
+ }, options?: O): RestResponse<any>;
52
78
  /**
53
- * HTTP DELETE /asset
54
- * Java method: org.openremote.model.asset.AssetResource.delete
79
+ * HTTP GET /asset/datapoint/periods
80
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
55
81
  */
56
- delete(queryParams?: {
57
- assetId?: string[];
58
- }, options?: O): RestResponse<void>;
82
+ getDatapointPeriod(queryParams?: {
83
+ assetId?: string;
84
+ attributeName?: string;
85
+ }, options?: O): RestResponse<Model.DatapointPeriod>;
59
86
  /**
60
- * HTTP PUT /asset/attributes
61
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
87
+ * HTTP POST /asset/datapoint/{assetId}/{attributeName}
88
+ * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
62
89
  */
63
- writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
90
+ getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
91
+ }
92
+ export declare class GatewayServiceResourceClient<O> {
93
+ protected httpClient: HttpClient<O>;
94
+ constructor(httpClient: HttpClient<O>);
64
95
  /**
65
- * HTTP PUT /asset/attributes/timestamp
66
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
96
+ * HTTP POST /gateway/tunnel
97
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
67
98
  */
68
- writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
99
+ startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
69
100
  /**
70
- * HTTP POST /asset/count
71
- * Java method: org.openremote.model.asset.AssetResource.queryCount
101
+ * HTTP DELETE /gateway/tunnel
102
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
72
103
  */
73
- queryCount(query: Model.AssetQuery, options?: O): RestResponse<number>;
104
+ stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
74
105
  /**
75
- * HTTP DELETE /asset/parent
76
- * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
106
+ * HTTP GET /gateway/tunnel/{realm}
107
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
77
108
  */
78
- updateNoneParent(queryParams?: {
79
- assetIds?: string[];
80
- }, options?: O): RestResponse<void>;
109
+ getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
81
110
  /**
82
- * HTTP GET /asset/partial/{assetId}
83
- * Java method: org.openremote.model.asset.AssetResource.getPartial
111
+ * HTTP GET /gateway/tunnel/{realm}/{id}
112
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
84
113
  */
85
- getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
114
+ getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
86
115
  /**
87
- * HTTP POST /asset/query
88
- * Java method: org.openremote.model.asset.AssetResource.queryAssets
116
+ * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
117
+ * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
89
118
  */
90
- queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
119
+ getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
120
+ }
121
+ export declare class AppResourceClient<O> {
122
+ protected httpClient: HttpClient<O>;
123
+ constructor(httpClient: HttpClient<O>);
91
124
  /**
92
- * HTTP POST /asset/tree
93
- * Java method: org.openremote.model.asset.AssetResource.queryAssetTree
125
+ * HTTP GET /apps
126
+ * Java method: org.openremote.model.apps.AppResource.getApps
94
127
  */
95
- queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
128
+ getApps(options?: O): RestResponse<string[]>;
96
129
  /**
97
- * HTTP GET /asset/user/current
98
- * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
130
+ * HTTP GET /apps/consoleConfig
131
+ * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
99
132
  */
100
- getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
133
+ getConsoleConfig(options?: O): RestResponse<any>;
101
134
  /**
102
- * HTTP POST /asset/user/link
103
- * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
135
+ * HTTP GET /apps/info
136
+ * Java method: org.openremote.model.apps.AppResource.getAppInfos
104
137
  */
105
- createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
138
+ getAppInfos(options?: O): RestResponse<any>;
139
+ }
140
+ export declare class ConsoleResourceClient<O> {
141
+ protected httpClient: HttpClient<O>;
142
+ constructor(httpClient: HttpClient<O>);
106
143
  /**
107
- * HTTP GET /asset/user/link
108
- * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
144
+ * HTTP POST /console/register
145
+ * Java method: org.openremote.model.console.ConsoleResource.register
109
146
  */
110
- getUserAssetLinks(queryParams?: {
147
+ register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
148
+ }
149
+ export declare class AgentResourceClient<O> {
150
+ protected httpClient: HttpClient<O>;
151
+ constructor(httpClient: HttpClient<O>);
152
+ /**
153
+ * HTTP GET /agent/assetDiscovery/{agentId}
154
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
155
+ */
156
+ doProtocolAssetDiscovery(agentId: string, queryParams?: {
111
157
  realm?: string;
112
- userId?: string;
113
- assetId?: string;
114
- }, options?: O): RestResponse<Model.UserAssetLink[]>;
158
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
115
159
  /**
116
- * HTTP POST /asset/user/link/delete
117
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
160
+ * HTTP POST /agent/assetImport/{agentId}
161
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
118
162
  */
119
- deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
163
+ doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
164
+ realm?: string;
165
+ }, options?: O): RestResponse<Model.AssetTreeNode[]>;
120
166
  /**
121
- * HTTP DELETE /asset/user/link/{realm}/{userId}
122
- * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
167
+ * HTTP GET /agent/instanceDiscovery/{agentType}
168
+ * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
123
169
  */
124
- deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
170
+ doProtocolInstanceDiscovery(agentType: string, queryParams?: {
171
+ parentId?: string;
172
+ realm?: string;
173
+ }, options?: O): RestResponse<Model.Agent[]>;
174
+ }
175
+ export declare class AssetPredictedDatapointResourceClient<O> {
176
+ protected httpClient: HttpClient<O>;
177
+ constructor(httpClient: HttpClient<O>);
125
178
  /**
126
- * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
127
- * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
179
+ * HTTP POST /asset/predicted/{assetId}/{attributeName}
180
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
128
181
  */
129
- deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
182
+ getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
130
183
  /**
131
- * HTTP GET /asset/{assetId}
132
- * Java method: org.openremote.model.asset.AssetResource.get
184
+ * HTTP PUT /asset/predicted/{assetId}/{attributeName}
185
+ * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
133
186
  */
134
- get(assetId: string, options?: O): RestResponse<Model.Asset>;
187
+ writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
188
+ }
189
+ export declare class UserResourceClient<O> {
190
+ protected httpClient: HttpClient<O>;
191
+ constructor(httpClient: HttpClient<O>);
135
192
  /**
136
- * HTTP PUT /asset/{assetId}
137
- * Java method: org.openremote.model.asset.AssetResource.update
193
+ * HTTP PUT /user/locale
194
+ * Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
138
195
  */
139
- update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
196
+ updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
140
197
  /**
141
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}
142
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
198
+ * HTTP POST /user/query
199
+ * Java method: org.openremote.model.security.UserResource.query
143
200
  */
144
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
201
+ query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
145
202
  /**
146
- * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
147
- * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
203
+ * HTTP PUT /user/request-password-reset
204
+ * Java method: org.openremote.model.security.UserResource.requestPasswordResetCurrent
148
205
  */
149
- writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
206
+ requestPasswordResetCurrent(options?: O): RestResponse<void>;
150
207
  /**
151
- * HTTP PUT /asset/{parentAssetId}/child
152
- * Java method: org.openremote.model.asset.AssetResource.updateParent
208
+ * HTTP PUT /user/reset-password
209
+ * Java method: org.openremote.model.security.UserResource.updatePasswordCurrent
153
210
  */
154
- updateParent(parentAssetId: string, queryParams?: {
155
- assetIds?: string[];
156
- }, options?: O): RestResponse<void>;
157
- }
158
- export declare class AlarmResourceClient<O> {
159
- protected httpClient: HttpClient<O>;
160
- constructor(httpClient: HttpClient<O>);
211
+ updatePasswordCurrent(credential: Model.Credential, options?: O): RestResponse<void>;
161
212
  /**
162
- * HTTP POST /alarm
163
- * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
213
+ * HTTP PUT /user/update
214
+ * Java method: org.openremote.model.security.UserResource.updateCurrent
164
215
  */
165
- createAlarm(alarm: Model.Alarm, queryParams?: {
166
- assetIds?: string[];
167
- }, options?: O): RestResponse<Model.SentAlarm>;
216
+ updateCurrent(user: Model.User, options?: O): RestResponse<Model.User>;
168
217
  /**
169
- * HTTP GET /alarm
170
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
218
+ * HTTP GET /user/user
219
+ * Java method: org.openremote.model.security.UserResource.getCurrent
171
220
  */
172
- getAlarms(queryParams?: {
173
- realm?: string;
174
- status?: Model.AlarmStatus;
175
- assetId?: string;
176
- assigneeId?: string;
177
- }, options?: O): RestResponse<Model.SentAlarm[]>;
221
+ getCurrent(options?: O): RestResponse<Model.User>;
178
222
  /**
179
- * HTTP DELETE /alarm
180
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
223
+ * HTTP GET /user/userRealmRoles
224
+ * Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
181
225
  */
182
- removeAlarms(ids: number[], options?: O): RestResponse<void>;
226
+ getCurrentUserRealmRoles(options?: O): RestResponse<string[]>;
183
227
  /**
184
- * HTTP PUT /alarm/assets
185
- * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
228
+ * HTTP GET /user/userRoles/{clientId}
229
+ * Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
186
230
  */
187
- setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
231
+ getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<string[]>;
188
232
  /**
189
- * HTTP GET /alarm/{alarmId}
190
- * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
233
+ * HTTP GET /user/{realm}/disconnect/{sessionID}
234
+ * Java method: org.openremote.model.security.UserResource.disconnectUserSession
191
235
  */
192
- getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
236
+ disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
193
237
  /**
194
- * HTTP DELETE /alarm/{alarmId}
195
- * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
238
+ * HTTP PUT /user/{realm}/request-password-reset/{userId}
239
+ * Java method: org.openremote.model.security.UserResource.requestPasswordReset
196
240
  */
197
- removeAlarm(alarmId: number, options?: O): RestResponse<void>;
241
+ requestPasswordReset(realm: string, userId: string, options?: O): RestResponse<void>;
198
242
  /**
199
- * HTTP PUT /alarm/{alarmId}
200
- * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
243
+ * HTTP PUT /user/{realm}/reset-password/{userId}
244
+ * Java method: org.openremote.model.security.UserResource.updatePassword
201
245
  */
202
- updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
246
+ updatePassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
203
247
  /**
204
- * HTTP GET /alarm/{alarmId}/assets
205
- * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
248
+ * HTTP GET /user/{realm}/reset-secret/{userId}
249
+ * Java method: org.openremote.model.security.UserResource.resetSecret
206
250
  */
207
- getAssetLinks(alarmId: number, queryParams?: {
208
- realm?: string;
209
- }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
210
- }
211
- export declare class AssetPredictedDatapointResourceClient<O> {
212
- protected httpClient: HttpClient<O>;
213
- constructor(httpClient: HttpClient<O>);
251
+ resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
214
252
  /**
215
- * HTTP POST /asset/predicted/{assetId}/{attributeName}
216
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
253
+ * HTTP PUT /user/{realm}/roles
254
+ * Java method: org.openremote.model.security.UserResource.updateRoles
217
255
  */
218
- getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
256
+ updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
219
257
  /**
220
- * HTTP PUT /asset/predicted/{assetId}/{attributeName}
221
- * Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
258
+ * HTTP GET /user/{realm}/userRealmRoles/{userId}
259
+ * Java method: org.openremote.model.security.UserResource.getUserRealmRoles
222
260
  */
223
- writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
224
- }
225
- export declare class AssetDatapointResourceClient<O> {
226
- protected httpClient: HttpClient<O>;
227
- constructor(httpClient: HttpClient<O>);
261
+ getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<string[]>;
228
262
  /**
229
- * HTTP GET /asset/datapoint/export
230
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
263
+ * HTTP PUT /user/{realm}/userRealmRoles/{userId}
264
+ * Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
231
265
  */
232
- getDatapointExport(queryParams?: {
233
- attributeRefs?: string;
234
- fromTimestamp?: number;
235
- toTimestamp?: number;
236
- }, options?: O): RestResponse<any>;
266
+ updateUserRealmRoles(realm: string, userId: string, roles: string[], options?: O): RestResponse<void>;
237
267
  /**
238
- * HTTP GET /asset/datapoint/periods
239
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
268
+ * HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
269
+ * Java method: org.openremote.model.security.UserResource.getUserClientRoles
240
270
  */
241
- getDatapointPeriod(queryParams?: {
242
- assetId?: string;
243
- attributeName?: string;
244
- }, options?: O): RestResponse<Model.DatapointPeriod>;
271
+ getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<string[]>;
245
272
  /**
246
- * HTTP POST /asset/datapoint/{assetId}/{attributeName}
247
- * Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
273
+ * HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
274
+ * Java method: org.openremote.model.security.UserResource.updateUserClientRoles
248
275
  */
249
- getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
250
- }
251
- export declare class RealmResourceClient<O> {
252
- protected httpClient: HttpClient<O>;
253
- constructor(httpClient: HttpClient<O>);
276
+ updateUserClientRoles(realm: string, userId: string, clientId: string, roles: string[], options?: O): RestResponse<void>;
277
+ /**
278
+ * HTTP GET /user/{realm}/userSessions/{userId}
279
+ * Java method: org.openremote.model.security.UserResource.getUserSessions
280
+ */
281
+ getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
254
282
  /**
255
- * HTTP POST /realm
256
- * Java method: org.openremote.model.security.RealmResource.create
283
+ * HTTP POST /user/{realm}/users
284
+ * Java method: org.openremote.model.security.UserResource.create
257
285
  */
258
- create(realm: Model.Realm, options?: O): RestResponse<void>;
286
+ create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
259
287
  /**
260
- * HTTP GET /realm
261
- * Java method: org.openremote.model.security.RealmResource.getAll
288
+ * HTTP PUT /user/{realm}/users
289
+ * Java method: org.openremote.model.security.UserResource.update
262
290
  */
263
- getAll(options?: O): RestResponse<Model.Realm[]>;
291
+ update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
264
292
  /**
265
- * HTTP GET /realm/accessible
266
- * Java method: org.openremote.model.security.RealmResource.getAccessible
293
+ * HTTP DELETE /user/{realm}/users/{userId}
294
+ * Java method: org.openremote.model.security.UserResource.delete
267
295
  */
268
- getAccessible(options?: O): RestResponse<Model.Realm[]>;
296
+ delete(realm: string, userId: string, options?: O): RestResponse<void>;
269
297
  /**
270
- * HTTP DELETE /realm/{name}
271
- * Java method: org.openremote.model.security.RealmResource.delete
298
+ * HTTP GET /user/{realm}/{clientId}/roles
299
+ * Java method: org.openremote.model.security.UserResource.getClientRoles
272
300
  */
273
- delete(name: string, options?: O): RestResponse<void>;
301
+ getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
274
302
  /**
275
- * HTTP GET /realm/{name}
276
- * Java method: org.openremote.model.security.RealmResource.get
303
+ * HTTP PUT /user/{realm}/{clientId}/roles
304
+ * Java method: org.openremote.model.security.UserResource.updateClientRoles
277
305
  */
278
- get(name: string, options?: O): RestResponse<Model.Realm>;
306
+ updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
279
307
  /**
280
- * HTTP PUT /realm/{name}
281
- * Java method: org.openremote.model.security.RealmResource.update
308
+ * HTTP GET /user/{realm}/{userId}
309
+ * Java method: org.openremote.model.security.UserResource.get
282
310
  */
283
- update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
311
+ get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
284
312
  }
285
313
  export declare class RulesResourceClient<O> {
286
314
  protected httpClient: HttpClient<O>;
@@ -390,65 +418,41 @@ export declare class RulesResourceClient<O> {
390
418
  */
391
419
  updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
392
420
  }
393
- export declare class AgentResourceClient<O> {
394
- protected httpClient: HttpClient<O>;
395
- constructor(httpClient: HttpClient<O>);
396
- /**
397
- * HTTP GET /agent/assetDiscovery/{agentId}
398
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
399
- */
400
- doProtocolAssetDiscovery(agentId: string, queryParams?: {
401
- realm?: string;
402
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
403
- /**
404
- * HTTP POST /agent/assetImport/{agentId}
405
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
406
- */
407
- doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
408
- realm?: string;
409
- }, options?: O): RestResponse<Model.AssetTreeNode[]>;
410
- /**
411
- * HTTP GET /agent/instanceDiscovery/{agentType}
412
- * Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
413
- */
414
- doProtocolInstanceDiscovery(agentType: string, queryParams?: {
415
- parentId?: string;
416
- realm?: string;
417
- }, options?: O): RestResponse<Model.Agent[]>;
418
- }
419
- export declare class DashboardResourceClient<O> {
421
+ export declare class GatewayClientResourceClient<O> {
420
422
  protected httpClient: HttpClient<O>;
421
423
  constructor(httpClient: HttpClient<O>);
422
424
  /**
423
- * HTTP POST /dashboard
424
- * Java method: org.openremote.model.dashboard.DashboardResource.create
425
+ * HTTP DELETE /gateway/connection
426
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
425
427
  */
426
- create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
428
+ deleteConnections(queryParams?: {
429
+ realm?: string[];
430
+ }, options?: O): RestResponse<void>;
427
431
  /**
428
- * HTTP PUT /dashboard
429
- * Java method: org.openremote.model.dashboard.DashboardResource.update
432
+ * HTTP GET /gateway/connection
433
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
430
434
  */
431
- update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
435
+ getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
432
436
  /**
433
- * HTTP GET /dashboard/all/{realm}
434
- * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
437
+ * HTTP DELETE /gateway/connection/{realm}
438
+ * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
435
439
  */
436
- getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
440
+ deleteConnection(realm: string, options?: O): RestResponse<void>;
437
441
  /**
438
- * HTTP POST /dashboard/query
439
- * Java method: org.openremote.model.dashboard.DashboardResource.query
442
+ * HTTP GET /gateway/connection/{realm}
443
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
440
444
  */
441
- query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
445
+ getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
442
446
  /**
443
- * HTTP DELETE /dashboard/{realm}/{dashboardId}
444
- * Java method: org.openremote.model.dashboard.DashboardResource.delete
447
+ * HTTP PUT /gateway/connection/{realm}
448
+ * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
445
449
  */
446
- delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
450
+ setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
447
451
  /**
448
- * HTTP GET /dashboard/{realm}/{dashboardId}
449
- * Java method: org.openremote.model.dashboard.DashboardResource.get
452
+ * HTTP GET /gateway/status/{realm}
453
+ * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
450
454
  */
451
- get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
455
+ getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
452
456
  }
453
457
  export declare class MapResourceClient<O> {
454
458
  protected httpClient: HttpClient<O>;
@@ -503,165 +507,222 @@ export declare class MapResourceClient<O> {
503
507
  [id: string]: unknown;
504
508
  }>;
505
509
  }
506
- export declare class ConsoleResourceClient<O> {
510
+ export declare class SyslogResourceClient<O> {
507
511
  protected httpClient: HttpClient<O>;
508
512
  constructor(httpClient: HttpClient<O>);
509
513
  /**
510
- * HTTP POST /console/register
511
- * Java method: org.openremote.model.console.ConsoleResource.register
514
+ * HTTP GET /syslog/config
515
+ * Java method: org.openremote.model.syslog.SyslogResource.getConfig
512
516
  */
513
- register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
517
+ getConfig(options?: O): RestResponse<Model.SyslogConfig>;
518
+ /**
519
+ * HTTP PUT /syslog/config
520
+ * Java method: org.openremote.model.syslog.SyslogResource.updateConfig
521
+ */
522
+ updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
523
+ /**
524
+ * HTTP DELETE /syslog/event
525
+ * Java method: org.openremote.model.syslog.SyslogResource.clearEvents
526
+ */
527
+ clearEvents(options?: O): RestResponse<void>;
528
+ /**
529
+ * HTTP GET /syslog/event
530
+ * Java method: org.openremote.model.syslog.SyslogResource.getEvents
531
+ */
532
+ getEvents(queryParams?: {
533
+ level?: Model.SyslogLevel;
534
+ per_page?: number;
535
+ page?: number;
536
+ from?: number;
537
+ to?: number;
538
+ category?: Model.SyslogCategory[];
539
+ subCategory?: string[];
540
+ }, options?: O): RestResponse<any>;
514
541
  }
515
- export declare class ProvisioningResourceClient<O> {
542
+ export declare class StatusResourceClient<O> {
516
543
  protected httpClient: HttpClient<O>;
517
544
  constructor(httpClient: HttpClient<O>);
518
545
  /**
519
- * HTTP POST /provisioning
520
- * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
546
+ * HTTP GET /health
547
+ * Java method: org.openremote.model.system.StatusResource.getHealthStatus
521
548
  */
522
- createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
549
+ getHealthStatus(options?: O): RestResponse<{
550
+ [index: string]: any;
551
+ }>;
523
552
  /**
524
- * HTTP GET /provisioning
525
- * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
553
+ * HTTP GET /info
554
+ * Java method: org.openremote.model.system.StatusResource.getInfo
526
555
  */
527
- getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
556
+ getInfo(options?: O): RestResponse<{
557
+ [index: string]: any;
558
+ }>;
559
+ }
560
+ export declare class AlarmResourceClient<O> {
561
+ protected httpClient: HttpClient<O>;
562
+ constructor(httpClient: HttpClient<O>);
528
563
  /**
529
- * HTTP DELETE /provisioning/{id}
530
- * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
564
+ * HTTP POST /alarm
565
+ * Java method: org.openremote.model.alarm.AlarmResource.createAlarm
531
566
  */
532
- deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
567
+ createAlarm(alarm: Model.Alarm, queryParams?: {
568
+ assetIds?: string[];
569
+ }, options?: O): RestResponse<Model.SentAlarm>;
533
570
  /**
534
- * HTTP PUT /provisioning/{id}
535
- * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
571
+ * HTTP GET /alarm
572
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarms
536
573
  */
537
- updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
574
+ getAlarms(queryParams?: {
575
+ realm?: string;
576
+ status?: Model.AlarmStatus;
577
+ assetId?: string;
578
+ assigneeId?: string;
579
+ }, options?: O): RestResponse<Model.SentAlarm[]>;
580
+ /**
581
+ * HTTP DELETE /alarm
582
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
583
+ */
584
+ removeAlarms(ids: number[], options?: O): RestResponse<void>;
585
+ /**
586
+ * HTTP PUT /alarm/assets
587
+ * Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
588
+ */
589
+ setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
590
+ /**
591
+ * HTTP GET /alarm/{alarmId}
592
+ * Java method: org.openremote.model.alarm.AlarmResource.getAlarm
593
+ */
594
+ getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
595
+ /**
596
+ * HTTP DELETE /alarm/{alarmId}
597
+ * Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
598
+ */
599
+ removeAlarm(alarmId: number, options?: O): RestResponse<void>;
600
+ /**
601
+ * HTTP PUT /alarm/{alarmId}
602
+ * Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
603
+ */
604
+ updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
605
+ /**
606
+ * HTTP GET /alarm/{alarmId}/assets
607
+ * Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
608
+ */
609
+ getAssetLinks(alarmId: number, queryParams?: {
610
+ realm?: string;
611
+ }, options?: O): RestResponse<Model.AlarmAssetLink[]>;
538
612
  }
539
- export declare class NotificationResourceClient<O> {
613
+ export declare class AssetResourceClient<O> {
540
614
  protected httpClient: HttpClient<O>;
541
615
  constructor(httpClient: HttpClient<O>);
542
616
  /**
543
- * HTTP GET /notification
544
- * Java method: org.openremote.model.notification.NotificationResource.getNotifications
617
+ * HTTP POST /asset
618
+ * Java method: org.openremote.model.asset.AssetResource.create
545
619
  */
546
- getNotifications(queryParams?: {
547
- id?: number;
548
- type?: string;
549
- from?: number;
550
- to?: number;
551
- realmId?: string;
552
- userId?: string;
553
- assetId?: string;
554
- }, options?: O): RestResponse<Model.SentNotification[]>;
620
+ create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
555
621
  /**
556
- * HTTP DELETE /notification
557
- * Java method: org.openremote.model.notification.NotificationResource.removeNotifications
622
+ * HTTP DELETE /asset
623
+ * Java method: org.openremote.model.asset.AssetResource.delete
558
624
  */
559
- removeNotifications(queryParams?: {
560
- id?: number;
561
- type?: string;
562
- from?: number;
563
- to?: number;
564
- realmId?: string;
565
- userId?: string;
566
- assetId?: string;
625
+ delete(queryParams?: {
626
+ assetId?: string[];
567
627
  }, options?: O): RestResponse<void>;
568
628
  /**
569
- * HTTP POST /notification/alert
570
- * Java method: org.openremote.model.notification.NotificationResource.sendNotification
629
+ * HTTP PUT /asset/attributes
630
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
631
+ */
632
+ writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
633
+ /**
634
+ * HTTP PUT /asset/attributes/timestamp
635
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
636
+ */
637
+ writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
638
+ /**
639
+ * HTTP POST /asset/count
640
+ * Java method: org.openremote.model.asset.AssetResource.queryCount
641
+ */
642
+ queryCount(query: Model.AssetQuery, options?: O): RestResponse<number>;
643
+ /**
644
+ * HTTP DELETE /asset/parent
645
+ * Java method: org.openremote.model.asset.AssetResource.updateNoneParent
571
646
  */
572
- sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
647
+ updateNoneParent(queryParams?: {
648
+ assetIds?: string[];
649
+ }, options?: O): RestResponse<void>;
573
650
  /**
574
- * HTTP DELETE /notification/{notificationId}
575
- * Java method: org.openremote.model.notification.NotificationResource.removeNotification
651
+ * HTTP GET /asset/partial/{assetId}
652
+ * Java method: org.openremote.model.asset.AssetResource.getPartial
576
653
  */
577
- removeNotification(notificationId: number, options?: O): RestResponse<void>;
654
+ getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
578
655
  /**
579
- * HTTP PUT /notification/{notificationId}/acknowledged
580
- * Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
656
+ * HTTP POST /asset/query
657
+ * Java method: org.openremote.model.asset.AssetResource.queryAssets
581
658
  */
582
- notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
583
- targetId?: string;
584
- }, options?: O): RestResponse<void>;
659
+ queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
585
660
  /**
586
- * HTTP PUT /notification/{notificationId}/delivered
587
- * Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
661
+ * HTTP POST /asset/tree
662
+ * Java method: org.openremote.model.asset.AssetResource.queryAssetTree
588
663
  */
589
- notificationDelivered(notificationId: number, queryParams?: {
590
- targetId?: string;
591
- }, options?: O): RestResponse<void>;
592
- }
593
- export declare class ConfigurationResourceClient<O> {
594
- protected httpClient: HttpClient<O>;
595
- constructor(httpClient: HttpClient<O>);
664
+ queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
596
665
  /**
597
- * HTTP GET /configuration/manager
598
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
666
+ * HTTP GET /asset/user/current
667
+ * Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
599
668
  */
600
- getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
669
+ getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
601
670
  /**
602
- * HTTP PUT /configuration/manager
603
- * Java method: org.openremote.model.manager.ConfigurationResource.update
671
+ * HTTP POST /asset/user/link
672
+ * Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
604
673
  */
605
- update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
674
+ createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
606
675
  /**
607
- * HTTP POST /configuration/manager/file
608
- * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
676
+ * HTTP GET /asset/user/link
677
+ * Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
609
678
  */
610
- fileUpload(fileInfo: Model.FileInfo, queryParams?: {
611
- path?: string;
612
- }, options?: O): RestResponse<string>;
679
+ getUserAssetLinks(queryParams?: {
680
+ realm?: string;
681
+ userId?: string;
682
+ assetId?: string;
683
+ }, options?: O): RestResponse<Model.UserAssetLink[]>;
613
684
  /**
614
- * HTTP GET /configuration/manager/image/{filename: .+}
615
- * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
685
+ * HTTP POST /asset/user/link/delete
686
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
616
687
  */
617
- getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
618
- }
619
- export declare class GatewayServiceResourceClient<O> {
620
- protected httpClient: HttpClient<O>;
621
- constructor(httpClient: HttpClient<O>);
688
+ deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
622
689
  /**
623
- * HTTP POST /gateway/tunnel
624
- * Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
690
+ * HTTP DELETE /asset/user/link/{realm}/{userId}
691
+ * Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
625
692
  */
626
- startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
693
+ deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
627
694
  /**
628
- * HTTP DELETE /gateway/tunnel
629
- * Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
695
+ * HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
696
+ * Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
630
697
  */
631
- stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
698
+ deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
632
699
  /**
633
- * HTTP GET /gateway/tunnel/{realm}
634
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
700
+ * HTTP GET /asset/{assetId}
701
+ * Java method: org.openremote.model.asset.AssetResource.get
635
702
  */
636
- getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
703
+ get(assetId: string, options?: O): RestResponse<Model.Asset>;
637
704
  /**
638
- * HTTP GET /gateway/tunnel/{realm}/{id}
639
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
705
+ * HTTP PUT /asset/{assetId}
706
+ * Java method: org.openremote.model.asset.AssetResource.update
640
707
  */
641
- getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
708
+ update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
642
709
  /**
643
- * HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
644
- * Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
710
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}
711
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
645
712
  */
646
- getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
647
- }
648
- export declare class StatusResourceClient<O> {
649
- protected httpClient: HttpClient<O>;
650
- constructor(httpClient: HttpClient<O>);
713
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
651
714
  /**
652
- * HTTP GET /health
653
- * Java method: org.openremote.model.system.StatusResource.getHealthStatus
715
+ * HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
716
+ * Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
654
717
  */
655
- getHealthStatus(options?: O): RestResponse<{
656
- [index: string]: any;
657
- }>;
718
+ writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
658
719
  /**
659
- * HTTP GET /info
660
- * Java method: org.openremote.model.system.StatusResource.getInfo
720
+ * HTTP PUT /asset/{parentAssetId}/child
721
+ * Java method: org.openremote.model.asset.AssetResource.updateParent
661
722
  */
662
- getInfo(options?: O): RestResponse<{
663
- [index: string]: any;
664
- }>;
723
+ updateParent(parentAssetId: string, queryParams?: {
724
+ assetIds?: string[];
725
+ }, options?: O): RestResponse<void>;
665
726
  }
666
727
  export declare class FlowResourceClient<O> {
667
728
  protected httpClient: HttpClient<O>;
@@ -682,94 +743,29 @@ export declare class FlowResourceClient<O> {
682
743
  */
683
744
  getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
684
745
  }
685
- export declare class GatewayClientResourceClient<O> {
686
- protected httpClient: HttpClient<O>;
687
- constructor(httpClient: HttpClient<O>);
688
- /**
689
- * HTTP DELETE /gateway/connection
690
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
691
- */
692
- deleteConnections(queryParams?: {
693
- realm?: string[];
694
- }, options?: O): RestResponse<void>;
695
- /**
696
- * HTTP GET /gateway/connection
697
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
698
- */
699
- getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
700
- /**
701
- * HTTP DELETE /gateway/connection/{realm}
702
- * Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
703
- */
704
- deleteConnection(realm: string, options?: O): RestResponse<void>;
705
- /**
706
- * HTTP GET /gateway/connection/{realm}
707
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
708
- */
709
- getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
710
- /**
711
- * HTTP PUT /gateway/connection/{realm}
712
- * Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
713
- */
714
- setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
715
- /**
716
- * HTTP GET /gateway/status/{realm}
717
- * Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
718
- */
719
- getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
720
- }
721
- export declare class AssetModelResourceClient<O> {
746
+ export declare class ProvisioningResourceClient<O> {
722
747
  protected httpClient: HttpClient<O>;
723
748
  constructor(httpClient: HttpClient<O>);
724
749
  /**
725
- * HTTP GET /model/assetDescriptors
726
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
727
- */
728
- getAssetDescriptors(queryParams?: {
729
- parentId?: string;
730
- parentType?: string;
731
- }, options?: O): RestResponse<Model.AssetDescriptor[]>;
732
- /**
733
- * HTTP GET /model/assetInfo/{assetType}
734
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
735
- */
736
- getAssetInfo(assetType: string, queryParams?: {
737
- parentId?: string;
738
- }, options?: O): RestResponse<Model.AssetTypeInfo>;
739
- /**
740
- * HTTP GET /model/assetInfos
741
- * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
750
+ * HTTP POST /provisioning
751
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
742
752
  */
743
- getAssetInfos(queryParams?: {
744
- parentId?: string;
745
- parentType?: string;
746
- }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
753
+ createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
747
754
  /**
748
- * HTTP GET /model/getValueDescriptorSchema
749
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
755
+ * HTTP GET /provisioning
756
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
750
757
  */
751
- getValueDescriptorSchema(queryParams?: {
752
- name?: string;
753
- hash?: string;
754
- }, options?: O): RestResponse<any>;
758
+ getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
755
759
  /**
756
- * HTTP GET /model/metaItemDescriptors
757
- * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
760
+ * HTTP DELETE /provisioning/{id}
761
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
758
762
  */
759
- getMetaItemDescriptors(queryParams?: {
760
- parentId?: string;
761
- }, options?: O): RestResponse<{
762
- [index: string]: Model.MetaItemDescriptor;
763
- }>;
763
+ deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
764
764
  /**
765
- * HTTP GET /model/valueDescriptors
766
- * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
765
+ * HTTP PUT /provisioning/{id}
766
+ * Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
767
767
  */
768
- getValueDescriptors(queryParams?: {
769
- parentId?: string;
770
- }, options?: O): RestResponse<{
771
- [index: string]: Model.ValueDescriptor;
772
- }>;
768
+ updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
773
769
  }
774
770
  export declare class ExternalServiceResourceClient<O> {
775
771
  protected httpClient: HttpClient<O>;
@@ -826,196 +822,200 @@ export declare class ExternalServiceResourceClient<O> {
826
822
  */
827
823
  heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
828
824
  }
829
- export declare class AppResourceClient<O> {
830
- protected httpClient: HttpClient<O>;
831
- constructor(httpClient: HttpClient<O>);
832
- /**
833
- * HTTP GET /apps
834
- * Java method: org.openremote.model.apps.AppResource.getApps
835
- */
836
- getApps(options?: O): RestResponse<string[]>;
837
- /**
838
- * HTTP GET /apps/consoleConfig
839
- * Java method: org.openremote.model.apps.AppResource.getConsoleConfig
840
- */
841
- getConsoleConfig(options?: O): RestResponse<any>;
842
- /**
843
- * HTTP GET /apps/info
844
- * Java method: org.openremote.model.apps.AppResource.getAppInfos
845
- */
846
- getAppInfos(options?: O): RestResponse<any>;
847
- }
848
- export declare class UserResourceClient<O> {
825
+ export declare class ConfigurationResourceClient<O> {
849
826
  protected httpClient: HttpClient<O>;
850
827
  constructor(httpClient: HttpClient<O>);
851
828
  /**
852
- * HTTP PUT /user/locale
853
- * Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
854
- */
855
- updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
856
- /**
857
- * HTTP POST /user/query
858
- * Java method: org.openremote.model.security.UserResource.query
859
- */
860
- query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
861
- /**
862
- * HTTP PUT /user/request-password-reset
863
- * Java method: org.openremote.model.security.UserResource.requestPasswordResetCurrent
829
+ * HTTP GET /configuration/manager
830
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
864
831
  */
865
- requestPasswordResetCurrent(options?: O): RestResponse<void>;
832
+ getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
866
833
  /**
867
- * HTTP PUT /user/reset-password
868
- * Java method: org.openremote.model.security.UserResource.updatePasswordCurrent
834
+ * HTTP PUT /configuration/manager
835
+ * Java method: org.openremote.model.manager.ConfigurationResource.update
869
836
  */
870
- updatePasswordCurrent(credential: Model.Credential, options?: O): RestResponse<void>;
837
+ update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
871
838
  /**
872
- * HTTP PUT /user/update
873
- * Java method: org.openremote.model.security.UserResource.updateCurrent
839
+ * HTTP POST /configuration/manager/file
840
+ * Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
874
841
  */
875
- updateCurrent(user: Model.User, options?: O): RestResponse<Model.User>;
842
+ fileUpload(fileInfo: Model.FileInfo, queryParams?: {
843
+ path?: string;
844
+ }, options?: O): RestResponse<string>;
876
845
  /**
877
- * HTTP GET /user/user
878
- * Java method: org.openremote.model.security.UserResource.getCurrent
846
+ * HTTP GET /configuration/manager/image/{filename: .+}
847
+ * Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
879
848
  */
880
- getCurrent(options?: O): RestResponse<Model.User>;
849
+ getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
850
+ }
851
+ export declare class AssetModelResourceClient<O> {
852
+ protected httpClient: HttpClient<O>;
853
+ constructor(httpClient: HttpClient<O>);
881
854
  /**
882
- * HTTP GET /user/userRealmRoles
883
- * Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
855
+ * HTTP GET /model/assetDescriptors
856
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
884
857
  */
885
- getCurrentUserRealmRoles(options?: O): RestResponse<string[]>;
858
+ getAssetDescriptors(queryParams?: {
859
+ parentId?: string;
860
+ parentType?: string;
861
+ }, options?: O): RestResponse<Model.AssetDescriptor[]>;
886
862
  /**
887
- * HTTP GET /user/userRoles/{clientId}
888
- * Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
863
+ * HTTP GET /model/assetInfo/{assetType}
864
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
889
865
  */
890
- getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<string[]>;
866
+ getAssetInfo(assetType: string, queryParams?: {
867
+ parentId?: string;
868
+ }, options?: O): RestResponse<Model.AssetTypeInfo>;
891
869
  /**
892
- * HTTP GET /user/{realm}/disconnect/{sessionID}
893
- * Java method: org.openremote.model.security.UserResource.disconnectUserSession
870
+ * HTTP GET /model/assetInfos
871
+ * Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
894
872
  */
895
- disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
873
+ getAssetInfos(queryParams?: {
874
+ parentId?: string;
875
+ parentType?: string;
876
+ }, options?: O): RestResponse<Model.AssetTypeInfo[]>;
896
877
  /**
897
- * HTTP PUT /user/{realm}/request-password-reset/{userId}
898
- * Java method: org.openremote.model.security.UserResource.requestPasswordReset
878
+ * HTTP GET /model/getValueDescriptorSchema
879
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
899
880
  */
900
- requestPasswordReset(realm: string, userId: string, options?: O): RestResponse<void>;
881
+ getValueDescriptorSchema(queryParams?: {
882
+ name?: string;
883
+ hash?: string;
884
+ }, options?: O): RestResponse<any>;
901
885
  /**
902
- * HTTP PUT /user/{realm}/reset-password/{userId}
903
- * Java method: org.openremote.model.security.UserResource.updatePassword
886
+ * HTTP GET /model/metaItemDescriptors
887
+ * Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
904
888
  */
905
- updatePassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
889
+ getMetaItemDescriptors(queryParams?: {
890
+ parentId?: string;
891
+ }, options?: O): RestResponse<{
892
+ [index: string]: Model.MetaItemDescriptor;
893
+ }>;
906
894
  /**
907
- * HTTP GET /user/{realm}/reset-secret/{userId}
908
- * Java method: org.openremote.model.security.UserResource.resetSecret
895
+ * HTTP GET /model/valueDescriptors
896
+ * Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
909
897
  */
910
- resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
898
+ getValueDescriptors(queryParams?: {
899
+ parentId?: string;
900
+ }, options?: O): RestResponse<{
901
+ [index: string]: Model.ValueDescriptor;
902
+ }>;
903
+ }
904
+ export declare class RealmResourceClient<O> {
905
+ protected httpClient: HttpClient<O>;
906
+ constructor(httpClient: HttpClient<O>);
911
907
  /**
912
- * HTTP PUT /user/{realm}/roles
913
- * Java method: org.openremote.model.security.UserResource.updateRoles
908
+ * HTTP POST /realm
909
+ * Java method: org.openremote.model.security.RealmResource.create
914
910
  */
915
- updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
911
+ create(realm: Model.Realm, options?: O): RestResponse<void>;
916
912
  /**
917
- * HTTP GET /user/{realm}/userRealmRoles/{userId}
918
- * Java method: org.openremote.model.security.UserResource.getUserRealmRoles
913
+ * HTTP GET /realm
914
+ * Java method: org.openremote.model.security.RealmResource.getAll
919
915
  */
920
- getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<string[]>;
916
+ getAll(options?: O): RestResponse<Model.Realm[]>;
921
917
  /**
922
- * HTTP PUT /user/{realm}/userRealmRoles/{userId}
923
- * Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
918
+ * HTTP GET /realm/accessible
919
+ * Java method: org.openremote.model.security.RealmResource.getAccessible
924
920
  */
925
- updateUserRealmRoles(realm: string, userId: string, roles: string[], options?: O): RestResponse<void>;
921
+ getAccessible(options?: O): RestResponse<Model.Realm[]>;
926
922
  /**
927
- * HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
928
- * Java method: org.openremote.model.security.UserResource.getUserClientRoles
923
+ * HTTP DELETE /realm/{name}
924
+ * Java method: org.openremote.model.security.RealmResource.delete
929
925
  */
930
- getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<string[]>;
926
+ delete(name: string, options?: O): RestResponse<void>;
931
927
  /**
932
- * HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
933
- * Java method: org.openremote.model.security.UserResource.updateUserClientRoles
928
+ * HTTP GET /realm/{name}
929
+ * Java method: org.openremote.model.security.RealmResource.get
934
930
  */
935
- updateUserClientRoles(realm: string, userId: string, clientId: string, roles: string[], options?: O): RestResponse<void>;
931
+ get(name: string, options?: O): RestResponse<Model.Realm>;
936
932
  /**
937
- * HTTP GET /user/{realm}/userSessions/{userId}
938
- * Java method: org.openremote.model.security.UserResource.getUserSessions
933
+ * HTTP PUT /realm/{name}
934
+ * Java method: org.openremote.model.security.RealmResource.update
939
935
  */
940
- getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
936
+ update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
937
+ }
938
+ export declare class DashboardResourceClient<O> {
939
+ protected httpClient: HttpClient<O>;
940
+ constructor(httpClient: HttpClient<O>);
941
941
  /**
942
- * HTTP POST /user/{realm}/users
943
- * Java method: org.openremote.model.security.UserResource.create
942
+ * HTTP POST /dashboard
943
+ * Java method: org.openremote.model.dashboard.DashboardResource.create
944
944
  */
945
- create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
945
+ create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
946
946
  /**
947
- * HTTP PUT /user/{realm}/users
948
- * Java method: org.openremote.model.security.UserResource.update
947
+ * HTTP PUT /dashboard
948
+ * Java method: org.openremote.model.dashboard.DashboardResource.update
949
949
  */
950
- update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
950
+ update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
951
951
  /**
952
- * HTTP DELETE /user/{realm}/users/{userId}
953
- * Java method: org.openremote.model.security.UserResource.delete
952
+ * HTTP GET /dashboard/all/{realm}
953
+ * Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
954
954
  */
955
- delete(realm: string, userId: string, options?: O): RestResponse<void>;
955
+ getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
956
956
  /**
957
- * HTTP GET /user/{realm}/{clientId}/roles
958
- * Java method: org.openremote.model.security.UserResource.getClientRoles
957
+ * HTTP POST /dashboard/query
958
+ * Java method: org.openremote.model.dashboard.DashboardResource.query
959
959
  */
960
- getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
960
+ query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
961
961
  /**
962
- * HTTP PUT /user/{realm}/{clientId}/roles
963
- * Java method: org.openremote.model.security.UserResource.updateClientRoles
962
+ * HTTP DELETE /dashboard/{realm}/{dashboardId}
963
+ * Java method: org.openremote.model.dashboard.DashboardResource.delete
964
964
  */
965
- updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
965
+ delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
966
966
  /**
967
- * HTTP GET /user/{realm}/{userId}
968
- * Java method: org.openremote.model.security.UserResource.get
967
+ * HTTP GET /dashboard/{realm}/{dashboardId}
968
+ * Java method: org.openremote.model.dashboard.DashboardResource.get
969
969
  */
970
- get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
970
+ get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
971
971
  }
972
972
  export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
973
973
  export declare class ApiClient {
974
- protected _syslogResource: AxiosSyslogResourceClient;
975
- protected _assetResource: AxiosAssetResourceClient;
976
- protected _alarmResource: AxiosAlarmResourceClient;
977
- protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
974
+ protected _notificationResource: AxiosNotificationResourceClient;
978
975
  protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
979
- protected _realmResource: AxiosRealmResourceClient;
980
- protected _rulesResource: AxiosRulesResourceClient;
976
+ protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
977
+ protected _appResource: AxiosAppResourceClient;
978
+ protected _consoleResource: AxiosConsoleResourceClient;
981
979
  protected _agentResource: AxiosAgentResourceClient;
982
- protected _dashboardResource: AxiosDashboardResourceClient;
980
+ protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
981
+ protected _userResource: AxiosUserResourceClient;
982
+ protected _rulesResource: AxiosRulesResourceClient;
983
+ protected _gatewayClientResource: AxiosGatewayClientResourceClient;
983
984
  protected _mapResource: AxiosMapResourceClient;
984
- protected _consoleResource: AxiosConsoleResourceClient;
985
- protected _provisioningResource: AxiosProvisioningResourceClient;
986
- protected _notificationResource: AxiosNotificationResourceClient;
987
- protected _configurationResource: AxiosConfigurationResourceClient;
988
- protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
985
+ protected _syslogResource: AxiosSyslogResourceClient;
989
986
  protected _statusResource: AxiosStatusResourceClient;
987
+ protected _alarmResource: AxiosAlarmResourceClient;
988
+ protected _assetResource: AxiosAssetResourceClient;
990
989
  protected _flowResource: AxiosFlowResourceClient;
991
- protected _gatewayClientResource: AxiosGatewayClientResourceClient;
992
- protected _assetModelResource: AxiosAssetModelResourceClient;
990
+ protected _provisioningResource: AxiosProvisioningResourceClient;
993
991
  protected _externalServiceResource: AxiosExternalServiceResourceClient;
994
- protected _appResource: AxiosAppResourceClient;
995
- protected _userResource: AxiosUserResourceClient;
992
+ protected _configurationResource: AxiosConfigurationResourceClient;
993
+ protected _assetModelResource: AxiosAssetModelResourceClient;
994
+ protected _realmResource: AxiosRealmResourceClient;
995
+ protected _dashboardResource: AxiosDashboardResourceClient;
996
996
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
997
- get SyslogResource(): AxiosSyslogResourceClient;
998
- get AssetResource(): AxiosAssetResourceClient;
999
- get AlarmResource(): AxiosAlarmResourceClient;
1000
- get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
997
+ get NotificationResource(): AxiosNotificationResourceClient;
1001
998
  get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
1002
- get RealmResource(): AxiosRealmResourceClient;
1003
- get RulesResource(): AxiosRulesResourceClient;
999
+ get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
1000
+ get AppResource(): AxiosAppResourceClient;
1001
+ get ConsoleResource(): AxiosConsoleResourceClient;
1004
1002
  get AgentResource(): AxiosAgentResourceClient;
1005
- get DashboardResource(): AxiosDashboardResourceClient;
1003
+ get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
1004
+ get UserResource(): AxiosUserResourceClient;
1005
+ get RulesResource(): AxiosRulesResourceClient;
1006
+ get GatewayClientResource(): AxiosGatewayClientResourceClient;
1006
1007
  get MapResource(): AxiosMapResourceClient;
1007
- get ConsoleResource(): AxiosConsoleResourceClient;
1008
- get ProvisioningResource(): AxiosProvisioningResourceClient;
1009
- get NotificationResource(): AxiosNotificationResourceClient;
1010
- get ConfigurationResource(): AxiosConfigurationResourceClient;
1011
- get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
1008
+ get SyslogResource(): AxiosSyslogResourceClient;
1012
1009
  get StatusResource(): AxiosStatusResourceClient;
1010
+ get AlarmResource(): AxiosAlarmResourceClient;
1011
+ get AssetResource(): AxiosAssetResourceClient;
1013
1012
  get FlowResource(): AxiosFlowResourceClient;
1014
- get GatewayClientResource(): AxiosGatewayClientResourceClient;
1015
- get AssetModelResource(): AxiosAssetModelResourceClient;
1013
+ get ProvisioningResource(): AxiosProvisioningResourceClient;
1016
1014
  get ExternalServiceResource(): AxiosExternalServiceResourceClient;
1017
- get AppResource(): AxiosAppResourceClient;
1018
- get UserResource(): AxiosUserResourceClient;
1015
+ get ConfigurationResource(): AxiosConfigurationResourceClient;
1016
+ get AssetModelResource(): AxiosAssetModelResourceClient;
1017
+ get RealmResource(): AxiosRealmResourceClient;
1018
+ get DashboardResource(): AxiosDashboardResourceClient;
1019
1019
  }
1020
1020
  import * as Axios from "axios";
1021
1021
  declare module "axios" {
@@ -1023,70 +1023,70 @@ declare module "axios" {
1023
1023
  data: R;
1024
1024
  }
1025
1025
  }
1026
- export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1026
+ export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
1027
1027
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1028
1028
  }
1029
- export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
1029
+ export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
1030
1030
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1031
1031
  }
1032
- export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1032
+ export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1033
1033
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1034
1034
  }
1035
- export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1035
+ export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1036
1036
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1037
1037
  }
1038
- export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
1038
+ export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
1039
1039
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1040
1040
  }
1041
- export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1041
+ export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
1042
1042
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1043
1043
  }
1044
- export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
1044
+ export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
1045
1045
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1046
1046
  }
1047
- export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
1047
+ export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1048
1048
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1049
1049
  }
1050
- export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1050
+ export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
1051
1051
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1052
1052
  }
1053
- export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
1053
+ export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1054
1054
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1055
1055
  }
1056
- export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
1056
+ export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
1057
1057
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1058
1058
  }
1059
- export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
1059
+ export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
1060
1060
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1061
1061
  }
1062
- export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
1062
+ export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
1063
1063
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1064
1064
  }
1065
- export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1065
+ export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
1066
1066
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1067
1067
  }
1068
- export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
1068
+ export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
1069
1069
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1070
1070
  }
1071
- export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
1071
+ export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1072
1072
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1073
1073
  }
1074
- export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
1074
+ export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
1075
1075
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1076
1076
  }
1077
- export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
1077
+ export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
1078
1078
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1079
1079
  }
1080
- export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
1080
+ export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
1081
1081
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1082
1082
  }
1083
- export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
1083
+ export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
1084
1084
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1085
1085
  }
1086
- export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
1086
+ export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
1087
1087
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1088
1088
  }
1089
- export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
1089
+ export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
1090
1090
  constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
1091
1091
  }
1092
1092
  //# sourceMappingURL=restclient.d.ts.map