@openremote/rest 1.12.0-snapshot.20251125122444 → 1.12.0-snapshot.20251125130811
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 +552 -552
- 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,41 +9,46 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class SyslogResourceClient<O> {
|
|
13
13
|
protected httpClient: HttpClient<O>;
|
|
14
14
|
constructor(httpClient: HttpClient<O>);
|
|
15
15
|
/**
|
|
16
|
-
* HTTP
|
|
17
|
-
* Java method: org.openremote.model.
|
|
18
|
-
*/
|
|
19
|
-
deleteConnections(queryParams?: {
|
|
20
|
-
realm?: string[];
|
|
21
|
-
}, options?: O): RestResponse<void>;
|
|
22
|
-
/**
|
|
23
|
-
* HTTP GET /gateway/connection
|
|
24
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
16
|
+
* HTTP GET /syslog/config
|
|
17
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
25
18
|
*/
|
|
26
|
-
|
|
19
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
27
20
|
/**
|
|
28
|
-
* HTTP
|
|
29
|
-
* Java method: org.openremote.model.
|
|
21
|
+
* HTTP PUT /syslog/config
|
|
22
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
30
23
|
*/
|
|
31
|
-
|
|
24
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
32
25
|
/**
|
|
33
|
-
* HTTP
|
|
34
|
-
* Java method: org.openremote.model.
|
|
26
|
+
* HTTP DELETE /syslog/event
|
|
27
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
35
28
|
*/
|
|
36
|
-
|
|
29
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
37
30
|
/**
|
|
38
|
-
* HTTP
|
|
39
|
-
* Java method: org.openremote.model.
|
|
31
|
+
* HTTP GET /syslog/event
|
|
32
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
40
33
|
*/
|
|
41
|
-
|
|
34
|
+
getEvents(queryParams?: {
|
|
35
|
+
level?: Model.SyslogLevel;
|
|
36
|
+
per_page?: number;
|
|
37
|
+
page?: number;
|
|
38
|
+
from?: number;
|
|
39
|
+
to?: number;
|
|
40
|
+
category?: Model.SyslogCategory[];
|
|
41
|
+
subCategory?: string[];
|
|
42
|
+
}, options?: O): RestResponse<any>;
|
|
43
|
+
}
|
|
44
|
+
export declare class ConsoleResourceClient<O> {
|
|
45
|
+
protected httpClient: HttpClient<O>;
|
|
46
|
+
constructor(httpClient: HttpClient<O>);
|
|
42
47
|
/**
|
|
43
|
-
* HTTP
|
|
44
|
-
* Java method: org.openremote.model.
|
|
48
|
+
* HTTP POST /console/register
|
|
49
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
45
50
|
*/
|
|
46
|
-
|
|
51
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
47
52
|
}
|
|
48
53
|
export declare class ConfigurationResourceClient<O> {
|
|
49
54
|
protected httpClient: HttpClient<O>;
|
|
@@ -71,272 +76,139 @@ export declare class ConfigurationResourceClient<O> {
|
|
|
71
76
|
*/
|
|
72
77
|
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
73
78
|
}
|
|
74
|
-
export declare class
|
|
79
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
75
80
|
protected httpClient: HttpClient<O>;
|
|
76
81
|
constructor(httpClient: HttpClient<O>);
|
|
77
82
|
/**
|
|
78
|
-
* HTTP POST /
|
|
79
|
-
* Java method: org.openremote.model.
|
|
80
|
-
*/
|
|
81
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
82
|
-
/**
|
|
83
|
-
* HTTP GET /provisioning
|
|
84
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
85
|
-
*/
|
|
86
|
-
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
87
|
-
/**
|
|
88
|
-
* HTTP DELETE /provisioning/{id}
|
|
89
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
83
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
84
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
90
85
|
*/
|
|
91
|
-
|
|
86
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
92
87
|
/**
|
|
93
|
-
* HTTP PUT /
|
|
94
|
-
* Java method: org.openremote.model.
|
|
88
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
89
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
95
90
|
*/
|
|
96
|
-
|
|
91
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
97
92
|
}
|
|
98
|
-
export declare class
|
|
93
|
+
export declare class AssetModelResourceClient<O> {
|
|
99
94
|
protected httpClient: HttpClient<O>;
|
|
100
95
|
constructor(httpClient: HttpClient<O>);
|
|
101
96
|
/**
|
|
102
|
-
* HTTP GET /
|
|
103
|
-
* Java method: org.openremote.model.
|
|
97
|
+
* HTTP GET /model/assetDescriptors
|
|
98
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
104
99
|
*/
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
to?: number;
|
|
110
|
-
realmId?: string;
|
|
111
|
-
userId?: string;
|
|
112
|
-
assetId?: string;
|
|
113
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
100
|
+
getAssetDescriptors(queryParams?: {
|
|
101
|
+
parentId?: string;
|
|
102
|
+
parentType?: string;
|
|
103
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
114
104
|
/**
|
|
115
|
-
* HTTP
|
|
116
|
-
* Java method: org.openremote.model.
|
|
105
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
106
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
117
107
|
*/
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
from?: number;
|
|
122
|
-
to?: number;
|
|
123
|
-
realmId?: string;
|
|
124
|
-
userId?: string;
|
|
125
|
-
assetId?: string;
|
|
126
|
-
}, options?: O): RestResponse<void>;
|
|
108
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
109
|
+
parentId?: string;
|
|
110
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
127
111
|
/**
|
|
128
|
-
* HTTP
|
|
129
|
-
* Java method: org.openremote.model.
|
|
112
|
+
* HTTP GET /model/assetInfos
|
|
113
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
130
114
|
*/
|
|
131
|
-
|
|
115
|
+
getAssetInfos(queryParams?: {
|
|
116
|
+
parentId?: string;
|
|
117
|
+
parentType?: string;
|
|
118
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
132
119
|
/**
|
|
133
|
-
* HTTP
|
|
134
|
-
* Java method: org.openremote.model.
|
|
120
|
+
* HTTP GET /model/getValueDescriptorSchema
|
|
121
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptorSchema
|
|
135
122
|
*/
|
|
136
|
-
|
|
123
|
+
getValueDescriptorSchema(queryParams?: {
|
|
124
|
+
name?: string;
|
|
125
|
+
hash?: string;
|
|
126
|
+
}, options?: O): RestResponse<any>;
|
|
137
127
|
/**
|
|
138
|
-
* HTTP
|
|
139
|
-
* Java method: org.openremote.model.
|
|
128
|
+
* HTTP GET /model/metaItemDescriptors
|
|
129
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
140
130
|
*/
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}, options?: O): RestResponse<
|
|
131
|
+
getMetaItemDescriptors(queryParams?: {
|
|
132
|
+
parentId?: string;
|
|
133
|
+
}, options?: O): RestResponse<{
|
|
134
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
135
|
+
}>;
|
|
144
136
|
/**
|
|
145
|
-
* HTTP
|
|
146
|
-
* Java method: org.openremote.model.
|
|
137
|
+
* HTTP GET /model/valueDescriptors
|
|
138
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
147
139
|
*/
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
}, options?: O): RestResponse<
|
|
140
|
+
getValueDescriptors(queryParams?: {
|
|
141
|
+
parentId?: string;
|
|
142
|
+
}, options?: O): RestResponse<{
|
|
143
|
+
[index: string]: Model.ValueDescriptor;
|
|
144
|
+
}>;
|
|
151
145
|
}
|
|
152
|
-
export declare class
|
|
146
|
+
export declare class FlowResourceClient<O> {
|
|
153
147
|
protected httpClient: HttpClient<O>;
|
|
154
148
|
constructor(httpClient: HttpClient<O>);
|
|
155
149
|
/**
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
159
|
-
*/
|
|
160
|
-
getServices(queryParams?: {
|
|
161
|
-
realm?: string;
|
|
162
|
-
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
163
|
-
/**
|
|
164
|
-
* Response code 200 - Service registered successfully
|
|
165
|
-
* Response code 400 - Invalid external service object
|
|
166
|
-
* Response code 409 - ExternalService instance already registered
|
|
167
|
-
* HTTP POST /service
|
|
168
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
169
|
-
*/
|
|
170
|
-
registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
171
|
-
/**
|
|
172
|
-
* Response code 200 - List of registered external services
|
|
173
|
-
* HTTP GET /service/global
|
|
174
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
175
|
-
*/
|
|
176
|
-
getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
|
|
177
|
-
/**
|
|
178
|
-
* Response code 200 - Service registered successfully
|
|
179
|
-
* Response code 400 - Invalid external service object
|
|
180
|
-
* Response code 409 - ExternalService instance already registered
|
|
181
|
-
* HTTP POST /service/global
|
|
182
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
183
|
-
*/
|
|
184
|
-
registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
185
|
-
/**
|
|
186
|
-
* Response code 204 - Service deregistered successfully
|
|
187
|
-
* Response code 404 - Service instance not found
|
|
188
|
-
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
189
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
150
|
+
* HTTP GET /flow
|
|
151
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
190
152
|
*/
|
|
191
|
-
|
|
153
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
192
154
|
/**
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
* HTTP GET /service/{serviceId}/{instanceId}
|
|
196
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
155
|
+
* HTTP GET /flow/{name}
|
|
156
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
197
157
|
*/
|
|
198
|
-
|
|
158
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
199
159
|
/**
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
203
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
160
|
+
* HTTP GET /flow/{type}
|
|
161
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
204
162
|
*/
|
|
205
|
-
|
|
163
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
206
164
|
}
|
|
207
|
-
export declare class
|
|
165
|
+
export declare class AppResourceClient<O> {
|
|
208
166
|
protected httpClient: HttpClient<O>;
|
|
209
167
|
constructor(httpClient: HttpClient<O>);
|
|
210
168
|
/**
|
|
211
|
-
* HTTP GET /
|
|
212
|
-
* Java method: org.openremote.model.
|
|
169
|
+
* HTTP GET /apps
|
|
170
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
213
171
|
*/
|
|
214
|
-
|
|
215
|
-
attributeRefs?: string;
|
|
216
|
-
fromTimestamp?: number;
|
|
217
|
-
toTimestamp?: number;
|
|
218
|
-
}, options?: O): RestResponse<any>;
|
|
172
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
219
173
|
/**
|
|
220
|
-
* HTTP GET /
|
|
221
|
-
* Java method: org.openremote.model.
|
|
174
|
+
* HTTP GET /apps/consoleConfig
|
|
175
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
222
176
|
*/
|
|
223
|
-
|
|
224
|
-
assetId?: string;
|
|
225
|
-
attributeName?: string;
|
|
226
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
177
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
227
178
|
/**
|
|
228
|
-
* HTTP
|
|
229
|
-
* Java method: org.openremote.model.
|
|
179
|
+
* HTTP GET /apps/info
|
|
180
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
230
181
|
*/
|
|
231
|
-
|
|
182
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
232
183
|
}
|
|
233
|
-
export declare class
|
|
184
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
234
185
|
protected httpClient: HttpClient<O>;
|
|
235
186
|
constructor(httpClient: HttpClient<O>);
|
|
236
187
|
/**
|
|
237
|
-
* HTTP POST /
|
|
238
|
-
* Java method: org.openremote.model.
|
|
239
|
-
*/
|
|
240
|
-
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
241
|
-
/**
|
|
242
|
-
* HTTP GET /rules
|
|
243
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
244
|
-
*/
|
|
245
|
-
getGlobalRulesets(queryParams?: {
|
|
246
|
-
language?: Model.RulesetLang[];
|
|
247
|
-
fullyPopulate?: boolean;
|
|
248
|
-
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
249
|
-
/**
|
|
250
|
-
* HTTP POST /rules/asset
|
|
251
|
-
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
252
|
-
*/
|
|
253
|
-
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
254
|
-
/**
|
|
255
|
-
* HTTP GET /rules/asset/for/{assetId}
|
|
256
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
257
|
-
*/
|
|
258
|
-
getAssetRulesets(assetId: string, queryParams?: {
|
|
259
|
-
language?: Model.RulesetLang[];
|
|
260
|
-
fullyPopulate?: boolean;
|
|
261
|
-
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
262
|
-
/**
|
|
263
|
-
* HTTP DELETE /rules/asset/{id}
|
|
264
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
265
|
-
*/
|
|
266
|
-
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
267
|
-
/**
|
|
268
|
-
* HTTP GET /rules/asset/{id}
|
|
269
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
270
|
-
*/
|
|
271
|
-
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
272
|
-
/**
|
|
273
|
-
* HTTP PUT /rules/asset/{id}
|
|
274
|
-
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
275
|
-
*/
|
|
276
|
-
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
277
|
-
/**
|
|
278
|
-
* HTTP GET /rules/geofences/{assetId}
|
|
279
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
280
|
-
*/
|
|
281
|
-
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
282
|
-
/**
|
|
283
|
-
* HTTP GET /rules/info/asset/{assetId}
|
|
284
|
-
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
285
|
-
*/
|
|
286
|
-
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
287
|
-
/**
|
|
288
|
-
* HTTP GET /rules/info/global
|
|
289
|
-
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
290
|
-
*/
|
|
291
|
-
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
292
|
-
/**
|
|
293
|
-
* HTTP GET /rules/info/realm/{realm}
|
|
294
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
295
|
-
*/
|
|
296
|
-
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
297
|
-
/**
|
|
298
|
-
* HTTP POST /rules/realm
|
|
299
|
-
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
300
|
-
*/
|
|
301
|
-
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
302
|
-
/**
|
|
303
|
-
* HTTP GET /rules/realm/for/{realm}
|
|
304
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
305
|
-
*/
|
|
306
|
-
getRealmRulesets(realm: string, queryParams?: {
|
|
307
|
-
language?: Model.RulesetLang[];
|
|
308
|
-
fullyPopulate?: boolean;
|
|
309
|
-
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
310
|
-
/**
|
|
311
|
-
* HTTP DELETE /rules/realm/{id}
|
|
312
|
-
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
313
|
-
*/
|
|
314
|
-
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
315
|
-
/**
|
|
316
|
-
* HTTP GET /rules/realm/{id}
|
|
317
|
-
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
188
|
+
* HTTP POST /gateway/tunnel
|
|
189
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
318
190
|
*/
|
|
319
|
-
|
|
191
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
320
192
|
/**
|
|
321
|
-
* HTTP
|
|
322
|
-
* Java method: org.openremote.model.
|
|
193
|
+
* HTTP DELETE /gateway/tunnel
|
|
194
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
323
195
|
*/
|
|
324
|
-
|
|
196
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
325
197
|
/**
|
|
326
|
-
* HTTP
|
|
327
|
-
* Java method: org.openremote.model.
|
|
198
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
199
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
328
200
|
*/
|
|
329
|
-
|
|
201
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
330
202
|
/**
|
|
331
|
-
* HTTP GET /
|
|
332
|
-
* Java method: org.openremote.model.
|
|
203
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
204
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
333
205
|
*/
|
|
334
|
-
|
|
206
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
335
207
|
/**
|
|
336
|
-
* HTTP
|
|
337
|
-
* Java method: org.openremote.model.
|
|
208
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
209
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
338
210
|
*/
|
|
339
|
-
|
|
211
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
340
212
|
}
|
|
341
213
|
export declare class AssetResourceClient<O> {
|
|
342
214
|
protected httpClient: HttpClient<O>;
|
|
@@ -447,72 +319,167 @@ export declare class AssetResourceClient<O> {
|
|
|
447
319
|
assetIds?: string[];
|
|
448
320
|
}, options?: O): RestResponse<void>;
|
|
449
321
|
}
|
|
450
|
-
export declare class
|
|
322
|
+
export declare class NotificationResourceClient<O> {
|
|
451
323
|
protected httpClient: HttpClient<O>;
|
|
452
324
|
constructor(httpClient: HttpClient<O>);
|
|
453
325
|
/**
|
|
454
|
-
* HTTP GET /
|
|
455
|
-
* Java method: org.openremote.model.
|
|
326
|
+
* HTTP GET /notification
|
|
327
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
456
328
|
*/
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
329
|
+
getNotifications(queryParams?: {
|
|
330
|
+
id?: number;
|
|
331
|
+
type?: string;
|
|
332
|
+
from?: number;
|
|
333
|
+
to?: number;
|
|
334
|
+
realmId?: string;
|
|
335
|
+
userId?: string;
|
|
336
|
+
assetId?: string;
|
|
337
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
461
338
|
/**
|
|
462
|
-
* HTTP
|
|
463
|
-
* Java method: org.openremote.model.
|
|
339
|
+
* HTTP DELETE /notification
|
|
340
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
464
341
|
*/
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
342
|
+
removeNotifications(queryParams?: {
|
|
343
|
+
id?: number;
|
|
344
|
+
type?: string;
|
|
345
|
+
from?: number;
|
|
346
|
+
to?: number;
|
|
347
|
+
realmId?: string;
|
|
348
|
+
userId?: string;
|
|
349
|
+
assetId?: string;
|
|
350
|
+
}, options?: O): RestResponse<void>;
|
|
468
351
|
/**
|
|
469
|
-
* HTTP
|
|
470
|
-
* Java method: org.openremote.model.
|
|
352
|
+
* HTTP POST /notification/alert
|
|
353
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
471
354
|
*/
|
|
472
|
-
|
|
473
|
-
parentId?: string;
|
|
474
|
-
parentType?: string;
|
|
475
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
355
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
476
356
|
/**
|
|
477
|
-
* HTTP
|
|
478
|
-
* Java method: org.openremote.model.
|
|
357
|
+
* HTTP DELETE /notification/{notificationId}
|
|
358
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
479
359
|
*/
|
|
480
|
-
|
|
481
|
-
name?: string;
|
|
482
|
-
hash?: string;
|
|
483
|
-
}, options?: O): RestResponse<any>;
|
|
360
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
484
361
|
/**
|
|
485
|
-
* HTTP
|
|
486
|
-
* Java method: org.openremote.model.
|
|
362
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
363
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
487
364
|
*/
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
}, options?: O): RestResponse<
|
|
491
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
492
|
-
}>;
|
|
365
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
366
|
+
targetId?: string;
|
|
367
|
+
}, options?: O): RestResponse<void>;
|
|
493
368
|
/**
|
|
494
|
-
* HTTP
|
|
495
|
-
* Java method: org.openremote.model.
|
|
369
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
370
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
496
371
|
*/
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
}, options?: O): RestResponse<
|
|
500
|
-
[index: string]: Model.ValueDescriptor;
|
|
501
|
-
}>;
|
|
372
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
373
|
+
targetId?: string;
|
|
374
|
+
}, options?: O): RestResponse<void>;
|
|
502
375
|
}
|
|
503
|
-
export declare class
|
|
376
|
+
export declare class RulesResourceClient<O> {
|
|
504
377
|
protected httpClient: HttpClient<O>;
|
|
505
378
|
constructor(httpClient: HttpClient<O>);
|
|
506
379
|
/**
|
|
507
|
-
* HTTP POST /
|
|
508
|
-
* Java method: org.openremote.model.
|
|
380
|
+
* HTTP POST /rules
|
|
381
|
+
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
509
382
|
*/
|
|
510
|
-
|
|
383
|
+
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
511
384
|
/**
|
|
512
|
-
* HTTP
|
|
513
|
-
* Java method: org.openremote.model.
|
|
385
|
+
* HTTP GET /rules
|
|
386
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
514
387
|
*/
|
|
515
|
-
|
|
388
|
+
getGlobalRulesets(queryParams?: {
|
|
389
|
+
language?: Model.RulesetLang[];
|
|
390
|
+
fullyPopulate?: boolean;
|
|
391
|
+
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
392
|
+
/**
|
|
393
|
+
* HTTP POST /rules/asset
|
|
394
|
+
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
395
|
+
*/
|
|
396
|
+
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
397
|
+
/**
|
|
398
|
+
* HTTP GET /rules/asset/for/{assetId}
|
|
399
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
400
|
+
*/
|
|
401
|
+
getAssetRulesets(assetId: string, queryParams?: {
|
|
402
|
+
language?: Model.RulesetLang[];
|
|
403
|
+
fullyPopulate?: boolean;
|
|
404
|
+
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
405
|
+
/**
|
|
406
|
+
* HTTP DELETE /rules/asset/{id}
|
|
407
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
408
|
+
*/
|
|
409
|
+
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
410
|
+
/**
|
|
411
|
+
* HTTP GET /rules/asset/{id}
|
|
412
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
413
|
+
*/
|
|
414
|
+
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
415
|
+
/**
|
|
416
|
+
* HTTP PUT /rules/asset/{id}
|
|
417
|
+
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
418
|
+
*/
|
|
419
|
+
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
420
|
+
/**
|
|
421
|
+
* HTTP GET /rules/geofences/{assetId}
|
|
422
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
423
|
+
*/
|
|
424
|
+
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
425
|
+
/**
|
|
426
|
+
* HTTP GET /rules/info/asset/{assetId}
|
|
427
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
428
|
+
*/
|
|
429
|
+
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
430
|
+
/**
|
|
431
|
+
* HTTP GET /rules/info/global
|
|
432
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
433
|
+
*/
|
|
434
|
+
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
435
|
+
/**
|
|
436
|
+
* HTTP GET /rules/info/realm/{realm}
|
|
437
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
438
|
+
*/
|
|
439
|
+
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
440
|
+
/**
|
|
441
|
+
* HTTP POST /rules/realm
|
|
442
|
+
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
443
|
+
*/
|
|
444
|
+
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
445
|
+
/**
|
|
446
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
447
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
448
|
+
*/
|
|
449
|
+
getRealmRulesets(realm: string, queryParams?: {
|
|
450
|
+
language?: Model.RulesetLang[];
|
|
451
|
+
fullyPopulate?: boolean;
|
|
452
|
+
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
453
|
+
/**
|
|
454
|
+
* HTTP DELETE /rules/realm/{id}
|
|
455
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
456
|
+
*/
|
|
457
|
+
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
458
|
+
/**
|
|
459
|
+
* HTTP GET /rules/realm/{id}
|
|
460
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
461
|
+
*/
|
|
462
|
+
getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
|
|
463
|
+
/**
|
|
464
|
+
* HTTP PUT /rules/realm/{id}
|
|
465
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
466
|
+
*/
|
|
467
|
+
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
468
|
+
/**
|
|
469
|
+
* HTTP DELETE /rules/{id}
|
|
470
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
471
|
+
*/
|
|
472
|
+
deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
|
|
473
|
+
/**
|
|
474
|
+
* HTTP GET /rules/{id}
|
|
475
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
476
|
+
*/
|
|
477
|
+
getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
478
|
+
/**
|
|
479
|
+
* HTTP PUT /rules/{id}
|
|
480
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
481
|
+
*/
|
|
482
|
+
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
516
483
|
}
|
|
517
484
|
export declare class AlarmResourceClient<O> {
|
|
518
485
|
protected httpClient: HttpClient<O>;
|
|
@@ -567,24 +534,65 @@ export declare class AlarmResourceClient<O> {
|
|
|
567
534
|
realm?: string;
|
|
568
535
|
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
569
536
|
}
|
|
570
|
-
export declare class
|
|
537
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
571
538
|
protected httpClient: HttpClient<O>;
|
|
572
539
|
constructor(httpClient: HttpClient<O>);
|
|
573
540
|
/**
|
|
574
|
-
* HTTP GET /
|
|
575
|
-
* Java method: org.openremote.model.
|
|
541
|
+
* HTTP GET /asset/datapoint/export
|
|
542
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
576
543
|
*/
|
|
577
|
-
|
|
544
|
+
getDatapointExport(queryParams?: {
|
|
545
|
+
attributeRefs?: string;
|
|
546
|
+
fromTimestamp?: number;
|
|
547
|
+
toTimestamp?: number;
|
|
548
|
+
}, options?: O): RestResponse<any>;
|
|
578
549
|
/**
|
|
579
|
-
* HTTP GET /
|
|
580
|
-
* Java method: org.openremote.model.
|
|
550
|
+
* HTTP GET /asset/datapoint/periods
|
|
551
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
581
552
|
*/
|
|
582
|
-
|
|
553
|
+
getDatapointPeriod(queryParams?: {
|
|
554
|
+
assetId?: string;
|
|
555
|
+
attributeName?: string;
|
|
556
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
583
557
|
/**
|
|
584
|
-
* HTTP
|
|
585
|
-
* Java method: org.openremote.model.
|
|
558
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
559
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
586
560
|
*/
|
|
587
|
-
|
|
561
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
562
|
+
}
|
|
563
|
+
export declare class DashboardResourceClient<O> {
|
|
564
|
+
protected httpClient: HttpClient<O>;
|
|
565
|
+
constructor(httpClient: HttpClient<O>);
|
|
566
|
+
/**
|
|
567
|
+
* HTTP POST /dashboard
|
|
568
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
569
|
+
*/
|
|
570
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
571
|
+
/**
|
|
572
|
+
* HTTP PUT /dashboard
|
|
573
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
574
|
+
*/
|
|
575
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
576
|
+
/**
|
|
577
|
+
* HTTP GET /dashboard/all/{realm}
|
|
578
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
579
|
+
*/
|
|
580
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
581
|
+
/**
|
|
582
|
+
* HTTP POST /dashboard/query
|
|
583
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
584
|
+
*/
|
|
585
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
586
|
+
/**
|
|
587
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
588
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
589
|
+
*/
|
|
590
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
591
|
+
/**
|
|
592
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
593
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
594
|
+
*/
|
|
595
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
588
596
|
}
|
|
589
597
|
export declare class MapResourceClient<O> {
|
|
590
598
|
protected httpClient: HttpClient<O>;
|
|
@@ -639,14 +647,148 @@ export declare class MapResourceClient<O> {
|
|
|
639
647
|
[id: string]: unknown;
|
|
640
648
|
}>;
|
|
641
649
|
}
|
|
642
|
-
export declare class
|
|
650
|
+
export declare class ExternalServiceResourceClient<O> {
|
|
643
651
|
protected httpClient: HttpClient<O>;
|
|
644
652
|
constructor(httpClient: HttpClient<O>);
|
|
645
653
|
/**
|
|
646
|
-
*
|
|
647
|
-
*
|
|
654
|
+
* Response code 200 - List of registered external services
|
|
655
|
+
* HTTP GET /service
|
|
656
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
648
657
|
*/
|
|
649
|
-
|
|
658
|
+
getServices(queryParams?: {
|
|
659
|
+
realm?: string;
|
|
660
|
+
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
661
|
+
/**
|
|
662
|
+
* Response code 200 - Service registered successfully
|
|
663
|
+
* Response code 400 - Invalid external service object
|
|
664
|
+
* Response code 409 - ExternalService instance already registered
|
|
665
|
+
* HTTP POST /service
|
|
666
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
667
|
+
*/
|
|
668
|
+
registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
669
|
+
/**
|
|
670
|
+
* Response code 200 - List of registered external services
|
|
671
|
+
* HTTP GET /service/global
|
|
672
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
673
|
+
*/
|
|
674
|
+
getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
|
|
675
|
+
/**
|
|
676
|
+
* Response code 200 - Service registered successfully
|
|
677
|
+
* Response code 400 - Invalid external service object
|
|
678
|
+
* Response code 409 - ExternalService instance already registered
|
|
679
|
+
* HTTP POST /service/global
|
|
680
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
681
|
+
*/
|
|
682
|
+
registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
683
|
+
/**
|
|
684
|
+
* Response code 204 - Service deregistered successfully
|
|
685
|
+
* Response code 404 - Service instance not found
|
|
686
|
+
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
687
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
688
|
+
*/
|
|
689
|
+
deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
690
|
+
/**
|
|
691
|
+
* Response code 200 - ExternalService retrieved successfully
|
|
692
|
+
* Response code 404 - ExternalService not found
|
|
693
|
+
* HTTP GET /service/{serviceId}/{instanceId}
|
|
694
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
695
|
+
*/
|
|
696
|
+
getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
|
|
697
|
+
/**
|
|
698
|
+
* Response code 204 - Heartbeat sent successfully
|
|
699
|
+
* Response code 404 - Service instance not found
|
|
700
|
+
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
701
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
702
|
+
*/
|
|
703
|
+
heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
704
|
+
}
|
|
705
|
+
export declare class StatusResourceClient<O> {
|
|
706
|
+
protected httpClient: HttpClient<O>;
|
|
707
|
+
constructor(httpClient: HttpClient<O>);
|
|
708
|
+
/**
|
|
709
|
+
* HTTP GET /health
|
|
710
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
711
|
+
*/
|
|
712
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
713
|
+
[index: string]: any;
|
|
714
|
+
}>;
|
|
715
|
+
/**
|
|
716
|
+
* HTTP GET /info
|
|
717
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
718
|
+
*/
|
|
719
|
+
getInfo(options?: O): RestResponse<{
|
|
720
|
+
[index: string]: any;
|
|
721
|
+
}>;
|
|
722
|
+
}
|
|
723
|
+
export declare class GatewayClientResourceClient<O> {
|
|
724
|
+
protected httpClient: HttpClient<O>;
|
|
725
|
+
constructor(httpClient: HttpClient<O>);
|
|
726
|
+
/**
|
|
727
|
+
* HTTP DELETE /gateway/connection
|
|
728
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
729
|
+
*/
|
|
730
|
+
deleteConnections(queryParams?: {
|
|
731
|
+
realm?: string[];
|
|
732
|
+
}, options?: O): RestResponse<void>;
|
|
733
|
+
/**
|
|
734
|
+
* HTTP GET /gateway/connection
|
|
735
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
736
|
+
*/
|
|
737
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
738
|
+
/**
|
|
739
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
740
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
741
|
+
*/
|
|
742
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
743
|
+
/**
|
|
744
|
+
* HTTP GET /gateway/connection/{realm}
|
|
745
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
746
|
+
*/
|
|
747
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
748
|
+
/**
|
|
749
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
750
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
751
|
+
*/
|
|
752
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
753
|
+
/**
|
|
754
|
+
* HTTP GET /gateway/status/{realm}
|
|
755
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
756
|
+
*/
|
|
757
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
758
|
+
}
|
|
759
|
+
export declare class RealmResourceClient<O> {
|
|
760
|
+
protected httpClient: HttpClient<O>;
|
|
761
|
+
constructor(httpClient: HttpClient<O>);
|
|
762
|
+
/**
|
|
763
|
+
* HTTP POST /realm
|
|
764
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
765
|
+
*/
|
|
766
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
767
|
+
/**
|
|
768
|
+
* HTTP GET /realm
|
|
769
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
770
|
+
*/
|
|
771
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
772
|
+
/**
|
|
773
|
+
* HTTP GET /realm/accessible
|
|
774
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
775
|
+
*/
|
|
776
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
777
|
+
/**
|
|
778
|
+
* HTTP DELETE /realm/{name}
|
|
779
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
780
|
+
*/
|
|
781
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
782
|
+
/**
|
|
783
|
+
* HTTP GET /realm/{name}
|
|
784
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
785
|
+
*/
|
|
786
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
787
|
+
/**
|
|
788
|
+
* HTTP PUT /realm/{name}
|
|
789
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
790
|
+
*/
|
|
791
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
650
792
|
}
|
|
651
793
|
export declare class AgentResourceClient<O> {
|
|
652
794
|
protected httpClient: HttpClient<O>;
|
|
@@ -713,304 +855,162 @@ export declare class UserResourceClient<O> {
|
|
|
713
855
|
*/
|
|
714
856
|
getCurrentUserRealmRoles(options?: O): RestResponse<string[]>;
|
|
715
857
|
/**
|
|
716
|
-
* HTTP GET /user/userRoles/{clientId}
|
|
717
|
-
* Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
|
|
718
|
-
*/
|
|
719
|
-
getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<string[]>;
|
|
720
|
-
/**
|
|
721
|
-
* HTTP GET /user/{realm}/disconnect/{sessionID}
|
|
722
|
-
* Java method: org.openremote.model.security.UserResource.disconnectUserSession
|
|
723
|
-
*/
|
|
724
|
-
disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
|
|
725
|
-
/**
|
|
726
|
-
* HTTP PUT /user/{realm}/request-password-reset/{userId}
|
|
727
|
-
* Java method: org.openremote.model.security.UserResource.requestPasswordReset
|
|
728
|
-
*/
|
|
729
|
-
requestPasswordReset(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
730
|
-
/**
|
|
731
|
-
* HTTP PUT /user/{realm}/reset-password/{userId}
|
|
732
|
-
* Java method: org.openremote.model.security.UserResource.updatePassword
|
|
733
|
-
*/
|
|
734
|
-
updatePassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
|
|
735
|
-
/**
|
|
736
|
-
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
737
|
-
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
738
|
-
*/
|
|
739
|
-
resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
|
|
740
|
-
/**
|
|
741
|
-
* HTTP PUT /user/{realm}/roles
|
|
742
|
-
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
743
|
-
*/
|
|
744
|
-
updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
745
|
-
/**
|
|
746
|
-
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
747
|
-
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
748
|
-
*/
|
|
749
|
-
getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<string[]>;
|
|
750
|
-
/**
|
|
751
|
-
* HTTP PUT /user/{realm}/userRealmRoles/{userId}
|
|
752
|
-
* Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
|
|
753
|
-
*/
|
|
754
|
-
updateUserRealmRoles(realm: string, userId: string, roles: string[], options?: O): RestResponse<void>;
|
|
755
|
-
/**
|
|
756
|
-
* HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
|
|
757
|
-
* Java method: org.openremote.model.security.UserResource.getUserClientRoles
|
|
758
|
-
*/
|
|
759
|
-
getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<string[]>;
|
|
760
|
-
/**
|
|
761
|
-
* HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
|
|
762
|
-
* Java method: org.openremote.model.security.UserResource.updateUserClientRoles
|
|
763
|
-
*/
|
|
764
|
-
updateUserClientRoles(realm: string, userId: string, clientId: string, roles: string[], options?: O): RestResponse<void>;
|
|
765
|
-
/**
|
|
766
|
-
* HTTP GET /user/{realm}/userSessions/{userId}
|
|
767
|
-
* Java method: org.openremote.model.security.UserResource.getUserSessions
|
|
768
|
-
*/
|
|
769
|
-
getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
|
|
770
|
-
/**
|
|
771
|
-
* HTTP POST /user/{realm}/users
|
|
772
|
-
* Java method: org.openremote.model.security.UserResource.create
|
|
773
|
-
*/
|
|
774
|
-
create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
775
|
-
/**
|
|
776
|
-
* HTTP PUT /user/{realm}/users
|
|
777
|
-
* Java method: org.openremote.model.security.UserResource.update
|
|
778
|
-
*/
|
|
779
|
-
update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
780
|
-
/**
|
|
781
|
-
* HTTP DELETE /user/{realm}/users/{userId}
|
|
782
|
-
* Java method: org.openremote.model.security.UserResource.delete
|
|
783
|
-
*/
|
|
784
|
-
delete(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
785
|
-
/**
|
|
786
|
-
* HTTP GET /user/{realm}/{clientId}/roles
|
|
787
|
-
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
788
|
-
*/
|
|
789
|
-
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
790
|
-
/**
|
|
791
|
-
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
792
|
-
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
793
|
-
*/
|
|
794
|
-
updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
795
|
-
/**
|
|
796
|
-
* HTTP GET /user/{realm}/{userId}
|
|
797
|
-
* Java method: org.openremote.model.security.UserResource.get
|
|
798
|
-
*/
|
|
799
|
-
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
800
|
-
}
|
|
801
|
-
export declare class StatusResourceClient<O> {
|
|
802
|
-
protected httpClient: HttpClient<O>;
|
|
803
|
-
constructor(httpClient: HttpClient<O>);
|
|
804
|
-
/**
|
|
805
|
-
* HTTP GET /health
|
|
806
|
-
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
807
|
-
*/
|
|
808
|
-
getHealthStatus(options?: O): RestResponse<{
|
|
809
|
-
[index: string]: any;
|
|
810
|
-
}>;
|
|
811
|
-
/**
|
|
812
|
-
* HTTP GET /info
|
|
813
|
-
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
814
|
-
*/
|
|
815
|
-
getInfo(options?: O): RestResponse<{
|
|
816
|
-
[index: string]: any;
|
|
817
|
-
}>;
|
|
818
|
-
}
|
|
819
|
-
export declare class RealmResourceClient<O> {
|
|
820
|
-
protected httpClient: HttpClient<O>;
|
|
821
|
-
constructor(httpClient: HttpClient<O>);
|
|
822
|
-
/**
|
|
823
|
-
* HTTP POST /realm
|
|
824
|
-
* Java method: org.openremote.model.security.RealmResource.create
|
|
825
|
-
*/
|
|
826
|
-
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
827
|
-
/**
|
|
828
|
-
* HTTP GET /realm
|
|
829
|
-
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
858
|
+
* HTTP GET /user/userRoles/{clientId}
|
|
859
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
|
|
830
860
|
*/
|
|
831
|
-
|
|
861
|
+
getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<string[]>;
|
|
832
862
|
/**
|
|
833
|
-
* HTTP GET /realm/
|
|
834
|
-
* Java method: org.openremote.model.security.
|
|
863
|
+
* HTTP GET /user/{realm}/disconnect/{sessionID}
|
|
864
|
+
* Java method: org.openremote.model.security.UserResource.disconnectUserSession
|
|
835
865
|
*/
|
|
836
|
-
|
|
866
|
+
disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
|
|
837
867
|
/**
|
|
838
|
-
* HTTP
|
|
839
|
-
* Java method: org.openremote.model.security.
|
|
868
|
+
* HTTP PUT /user/{realm}/request-password-reset/{userId}
|
|
869
|
+
* Java method: org.openremote.model.security.UserResource.requestPasswordReset
|
|
840
870
|
*/
|
|
841
|
-
|
|
871
|
+
requestPasswordReset(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
842
872
|
/**
|
|
843
|
-
* HTTP
|
|
844
|
-
* Java method: org.openremote.model.security.
|
|
873
|
+
* HTTP PUT /user/{realm}/reset-password/{userId}
|
|
874
|
+
* Java method: org.openremote.model.security.UserResource.updatePassword
|
|
845
875
|
*/
|
|
846
|
-
|
|
876
|
+
updatePassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
|
|
847
877
|
/**
|
|
848
|
-
* HTTP
|
|
849
|
-
* Java method: org.openremote.model.security.
|
|
878
|
+
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
879
|
+
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
850
880
|
*/
|
|
851
|
-
|
|
852
|
-
}
|
|
853
|
-
export declare class FlowResourceClient<O> {
|
|
854
|
-
protected httpClient: HttpClient<O>;
|
|
855
|
-
constructor(httpClient: HttpClient<O>);
|
|
881
|
+
resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
|
|
856
882
|
/**
|
|
857
|
-
* HTTP
|
|
858
|
-
* Java method: org.openremote.model.
|
|
883
|
+
* HTTP PUT /user/{realm}/roles
|
|
884
|
+
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
859
885
|
*/
|
|
860
|
-
|
|
886
|
+
updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
861
887
|
/**
|
|
862
|
-
* HTTP GET /
|
|
863
|
-
* Java method: org.openremote.model.
|
|
888
|
+
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
889
|
+
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
864
890
|
*/
|
|
865
|
-
|
|
891
|
+
getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<string[]>;
|
|
866
892
|
/**
|
|
867
|
-
* HTTP
|
|
868
|
-
* Java method: org.openremote.model.
|
|
893
|
+
* HTTP PUT /user/{realm}/userRealmRoles/{userId}
|
|
894
|
+
* Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
|
|
869
895
|
*/
|
|
870
|
-
|
|
871
|
-
}
|
|
872
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
873
|
-
protected httpClient: HttpClient<O>;
|
|
874
|
-
constructor(httpClient: HttpClient<O>);
|
|
896
|
+
updateUserRealmRoles(realm: string, userId: string, roles: string[], options?: O): RestResponse<void>;
|
|
875
897
|
/**
|
|
876
|
-
* HTTP
|
|
877
|
-
* Java method: org.openremote.model.
|
|
898
|
+
* HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
|
|
899
|
+
* Java method: org.openremote.model.security.UserResource.getUserClientRoles
|
|
878
900
|
*/
|
|
879
|
-
|
|
901
|
+
getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<string[]>;
|
|
880
902
|
/**
|
|
881
|
-
* HTTP
|
|
882
|
-
* Java method: org.openremote.model.
|
|
903
|
+
* HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
|
|
904
|
+
* Java method: org.openremote.model.security.UserResource.updateUserClientRoles
|
|
883
905
|
*/
|
|
884
|
-
|
|
906
|
+
updateUserClientRoles(realm: string, userId: string, clientId: string, roles: string[], options?: O): RestResponse<void>;
|
|
885
907
|
/**
|
|
886
|
-
* HTTP GET /
|
|
887
|
-
* Java method: org.openremote.model.
|
|
908
|
+
* HTTP GET /user/{realm}/userSessions/{userId}
|
|
909
|
+
* Java method: org.openremote.model.security.UserResource.getUserSessions
|
|
888
910
|
*/
|
|
889
|
-
|
|
911
|
+
getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
|
|
890
912
|
/**
|
|
891
|
-
* HTTP
|
|
892
|
-
* Java method: org.openremote.model.
|
|
913
|
+
* HTTP POST /user/{realm}/users
|
|
914
|
+
* Java method: org.openremote.model.security.UserResource.create
|
|
893
915
|
*/
|
|
894
|
-
|
|
916
|
+
create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
895
917
|
/**
|
|
896
|
-
* HTTP
|
|
897
|
-
* Java method: org.openremote.model.
|
|
918
|
+
* HTTP PUT /user/{realm}/users
|
|
919
|
+
* Java method: org.openremote.model.security.UserResource.update
|
|
898
920
|
*/
|
|
899
|
-
|
|
900
|
-
}
|
|
901
|
-
export declare class SyslogResourceClient<O> {
|
|
902
|
-
protected httpClient: HttpClient<O>;
|
|
903
|
-
constructor(httpClient: HttpClient<O>);
|
|
921
|
+
update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
904
922
|
/**
|
|
905
|
-
* HTTP
|
|
906
|
-
* Java method: org.openremote.model.
|
|
923
|
+
* HTTP DELETE /user/{realm}/users/{userId}
|
|
924
|
+
* Java method: org.openremote.model.security.UserResource.delete
|
|
907
925
|
*/
|
|
908
|
-
|
|
926
|
+
delete(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
909
927
|
/**
|
|
910
|
-
* HTTP
|
|
911
|
-
* Java method: org.openremote.model.
|
|
928
|
+
* HTTP GET /user/{realm}/{clientId}/roles
|
|
929
|
+
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
912
930
|
*/
|
|
913
|
-
|
|
931
|
+
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
914
932
|
/**
|
|
915
|
-
* HTTP
|
|
916
|
-
* Java method: org.openremote.model.
|
|
933
|
+
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
934
|
+
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
917
935
|
*/
|
|
918
|
-
|
|
936
|
+
updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
919
937
|
/**
|
|
920
|
-
* HTTP GET /
|
|
921
|
-
* Java method: org.openremote.model.
|
|
938
|
+
* HTTP GET /user/{realm}/{userId}
|
|
939
|
+
* Java method: org.openremote.model.security.UserResource.get
|
|
922
940
|
*/
|
|
923
|
-
|
|
924
|
-
level?: Model.SyslogLevel;
|
|
925
|
-
per_page?: number;
|
|
926
|
-
page?: number;
|
|
927
|
-
from?: number;
|
|
928
|
-
to?: number;
|
|
929
|
-
category?: Model.SyslogCategory[];
|
|
930
|
-
subCategory?: string[];
|
|
931
|
-
}, options?: O): RestResponse<any>;
|
|
941
|
+
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
932
942
|
}
|
|
933
|
-
export declare class
|
|
943
|
+
export declare class ProvisioningResourceClient<O> {
|
|
934
944
|
protected httpClient: HttpClient<O>;
|
|
935
945
|
constructor(httpClient: HttpClient<O>);
|
|
936
946
|
/**
|
|
937
|
-
* HTTP POST /
|
|
938
|
-
* Java method: org.openremote.model.
|
|
939
|
-
*/
|
|
940
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
941
|
-
/**
|
|
942
|
-
* HTTP PUT /dashboard
|
|
943
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
944
|
-
*/
|
|
945
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
946
|
-
/**
|
|
947
|
-
* HTTP GET /dashboard/all/{realm}
|
|
948
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
947
|
+
* HTTP POST /provisioning
|
|
948
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
949
949
|
*/
|
|
950
|
-
|
|
950
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
951
951
|
/**
|
|
952
|
-
* HTTP
|
|
953
|
-
* Java method: org.openremote.model.
|
|
952
|
+
* HTTP GET /provisioning
|
|
953
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
954
954
|
*/
|
|
955
|
-
|
|
955
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
956
956
|
/**
|
|
957
|
-
* HTTP DELETE /
|
|
958
|
-
* Java method: org.openremote.model.
|
|
957
|
+
* HTTP DELETE /provisioning/{id}
|
|
958
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
959
959
|
*/
|
|
960
|
-
|
|
960
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
961
961
|
/**
|
|
962
|
-
* HTTP
|
|
963
|
-
* Java method: org.openremote.model.
|
|
962
|
+
* HTTP PUT /provisioning/{id}
|
|
963
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
964
964
|
*/
|
|
965
|
-
|
|
965
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, 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
|
|
969
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
970
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
970
971
|
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
971
|
-
protected
|
|
972
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
973
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
974
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
975
|
+
protected _appResource: AxiosAppResourceClient;
|
|
976
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
977
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
972
978
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
973
|
-
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
974
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
975
979
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
976
|
-
protected _assetResource: AxiosAssetResourceClient;
|
|
977
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
978
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
979
980
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
980
|
-
protected
|
|
981
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
982
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
981
983
|
protected _mapResource: AxiosMapResourceClient;
|
|
982
|
-
protected
|
|
983
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
984
|
-
protected _userResource: AxiosUserResourceClient;
|
|
984
|
+
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
985
985
|
protected _statusResource: AxiosStatusResourceClient;
|
|
986
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
986
987
|
protected _realmResource: AxiosRealmResourceClient;
|
|
987
|
-
protected
|
|
988
|
-
protected
|
|
989
|
-
protected
|
|
990
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
988
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
989
|
+
protected _userResource: AxiosUserResourceClient;
|
|
990
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
991
991
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
992
|
-
get
|
|
992
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
993
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
993
994
|
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
994
|
-
get
|
|
995
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
996
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
997
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
998
|
+
get AppResource(): AxiosAppResourceClient;
|
|
999
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
1000
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
995
1001
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
996
|
-
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
997
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
998
1002
|
get RulesResource(): AxiosRulesResourceClient;
|
|
999
|
-
get AssetResource(): AxiosAssetResourceClient;
|
|
1000
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1001
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
1002
1003
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1003
|
-
get
|
|
1004
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
1005
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1004
1006
|
get MapResource(): AxiosMapResourceClient;
|
|
1005
|
-
get
|
|
1006
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
1007
|
-
get UserResource(): AxiosUserResourceClient;
|
|
1007
|
+
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
1008
1008
|
get StatusResource(): AxiosStatusResourceClient;
|
|
1009
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
1009
1010
|
get RealmResource(): AxiosRealmResourceClient;
|
|
1010
|
-
get
|
|
1011
|
-
get
|
|
1012
|
-
get
|
|
1013
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1011
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
1012
|
+
get UserResource(): AxiosUserResourceClient;
|
|
1013
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
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 AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1022
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1023
|
+
}
|
|
1024
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1022
1025
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1023
1026
|
}
|
|
1024
1027
|
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1025
1028
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1026
1029
|
}
|
|
1027
|
-
export declare class
|
|
1030
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1028
1031
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1029
1032
|
}
|
|
1030
|
-
export declare class
|
|
1033
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1031
1034
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1032
1035
|
}
|
|
1033
|
-
export declare class
|
|
1036
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1034
1037
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1035
1038
|
}
|
|
1036
|
-
export declare class
|
|
1039
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1037
1040
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1038
1041
|
}
|
|
1039
|
-
export declare class
|
|
1042
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1040
1043
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1041
1044
|
}
|
|
1042
1045
|
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1043
1046
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1044
1047
|
}
|
|
1045
|
-
export declare class
|
|
1048
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1046
1049
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1047
1050
|
}
|
|
1048
|
-
export declare class
|
|
1051
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1049
1052
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1050
1053
|
}
|
|
1051
1054
|
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1052
1055
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1053
1056
|
}
|
|
1054
|
-
export declare class
|
|
1055
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1056
|
-
}
|
|
1057
|
-
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1057
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1058
1058
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1059
1059
|
}
|
|
1060
|
-
export declare class
|
|
1060
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1061
1061
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1062
1062
|
}
|
|
1063
|
-
export declare class
|
|
1063
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1064
1064
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1065
1065
|
}
|
|
1066
|
-
export declare class
|
|
1066
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1067
1067
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1068
1068
|
}
|
|
1069
1069
|
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1070
1070
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1071
1071
|
}
|
|
1072
|
-
export declare class
|
|
1072
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1073
1073
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1074
1074
|
}
|
|
1075
|
-
export declare class
|
|
1075
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1076
1076
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1077
1077
|
}
|
|
1078
|
-
export declare class
|
|
1078
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1079
1079
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1080
1080
|
}
|
|
1081
|
-
export declare class
|
|
1081
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1082
1082
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1083
1083
|
}
|
|
1084
|
-
export declare class
|
|
1084
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1085
1085
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1086
1086
|
}
|