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