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