@openremote/rest 1.14.0-snapshot.20260113102756 → 1.14.0-snapshot.20260114094419

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