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