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