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