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