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