@openremote/rest 1.6.0-snapshot.20250519123755 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +1 -1
- package/lib/restclient.d.ts +354 -354
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +3 -3
package/lib/restclient.d.ts
CHANGED
|
@@ -9,6 +9,110 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
+
export declare class AppResourceClient<O> {
|
|
13
|
+
protected httpClient: HttpClient<O>;
|
|
14
|
+
constructor(httpClient: HttpClient<O>);
|
|
15
|
+
/**
|
|
16
|
+
* HTTP GET /apps
|
|
17
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
18
|
+
*/
|
|
19
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
20
|
+
/**
|
|
21
|
+
* HTTP GET /apps/consoleConfig
|
|
22
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
23
|
+
*/
|
|
24
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
25
|
+
/**
|
|
26
|
+
* HTTP GET /apps/info
|
|
27
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
28
|
+
*/
|
|
29
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
30
|
+
}
|
|
31
|
+
export declare class GatewayClientResourceClient<O> {
|
|
32
|
+
protected httpClient: HttpClient<O>;
|
|
33
|
+
constructor(httpClient: HttpClient<O>);
|
|
34
|
+
/**
|
|
35
|
+
* HTTP DELETE /gateway/connection
|
|
36
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
37
|
+
*/
|
|
38
|
+
deleteConnections(queryParams?: {
|
|
39
|
+
realm?: string[];
|
|
40
|
+
}, options?: O): RestResponse<void>;
|
|
41
|
+
/**
|
|
42
|
+
* HTTP GET /gateway/connection
|
|
43
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
44
|
+
*/
|
|
45
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
46
|
+
/**
|
|
47
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
48
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
49
|
+
*/
|
|
50
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
51
|
+
/**
|
|
52
|
+
* HTTP GET /gateway/connection/{realm}
|
|
53
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
54
|
+
*/
|
|
55
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
56
|
+
/**
|
|
57
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
58
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
59
|
+
*/
|
|
60
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
61
|
+
/**
|
|
62
|
+
* HTTP GET /gateway/status/{realm}
|
|
63
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
64
|
+
*/
|
|
65
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
66
|
+
}
|
|
67
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
68
|
+
protected httpClient: HttpClient<O>;
|
|
69
|
+
constructor(httpClient: HttpClient<O>);
|
|
70
|
+
/**
|
|
71
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
72
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
73
|
+
*/
|
|
74
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
75
|
+
/**
|
|
76
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
77
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
78
|
+
*/
|
|
79
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
80
|
+
}
|
|
81
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
82
|
+
protected httpClient: HttpClient<O>;
|
|
83
|
+
constructor(httpClient: HttpClient<O>);
|
|
84
|
+
/**
|
|
85
|
+
* HTTP GET /asset/datapoint/export
|
|
86
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
87
|
+
*/
|
|
88
|
+
getDatapointExport(queryParams?: {
|
|
89
|
+
attributeRefs?: string;
|
|
90
|
+
fromTimestamp?: number;
|
|
91
|
+
toTimestamp?: number;
|
|
92
|
+
}, options?: O): RestResponse<any>;
|
|
93
|
+
/**
|
|
94
|
+
* HTTP GET /asset/datapoint/periods
|
|
95
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
96
|
+
*/
|
|
97
|
+
getDatapointPeriod(queryParams?: {
|
|
98
|
+
assetId?: string;
|
|
99
|
+
attributeName?: string;
|
|
100
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
101
|
+
/**
|
|
102
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
103
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
104
|
+
*/
|
|
105
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
106
|
+
}
|
|
107
|
+
export declare class ConsoleResourceClient<O> {
|
|
108
|
+
protected httpClient: HttpClient<O>;
|
|
109
|
+
constructor(httpClient: HttpClient<O>);
|
|
110
|
+
/**
|
|
111
|
+
* HTTP POST /console/register
|
|
112
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
113
|
+
*/
|
|
114
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
115
|
+
}
|
|
12
116
|
export declare class UserResourceClient<O> {
|
|
13
117
|
protected httpClient: HttpClient<O>;
|
|
14
118
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -113,140 +217,6 @@ export declare class UserResourceClient<O> {
|
|
|
113
217
|
*/
|
|
114
218
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
115
219
|
}
|
|
116
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
117
|
-
protected httpClient: HttpClient<O>;
|
|
118
|
-
constructor(httpClient: HttpClient<O>);
|
|
119
|
-
/**
|
|
120
|
-
* HTTP GET /asset/datapoint/export
|
|
121
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
122
|
-
*/
|
|
123
|
-
getDatapointExport(queryParams?: {
|
|
124
|
-
attributeRefs?: string;
|
|
125
|
-
fromTimestamp?: number;
|
|
126
|
-
toTimestamp?: number;
|
|
127
|
-
}, options?: O): RestResponse<any>;
|
|
128
|
-
/**
|
|
129
|
-
* HTTP GET /asset/datapoint/periods
|
|
130
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
131
|
-
*/
|
|
132
|
-
getDatapointPeriod(queryParams?: {
|
|
133
|
-
assetId?: string;
|
|
134
|
-
attributeName?: string;
|
|
135
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
136
|
-
/**
|
|
137
|
-
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
138
|
-
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
139
|
-
*/
|
|
140
|
-
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
141
|
-
}
|
|
142
|
-
export declare class DashboardResourceClient<O> {
|
|
143
|
-
protected httpClient: HttpClient<O>;
|
|
144
|
-
constructor(httpClient: HttpClient<O>);
|
|
145
|
-
/**
|
|
146
|
-
* HTTP POST /dashboard
|
|
147
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
148
|
-
*/
|
|
149
|
-
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
150
|
-
/**
|
|
151
|
-
* HTTP PUT /dashboard
|
|
152
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
153
|
-
*/
|
|
154
|
-
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
155
|
-
/**
|
|
156
|
-
* HTTP GET /dashboard/all/{realm}
|
|
157
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
158
|
-
*/
|
|
159
|
-
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
160
|
-
/**
|
|
161
|
-
* HTTP POST /dashboard/query
|
|
162
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
163
|
-
*/
|
|
164
|
-
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
165
|
-
/**
|
|
166
|
-
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
167
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
168
|
-
*/
|
|
169
|
-
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
170
|
-
/**
|
|
171
|
-
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
172
|
-
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
173
|
-
*/
|
|
174
|
-
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
175
|
-
}
|
|
176
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
177
|
-
protected httpClient: HttpClient<O>;
|
|
178
|
-
constructor(httpClient: HttpClient<O>);
|
|
179
|
-
/**
|
|
180
|
-
* HTTP POST /gateway/tunnel
|
|
181
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
182
|
-
*/
|
|
183
|
-
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
184
|
-
/**
|
|
185
|
-
* HTTP DELETE /gateway/tunnel
|
|
186
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
187
|
-
*/
|
|
188
|
-
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
189
|
-
/**
|
|
190
|
-
* HTTP GET /gateway/tunnel/{realm}
|
|
191
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
192
|
-
*/
|
|
193
|
-
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
194
|
-
/**
|
|
195
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
196
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
197
|
-
*/
|
|
198
|
-
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
199
|
-
/**
|
|
200
|
-
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
201
|
-
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
202
|
-
*/
|
|
203
|
-
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
204
|
-
}
|
|
205
|
-
export declare class AppResourceClient<O> {
|
|
206
|
-
protected httpClient: HttpClient<O>;
|
|
207
|
-
constructor(httpClient: HttpClient<O>);
|
|
208
|
-
/**
|
|
209
|
-
* HTTP GET /apps
|
|
210
|
-
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
211
|
-
*/
|
|
212
|
-
getApps(options?: O): RestResponse<string[]>;
|
|
213
|
-
/**
|
|
214
|
-
* HTTP GET /apps/consoleConfig
|
|
215
|
-
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
216
|
-
*/
|
|
217
|
-
getConsoleConfig(options?: O): RestResponse<any>;
|
|
218
|
-
/**
|
|
219
|
-
* HTTP GET /apps/info
|
|
220
|
-
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
221
|
-
*/
|
|
222
|
-
getAppInfos(options?: O): RestResponse<any>;
|
|
223
|
-
}
|
|
224
|
-
export declare class ConfigurationResourceClient<O> {
|
|
225
|
-
protected httpClient: HttpClient<O>;
|
|
226
|
-
constructor(httpClient: HttpClient<O>);
|
|
227
|
-
/**
|
|
228
|
-
* HTTP GET /configuration/manager
|
|
229
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
230
|
-
*/
|
|
231
|
-
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
232
|
-
/**
|
|
233
|
-
* HTTP PUT /configuration/manager
|
|
234
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
235
|
-
*/
|
|
236
|
-
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
237
|
-
/**
|
|
238
|
-
* HTTP POST /configuration/manager/file
|
|
239
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
240
|
-
*/
|
|
241
|
-
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
242
|
-
path?: string;
|
|
243
|
-
}, options?: O): RestResponse<string>;
|
|
244
|
-
/**
|
|
245
|
-
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
246
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
247
|
-
*/
|
|
248
|
-
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
249
|
-
}
|
|
250
220
|
export declare class RulesResourceClient<O> {
|
|
251
221
|
protected httpClient: HttpClient<O>;
|
|
252
222
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -355,82 +325,126 @@ export declare class RulesResourceClient<O> {
|
|
|
355
325
|
*/
|
|
356
326
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
357
327
|
}
|
|
358
|
-
export declare class
|
|
328
|
+
export declare class AssetModelResourceClient<O> {
|
|
359
329
|
protected httpClient: HttpClient<O>;
|
|
360
330
|
constructor(httpClient: HttpClient<O>);
|
|
361
331
|
/**
|
|
362
|
-
* HTTP
|
|
363
|
-
* Java method: org.openremote.model.
|
|
332
|
+
* HTTP GET /model/assetDescriptors
|
|
333
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetDescriptors
|
|
364
334
|
*/
|
|
365
|
-
|
|
335
|
+
getAssetDescriptors(queryParams?: {
|
|
336
|
+
parentId?: string;
|
|
337
|
+
parentType?: string;
|
|
338
|
+
}, options?: O): RestResponse<Model.AssetDescriptor[]>;
|
|
366
339
|
/**
|
|
367
|
-
* HTTP
|
|
368
|
-
* Java method: org.openremote.model.
|
|
340
|
+
* HTTP GET /model/assetInfo/{assetType}
|
|
341
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfo
|
|
369
342
|
*/
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
protected httpClient: HttpClient<O>;
|
|
374
|
-
constructor(httpClient: HttpClient<O>);
|
|
343
|
+
getAssetInfo(assetType: string, queryParams?: {
|
|
344
|
+
parentId?: string;
|
|
345
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
375
346
|
/**
|
|
376
|
-
* HTTP GET /
|
|
377
|
-
* Java method: org.openremote.model.
|
|
347
|
+
* HTTP GET /model/assetInfos
|
|
348
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getAssetInfos
|
|
378
349
|
*/
|
|
379
|
-
|
|
380
|
-
|
|
350
|
+
getAssetInfos(queryParams?: {
|
|
351
|
+
parentId?: string;
|
|
352
|
+
parentType?: string;
|
|
353
|
+
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
354
|
+
/**
|
|
355
|
+
* HTTP GET /model/metaItemDescriptors
|
|
356
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getMetaItemDescriptors
|
|
357
|
+
*/
|
|
358
|
+
getMetaItemDescriptors(queryParams?: {
|
|
359
|
+
parentId?: string;
|
|
360
|
+
}, options?: O): RestResponse<{
|
|
361
|
+
[index: string]: Model.MetaItemDescriptor;
|
|
381
362
|
}>;
|
|
382
363
|
/**
|
|
383
|
-
* HTTP GET /
|
|
384
|
-
* Java method: org.openremote.model.
|
|
364
|
+
* HTTP GET /model/valueDescriptors
|
|
365
|
+
* Java method: org.openremote.model.asset.AssetModelResource.getValueDescriptors
|
|
385
366
|
*/
|
|
386
|
-
|
|
387
|
-
|
|
367
|
+
getValueDescriptors(queryParams?: {
|
|
368
|
+
parentId?: string;
|
|
369
|
+
}, options?: O): RestResponse<{
|
|
370
|
+
[index: string]: Model.ValueDescriptor;
|
|
388
371
|
}>;
|
|
389
372
|
}
|
|
390
|
-
export declare class
|
|
373
|
+
export declare class DashboardResourceClient<O> {
|
|
391
374
|
protected httpClient: HttpClient<O>;
|
|
392
375
|
constructor(httpClient: HttpClient<O>);
|
|
393
376
|
/**
|
|
394
|
-
* HTTP
|
|
395
|
-
* Java method: org.openremote.model.
|
|
377
|
+
* HTTP POST /dashboard
|
|
378
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
396
379
|
*/
|
|
397
|
-
|
|
398
|
-
realm?: string[];
|
|
399
|
-
}, options?: O): RestResponse<void>;
|
|
380
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
400
381
|
/**
|
|
401
|
-
* HTTP
|
|
402
|
-
* Java method: org.openremote.model.
|
|
382
|
+
* HTTP PUT /dashboard
|
|
383
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
403
384
|
*/
|
|
404
|
-
|
|
385
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
405
386
|
/**
|
|
406
|
-
* HTTP
|
|
407
|
-
* Java method: org.openremote.model.
|
|
387
|
+
* HTTP GET /dashboard/all/{realm}
|
|
388
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
408
389
|
*/
|
|
409
|
-
|
|
390
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
410
391
|
/**
|
|
411
|
-
* HTTP
|
|
412
|
-
* Java method: org.openremote.model.
|
|
392
|
+
* HTTP POST /dashboard/query
|
|
393
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
413
394
|
*/
|
|
414
|
-
|
|
395
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
415
396
|
/**
|
|
416
|
-
* HTTP
|
|
417
|
-
* Java method: org.openremote.model.
|
|
397
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
398
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
418
399
|
*/
|
|
419
|
-
|
|
400
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
420
401
|
/**
|
|
421
|
-
* HTTP GET /
|
|
422
|
-
* Java method: org.openremote.model.
|
|
402
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
403
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
423
404
|
*/
|
|
424
|
-
|
|
405
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
425
406
|
}
|
|
426
|
-
export declare class
|
|
407
|
+
export declare class ProvisioningResourceClient<O> {
|
|
427
408
|
protected httpClient: HttpClient<O>;
|
|
428
409
|
constructor(httpClient: HttpClient<O>);
|
|
429
410
|
/**
|
|
430
|
-
* HTTP POST /
|
|
431
|
-
* Java method: org.openremote.model.
|
|
411
|
+
* HTTP POST /provisioning
|
|
412
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
432
413
|
*/
|
|
433
|
-
|
|
414
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
415
|
+
/**
|
|
416
|
+
* HTTP GET /provisioning
|
|
417
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
418
|
+
*/
|
|
419
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
420
|
+
/**
|
|
421
|
+
* HTTP DELETE /provisioning/{id}
|
|
422
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
423
|
+
*/
|
|
424
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
425
|
+
/**
|
|
426
|
+
* HTTP PUT /provisioning/{id}
|
|
427
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
428
|
+
*/
|
|
429
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
430
|
+
}
|
|
431
|
+
export declare class StatusResourceClient<O> {
|
|
432
|
+
protected httpClient: HttpClient<O>;
|
|
433
|
+
constructor(httpClient: HttpClient<O>);
|
|
434
|
+
/**
|
|
435
|
+
* HTTP GET /health
|
|
436
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
437
|
+
*/
|
|
438
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
439
|
+
[index: string]: any;
|
|
440
|
+
}>;
|
|
441
|
+
/**
|
|
442
|
+
* HTTP GET /info
|
|
443
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
444
|
+
*/
|
|
445
|
+
getInfo(options?: O): RestResponse<{
|
|
446
|
+
[index: string]: any;
|
|
447
|
+
}>;
|
|
434
448
|
}
|
|
435
449
|
export declare class AssetResourceClient<O> {
|
|
436
450
|
protected httpClient: HttpClient<O>;
|
|
@@ -536,100 +550,78 @@ export declare class AssetResourceClient<O> {
|
|
|
536
550
|
assetIds?: string[];
|
|
537
551
|
}, options?: O): RestResponse<void>;
|
|
538
552
|
}
|
|
539
|
-
export declare class
|
|
553
|
+
export declare class NotificationResourceClient<O> {
|
|
540
554
|
protected httpClient: HttpClient<O>;
|
|
541
555
|
constructor(httpClient: HttpClient<O>);
|
|
542
556
|
/**
|
|
543
|
-
* HTTP GET /
|
|
544
|
-
* Java method: org.openremote.model.
|
|
545
|
-
*/
|
|
546
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
547
|
-
realm?: string;
|
|
548
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
549
|
-
/**
|
|
550
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
551
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
552
|
-
*/
|
|
553
|
-
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
554
|
-
realm?: string;
|
|
555
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
556
|
-
/**
|
|
557
|
-
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
558
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
557
|
+
* HTTP GET /notification
|
|
558
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
559
559
|
*/
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
560
|
+
getNotifications(queryParams?: {
|
|
561
|
+
id?: number;
|
|
562
|
+
type?: string;
|
|
563
|
+
from?: number;
|
|
564
|
+
to?: number;
|
|
565
|
+
realmId?: string;
|
|
566
|
+
userId?: string;
|
|
567
|
+
assetId?: string;
|
|
568
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
568
569
|
/**
|
|
569
|
-
* HTTP
|
|
570
|
-
* Java method: org.openremote.model.
|
|
570
|
+
* HTTP DELETE /notification
|
|
571
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
571
572
|
*/
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
573
|
+
removeNotifications(queryParams?: {
|
|
574
|
+
id?: number;
|
|
575
|
+
type?: string;
|
|
576
|
+
from?: number;
|
|
577
|
+
to?: number;
|
|
578
|
+
realmId?: string;
|
|
579
|
+
userId?: string;
|
|
580
|
+
assetId?: string;
|
|
581
|
+
}, options?: O): RestResponse<void>;
|
|
576
582
|
/**
|
|
577
|
-
* HTTP
|
|
578
|
-
* Java method: org.openremote.model.
|
|
583
|
+
* HTTP POST /notification/alert
|
|
584
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
579
585
|
*/
|
|
580
|
-
|
|
581
|
-
parentId?: string;
|
|
582
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo>;
|
|
586
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
583
587
|
/**
|
|
584
|
-
* HTTP
|
|
585
|
-
* Java method: org.openremote.model.
|
|
588
|
+
* HTTP DELETE /notification/{notificationId}
|
|
589
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
586
590
|
*/
|
|
587
|
-
|
|
588
|
-
parentId?: string;
|
|
589
|
-
parentType?: string;
|
|
590
|
-
}, options?: O): RestResponse<Model.AssetTypeInfo[]>;
|
|
591
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
591
592
|
/**
|
|
592
|
-
* HTTP
|
|
593
|
-
* Java method: org.openremote.model.
|
|
593
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
594
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
594
595
|
*/
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
}, options?: O): RestResponse<
|
|
598
|
-
[index: string]: Model.MetaItemDescriptor;
|
|
599
|
-
}>;
|
|
596
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
597
|
+
targetId?: string;
|
|
598
|
+
}, options?: O): RestResponse<void>;
|
|
600
599
|
/**
|
|
601
|
-
* HTTP
|
|
602
|
-
* Java method: org.openremote.model.
|
|
600
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
601
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
603
602
|
*/
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
}, options?: O): RestResponse<
|
|
607
|
-
[index: string]: Model.ValueDescriptor;
|
|
608
|
-
}>;
|
|
603
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
604
|
+
targetId?: string;
|
|
605
|
+
}, options?: O): RestResponse<void>;
|
|
609
606
|
}
|
|
610
|
-
export declare class
|
|
607
|
+
export declare class FlowResourceClient<O> {
|
|
611
608
|
protected httpClient: HttpClient<O>;
|
|
612
609
|
constructor(httpClient: HttpClient<O>);
|
|
613
610
|
/**
|
|
614
|
-
* HTTP
|
|
615
|
-
* Java method: org.openremote.model.
|
|
616
|
-
*/
|
|
617
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
618
|
-
/**
|
|
619
|
-
* HTTP GET /provisioning
|
|
620
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
611
|
+
* HTTP GET /flow
|
|
612
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
621
613
|
*/
|
|
622
|
-
|
|
614
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
623
615
|
/**
|
|
624
|
-
* HTTP
|
|
625
|
-
* Java method: org.openremote.model.
|
|
616
|
+
* HTTP GET /flow/{name}
|
|
617
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
626
618
|
*/
|
|
627
|
-
|
|
619
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
628
620
|
/**
|
|
629
|
-
* HTTP
|
|
630
|
-
* Java method: org.openremote.model.
|
|
621
|
+
* HTTP GET /flow/{type}
|
|
622
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
631
623
|
*/
|
|
632
|
-
|
|
624
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
633
625
|
}
|
|
634
626
|
export declare class SyslogResourceClient<O> {
|
|
635
627
|
protected httpClient: HttpClient<O>;
|
|
@@ -663,25 +655,6 @@ export declare class SyslogResourceClient<O> {
|
|
|
663
655
|
subCategory?: string[];
|
|
664
656
|
}, options?: O): RestResponse<any>;
|
|
665
657
|
}
|
|
666
|
-
export declare class FlowResourceClient<O> {
|
|
667
|
-
protected httpClient: HttpClient<O>;
|
|
668
|
-
constructor(httpClient: HttpClient<O>);
|
|
669
|
-
/**
|
|
670
|
-
* HTTP GET /flow
|
|
671
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
672
|
-
*/
|
|
673
|
-
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
674
|
-
/**
|
|
675
|
-
* HTTP GET /flow/{name}
|
|
676
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
677
|
-
*/
|
|
678
|
-
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
679
|
-
/**
|
|
680
|
-
* HTTP GET /flow/{type}
|
|
681
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
682
|
-
*/
|
|
683
|
-
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
684
|
-
}
|
|
685
658
|
export declare class MapResourceClient<O> {
|
|
686
659
|
protected httpClient: HttpClient<O>;
|
|
687
660
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -735,6 +708,61 @@ export declare class MapResourceClient<O> {
|
|
|
735
708
|
[id: string]: unknown;
|
|
736
709
|
}>;
|
|
737
710
|
}
|
|
711
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
712
|
+
protected httpClient: HttpClient<O>;
|
|
713
|
+
constructor(httpClient: HttpClient<O>);
|
|
714
|
+
/**
|
|
715
|
+
* HTTP POST /gateway/tunnel
|
|
716
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
717
|
+
*/
|
|
718
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
719
|
+
/**
|
|
720
|
+
* HTTP DELETE /gateway/tunnel
|
|
721
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
722
|
+
*/
|
|
723
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
724
|
+
/**
|
|
725
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
726
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
727
|
+
*/
|
|
728
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
729
|
+
/**
|
|
730
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
731
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
732
|
+
*/
|
|
733
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
734
|
+
/**
|
|
735
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
736
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
737
|
+
*/
|
|
738
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
739
|
+
}
|
|
740
|
+
export declare class ConfigurationResourceClient<O> {
|
|
741
|
+
protected httpClient: HttpClient<O>;
|
|
742
|
+
constructor(httpClient: HttpClient<O>);
|
|
743
|
+
/**
|
|
744
|
+
* HTTP GET /configuration/manager
|
|
745
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
746
|
+
*/
|
|
747
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
748
|
+
/**
|
|
749
|
+
* HTTP PUT /configuration/manager
|
|
750
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
751
|
+
*/
|
|
752
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
753
|
+
/**
|
|
754
|
+
* HTTP POST /configuration/manager/file
|
|
755
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
756
|
+
*/
|
|
757
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
758
|
+
path?: string;
|
|
759
|
+
}, options?: O): RestResponse<string>;
|
|
760
|
+
/**
|
|
761
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
762
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
763
|
+
*/
|
|
764
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
765
|
+
}
|
|
738
766
|
export declare class RealmResourceClient<O> {
|
|
739
767
|
protected httpClient: HttpClient<O>;
|
|
740
768
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -769,59 +797,31 @@ export declare class RealmResourceClient<O> {
|
|
|
769
797
|
*/
|
|
770
798
|
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
771
799
|
}
|
|
772
|
-
export declare class
|
|
800
|
+
export declare class AgentResourceClient<O> {
|
|
773
801
|
protected httpClient: HttpClient<O>;
|
|
774
802
|
constructor(httpClient: HttpClient<O>);
|
|
775
803
|
/**
|
|
776
|
-
* HTTP GET /
|
|
777
|
-
* Java method: org.openremote.model.
|
|
778
|
-
*/
|
|
779
|
-
getNotifications(queryParams?: {
|
|
780
|
-
id?: number;
|
|
781
|
-
type?: string;
|
|
782
|
-
from?: number;
|
|
783
|
-
to?: number;
|
|
784
|
-
realmId?: string;
|
|
785
|
-
userId?: string;
|
|
786
|
-
assetId?: string;
|
|
787
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
788
|
-
/**
|
|
789
|
-
* HTTP DELETE /notification
|
|
790
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
791
|
-
*/
|
|
792
|
-
removeNotifications(queryParams?: {
|
|
793
|
-
id?: number;
|
|
794
|
-
type?: string;
|
|
795
|
-
from?: number;
|
|
796
|
-
to?: number;
|
|
797
|
-
realmId?: string;
|
|
798
|
-
userId?: string;
|
|
799
|
-
assetId?: string;
|
|
800
|
-
}, options?: O): RestResponse<void>;
|
|
801
|
-
/**
|
|
802
|
-
* HTTP POST /notification/alert
|
|
803
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
804
|
-
*/
|
|
805
|
-
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
806
|
-
/**
|
|
807
|
-
* HTTP DELETE /notification/{notificationId}
|
|
808
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
804
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
805
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
809
806
|
*/
|
|
810
|
-
|
|
807
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
808
|
+
realm?: string;
|
|
809
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
811
810
|
/**
|
|
812
|
-
* HTTP
|
|
813
|
-
* Java method: org.openremote.model.
|
|
811
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
812
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
814
813
|
*/
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
}, options?: O): RestResponse<
|
|
814
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
815
|
+
realm?: string;
|
|
816
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
818
817
|
/**
|
|
819
|
-
* HTTP
|
|
820
|
-
* Java method: org.openremote.model.
|
|
818
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
819
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
821
820
|
*/
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
821
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
822
|
+
parentId?: string;
|
|
823
|
+
realm?: string;
|
|
824
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
825
825
|
}
|
|
826
826
|
export declare class AlarmResourceClient<O> {
|
|
827
827
|
protected httpClient: HttpClient<O>;
|
|
@@ -878,48 +878,48 @@ export declare class AlarmResourceClient<O> {
|
|
|
878
878
|
}
|
|
879
879
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
880
880
|
export declare class ApiClient {
|
|
881
|
-
protected _userResource: AxiosUserResourceClient;
|
|
882
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
883
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
884
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
885
881
|
protected _appResource: AxiosAppResourceClient;
|
|
886
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
887
|
-
protected _rulesResource: AxiosRulesResourceClient;
|
|
888
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
889
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
890
882
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
883
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
884
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
891
885
|
protected _consoleResource: AxiosConsoleResourceClient;
|
|
892
|
-
protected
|
|
893
|
-
protected
|
|
886
|
+
protected _userResource: AxiosUserResourceClient;
|
|
887
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
894
888
|
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
889
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
895
890
|
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
896
|
-
protected
|
|
891
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
892
|
+
protected _assetResource: AxiosAssetResourceClient;
|
|
893
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
897
894
|
protected _flowResource: AxiosFlowResourceClient;
|
|
895
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
898
896
|
protected _mapResource: AxiosMapResourceClient;
|
|
897
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
898
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
899
899
|
protected _realmResource: AxiosRealmResourceClient;
|
|
900
|
-
protected
|
|
900
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
901
901
|
protected _alarmResource: AxiosAlarmResourceClient;
|
|
902
902
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
903
|
-
get UserResource(): AxiosUserResourceClient;
|
|
904
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
905
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
906
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
907
903
|
get AppResource(): AxiosAppResourceClient;
|
|
908
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
909
|
-
get RulesResource(): AxiosRulesResourceClient;
|
|
910
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
911
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
912
904
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
905
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
906
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
913
907
|
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
914
|
-
get
|
|
915
|
-
get
|
|
908
|
+
get UserResource(): AxiosUserResourceClient;
|
|
909
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
916
910
|
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
911
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
917
912
|
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
918
|
-
get
|
|
913
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
914
|
+
get AssetResource(): AxiosAssetResourceClient;
|
|
915
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
919
916
|
get FlowResource(): AxiosFlowResourceClient;
|
|
917
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
920
918
|
get MapResource(): AxiosMapResourceClient;
|
|
919
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
920
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
921
921
|
get RealmResource(): AxiosRealmResourceClient;
|
|
922
|
-
get
|
|
922
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
923
923
|
get AlarmResource(): AxiosAlarmResourceClient;
|
|
924
924
|
}
|
|
925
925
|
import * as Axios from "axios";
|
|
@@ -928,64 +928,64 @@ declare module "axios" {
|
|
|
928
928
|
data: R;
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
|
-
export declare class
|
|
931
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
932
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
933
|
}
|
|
934
|
-
export declare class
|
|
934
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
935
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
936
|
}
|
|
937
|
-
export declare class
|
|
937
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
938
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
939
|
}
|
|
940
|
-
export declare class
|
|
940
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
941
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
942
|
}
|
|
943
|
-
export declare class
|
|
943
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
944
944
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
945
|
}
|
|
946
|
-
export declare class
|
|
946
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
947
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
948
|
}
|
|
949
949
|
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
950
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
951
|
}
|
|
952
|
-
export declare class
|
|
952
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
953
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
954
|
}
|
|
955
|
-
export declare class
|
|
955
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
956
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
957
|
}
|
|
958
|
-
export declare class
|
|
958
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
959
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
960
|
}
|
|
961
|
-
export declare class
|
|
961
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
962
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
963
|
}
|
|
964
964
|
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
965
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
966
|
}
|
|
967
|
-
export declare class
|
|
967
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
968
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
969
|
}
|
|
970
|
-
export declare class
|
|
970
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
971
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
972
|
}
|
|
973
|
-
export declare class
|
|
973
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
974
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
975
|
}
|
|
976
|
-
export declare class
|
|
976
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
977
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
978
|
}
|
|
979
|
-
export declare class
|
|
979
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
980
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
981
|
}
|
|
982
|
-
export declare class
|
|
982
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
983
983
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
984
984
|
}
|
|
985
985
|
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
986
986
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
987
|
}
|
|
988
|
-
export declare class
|
|
988
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
990
|
}
|
|
991
991
|
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|