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