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