@openremote/rest 1.6.0-snapshot.20250516114400 → 1.6.0-snapshot.20250519123755

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