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