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