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