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