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