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