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