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