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