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