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