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