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