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