@openremote/rest 1.20.0 → 1.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.bundle.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/lib/restclient.d.ts +481 -481
- package/lib/restclient.d.ts.map +1 -1
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +1 -1
package/lib/restclient.d.ts
CHANGED
|
@@ -9,42 +9,6 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class GatewayClientResourceClient<O> {
|
|
13
|
-
protected httpClient: HttpClient<O>;
|
|
14
|
-
constructor(httpClient: HttpClient<O>);
|
|
15
|
-
/**
|
|
16
|
-
* HTTP DELETE /gateway/connection
|
|
17
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
18
|
-
*/
|
|
19
|
-
deleteConnections(queryParams?: {
|
|
20
|
-
realm?: string[];
|
|
21
|
-
}, options?: O): RestResponse<void>;
|
|
22
|
-
/**
|
|
23
|
-
* HTTP GET /gateway/connection
|
|
24
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
25
|
-
*/
|
|
26
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
27
|
-
/**
|
|
28
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
29
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
30
|
-
*/
|
|
31
|
-
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
32
|
-
/**
|
|
33
|
-
* HTTP GET /gateway/connection/{realm}
|
|
34
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
35
|
-
*/
|
|
36
|
-
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
37
|
-
/**
|
|
38
|
-
* HTTP PUT /gateway/connection/{realm}
|
|
39
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
40
|
-
*/
|
|
41
|
-
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
42
|
-
/**
|
|
43
|
-
* HTTP GET /gateway/status/{realm}
|
|
44
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
45
|
-
*/
|
|
46
|
-
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
47
|
-
}
|
|
48
12
|
export declare class RealmResourceClient<O> {
|
|
49
13
|
protected httpClient: HttpClient<O>;
|
|
50
14
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -79,25 +43,6 @@ export declare class RealmResourceClient<O> {
|
|
|
79
43
|
*/
|
|
80
44
|
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
81
45
|
}
|
|
82
|
-
export declare class FlowResourceClient<O> {
|
|
83
|
-
protected httpClient: HttpClient<O>;
|
|
84
|
-
constructor(httpClient: HttpClient<O>);
|
|
85
|
-
/**
|
|
86
|
-
* HTTP GET /flow
|
|
87
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
88
|
-
*/
|
|
89
|
-
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
90
|
-
/**
|
|
91
|
-
* HTTP GET /flow/{name}
|
|
92
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
93
|
-
*/
|
|
94
|
-
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
95
|
-
/**
|
|
96
|
-
* HTTP GET /flow/{type}
|
|
97
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
98
|
-
*/
|
|
99
|
-
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
100
|
-
}
|
|
101
46
|
export declare class AgentResourceClient<O> {
|
|
102
47
|
protected httpClient: HttpClient<O>;
|
|
103
48
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -124,154 +69,6 @@ export declare class AgentResourceClient<O> {
|
|
|
124
69
|
realm?: string;
|
|
125
70
|
}, options?: O): RestResponse<Model.Agent[]>;
|
|
126
71
|
}
|
|
127
|
-
export declare class DashboardResourceClient<O> {
|
|
128
|
-
protected httpClient: HttpClient<O>;
|
|
129
|
-
constructor(httpClient: HttpClient<O>);
|
|
130
|
-
/**
|
|
131
|
-
* HTTP POST /dashboard
|
|
132
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
133
|
-
*/
|
|
134
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
135
|
-
/**
|
|
136
|
-
* HTTP PUT /dashboard
|
|
137
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
138
|
-
*/
|
|
139
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
140
|
-
/**
|
|
141
|
-
* HTTP GET /dashboard/all/{realm}
|
|
142
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
143
|
-
*/
|
|
144
|
-
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
145
|
-
/**
|
|
146
|
-
* HTTP POST /dashboard/query
|
|
147
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
148
|
-
*/
|
|
149
|
-
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
150
|
-
/**
|
|
151
|
-
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
152
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
153
|
-
*/
|
|
154
|
-
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
155
|
-
/**
|
|
156
|
-
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
157
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
158
|
-
*/
|
|
159
|
-
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
160
|
-
}
|
|
161
|
-
export declare class AssetResourceClient<O> {
|
|
162
|
-
protected httpClient: HttpClient<O>;
|
|
163
|
-
constructor(httpClient: HttpClient<O>);
|
|
164
|
-
/**
|
|
165
|
-
* HTTP POST /asset
|
|
166
|
-
* Java method: org.openremote.model.asset.AssetResource.create
|
|
167
|
-
*/
|
|
168
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
169
|
-
/**
|
|
170
|
-
* HTTP DELETE /asset
|
|
171
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
172
|
-
*/
|
|
173
|
-
delete(queryParams?: {
|
|
174
|
-
assetId?: string[];
|
|
175
|
-
}, options?: O): RestResponse<void>;
|
|
176
|
-
/**
|
|
177
|
-
* HTTP PUT /asset/attributes
|
|
178
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
179
|
-
*/
|
|
180
|
-
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
181
|
-
/**
|
|
182
|
-
* HTTP PUT /asset/attributes/timestamp
|
|
183
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
184
|
-
*/
|
|
185
|
-
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
186
|
-
/**
|
|
187
|
-
* HTTP POST /asset/count
|
|
188
|
-
* Java method: org.openremote.model.asset.AssetResource.queryCount
|
|
189
|
-
*/
|
|
190
|
-
queryCount(query: Model.AssetQuery, options?: O): RestResponse<number>;
|
|
191
|
-
/**
|
|
192
|
-
* HTTP DELETE /asset/parent
|
|
193
|
-
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
194
|
-
*/
|
|
195
|
-
updateNoneParent(queryParams?: {
|
|
196
|
-
assetIds?: string[];
|
|
197
|
-
}, options?: O): RestResponse<void>;
|
|
198
|
-
/**
|
|
199
|
-
* HTTP GET /asset/partial/{assetId}
|
|
200
|
-
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
201
|
-
*/
|
|
202
|
-
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
203
|
-
/**
|
|
204
|
-
* HTTP POST /asset/query
|
|
205
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
206
|
-
*/
|
|
207
|
-
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
208
|
-
/**
|
|
209
|
-
* HTTP POST /asset/tree
|
|
210
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
211
|
-
*/
|
|
212
|
-
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
213
|
-
/**
|
|
214
|
-
* HTTP GET /asset/user/current
|
|
215
|
-
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
216
|
-
*/
|
|
217
|
-
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
218
|
-
/**
|
|
219
|
-
* HTTP POST /asset/user/link
|
|
220
|
-
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
221
|
-
*/
|
|
222
|
-
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
223
|
-
/**
|
|
224
|
-
* HTTP GET /asset/user/link
|
|
225
|
-
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
226
|
-
*/
|
|
227
|
-
getUserAssetLinks(queryParams?: {
|
|
228
|
-
realm?: string;
|
|
229
|
-
userId?: string;
|
|
230
|
-
assetId?: string;
|
|
231
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
232
|
-
/**
|
|
233
|
-
* HTTP POST /asset/user/link/delete
|
|
234
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
235
|
-
*/
|
|
236
|
-
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
237
|
-
/**
|
|
238
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
239
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
240
|
-
*/
|
|
241
|
-
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
242
|
-
/**
|
|
243
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
244
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
245
|
-
*/
|
|
246
|
-
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
247
|
-
/**
|
|
248
|
-
* HTTP GET /asset/{assetId}
|
|
249
|
-
* Java method: org.openremote.model.asset.AssetResource.get
|
|
250
|
-
*/
|
|
251
|
-
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
252
|
-
/**
|
|
253
|
-
* HTTP PUT /asset/{assetId}
|
|
254
|
-
* Java method: org.openremote.model.asset.AssetResource.update
|
|
255
|
-
*/
|
|
256
|
-
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
257
|
-
/**
|
|
258
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
259
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
260
|
-
*/
|
|
261
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
262
|
-
/**
|
|
263
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
264
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
265
|
-
*/
|
|
266
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
267
|
-
/**
|
|
268
|
-
* HTTP PUT /asset/{parentAssetId}/child
|
|
269
|
-
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
270
|
-
*/
|
|
271
|
-
updateParent(parentAssetId: string, queryParams?: {
|
|
272
|
-
assetIds?: string[];
|
|
273
|
-
}, options?: O): RestResponse<void>;
|
|
274
|
-
}
|
|
275
72
|
export declare class SyslogResourceClient<O> {
|
|
276
73
|
protected httpClient: HttpClient<O>;
|
|
277
74
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -304,19 +101,61 @@ export declare class SyslogResourceClient<O> {
|
|
|
304
101
|
subCategory?: string[];
|
|
305
102
|
}, options?: O): RestResponse<any>;
|
|
306
103
|
}
|
|
307
|
-
export declare class
|
|
104
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
308
105
|
protected httpClient: HttpClient<O>;
|
|
309
106
|
constructor(httpClient: HttpClient<O>);
|
|
310
107
|
/**
|
|
311
|
-
* HTTP
|
|
312
|
-
* Java method: org.openremote.model.datapoint.
|
|
108
|
+
* HTTP GET /asset/datapoint/export
|
|
109
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
313
110
|
*/
|
|
314
|
-
|
|
111
|
+
getDatapointExport(queryParams?: {
|
|
112
|
+
attributeRefs?: string;
|
|
113
|
+
fromTimestamp?: number;
|
|
114
|
+
toTimestamp?: number;
|
|
115
|
+
format?: Model.DatapointExportFormat;
|
|
116
|
+
}, options?: O): RestResponse<any>;
|
|
315
117
|
/**
|
|
316
|
-
* HTTP
|
|
317
|
-
* Java method: org.openremote.model.datapoint.
|
|
118
|
+
* HTTP GET /asset/datapoint/periods
|
|
119
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
318
120
|
*/
|
|
319
|
-
|
|
121
|
+
getDatapointPeriod(queryParams?: {
|
|
122
|
+
assetId?: string;
|
|
123
|
+
attributeName?: string;
|
|
124
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
125
|
+
/**
|
|
126
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
127
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
128
|
+
*/
|
|
129
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
130
|
+
}
|
|
131
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
132
|
+
protected httpClient: HttpClient<O>;
|
|
133
|
+
constructor(httpClient: HttpClient<O>);
|
|
134
|
+
/**
|
|
135
|
+
* HTTP POST /gateway/tunnel
|
|
136
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
137
|
+
*/
|
|
138
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
139
|
+
/**
|
|
140
|
+
* HTTP DELETE /gateway/tunnel
|
|
141
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
142
|
+
*/
|
|
143
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
144
|
+
/**
|
|
145
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
146
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
147
|
+
*/
|
|
148
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
149
|
+
/**
|
|
150
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
151
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
152
|
+
*/
|
|
153
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
154
|
+
/**
|
|
155
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
156
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
157
|
+
*/
|
|
158
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
320
159
|
}
|
|
321
160
|
export declare class StatusResourceClient<O> {
|
|
322
161
|
protected httpClient: HttpClient<O>;
|
|
@@ -460,14 +299,132 @@ export declare class UserResourceClient<O> {
|
|
|
460
299
|
*/
|
|
461
300
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
462
301
|
}
|
|
463
|
-
export declare class
|
|
302
|
+
export declare class AppResourceClient<O> {
|
|
464
303
|
protected httpClient: HttpClient<O>;
|
|
465
304
|
constructor(httpClient: HttpClient<O>);
|
|
466
305
|
/**
|
|
467
|
-
* HTTP
|
|
468
|
-
* Java method: org.openremote.model.
|
|
306
|
+
* HTTP GET /apps
|
|
307
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
469
308
|
*/
|
|
470
|
-
|
|
309
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
310
|
+
/**
|
|
311
|
+
* HTTP GET /apps/consoleConfig
|
|
312
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
313
|
+
*/
|
|
314
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
315
|
+
/**
|
|
316
|
+
* HTTP GET /apps/info
|
|
317
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
318
|
+
*/
|
|
319
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
320
|
+
}
|
|
321
|
+
export declare class RulesResourceClient<O> {
|
|
322
|
+
protected httpClient: HttpClient<O>;
|
|
323
|
+
constructor(httpClient: HttpClient<O>);
|
|
324
|
+
/**
|
|
325
|
+
* HTTP POST /rules
|
|
326
|
+
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
327
|
+
*/
|
|
328
|
+
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
329
|
+
/**
|
|
330
|
+
* HTTP GET /rules
|
|
331
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
332
|
+
*/
|
|
333
|
+
getGlobalRulesets(queryParams?: {
|
|
334
|
+
language?: Model.RulesetLang[];
|
|
335
|
+
fullyPopulate?: boolean;
|
|
336
|
+
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
337
|
+
/**
|
|
338
|
+
* HTTP POST /rules/asset
|
|
339
|
+
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
340
|
+
*/
|
|
341
|
+
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
342
|
+
/**
|
|
343
|
+
* HTTP GET /rules/asset/for/{assetId}
|
|
344
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
345
|
+
*/
|
|
346
|
+
getAssetRulesets(assetId: string, queryParams?: {
|
|
347
|
+
language?: Model.RulesetLang[];
|
|
348
|
+
fullyPopulate?: boolean;
|
|
349
|
+
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
350
|
+
/**
|
|
351
|
+
* HTTP DELETE /rules/asset/{id}
|
|
352
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
353
|
+
*/
|
|
354
|
+
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
355
|
+
/**
|
|
356
|
+
* HTTP GET /rules/asset/{id}
|
|
357
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
358
|
+
*/
|
|
359
|
+
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
360
|
+
/**
|
|
361
|
+
* HTTP PUT /rules/asset/{id}
|
|
362
|
+
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
363
|
+
*/
|
|
364
|
+
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
365
|
+
/**
|
|
366
|
+
* HTTP GET /rules/geofences/{assetId}
|
|
367
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
368
|
+
*/
|
|
369
|
+
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
370
|
+
/**
|
|
371
|
+
* HTTP GET /rules/info/asset/{assetId}
|
|
372
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
373
|
+
*/
|
|
374
|
+
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
375
|
+
/**
|
|
376
|
+
* HTTP GET /rules/info/global
|
|
377
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
378
|
+
*/
|
|
379
|
+
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
380
|
+
/**
|
|
381
|
+
* HTTP GET /rules/info/realm/{realm}
|
|
382
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
383
|
+
*/
|
|
384
|
+
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
385
|
+
/**
|
|
386
|
+
* HTTP POST /rules/realm
|
|
387
|
+
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
388
|
+
*/
|
|
389
|
+
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
390
|
+
/**
|
|
391
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
392
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
393
|
+
*/
|
|
394
|
+
getRealmRulesets(realm: string, queryParams?: {
|
|
395
|
+
language?: Model.RulesetLang[];
|
|
396
|
+
fullyPopulate?: boolean;
|
|
397
|
+
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
398
|
+
/**
|
|
399
|
+
* HTTP DELETE /rules/realm/{id}
|
|
400
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
401
|
+
*/
|
|
402
|
+
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
403
|
+
/**
|
|
404
|
+
* HTTP GET /rules/realm/{id}
|
|
405
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
406
|
+
*/
|
|
407
|
+
getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
|
|
408
|
+
/**
|
|
409
|
+
* HTTP PUT /rules/realm/{id}
|
|
410
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
411
|
+
*/
|
|
412
|
+
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
413
|
+
/**
|
|
414
|
+
* HTTP DELETE /rules/{id}
|
|
415
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
416
|
+
*/
|
|
417
|
+
deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
|
|
418
|
+
/**
|
|
419
|
+
* HTTP GET /rules/{id}
|
|
420
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
421
|
+
*/
|
|
422
|
+
getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
423
|
+
/**
|
|
424
|
+
* HTTP PUT /rules/{id}
|
|
425
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
426
|
+
*/
|
|
427
|
+
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
471
428
|
}
|
|
472
429
|
export declare class ConfigurationResourceClient<O> {
|
|
473
430
|
protected httpClient: HttpClient<O>;
|
|
@@ -483,17 +440,86 @@ export declare class ConfigurationResourceClient<O> {
|
|
|
483
440
|
*/
|
|
484
441
|
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
485
442
|
/**
|
|
486
|
-
* HTTP POST /configuration/manager/file
|
|
487
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
443
|
+
* HTTP POST /configuration/manager/file
|
|
444
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
445
|
+
*/
|
|
446
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
447
|
+
path?: string;
|
|
448
|
+
}, options?: O): RestResponse<string>;
|
|
449
|
+
/**
|
|
450
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
451
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
452
|
+
*/
|
|
453
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
454
|
+
}
|
|
455
|
+
export declare class ConsoleResourceClient<O> {
|
|
456
|
+
protected httpClient: HttpClient<O>;
|
|
457
|
+
constructor(httpClient: HttpClient<O>);
|
|
458
|
+
/**
|
|
459
|
+
* HTTP POST /console/register
|
|
460
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
461
|
+
*/
|
|
462
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
463
|
+
}
|
|
464
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
465
|
+
protected httpClient: HttpClient<O>;
|
|
466
|
+
constructor(httpClient: HttpClient<O>);
|
|
467
|
+
/**
|
|
468
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
469
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
470
|
+
*/
|
|
471
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
472
|
+
/**
|
|
473
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
474
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
475
|
+
*/
|
|
476
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
477
|
+
}
|
|
478
|
+
export declare class MapResourceClient<O> {
|
|
479
|
+
protected httpClient: HttpClient<O>;
|
|
480
|
+
constructor(httpClient: HttpClient<O>);
|
|
481
|
+
/**
|
|
482
|
+
* HTTP GET /map
|
|
483
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
484
|
+
*/
|
|
485
|
+
getSettings(options?: O): RestResponse<{
|
|
486
|
+
[id: string]: unknown;
|
|
487
|
+
}>;
|
|
488
|
+
/**
|
|
489
|
+
* HTTP PUT /map
|
|
490
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
491
|
+
*/
|
|
492
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
493
|
+
[id: string]: unknown;
|
|
494
|
+
}>;
|
|
495
|
+
/**
|
|
496
|
+
* HTTP DELETE /map/deleteMap
|
|
497
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
498
|
+
*/
|
|
499
|
+
deleteMap(options?: O): RestResponse<{
|
|
500
|
+
[id: string]: unknown;
|
|
501
|
+
}>;
|
|
502
|
+
/**
|
|
503
|
+
* HTTP GET /map/getCustomMapInfo
|
|
504
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
505
|
+
*/
|
|
506
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
507
|
+
[id: string]: unknown;
|
|
508
|
+
}>;
|
|
509
|
+
/**
|
|
510
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
511
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
488
512
|
*/
|
|
489
|
-
|
|
490
|
-
path?: string;
|
|
491
|
-
}, options?: O): RestResponse<string>;
|
|
513
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
492
514
|
/**
|
|
493
|
-
* HTTP
|
|
494
|
-
* Java method: org.openremote.model.
|
|
515
|
+
* HTTP POST /map/upload
|
|
516
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
495
517
|
*/
|
|
496
|
-
|
|
518
|
+
uploadMap(queryParams?: {
|
|
519
|
+
filename?: string;
|
|
520
|
+
}, options?: O): RestResponse<{
|
|
521
|
+
[id: string]: unknown;
|
|
522
|
+
}>;
|
|
497
523
|
}
|
|
498
524
|
export declare class NotificationResourceClient<O> {
|
|
499
525
|
protected httpClient: HttpClient<O>;
|
|
@@ -549,6 +575,40 @@ export declare class NotificationResourceClient<O> {
|
|
|
549
575
|
targetId?: string;
|
|
550
576
|
}, options?: O): RestResponse<void>;
|
|
551
577
|
}
|
|
578
|
+
export declare class DashboardResourceClient<O> {
|
|
579
|
+
protected httpClient: HttpClient<O>;
|
|
580
|
+
constructor(httpClient: HttpClient<O>);
|
|
581
|
+
/**
|
|
582
|
+
* HTTP POST /dashboard
|
|
583
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
584
|
+
*/
|
|
585
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
586
|
+
/**
|
|
587
|
+
* HTTP PUT /dashboard
|
|
588
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
589
|
+
*/
|
|
590
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
591
|
+
/**
|
|
592
|
+
* HTTP GET /dashboard/all/{realm}
|
|
593
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
594
|
+
*/
|
|
595
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
596
|
+
/**
|
|
597
|
+
* HTTP POST /dashboard/query
|
|
598
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
599
|
+
*/
|
|
600
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
601
|
+
/**
|
|
602
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
603
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
604
|
+
*/
|
|
605
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
606
|
+
/**
|
|
607
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
608
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
609
|
+
*/
|
|
610
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
611
|
+
}
|
|
552
612
|
export declare class AssetModelResourceClient<O> {
|
|
553
613
|
protected httpClient: HttpClient<O>;
|
|
554
614
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -601,179 +661,138 @@ export declare class AssetModelResourceClient<O> {
|
|
|
601
661
|
[index: string]: Model.ValueDescriptor;
|
|
602
662
|
}>;
|
|
603
663
|
}
|
|
604
|
-
export declare class
|
|
664
|
+
export declare class AssetResourceClient<O> {
|
|
605
665
|
protected httpClient: HttpClient<O>;
|
|
606
666
|
constructor(httpClient: HttpClient<O>);
|
|
607
667
|
/**
|
|
608
|
-
* HTTP
|
|
609
|
-
* Java method: org.openremote.model.
|
|
610
|
-
*/
|
|
611
|
-
getSettings(options?: O): RestResponse<{
|
|
612
|
-
[id: string]: unknown;
|
|
613
|
-
}>;
|
|
614
|
-
/**
|
|
615
|
-
* HTTP PUT /map
|
|
616
|
-
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
617
|
-
*/
|
|
618
|
-
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
619
|
-
[id: string]: unknown;
|
|
620
|
-
}>;
|
|
621
|
-
/**
|
|
622
|
-
* HTTP DELETE /map/deleteMap
|
|
623
|
-
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
668
|
+
* HTTP POST /asset
|
|
669
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
624
670
|
*/
|
|
625
|
-
|
|
626
|
-
[id: string]: unknown;
|
|
627
|
-
}>;
|
|
671
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
628
672
|
/**
|
|
629
|
-
* HTTP
|
|
630
|
-
* Java method: org.openremote.model.
|
|
673
|
+
* HTTP DELETE /asset
|
|
674
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
631
675
|
*/
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
}>;
|
|
676
|
+
delete(queryParams?: {
|
|
677
|
+
assetId?: string[];
|
|
678
|
+
}, options?: O): RestResponse<void>;
|
|
635
679
|
/**
|
|
636
|
-
* HTTP
|
|
637
|
-
* Java method: org.openremote.model.
|
|
680
|
+
* HTTP PUT /asset/attributes
|
|
681
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
638
682
|
*/
|
|
639
|
-
|
|
683
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
640
684
|
/**
|
|
641
|
-
* HTTP
|
|
642
|
-
* Java method: org.openremote.model.
|
|
685
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
686
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
643
687
|
*/
|
|
644
|
-
|
|
645
|
-
filename?: string;
|
|
646
|
-
}, options?: O): RestResponse<{
|
|
647
|
-
[id: string]: unknown;
|
|
648
|
-
}>;
|
|
649
|
-
}
|
|
650
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
651
|
-
protected httpClient: HttpClient<O>;
|
|
652
|
-
constructor(httpClient: HttpClient<O>);
|
|
688
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
653
689
|
/**
|
|
654
|
-
* HTTP
|
|
655
|
-
* Java method: org.openremote.model.
|
|
690
|
+
* HTTP POST /asset/count
|
|
691
|
+
* Java method: org.openremote.model.asset.AssetResource.queryCount
|
|
656
692
|
*/
|
|
657
|
-
|
|
658
|
-
attributeRefs?: string;
|
|
659
|
-
fromTimestamp?: number;
|
|
660
|
-
toTimestamp?: number;
|
|
661
|
-
format?: Model.DatapointExportFormat;
|
|
662
|
-
}, options?: O): RestResponse<any>;
|
|
693
|
+
queryCount(query: Model.AssetQuery, options?: O): RestResponse<number>;
|
|
663
694
|
/**
|
|
664
|
-
* HTTP
|
|
665
|
-
* Java method: org.openremote.model.
|
|
695
|
+
* HTTP DELETE /asset/parent
|
|
696
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
666
697
|
*/
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
698
|
+
updateNoneParent(queryParams?: {
|
|
699
|
+
assetIds?: string[];
|
|
700
|
+
}, options?: O): RestResponse<void>;
|
|
671
701
|
/**
|
|
672
|
-
* HTTP
|
|
673
|
-
* Java method: org.openremote.model.
|
|
702
|
+
* HTTP GET /asset/partial/{assetId}
|
|
703
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
674
704
|
*/
|
|
675
|
-
|
|
676
|
-
}
|
|
677
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
678
|
-
protected httpClient: HttpClient<O>;
|
|
679
|
-
constructor(httpClient: HttpClient<O>);
|
|
705
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
680
706
|
/**
|
|
681
|
-
* HTTP POST /
|
|
682
|
-
* Java method: org.openremote.model.
|
|
707
|
+
* HTTP POST /asset/query
|
|
708
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
683
709
|
*/
|
|
684
|
-
|
|
710
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
685
711
|
/**
|
|
686
|
-
* HTTP
|
|
687
|
-
* Java method: org.openremote.model.
|
|
712
|
+
* HTTP POST /asset/tree
|
|
713
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
688
714
|
*/
|
|
689
|
-
|
|
715
|
+
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
690
716
|
/**
|
|
691
|
-
* HTTP GET /
|
|
692
|
-
* Java method: org.openremote.model.
|
|
717
|
+
* HTTP GET /asset/user/current
|
|
718
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
693
719
|
*/
|
|
694
|
-
|
|
720
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
695
721
|
/**
|
|
696
|
-
* HTTP
|
|
697
|
-
* Java method: org.openremote.model.
|
|
722
|
+
* HTTP POST /asset/user/link
|
|
723
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
698
724
|
*/
|
|
699
|
-
|
|
725
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
700
726
|
/**
|
|
701
|
-
* HTTP GET /
|
|
702
|
-
* Java method: org.openremote.model.
|
|
727
|
+
* HTTP GET /asset/user/link
|
|
728
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
703
729
|
*/
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
730
|
+
getUserAssetLinks(queryParams?: {
|
|
731
|
+
realm?: string;
|
|
732
|
+
userId?: string;
|
|
733
|
+
assetId?: string;
|
|
734
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
709
735
|
/**
|
|
710
|
-
* HTTP POST /
|
|
711
|
-
* Java method: org.openremote.model.
|
|
736
|
+
* HTTP POST /asset/user/link/delete
|
|
737
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
712
738
|
*/
|
|
713
|
-
|
|
714
|
-
assetIds?: string[];
|
|
715
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
739
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
716
740
|
/**
|
|
717
|
-
* HTTP
|
|
718
|
-
* Java method: org.openremote.model.
|
|
741
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
742
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
719
743
|
*/
|
|
720
|
-
|
|
721
|
-
realm?: string;
|
|
722
|
-
status?: Model.AlarmStatus;
|
|
723
|
-
assetId?: string;
|
|
724
|
-
assigneeId?: string;
|
|
725
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
744
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
726
745
|
/**
|
|
727
|
-
* HTTP DELETE /
|
|
728
|
-
* Java method: org.openremote.model.
|
|
746
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
747
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
729
748
|
*/
|
|
730
|
-
|
|
749
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
731
750
|
/**
|
|
732
|
-
* HTTP
|
|
733
|
-
* Java method: org.openremote.model.
|
|
751
|
+
* HTTP GET /asset/{assetId}
|
|
752
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
734
753
|
*/
|
|
735
|
-
|
|
754
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
736
755
|
/**
|
|
737
|
-
* HTTP
|
|
738
|
-
* Java method: org.openremote.model.
|
|
756
|
+
* HTTP PUT /asset/{assetId}
|
|
757
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
739
758
|
*/
|
|
740
|
-
|
|
759
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
741
760
|
/**
|
|
742
|
-
* HTTP
|
|
743
|
-
* Java method: org.openremote.model.
|
|
761
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
762
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
744
763
|
*/
|
|
745
|
-
|
|
764
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
746
765
|
/**
|
|
747
|
-
* HTTP PUT /
|
|
748
|
-
* Java method: org.openremote.model.
|
|
766
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
767
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
749
768
|
*/
|
|
750
|
-
|
|
769
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
751
770
|
/**
|
|
752
|
-
* HTTP
|
|
753
|
-
* Java method: org.openremote.model.
|
|
771
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
772
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
754
773
|
*/
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
}, options?: O): RestResponse<
|
|
774
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
775
|
+
assetIds?: string[];
|
|
776
|
+
}, options?: O): RestResponse<void>;
|
|
758
777
|
}
|
|
759
|
-
export declare class
|
|
778
|
+
export declare class FlowResourceClient<O> {
|
|
760
779
|
protected httpClient: HttpClient<O>;
|
|
761
780
|
constructor(httpClient: HttpClient<O>);
|
|
762
781
|
/**
|
|
763
|
-
* HTTP GET /
|
|
764
|
-
* Java method: org.openremote.model.
|
|
782
|
+
* HTTP GET /flow
|
|
783
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
765
784
|
*/
|
|
766
|
-
|
|
785
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
767
786
|
/**
|
|
768
|
-
* HTTP GET /
|
|
769
|
-
* Java method: org.openremote.model.
|
|
787
|
+
* HTTP GET /flow/{name}
|
|
788
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
770
789
|
*/
|
|
771
|
-
|
|
790
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
772
791
|
/**
|
|
773
|
-
* HTTP GET /
|
|
774
|
-
* Java method: org.openremote.model.
|
|
792
|
+
* HTTP GET /flow/{type}
|
|
793
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
775
794
|
*/
|
|
776
|
-
|
|
795
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
777
796
|
}
|
|
778
797
|
export declare class ExternalServiceResourceClient<O> {
|
|
779
798
|
protected httpClient: HttpClient<O>;
|
|
@@ -830,113 +849,41 @@ export declare class ExternalServiceResourceClient<O> {
|
|
|
830
849
|
*/
|
|
831
850
|
heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
832
851
|
}
|
|
833
|
-
export declare class
|
|
852
|
+
export declare class GatewayClientResourceClient<O> {
|
|
834
853
|
protected httpClient: HttpClient<O>;
|
|
835
854
|
constructor(httpClient: HttpClient<O>);
|
|
836
855
|
/**
|
|
837
|
-
* HTTP
|
|
838
|
-
* Java method: org.openremote.model.
|
|
839
|
-
*/
|
|
840
|
-
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
841
|
-
/**
|
|
842
|
-
* HTTP GET /rules
|
|
843
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
844
|
-
*/
|
|
845
|
-
getGlobalRulesets(queryParams?: {
|
|
846
|
-
language?: Model.RulesetLang[];
|
|
847
|
-
fullyPopulate?: boolean;
|
|
848
|
-
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
849
|
-
/**
|
|
850
|
-
* HTTP POST /rules/asset
|
|
851
|
-
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
852
|
-
*/
|
|
853
|
-
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
854
|
-
/**
|
|
855
|
-
* HTTP GET /rules/asset/for/{assetId}
|
|
856
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
857
|
-
*/
|
|
858
|
-
getAssetRulesets(assetId: string, queryParams?: {
|
|
859
|
-
language?: Model.RulesetLang[];
|
|
860
|
-
fullyPopulate?: boolean;
|
|
861
|
-
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
862
|
-
/**
|
|
863
|
-
* HTTP DELETE /rules/asset/{id}
|
|
864
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
865
|
-
*/
|
|
866
|
-
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
867
|
-
/**
|
|
868
|
-
* HTTP GET /rules/asset/{id}
|
|
869
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
870
|
-
*/
|
|
871
|
-
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
872
|
-
/**
|
|
873
|
-
* HTTP PUT /rules/asset/{id}
|
|
874
|
-
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
875
|
-
*/
|
|
876
|
-
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
877
|
-
/**
|
|
878
|
-
* HTTP GET /rules/geofences/{assetId}
|
|
879
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
880
|
-
*/
|
|
881
|
-
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
882
|
-
/**
|
|
883
|
-
* HTTP GET /rules/info/asset/{assetId}
|
|
884
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
885
|
-
*/
|
|
886
|
-
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
887
|
-
/**
|
|
888
|
-
* HTTP GET /rules/info/global
|
|
889
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
890
|
-
*/
|
|
891
|
-
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
892
|
-
/**
|
|
893
|
-
* HTTP GET /rules/info/realm/{realm}
|
|
894
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
895
|
-
*/
|
|
896
|
-
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
897
|
-
/**
|
|
898
|
-
* HTTP POST /rules/realm
|
|
899
|
-
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
900
|
-
*/
|
|
901
|
-
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
902
|
-
/**
|
|
903
|
-
* HTTP GET /rules/realm/for/{realm}
|
|
904
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
905
|
-
*/
|
|
906
|
-
getRealmRulesets(realm: string, queryParams?: {
|
|
907
|
-
language?: Model.RulesetLang[];
|
|
908
|
-
fullyPopulate?: boolean;
|
|
909
|
-
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
910
|
-
/**
|
|
911
|
-
* HTTP DELETE /rules/realm/{id}
|
|
912
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
856
|
+
* HTTP DELETE /gateway/connection
|
|
857
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
913
858
|
*/
|
|
914
|
-
|
|
859
|
+
deleteConnections(queryParams?: {
|
|
860
|
+
realm?: string[];
|
|
861
|
+
}, options?: O): RestResponse<void>;
|
|
915
862
|
/**
|
|
916
|
-
* HTTP GET /
|
|
917
|
-
* Java method: org.openremote.model.
|
|
863
|
+
* HTTP GET /gateway/connection
|
|
864
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
918
865
|
*/
|
|
919
|
-
|
|
866
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
920
867
|
/**
|
|
921
|
-
* HTTP
|
|
922
|
-
* Java method: org.openremote.model.
|
|
868
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
869
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
923
870
|
*/
|
|
924
|
-
|
|
871
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
925
872
|
/**
|
|
926
|
-
* HTTP
|
|
927
|
-
* Java method: org.openremote.model.
|
|
873
|
+
* HTTP GET /gateway/connection/{realm}
|
|
874
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
928
875
|
*/
|
|
929
|
-
|
|
876
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
930
877
|
/**
|
|
931
|
-
* HTTP
|
|
932
|
-
* Java method: org.openremote.model.
|
|
878
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
879
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
933
880
|
*/
|
|
934
|
-
|
|
881
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
935
882
|
/**
|
|
936
|
-
* HTTP
|
|
937
|
-
* Java method: org.openremote.model.
|
|
883
|
+
* HTTP GET /gateway/status/{realm}
|
|
884
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
938
885
|
*/
|
|
939
|
-
|
|
886
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
940
887
|
}
|
|
941
888
|
export declare class ProvisioningResourceClient<O> {
|
|
942
889
|
protected httpClient: HttpClient<O>;
|
|
@@ -962,53 +909,106 @@ export declare class ProvisioningResourceClient<O> {
|
|
|
962
909
|
*/
|
|
963
910
|
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
964
911
|
}
|
|
912
|
+
export declare class AlarmResourceClient<O> {
|
|
913
|
+
protected httpClient: HttpClient<O>;
|
|
914
|
+
constructor(httpClient: HttpClient<O>);
|
|
915
|
+
/**
|
|
916
|
+
* HTTP POST /alarm
|
|
917
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
918
|
+
*/
|
|
919
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
920
|
+
assetIds?: string[];
|
|
921
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
922
|
+
/**
|
|
923
|
+
* HTTP GET /alarm
|
|
924
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
925
|
+
*/
|
|
926
|
+
getAlarms(queryParams?: {
|
|
927
|
+
realm?: string;
|
|
928
|
+
status?: Model.AlarmStatus;
|
|
929
|
+
assetId?: string;
|
|
930
|
+
assigneeId?: string;
|
|
931
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
932
|
+
/**
|
|
933
|
+
* HTTP DELETE /alarm
|
|
934
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
935
|
+
*/
|
|
936
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
937
|
+
/**
|
|
938
|
+
* HTTP PUT /alarm/assets
|
|
939
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
940
|
+
*/
|
|
941
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
942
|
+
/**
|
|
943
|
+
* HTTP GET /alarm/{alarmId}
|
|
944
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
945
|
+
*/
|
|
946
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
947
|
+
/**
|
|
948
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
949
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
950
|
+
*/
|
|
951
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
952
|
+
/**
|
|
953
|
+
* HTTP PUT /alarm/{alarmId}
|
|
954
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
955
|
+
*/
|
|
956
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
957
|
+
/**
|
|
958
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
959
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
960
|
+
*/
|
|
961
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
962
|
+
realm?: string;
|
|
963
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
964
|
+
}
|
|
965
965
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
966
966
|
export declare class ApiClient {
|
|
967
|
-
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
968
967
|
protected _realmResource: AxiosRealmResourceClient;
|
|
969
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
970
968
|
protected _agentResource: AxiosAgentResourceClient;
|
|
971
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
972
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
973
969
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
974
|
-
protected
|
|
970
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
971
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
975
972
|
protected _statusResource: AxiosStatusResourceClient;
|
|
976
973
|
protected _userResource: AxiosUserResourceClient;
|
|
977
|
-
protected
|
|
974
|
+
protected _appResource: AxiosAppResourceClient;
|
|
975
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
978
976
|
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
977
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
978
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
979
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
979
980
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
981
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
980
982
|
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
981
|
-
protected
|
|
982
|
-
protected
|
|
983
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
984
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
985
|
-
protected _appResource: AxiosAppResourceClient;
|
|
983
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
984
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
986
985
|
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
987
|
-
protected
|
|
986
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
988
987
|
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
988
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
|
-
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
991
990
|
get RealmResource(): AxiosRealmResourceClient;
|
|
992
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
993
991
|
get AgentResource(): AxiosAgentResourceClient;
|
|
994
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
995
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
996
992
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
997
|
-
get
|
|
993
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
994
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
998
995
|
get StatusResource(): AxiosStatusResourceClient;
|
|
999
996
|
get UserResource(): AxiosUserResourceClient;
|
|
1000
|
-
get
|
|
997
|
+
get AppResource(): AxiosAppResourceClient;
|
|
998
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
1001
999
|
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
1000
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1001
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1002
|
+
get MapResource(): AxiosMapResourceClient;
|
|
1002
1003
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1004
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1003
1005
|
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1004
|
-
get
|
|
1005
|
-
get
|
|
1006
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
1007
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1008
|
-
get AppResource(): AxiosAppResourceClient;
|
|
1006
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
1007
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
1009
1008
|
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
1010
|
-
get
|
|
1009
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
1011
1010
|
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
1011
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1012
1012
|
}
|
|
1013
1013
|
import * as Axios from "axios";
|
|
1014
1014
|
declare module "axios" {
|
|
@@ -1016,28 +1016,19 @@ declare module "axios" {
|
|
|
1016
1016
|
data: R;
|
|
1017
1017
|
}
|
|
1018
1018
|
}
|
|
1019
|
-
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1020
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1021
|
-
}
|
|
1022
1019
|
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1023
1020
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1024
1021
|
}
|
|
1025
|
-
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1026
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1027
|
-
}
|
|
1028
1022
|
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1029
1023
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1030
1024
|
}
|
|
1031
|
-
export declare class
|
|
1032
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1033
|
-
}
|
|
1034
|
-
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1025
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1035
1026
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1036
1027
|
}
|
|
1037
|
-
export declare class
|
|
1028
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1038
1029
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1039
1030
|
}
|
|
1040
|
-
export declare class
|
|
1031
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1041
1032
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1042
1033
|
}
|
|
1043
1034
|
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
@@ -1046,40 +1037,49 @@ export declare class AxiosStatusResourceClient extends StatusResourceClient<Axio
|
|
|
1046
1037
|
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1047
1038
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1048
1039
|
}
|
|
1049
|
-
export declare class
|
|
1040
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1041
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1042
|
+
}
|
|
1043
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1050
1044
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1051
1045
|
}
|
|
1052
1046
|
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1053
1047
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1054
1048
|
}
|
|
1055
|
-
export declare class
|
|
1049
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1056
1050
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1057
1051
|
}
|
|
1058
|
-
export declare class
|
|
1052
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1059
1053
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1060
1054
|
}
|
|
1061
1055
|
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1062
1056
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1063
1057
|
}
|
|
1064
|
-
export declare class
|
|
1058
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1065
1059
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1066
1060
|
}
|
|
1067
|
-
export declare class
|
|
1061
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1068
1062
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1069
1063
|
}
|
|
1070
|
-
export declare class
|
|
1064
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1071
1065
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1072
1066
|
}
|
|
1073
|
-
export declare class
|
|
1067
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1068
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1069
|
+
}
|
|
1070
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1074
1071
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1075
1072
|
}
|
|
1076
1073
|
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1077
1074
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1078
1075
|
}
|
|
1079
|
-
export declare class
|
|
1076
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1080
1077
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1081
1078
|
}
|
|
1082
1079
|
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1083
1080
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1084
1081
|
}
|
|
1082
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1083
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1084
|
+
}
|
|
1085
1085
|
//# sourceMappingURL=restclient.d.ts.map
|