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