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