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