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