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