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