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