@openremote/rest 1.3.0-snapshot.20250119163021 → 1.3.0-snapshot.20250120092119

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