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