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