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