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