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