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