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