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