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