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