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