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