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