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