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