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