@openremote/rest 1.4.0-snapshot.20250319161437 → 1.4.0-snapshot.20250325085710
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +1 -1
- package/lib/restclient.d.ts +542 -542
- 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,75 +9,110 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class ProvisioningResourceClient<O> {
|
|
13
13
|
protected httpClient: HttpClient<O>;
|
|
14
14
|
constructor(httpClient: HttpClient<O>);
|
|
15
15
|
/**
|
|
16
|
-
* HTTP
|
|
17
|
-
* Java method: org.openremote.model.
|
|
16
|
+
* HTTP POST /provisioning
|
|
17
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.createProvisioningConfig
|
|
18
18
|
*/
|
|
19
|
-
|
|
20
|
-
[id: string]: unknown;
|
|
21
|
-
}>;
|
|
19
|
+
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
22
20
|
/**
|
|
23
|
-
* HTTP
|
|
24
|
-
* Java method: org.openremote.model.
|
|
21
|
+
* HTTP GET /provisioning
|
|
22
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
25
23
|
*/
|
|
26
|
-
|
|
27
|
-
[index: string]: Model.MapRealmConfig;
|
|
28
|
-
}, options?: O): RestResponse<any>;
|
|
24
|
+
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
29
25
|
/**
|
|
30
|
-
* HTTP
|
|
31
|
-
* Java method: org.openremote.model.
|
|
26
|
+
* HTTP DELETE /provisioning/{id}
|
|
27
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
32
28
|
*/
|
|
33
|
-
|
|
34
|
-
[id: string]: unknown;
|
|
35
|
-
}>;
|
|
29
|
+
deleteProvisioningConfig(id: number, options?: O): RestResponse<void>;
|
|
36
30
|
/**
|
|
37
|
-
* HTTP
|
|
38
|
-
* Java method: org.openremote.model.
|
|
31
|
+
* HTTP PUT /provisioning/{id}
|
|
32
|
+
* Java method: org.openremote.model.provisioning.ProvisioningResource.updateProvisioningConfig
|
|
39
33
|
*/
|
|
40
|
-
|
|
34
|
+
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
41
35
|
}
|
|
42
|
-
export declare class
|
|
36
|
+
export declare class ConsoleResourceClient<O> {
|
|
43
37
|
protected httpClient: HttpClient<O>;
|
|
44
38
|
constructor(httpClient: HttpClient<O>);
|
|
45
39
|
/**
|
|
46
|
-
* HTTP POST /
|
|
47
|
-
* Java method: org.openremote.model.
|
|
40
|
+
* HTTP POST /console/register
|
|
41
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
48
42
|
*/
|
|
49
|
-
|
|
43
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
44
|
+
}
|
|
45
|
+
export declare class StatusResourceClient<O> {
|
|
46
|
+
protected httpClient: HttpClient<O>;
|
|
47
|
+
constructor(httpClient: HttpClient<O>);
|
|
50
48
|
/**
|
|
51
|
-
* HTTP
|
|
52
|
-
* Java method: org.openremote.model.
|
|
49
|
+
* HTTP GET /health
|
|
50
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
53
51
|
*/
|
|
54
|
-
|
|
52
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
53
|
+
[index: string]: any;
|
|
54
|
+
}>;
|
|
55
|
+
/**
|
|
56
|
+
* HTTP GET /info
|
|
57
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
58
|
+
*/
|
|
59
|
+
getInfo(options?: O): RestResponse<{
|
|
60
|
+
[index: string]: any;
|
|
61
|
+
}>;
|
|
55
62
|
}
|
|
56
|
-
export declare class
|
|
63
|
+
export declare class NotificationResourceClient<O> {
|
|
57
64
|
protected httpClient: HttpClient<O>;
|
|
58
65
|
constructor(httpClient: HttpClient<O>);
|
|
59
66
|
/**
|
|
60
|
-
* HTTP GET /
|
|
61
|
-
* Java method: org.openremote.model.
|
|
67
|
+
* HTTP GET /notification
|
|
68
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
62
69
|
*/
|
|
63
|
-
|
|
70
|
+
getNotifications(queryParams?: {
|
|
71
|
+
id?: number;
|
|
72
|
+
type?: string;
|
|
73
|
+
from?: number;
|
|
74
|
+
to?: number;
|
|
75
|
+
realmId?: string;
|
|
76
|
+
userId?: string;
|
|
77
|
+
assetId?: string;
|
|
78
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
64
79
|
/**
|
|
65
|
-
* HTTP
|
|
66
|
-
* Java method: org.openremote.model.
|
|
80
|
+
* HTTP DELETE /notification
|
|
81
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
67
82
|
*/
|
|
68
|
-
|
|
83
|
+
removeNotifications(queryParams?: {
|
|
84
|
+
id?: number;
|
|
85
|
+
type?: string;
|
|
86
|
+
from?: number;
|
|
87
|
+
to?: number;
|
|
88
|
+
realmId?: string;
|
|
89
|
+
userId?: string;
|
|
90
|
+
assetId?: string;
|
|
91
|
+
}, options?: O): RestResponse<void>;
|
|
69
92
|
/**
|
|
70
|
-
* HTTP POST /
|
|
71
|
-
* Java method: org.openremote.model.
|
|
93
|
+
* HTTP POST /notification/alert
|
|
94
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
72
95
|
*/
|
|
73
|
-
|
|
74
|
-
path?: string;
|
|
75
|
-
}, options?: O): RestResponse<string>;
|
|
96
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
76
97
|
/**
|
|
77
|
-
* HTTP
|
|
78
|
-
* Java method: org.openremote.model.
|
|
98
|
+
* HTTP DELETE /notification/{notificationId}
|
|
99
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
79
100
|
*/
|
|
80
|
-
|
|
101
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
102
|
+
/**
|
|
103
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
104
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
105
|
+
*/
|
|
106
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
107
|
+
targetId?: string;
|
|
108
|
+
}, options?: O): RestResponse<void>;
|
|
109
|
+
/**
|
|
110
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
111
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
112
|
+
*/
|
|
113
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
114
|
+
targetId?: string;
|
|
115
|
+
}, options?: O): RestResponse<void>;
|
|
81
116
|
}
|
|
82
117
|
export declare class GatewayServiceResourceClient<O> {
|
|
83
118
|
protected httpClient: HttpClient<O>;
|
|
@@ -108,31 +143,109 @@ export declare class GatewayServiceResourceClient<O> {
|
|
|
108
143
|
*/
|
|
109
144
|
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
110
145
|
}
|
|
111
|
-
export declare class
|
|
146
|
+
export declare class AssetResourceClient<O> {
|
|
112
147
|
protected httpClient: HttpClient<O>;
|
|
113
148
|
constructor(httpClient: HttpClient<O>);
|
|
114
149
|
/**
|
|
115
|
-
* HTTP
|
|
116
|
-
* Java method: org.openremote.model.asset.
|
|
150
|
+
* HTTP POST /asset
|
|
151
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
117
152
|
*/
|
|
118
|
-
|
|
119
|
-
realm?: string;
|
|
120
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
153
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
121
154
|
/**
|
|
122
|
-
* HTTP
|
|
123
|
-
* Java method: org.openremote.model.asset.
|
|
155
|
+
* HTTP DELETE /asset
|
|
156
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
124
157
|
*/
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}, options?: O): RestResponse<
|
|
158
|
+
delete(queryParams?: {
|
|
159
|
+
assetId?: string[];
|
|
160
|
+
}, options?: O): RestResponse<void>;
|
|
128
161
|
/**
|
|
129
|
-
* HTTP
|
|
130
|
-
* Java method: org.openremote.model.asset.
|
|
162
|
+
* HTTP PUT /asset/attributes
|
|
163
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
131
164
|
*/
|
|
132
|
-
|
|
133
|
-
|
|
165
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
166
|
+
/**
|
|
167
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
168
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
169
|
+
*/
|
|
170
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
171
|
+
/**
|
|
172
|
+
* HTTP DELETE /asset/parent
|
|
173
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
174
|
+
*/
|
|
175
|
+
updateNoneParent(queryParams?: {
|
|
176
|
+
assetIds?: string[];
|
|
177
|
+
}, options?: O): RestResponse<void>;
|
|
178
|
+
/**
|
|
179
|
+
* HTTP GET /asset/partial/{assetId}
|
|
180
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
181
|
+
*/
|
|
182
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
183
|
+
/**
|
|
184
|
+
* HTTP POST /asset/query
|
|
185
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
186
|
+
*/
|
|
187
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
188
|
+
/**
|
|
189
|
+
* HTTP GET /asset/user/current
|
|
190
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
191
|
+
*/
|
|
192
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
193
|
+
/**
|
|
194
|
+
* HTTP POST /asset/user/link
|
|
195
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
196
|
+
*/
|
|
197
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
198
|
+
/**
|
|
199
|
+
* HTTP GET /asset/user/link
|
|
200
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
201
|
+
*/
|
|
202
|
+
getUserAssetLinks(queryParams?: {
|
|
134
203
|
realm?: string;
|
|
135
|
-
|
|
204
|
+
userId?: string;
|
|
205
|
+
assetId?: string;
|
|
206
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
207
|
+
/**
|
|
208
|
+
* HTTP POST /asset/user/link/delete
|
|
209
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
210
|
+
*/
|
|
211
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
212
|
+
/**
|
|
213
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
214
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
215
|
+
*/
|
|
216
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
217
|
+
/**
|
|
218
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
219
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
220
|
+
*/
|
|
221
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
222
|
+
/**
|
|
223
|
+
* HTTP GET /asset/{assetId}
|
|
224
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
225
|
+
*/
|
|
226
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
227
|
+
/**
|
|
228
|
+
* HTTP PUT /asset/{assetId}
|
|
229
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
230
|
+
*/
|
|
231
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
232
|
+
/**
|
|
233
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
234
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
235
|
+
*/
|
|
236
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
237
|
+
/**
|
|
238
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
239
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
240
|
+
*/
|
|
241
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
242
|
+
/**
|
|
243
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
244
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
245
|
+
*/
|
|
246
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
247
|
+
assetIds?: string[];
|
|
248
|
+
}, options?: O): RestResponse<void>;
|
|
136
249
|
}
|
|
137
250
|
export declare class AssetDatapointResourceClient<O> {
|
|
138
251
|
protected httpClient: HttpClient<O>;
|
|
@@ -160,41 +273,53 @@ export declare class AssetDatapointResourceClient<O> {
|
|
|
160
273
|
*/
|
|
161
274
|
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
162
275
|
}
|
|
163
|
-
export declare class
|
|
276
|
+
export declare class RealmResourceClient<O> {
|
|
164
277
|
protected httpClient: HttpClient<O>;
|
|
165
278
|
constructor(httpClient: HttpClient<O>);
|
|
166
279
|
/**
|
|
167
|
-
* HTTP
|
|
168
|
-
* Java method: org.openremote.model.
|
|
280
|
+
* HTTP POST /realm
|
|
281
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
169
282
|
*/
|
|
170
|
-
|
|
171
|
-
realm?: string[];
|
|
172
|
-
}, options?: O): RestResponse<void>;
|
|
283
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
173
284
|
/**
|
|
174
|
-
* HTTP GET /
|
|
175
|
-
* Java method: org.openremote.model.
|
|
285
|
+
* HTTP GET /realm
|
|
286
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
176
287
|
*/
|
|
177
|
-
|
|
288
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
178
289
|
/**
|
|
179
|
-
* HTTP
|
|
180
|
-
* Java method: org.openremote.model.
|
|
290
|
+
* HTTP GET /realm/accessible
|
|
291
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
181
292
|
*/
|
|
182
|
-
|
|
293
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
183
294
|
/**
|
|
184
|
-
* HTTP
|
|
185
|
-
* Java method: org.openremote.model.
|
|
295
|
+
* HTTP DELETE /realm/{name}
|
|
296
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
186
297
|
*/
|
|
187
|
-
|
|
298
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
188
299
|
/**
|
|
189
|
-
* HTTP
|
|
190
|
-
* Java method: org.openremote.model.
|
|
300
|
+
* HTTP GET /realm/{name}
|
|
301
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
191
302
|
*/
|
|
192
|
-
|
|
303
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
193
304
|
/**
|
|
194
|
-
* HTTP
|
|
195
|
-
* Java method: org.openremote.model.
|
|
305
|
+
* HTTP PUT /realm/{name}
|
|
306
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
196
307
|
*/
|
|
197
|
-
|
|
308
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
309
|
+
}
|
|
310
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
311
|
+
protected httpClient: HttpClient<O>;
|
|
312
|
+
constructor(httpClient: HttpClient<O>);
|
|
313
|
+
/**
|
|
314
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
315
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
316
|
+
*/
|
|
317
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
318
|
+
/**
|
|
319
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
320
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
321
|
+
*/
|
|
322
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
198
323
|
}
|
|
199
324
|
export declare class FlowResourceClient<O> {
|
|
200
325
|
protected httpClient: HttpClient<O>;
|
|
@@ -215,279 +340,238 @@ export declare class FlowResourceClient<O> {
|
|
|
215
340
|
*/
|
|
216
341
|
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
217
342
|
}
|
|
218
|
-
export declare class
|
|
343
|
+
export declare class AlarmResourceClient<O> {
|
|
219
344
|
protected httpClient: HttpClient<O>;
|
|
220
345
|
constructor(httpClient: HttpClient<O>);
|
|
221
346
|
/**
|
|
222
|
-
* HTTP POST /
|
|
223
|
-
* Java method: org.openremote.model.
|
|
347
|
+
* HTTP POST /alarm
|
|
348
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
224
349
|
*/
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
protected httpClient: HttpClient<O>;
|
|
229
|
-
constructor(httpClient: HttpClient<O>);
|
|
350
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
351
|
+
assetIds?: string[];
|
|
352
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
230
353
|
/**
|
|
231
|
-
* HTTP
|
|
232
|
-
* Java method: org.openremote.model.
|
|
354
|
+
* HTTP GET /alarm
|
|
355
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
233
356
|
*/
|
|
234
|
-
|
|
357
|
+
getAlarms(queryParams?: {
|
|
358
|
+
realm?: string;
|
|
359
|
+
status?: Model.AlarmStatus;
|
|
360
|
+
assetId?: string;
|
|
361
|
+
assigneeId?: string;
|
|
362
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
235
363
|
/**
|
|
236
|
-
* HTTP
|
|
237
|
-
* Java method: org.openremote.model.
|
|
364
|
+
* HTTP DELETE /alarm
|
|
365
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
238
366
|
*/
|
|
239
|
-
|
|
240
|
-
language?: Model.RulesetLang[];
|
|
241
|
-
fullyPopulate?: boolean;
|
|
242
|
-
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
367
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
243
368
|
/**
|
|
244
|
-
* HTTP
|
|
245
|
-
* Java method: org.openremote.model.
|
|
369
|
+
* HTTP PUT /alarm/assets
|
|
370
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
246
371
|
*/
|
|
247
|
-
|
|
372
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
248
373
|
/**
|
|
249
|
-
* HTTP GET /
|
|
250
|
-
* Java method: org.openremote.model.
|
|
374
|
+
* HTTP GET /alarm/{alarmId}
|
|
375
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
251
376
|
*/
|
|
252
|
-
|
|
253
|
-
language?: Model.RulesetLang[];
|
|
254
|
-
fullyPopulate?: boolean;
|
|
255
|
-
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
377
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
256
378
|
/**
|
|
257
|
-
* HTTP DELETE /
|
|
258
|
-
* Java method: org.openremote.model.
|
|
379
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
380
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
259
381
|
*/
|
|
260
|
-
|
|
382
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
261
383
|
/**
|
|
262
|
-
* HTTP
|
|
263
|
-
* Java method: org.openremote.model.
|
|
384
|
+
* HTTP PUT /alarm/{alarmId}
|
|
385
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
264
386
|
*/
|
|
265
|
-
|
|
387
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
266
388
|
/**
|
|
267
|
-
* HTTP
|
|
268
|
-
* Java method: org.openremote.model.
|
|
389
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
390
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
269
391
|
*/
|
|
270
|
-
|
|
392
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
393
|
+
realm?: string;
|
|
394
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
395
|
+
}
|
|
396
|
+
export declare class UserResourceClient<O> {
|
|
397
|
+
protected httpClient: HttpClient<O>;
|
|
398
|
+
constructor(httpClient: HttpClient<O>);
|
|
271
399
|
/**
|
|
272
|
-
* HTTP
|
|
273
|
-
* Java method: org.openremote.model.
|
|
400
|
+
* HTTP PUT /user/locale
|
|
401
|
+
* Java method: org.openremote.model.security.UserResource.updateCurrentUserLocale
|
|
274
402
|
*/
|
|
275
|
-
|
|
403
|
+
updateCurrentUserLocale(locale: string, options?: O): RestResponse<void>;
|
|
276
404
|
/**
|
|
277
|
-
* HTTP
|
|
278
|
-
* Java method: org.openremote.model.
|
|
405
|
+
* HTTP POST /user/query
|
|
406
|
+
* Java method: org.openremote.model.security.UserResource.query
|
|
279
407
|
*/
|
|
280
|
-
|
|
408
|
+
query(query: Model.UserQuery, options?: O): RestResponse<Model.User[]>;
|
|
281
409
|
/**
|
|
282
|
-
* HTTP GET /
|
|
283
|
-
* Java method: org.openremote.model.
|
|
410
|
+
* HTTP GET /user/user
|
|
411
|
+
* Java method: org.openremote.model.security.UserResource.getCurrent
|
|
284
412
|
*/
|
|
285
|
-
|
|
413
|
+
getCurrent(options?: O): RestResponse<Model.User>;
|
|
286
414
|
/**
|
|
287
|
-
* HTTP GET /
|
|
288
|
-
* Java method: org.openremote.model.
|
|
415
|
+
* HTTP GET /user/userRealmRoles
|
|
416
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserRealmRoles
|
|
289
417
|
*/
|
|
290
|
-
|
|
418
|
+
getCurrentUserRealmRoles(options?: O): RestResponse<Model.Role[]>;
|
|
291
419
|
/**
|
|
292
|
-
* HTTP
|
|
293
|
-
* Java method: org.openremote.model.
|
|
420
|
+
* HTTP GET /user/userRoles
|
|
421
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserRoles
|
|
294
422
|
*/
|
|
295
|
-
|
|
423
|
+
getCurrentUserRoles(options?: O): RestResponse<Model.Role[]>;
|
|
296
424
|
/**
|
|
297
|
-
* HTTP GET /
|
|
298
|
-
* Java method: org.openremote.model.
|
|
425
|
+
* HTTP GET /user/userRoles/{clientId}
|
|
426
|
+
* Java method: org.openremote.model.security.UserResource.getCurrentUserClientRoles
|
|
299
427
|
*/
|
|
300
|
-
|
|
301
|
-
language?: Model.RulesetLang[];
|
|
302
|
-
fullyPopulate?: boolean;
|
|
303
|
-
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
428
|
+
getCurrentUserClientRoles(clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
304
429
|
/**
|
|
305
|
-
* HTTP
|
|
306
|
-
* Java method: org.openremote.model.
|
|
430
|
+
* HTTP GET /user/{realm}/disconnect/{sessionID}
|
|
431
|
+
* Java method: org.openremote.model.security.UserResource.disconnectUserSession
|
|
307
432
|
*/
|
|
308
|
-
|
|
433
|
+
disconnectUserSession(realm: string, sessionID: string, options?: O): RestResponse<void>;
|
|
309
434
|
/**
|
|
310
|
-
* HTTP
|
|
311
|
-
* Java method: org.openremote.model.
|
|
435
|
+
* HTTP PUT /user/{realm}/reset-password/{userId}
|
|
436
|
+
* Java method: org.openremote.model.security.UserResource.resetPassword
|
|
312
437
|
*/
|
|
313
|
-
|
|
438
|
+
resetPassword(realm: string, userId: string, credential: Model.Credential, options?: O): RestResponse<void>;
|
|
314
439
|
/**
|
|
315
|
-
* HTTP
|
|
316
|
-
* Java method: org.openremote.model.
|
|
440
|
+
* HTTP GET /user/{realm}/reset-secret/{userId}
|
|
441
|
+
* Java method: org.openremote.model.security.UserResource.resetSecret
|
|
317
442
|
*/
|
|
318
|
-
|
|
443
|
+
resetSecret(realm: string, userId: string, options?: O): RestResponse<string>;
|
|
319
444
|
/**
|
|
320
|
-
* HTTP
|
|
321
|
-
* Java method: org.openremote.model.
|
|
445
|
+
* HTTP GET /user/{realm}/roles
|
|
446
|
+
* Java method: org.openremote.model.security.UserResource.getRoles
|
|
322
447
|
*/
|
|
323
|
-
|
|
448
|
+
getRoles(realm: string, options?: O): RestResponse<Model.Role[]>;
|
|
324
449
|
/**
|
|
325
|
-
* HTTP
|
|
326
|
-
* Java method: org.openremote.model.
|
|
450
|
+
* HTTP PUT /user/{realm}/roles
|
|
451
|
+
* Java method: org.openremote.model.security.UserResource.updateRoles
|
|
327
452
|
*/
|
|
328
|
-
|
|
453
|
+
updateRoles(realm: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
329
454
|
/**
|
|
330
|
-
* HTTP
|
|
331
|
-
* Java method: org.openremote.model.
|
|
455
|
+
* HTTP GET /user/{realm}/userRealmRoles/{userId}
|
|
456
|
+
* Java method: org.openremote.model.security.UserResource.getUserRealmRoles
|
|
332
457
|
*/
|
|
333
|
-
|
|
334
|
-
}
|
|
335
|
-
export declare class AppResourceClient<O> {
|
|
336
|
-
protected httpClient: HttpClient<O>;
|
|
337
|
-
constructor(httpClient: HttpClient<O>);
|
|
458
|
+
getUserRealmRoles(realm: string, userId: string, options?: O): RestResponse<Model.Role[]>;
|
|
338
459
|
/**
|
|
339
|
-
* HTTP
|
|
340
|
-
* Java method: org.openremote.model.
|
|
460
|
+
* HTTP PUT /user/{realm}/userRealmRoles/{userId}
|
|
461
|
+
* Java method: org.openremote.model.security.UserResource.updateUserRealmRoles
|
|
341
462
|
*/
|
|
342
|
-
|
|
463
|
+
updateUserRealmRoles(realm: string, userId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
343
464
|
/**
|
|
344
|
-
* HTTP GET /
|
|
345
|
-
* Java method: org.openremote.model.
|
|
465
|
+
* HTTP GET /user/{realm}/userRoles/{userId}
|
|
466
|
+
* Java method: org.openremote.model.security.UserResource.getUserRoles
|
|
346
467
|
*/
|
|
347
|
-
|
|
468
|
+
getUserRoles(realm: string, userId: string, options?: O): RestResponse<Model.Role[]>;
|
|
348
469
|
/**
|
|
349
|
-
* HTTP
|
|
350
|
-
* Java method: org.openremote.model.
|
|
470
|
+
* HTTP PUT /user/{realm}/userRoles/{userId}
|
|
471
|
+
* Java method: org.openremote.model.security.UserResource.updateUserRoles
|
|
351
472
|
*/
|
|
352
|
-
|
|
353
|
-
}
|
|
354
|
-
export declare class RealmResourceClient<O> {
|
|
355
|
-
protected httpClient: HttpClient<O>;
|
|
356
|
-
constructor(httpClient: HttpClient<O>);
|
|
473
|
+
updateUserRoles(realm: string, userId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
357
474
|
/**
|
|
358
|
-
* HTTP
|
|
359
|
-
* Java method: org.openremote.model.security.
|
|
475
|
+
* HTTP GET /user/{realm}/userRoles/{userId}/{clientId}
|
|
476
|
+
* Java method: org.openremote.model.security.UserResource.getUserClientRoles
|
|
360
477
|
*/
|
|
361
|
-
|
|
478
|
+
getUserClientRoles(realm: string, userId: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
362
479
|
/**
|
|
363
|
-
* HTTP
|
|
364
|
-
* Java method: org.openremote.model.security.
|
|
480
|
+
* HTTP PUT /user/{realm}/userRoles/{userId}/{clientId}
|
|
481
|
+
* Java method: org.openremote.model.security.UserResource.updateUserClientRoles
|
|
365
482
|
*/
|
|
366
|
-
|
|
483
|
+
updateUserClientRoles(realm: string, userId: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
367
484
|
/**
|
|
368
|
-
* HTTP GET /realm/
|
|
369
|
-
* Java method: org.openremote.model.security.
|
|
485
|
+
* HTTP GET /user/{realm}/userSessions/{userId}
|
|
486
|
+
* Java method: org.openremote.model.security.UserResource.getUserSessions
|
|
370
487
|
*/
|
|
371
|
-
|
|
488
|
+
getUserSessions(realm: string, userId: string, options?: O): RestResponse<Model.UserSession[]>;
|
|
372
489
|
/**
|
|
373
|
-
* HTTP
|
|
374
|
-
* Java method: org.openremote.model.security.
|
|
490
|
+
* HTTP POST /user/{realm}/users
|
|
491
|
+
* Java method: org.openremote.model.security.UserResource.create
|
|
375
492
|
*/
|
|
376
|
-
|
|
493
|
+
create(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
377
494
|
/**
|
|
378
|
-
* HTTP
|
|
379
|
-
* Java method: org.openremote.model.security.
|
|
495
|
+
* HTTP PUT /user/{realm}/users
|
|
496
|
+
* Java method: org.openremote.model.security.UserResource.update
|
|
380
497
|
*/
|
|
381
|
-
|
|
498
|
+
update(realm: string, user: Model.User, options?: O): RestResponse<Model.User>;
|
|
382
499
|
/**
|
|
383
|
-
* HTTP
|
|
384
|
-
* Java method: org.openremote.model.security.
|
|
500
|
+
* HTTP DELETE /user/{realm}/users/{userId}
|
|
501
|
+
* Java method: org.openremote.model.security.UserResource.delete
|
|
385
502
|
*/
|
|
386
|
-
|
|
387
|
-
}
|
|
388
|
-
export declare class StatusResourceClient<O> {
|
|
389
|
-
protected httpClient: HttpClient<O>;
|
|
390
|
-
constructor(httpClient: HttpClient<O>);
|
|
503
|
+
delete(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
391
504
|
/**
|
|
392
|
-
* HTTP GET /
|
|
393
|
-
* Java method: org.openremote.model.
|
|
505
|
+
* HTTP GET /user/{realm}/{clientId}/roles
|
|
506
|
+
* Java method: org.openremote.model.security.UserResource.getClientRoles
|
|
394
507
|
*/
|
|
395
|
-
|
|
396
|
-
[index: string]: any;
|
|
397
|
-
}>;
|
|
508
|
+
getClientRoles(realm: string, clientId: string, options?: O): RestResponse<Model.Role[]>;
|
|
398
509
|
/**
|
|
399
|
-
* HTTP
|
|
400
|
-
* Java method: org.openremote.model.
|
|
510
|
+
* HTTP PUT /user/{realm}/{clientId}/roles
|
|
511
|
+
* Java method: org.openremote.model.security.UserResource.updateClientRoles
|
|
401
512
|
*/
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
513
|
+
updateClientRoles(realm: string, clientId: string, roles: Model.Role[], options?: O): RestResponse<void>;
|
|
514
|
+
/**
|
|
515
|
+
* HTTP GET /user/{realm}/{userId}
|
|
516
|
+
* Java method: org.openremote.model.security.UserResource.get
|
|
517
|
+
*/
|
|
518
|
+
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
405
519
|
}
|
|
406
|
-
export declare class
|
|
520
|
+
export declare class MapResourceClient<O> {
|
|
407
521
|
protected httpClient: HttpClient<O>;
|
|
408
522
|
constructor(httpClient: HttpClient<O>);
|
|
409
523
|
/**
|
|
410
|
-
* HTTP GET /
|
|
411
|
-
* Java method: org.openremote.model.
|
|
412
|
-
*/
|
|
413
|
-
getNotifications(queryParams?: {
|
|
414
|
-
id?: number;
|
|
415
|
-
type?: string;
|
|
416
|
-
from?: number;
|
|
417
|
-
to?: number;
|
|
418
|
-
realmId?: string;
|
|
419
|
-
userId?: string;
|
|
420
|
-
assetId?: string;
|
|
421
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
422
|
-
/**
|
|
423
|
-
* HTTP DELETE /notification
|
|
424
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
425
|
-
*/
|
|
426
|
-
removeNotifications(queryParams?: {
|
|
427
|
-
id?: number;
|
|
428
|
-
type?: string;
|
|
429
|
-
from?: number;
|
|
430
|
-
to?: number;
|
|
431
|
-
realmId?: string;
|
|
432
|
-
userId?: string;
|
|
433
|
-
assetId?: string;
|
|
434
|
-
}, options?: O): RestResponse<void>;
|
|
435
|
-
/**
|
|
436
|
-
* HTTP POST /notification/alert
|
|
437
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
524
|
+
* HTTP GET /map
|
|
525
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
438
526
|
*/
|
|
439
|
-
|
|
527
|
+
getSettings(options?: O): RestResponse<{
|
|
528
|
+
[id: string]: unknown;
|
|
529
|
+
}>;
|
|
440
530
|
/**
|
|
441
|
-
* HTTP
|
|
442
|
-
* Java method: org.openremote.model.
|
|
531
|
+
* HTTP PUT /map
|
|
532
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
443
533
|
*/
|
|
444
|
-
|
|
534
|
+
saveSettings(mapConfig: {
|
|
535
|
+
[index: string]: Model.MapRealmConfig;
|
|
536
|
+
}, options?: O): RestResponse<any>;
|
|
445
537
|
/**
|
|
446
|
-
* HTTP
|
|
447
|
-
* Java method: org.openremote.model.
|
|
538
|
+
* HTTP GET /map/js
|
|
539
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
448
540
|
*/
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
}
|
|
541
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
542
|
+
[id: string]: unknown;
|
|
543
|
+
}>;
|
|
452
544
|
/**
|
|
453
|
-
* HTTP
|
|
454
|
-
* Java method: org.openremote.model.
|
|
545
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
546
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
455
547
|
*/
|
|
456
|
-
|
|
457
|
-
targetId?: string;
|
|
458
|
-
}, options?: O): RestResponse<void>;
|
|
548
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
459
549
|
}
|
|
460
|
-
export declare class
|
|
550
|
+
export declare class AgentResourceClient<O> {
|
|
461
551
|
protected httpClient: HttpClient<O>;
|
|
462
552
|
constructor(httpClient: HttpClient<O>);
|
|
463
553
|
/**
|
|
464
|
-
* HTTP GET /
|
|
465
|
-
* Java method: org.openremote.model.
|
|
466
|
-
*/
|
|
467
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
468
|
-
/**
|
|
469
|
-
* HTTP PUT /syslog/config
|
|
470
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
554
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
555
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
471
556
|
*/
|
|
472
|
-
|
|
557
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
558
|
+
realm?: string;
|
|
559
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
473
560
|
/**
|
|
474
|
-
* HTTP
|
|
475
|
-
* Java method: org.openremote.model.
|
|
561
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
562
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
476
563
|
*/
|
|
477
|
-
|
|
564
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
565
|
+
realm?: string;
|
|
566
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
478
567
|
/**
|
|
479
|
-
* HTTP GET /
|
|
480
|
-
* Java method: org.openremote.model.
|
|
568
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
569
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
481
570
|
*/
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
from?: number;
|
|
487
|
-
to?: number;
|
|
488
|
-
category?: Model.SyslogCategory[];
|
|
489
|
-
subCategory?: string[];
|
|
490
|
-
}, options?: O): RestResponse<any>;
|
|
571
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
572
|
+
parentId?: string;
|
|
573
|
+
realm?: string;
|
|
574
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
491
575
|
}
|
|
492
576
|
export declare class DashboardResourceClient<O> {
|
|
493
577
|
protected httpClient: HttpClient<O>;
|
|
@@ -523,257 +607,226 @@ export declare class DashboardResourceClient<O> {
|
|
|
523
607
|
*/
|
|
524
608
|
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
525
609
|
}
|
|
526
|
-
export declare class
|
|
610
|
+
export declare class SyslogResourceClient<O> {
|
|
527
611
|
protected httpClient: HttpClient<O>;
|
|
528
612
|
constructor(httpClient: HttpClient<O>);
|
|
529
613
|
/**
|
|
530
|
-
* HTTP
|
|
531
|
-
* Java method: org.openremote.model.
|
|
614
|
+
* HTTP GET /syslog/config
|
|
615
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
532
616
|
*/
|
|
533
|
-
|
|
617
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
534
618
|
/**
|
|
535
|
-
* HTTP
|
|
536
|
-
* Java method: org.openremote.model.
|
|
619
|
+
* HTTP PUT /syslog/config
|
|
620
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
537
621
|
*/
|
|
538
|
-
|
|
539
|
-
assetId?: string[];
|
|
540
|
-
}, options?: O): RestResponse<void>;
|
|
622
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
541
623
|
/**
|
|
542
|
-
* HTTP
|
|
543
|
-
* Java method: org.openremote.model.
|
|
624
|
+
* HTTP DELETE /syslog/event
|
|
625
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
544
626
|
*/
|
|
545
|
-
|
|
627
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
546
628
|
/**
|
|
547
|
-
* HTTP
|
|
548
|
-
* Java method: org.openremote.model.
|
|
629
|
+
* HTTP GET /syslog/event
|
|
630
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
549
631
|
*/
|
|
550
|
-
|
|
632
|
+
getEvents(queryParams?: {
|
|
633
|
+
level?: Model.SyslogLevel;
|
|
634
|
+
per_page?: number;
|
|
635
|
+
page?: number;
|
|
636
|
+
from?: number;
|
|
637
|
+
to?: number;
|
|
638
|
+
category?: Model.SyslogCategory[];
|
|
639
|
+
subCategory?: string[];
|
|
640
|
+
}, options?: O): RestResponse<any>;
|
|
641
|
+
}
|
|
642
|
+
export declare class GatewayClientResourceClient<O> {
|
|
643
|
+
protected httpClient: HttpClient<O>;
|
|
644
|
+
constructor(httpClient: HttpClient<O>);
|
|
551
645
|
/**
|
|
552
|
-
* HTTP DELETE /
|
|
553
|
-
* Java method: org.openremote.model.
|
|
646
|
+
* HTTP DELETE /gateway/connection
|
|
647
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
554
648
|
*/
|
|
555
|
-
|
|
556
|
-
|
|
649
|
+
deleteConnections(queryParams?: {
|
|
650
|
+
realm?: string[];
|
|
557
651
|
}, options?: O): RestResponse<void>;
|
|
558
652
|
/**
|
|
559
|
-
* HTTP GET /
|
|
560
|
-
* Java method: org.openremote.model.
|
|
561
|
-
*/
|
|
562
|
-
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
563
|
-
/**
|
|
564
|
-
* HTTP POST /asset/query
|
|
565
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
566
|
-
*/
|
|
567
|
-
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
568
|
-
/**
|
|
569
|
-
* HTTP GET /asset/user/current
|
|
570
|
-
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
571
|
-
*/
|
|
572
|
-
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
573
|
-
/**
|
|
574
|
-
* HTTP POST /asset/user/link
|
|
575
|
-
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
576
|
-
*/
|
|
577
|
-
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
578
|
-
/**
|
|
579
|
-
* HTTP GET /asset/user/link
|
|
580
|
-
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
581
|
-
*/
|
|
582
|
-
getUserAssetLinks(queryParams?: {
|
|
583
|
-
realm?: string;
|
|
584
|
-
userId?: string;
|
|
585
|
-
assetId?: string;
|
|
586
|
-
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
587
|
-
/**
|
|
588
|
-
* HTTP POST /asset/user/link/delete
|
|
589
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
590
|
-
*/
|
|
591
|
-
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
592
|
-
/**
|
|
593
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
594
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
595
|
-
*/
|
|
596
|
-
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
597
|
-
/**
|
|
598
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
599
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
600
|
-
*/
|
|
601
|
-
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
602
|
-
/**
|
|
603
|
-
* HTTP GET /asset/{assetId}
|
|
604
|
-
* Java method: org.openremote.model.asset.AssetResource.get
|
|
653
|
+
* HTTP GET /gateway/connection
|
|
654
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
605
655
|
*/
|
|
606
|
-
|
|
656
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
607
657
|
/**
|
|
608
|
-
* HTTP
|
|
609
|
-
* Java method: org.openremote.model.
|
|
658
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
659
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
610
660
|
*/
|
|
611
|
-
|
|
661
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
612
662
|
/**
|
|
613
|
-
* HTTP
|
|
614
|
-
* Java method: org.openremote.model.
|
|
663
|
+
* HTTP GET /gateway/connection/{realm}
|
|
664
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
615
665
|
*/
|
|
616
|
-
|
|
666
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
617
667
|
/**
|
|
618
|
-
* HTTP PUT /
|
|
619
|
-
* Java method: org.openremote.model.
|
|
668
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
669
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
620
670
|
*/
|
|
621
|
-
|
|
671
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
622
672
|
/**
|
|
623
|
-
* HTTP
|
|
624
|
-
* Java method: org.openremote.model.
|
|
673
|
+
* HTTP GET /gateway/status/{realm}
|
|
674
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
625
675
|
*/
|
|
626
|
-
|
|
627
|
-
assetIds?: string[];
|
|
628
|
-
}, options?: O): RestResponse<void>;
|
|
676
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
629
677
|
}
|
|
630
|
-
export declare class
|
|
678
|
+
export declare class RulesResourceClient<O> {
|
|
631
679
|
protected httpClient: HttpClient<O>;
|
|
632
680
|
constructor(httpClient: HttpClient<O>);
|
|
633
681
|
/**
|
|
634
|
-
* HTTP POST /
|
|
635
|
-
* Java method: org.openremote.model.
|
|
636
|
-
*/
|
|
637
|
-
createProvisioningConfig(provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<number>;
|
|
638
|
-
/**
|
|
639
|
-
* HTTP GET /provisioning
|
|
640
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.getProvisioningConfigs
|
|
641
|
-
*/
|
|
642
|
-
getProvisioningConfigs(options?: O): RestResponse<Model.ProvisioningConfigUnion<any, any>[]>;
|
|
643
|
-
/**
|
|
644
|
-
* HTTP DELETE /provisioning/{id}
|
|
645
|
-
* Java method: org.openremote.model.provisioning.ProvisioningResource.deleteProvisioningConfig
|
|
682
|
+
* HTTP POST /rules
|
|
683
|
+
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
646
684
|
*/
|
|
647
|
-
|
|
685
|
+
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
648
686
|
/**
|
|
649
|
-
* HTTP
|
|
650
|
-
* Java method: org.openremote.model.
|
|
687
|
+
* HTTP GET /rules
|
|
688
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
651
689
|
*/
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
constructor(httpClient: HttpClient<O>);
|
|
690
|
+
getGlobalRulesets(queryParams?: {
|
|
691
|
+
language?: Model.RulesetLang[];
|
|
692
|
+
fullyPopulate?: boolean;
|
|
693
|
+
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
657
694
|
/**
|
|
658
|
-
* HTTP
|
|
659
|
-
* Java method: org.openremote.model.
|
|
695
|
+
* HTTP POST /rules/asset
|
|
696
|
+
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
660
697
|
*/
|
|
661
|
-
|
|
698
|
+
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
662
699
|
/**
|
|
663
|
-
* HTTP
|
|
664
|
-
* Java method: org.openremote.model.
|
|
700
|
+
* HTTP GET /rules/asset/for/{assetId}
|
|
701
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
665
702
|
*/
|
|
666
|
-
|
|
703
|
+
getAssetRulesets(assetId: string, queryParams?: {
|
|
704
|
+
language?: Model.RulesetLang[];
|
|
705
|
+
fullyPopulate?: boolean;
|
|
706
|
+
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
667
707
|
/**
|
|
668
|
-
* HTTP
|
|
669
|
-
* Java method: org.openremote.model.
|
|
708
|
+
* HTTP DELETE /rules/asset/{id}
|
|
709
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
670
710
|
*/
|
|
671
|
-
|
|
711
|
+
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
672
712
|
/**
|
|
673
|
-
* HTTP GET /
|
|
674
|
-
* Java method: org.openremote.model.
|
|
713
|
+
* HTTP GET /rules/asset/{id}
|
|
714
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
675
715
|
*/
|
|
676
|
-
|
|
716
|
+
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
677
717
|
/**
|
|
678
|
-
* HTTP
|
|
679
|
-
* Java method: org.openremote.model.
|
|
718
|
+
* HTTP PUT /rules/asset/{id}
|
|
719
|
+
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
680
720
|
*/
|
|
681
|
-
|
|
721
|
+
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
682
722
|
/**
|
|
683
|
-
* HTTP GET /
|
|
684
|
-
* Java method: org.openremote.model.
|
|
723
|
+
* HTTP GET /rules/geofences/{assetId}
|
|
724
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
685
725
|
*/
|
|
686
|
-
|
|
726
|
+
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
687
727
|
/**
|
|
688
|
-
* HTTP GET /
|
|
689
|
-
* Java method: org.openremote.model.
|
|
728
|
+
* HTTP GET /rules/info/asset/{assetId}
|
|
729
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
690
730
|
*/
|
|
691
|
-
|
|
731
|
+
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
692
732
|
/**
|
|
693
|
-
* HTTP
|
|
694
|
-
* Java method: org.openremote.model.
|
|
733
|
+
* HTTP GET /rules/info/global
|
|
734
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
695
735
|
*/
|
|
696
|
-
|
|
736
|
+
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
697
737
|
/**
|
|
698
|
-
* HTTP GET /
|
|
699
|
-
* Java method: org.openremote.model.
|
|
738
|
+
* HTTP GET /rules/info/realm/{realm}
|
|
739
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
700
740
|
*/
|
|
701
|
-
|
|
741
|
+
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
702
742
|
/**
|
|
703
|
-
* HTTP
|
|
704
|
-
* Java method: org.openremote.model.
|
|
743
|
+
* HTTP POST /rules/realm
|
|
744
|
+
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
705
745
|
*/
|
|
706
|
-
|
|
746
|
+
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
707
747
|
/**
|
|
708
|
-
* HTTP
|
|
709
|
-
* Java method: org.openremote.model.
|
|
748
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
749
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
710
750
|
*/
|
|
711
|
-
|
|
751
|
+
getRealmRulesets(realm: string, queryParams?: {
|
|
752
|
+
language?: Model.RulesetLang[];
|
|
753
|
+
fullyPopulate?: boolean;
|
|
754
|
+
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
712
755
|
/**
|
|
713
|
-
* HTTP
|
|
714
|
-
* Java method: org.openremote.model.
|
|
756
|
+
* HTTP DELETE /rules/realm/{id}
|
|
757
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
715
758
|
*/
|
|
716
|
-
|
|
759
|
+
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
717
760
|
/**
|
|
718
|
-
* HTTP
|
|
719
|
-
* Java method: org.openremote.model.
|
|
761
|
+
* HTTP GET /rules/realm/{id}
|
|
762
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
720
763
|
*/
|
|
721
|
-
|
|
764
|
+
getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
|
|
722
765
|
/**
|
|
723
|
-
* HTTP
|
|
724
|
-
* Java method: org.openremote.model.
|
|
766
|
+
* HTTP PUT /rules/realm/{id}
|
|
767
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
725
768
|
*/
|
|
726
|
-
|
|
769
|
+
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
727
770
|
/**
|
|
728
|
-
* HTTP
|
|
729
|
-
* Java method: org.openremote.model.
|
|
771
|
+
* HTTP DELETE /rules/{id}
|
|
772
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
730
773
|
*/
|
|
731
|
-
|
|
774
|
+
deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
|
|
732
775
|
/**
|
|
733
|
-
* HTTP GET /
|
|
734
|
-
* Java method: org.openremote.model.
|
|
776
|
+
* HTTP GET /rules/{id}
|
|
777
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
735
778
|
*/
|
|
736
|
-
|
|
779
|
+
getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
737
780
|
/**
|
|
738
|
-
* HTTP PUT /
|
|
739
|
-
* Java method: org.openremote.model.
|
|
781
|
+
* HTTP PUT /rules/{id}
|
|
782
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
740
783
|
*/
|
|
741
|
-
|
|
784
|
+
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
785
|
+
}
|
|
786
|
+
export declare class ConfigurationResourceClient<O> {
|
|
787
|
+
protected httpClient: HttpClient<O>;
|
|
788
|
+
constructor(httpClient: HttpClient<O>);
|
|
742
789
|
/**
|
|
743
|
-
* HTTP GET /
|
|
744
|
-
* Java method: org.openremote.model.
|
|
790
|
+
* HTTP GET /configuration/manager
|
|
791
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
745
792
|
*/
|
|
746
|
-
|
|
793
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
747
794
|
/**
|
|
748
|
-
* HTTP
|
|
749
|
-
* Java method: org.openremote.model.
|
|
795
|
+
* HTTP PUT /configuration/manager
|
|
796
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
750
797
|
*/
|
|
751
|
-
|
|
798
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
752
799
|
/**
|
|
753
|
-
* HTTP
|
|
754
|
-
* Java method: org.openremote.model.
|
|
800
|
+
* HTTP POST /configuration/manager/file
|
|
801
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
755
802
|
*/
|
|
756
|
-
|
|
803
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
804
|
+
path?: string;
|
|
805
|
+
}, options?: O): RestResponse<string>;
|
|
757
806
|
/**
|
|
758
|
-
* HTTP
|
|
759
|
-
* Java method: org.openremote.model.
|
|
807
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
808
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
760
809
|
*/
|
|
761
|
-
|
|
810
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
811
|
+
}
|
|
812
|
+
export declare class AppResourceClient<O> {
|
|
813
|
+
protected httpClient: HttpClient<O>;
|
|
814
|
+
constructor(httpClient: HttpClient<O>);
|
|
762
815
|
/**
|
|
763
|
-
* HTTP GET /
|
|
764
|
-
* Java method: org.openremote.model.
|
|
816
|
+
* HTTP GET /apps
|
|
817
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
765
818
|
*/
|
|
766
|
-
|
|
819
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
767
820
|
/**
|
|
768
|
-
* HTTP
|
|
769
|
-
* Java method: org.openremote.model.
|
|
821
|
+
* HTTP GET /apps/consoleConfig
|
|
822
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
770
823
|
*/
|
|
771
|
-
|
|
824
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
772
825
|
/**
|
|
773
|
-
* HTTP GET /
|
|
774
|
-
* Java method: org.openremote.model.
|
|
826
|
+
* HTTP GET /apps/info
|
|
827
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
775
828
|
*/
|
|
776
|
-
|
|
829
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
777
830
|
}
|
|
778
831
|
export declare class AssetModelResourceClient<O> {
|
|
779
832
|
protected httpClient: HttpClient<O>;
|
|
@@ -820,104 +873,51 @@ export declare class AssetModelResourceClient<O> {
|
|
|
820
873
|
[index: string]: Model.ValueDescriptor;
|
|
821
874
|
}>;
|
|
822
875
|
}
|
|
823
|
-
export declare class AlarmResourceClient<O> {
|
|
824
|
-
protected httpClient: HttpClient<O>;
|
|
825
|
-
constructor(httpClient: HttpClient<O>);
|
|
826
|
-
/**
|
|
827
|
-
* HTTP POST /alarm
|
|
828
|
-
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
829
|
-
*/
|
|
830
|
-
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
831
|
-
assetIds?: string[];
|
|
832
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
833
|
-
/**
|
|
834
|
-
* HTTP GET /alarm
|
|
835
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
836
|
-
*/
|
|
837
|
-
getAlarms(queryParams?: {
|
|
838
|
-
realm?: string;
|
|
839
|
-
status?: Model.AlarmStatus;
|
|
840
|
-
assetId?: string;
|
|
841
|
-
assigneeId?: string;
|
|
842
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
843
|
-
/**
|
|
844
|
-
* HTTP DELETE /alarm
|
|
845
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
846
|
-
*/
|
|
847
|
-
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
848
|
-
/**
|
|
849
|
-
* HTTP PUT /alarm/assets
|
|
850
|
-
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
851
|
-
*/
|
|
852
|
-
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
853
|
-
/**
|
|
854
|
-
* HTTP GET /alarm/{alarmId}
|
|
855
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
856
|
-
*/
|
|
857
|
-
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
858
|
-
/**
|
|
859
|
-
* HTTP DELETE /alarm/{alarmId}
|
|
860
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
861
|
-
*/
|
|
862
|
-
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
863
|
-
/**
|
|
864
|
-
* HTTP PUT /alarm/{alarmId}
|
|
865
|
-
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
866
|
-
*/
|
|
867
|
-
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
868
|
-
/**
|
|
869
|
-
* HTTP GET /alarm/{alarmId}/assets
|
|
870
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
871
|
-
*/
|
|
872
|
-
getAssetLinks(alarmId: number, queryParams?: {
|
|
873
|
-
realm?: string;
|
|
874
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
875
|
-
}
|
|
876
876
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
877
877
|
export declare class ApiClient {
|
|
878
|
-
protected
|
|
879
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
880
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
881
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
882
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
883
|
-
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
884
|
-
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
885
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
878
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
886
879
|
protected _consoleResource: AxiosConsoleResourceClient;
|
|
887
|
-
protected _rulesResource: AxiosRulesResourceClient;
|
|
888
|
-
protected _appResource: AxiosAppResourceClient;
|
|
889
|
-
protected _realmResource: AxiosRealmResourceClient;
|
|
890
880
|
protected _statusResource: AxiosStatusResourceClient;
|
|
891
881
|
protected _notificationResource: AxiosNotificationResourceClient;
|
|
892
|
-
protected
|
|
893
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
882
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
894
883
|
protected _assetResource: AxiosAssetResourceClient;
|
|
895
|
-
protected
|
|
884
|
+
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
885
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
886
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
887
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
888
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
896
889
|
protected _userResource: AxiosUserResourceClient;
|
|
890
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
891
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
892
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
893
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
894
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
895
|
+
protected _rulesResource: AxiosRulesResourceClient;
|
|
896
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
897
|
+
protected _appResource: AxiosAppResourceClient;
|
|
897
898
|
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
898
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
899
899
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
900
|
-
get
|
|
901
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
902
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
903
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
904
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
905
|
-
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
906
|
-
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
907
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
900
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
908
901
|
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
909
|
-
get RulesResource(): AxiosRulesResourceClient;
|
|
910
|
-
get AppResource(): AxiosAppResourceClient;
|
|
911
|
-
get RealmResource(): AxiosRealmResourceClient;
|
|
912
902
|
get StatusResource(): AxiosStatusResourceClient;
|
|
913
903
|
get NotificationResource(): AxiosNotificationResourceClient;
|
|
914
|
-
get
|
|
915
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
904
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
916
905
|
get AssetResource(): AxiosAssetResourceClient;
|
|
917
|
-
get
|
|
906
|
+
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
907
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
908
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
909
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
910
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
918
911
|
get UserResource(): AxiosUserResourceClient;
|
|
912
|
+
get MapResource(): AxiosMapResourceClient;
|
|
913
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
914
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
915
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
916
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
917
|
+
get RulesResource(): AxiosRulesResourceClient;
|
|
918
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
919
|
+
get AppResource(): AxiosAppResourceClient;
|
|
919
920
|
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
920
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
921
921
|
}
|
|
922
922
|
import * as Axios from "axios";
|
|
923
923
|
declare module "axios" {
|
|
@@ -925,66 +925,66 @@ declare module "axios" {
|
|
|
925
925
|
data: R;
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
export declare class
|
|
928
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
929
929
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
930
930
|
}
|
|
931
|
-
export declare class
|
|
931
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
932
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
933
|
}
|
|
934
|
-
export declare class
|
|
934
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
935
|
+
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
|
+
}
|
|
937
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
935
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
939
|
}
|
|
937
940
|
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
938
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
942
|
}
|
|
940
|
-
export declare class
|
|
943
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
941
944
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
945
|
}
|
|
943
946
|
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
944
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
948
|
}
|
|
946
|
-
export declare class
|
|
949
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
947
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
951
|
}
|
|
949
|
-
export declare class
|
|
952
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
950
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
954
|
}
|
|
952
|
-
export declare class
|
|
955
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
953
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
957
|
}
|
|
955
|
-
export declare class
|
|
958
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
956
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
960
|
}
|
|
958
|
-
export declare class
|
|
961
|
+
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
959
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
963
|
}
|
|
961
|
-
export declare class
|
|
964
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
962
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
966
|
}
|
|
964
|
-
export declare class
|
|
967
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
965
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
969
|
}
|
|
967
|
-
export declare class
|
|
970
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
968
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
972
|
}
|
|
970
973
|
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
971
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
975
|
}
|
|
973
|
-
export declare class
|
|
976
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
974
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
978
|
}
|
|
976
|
-
export declare class
|
|
979
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
977
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
981
|
}
|
|
979
|
-
export declare class
|
|
982
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
980
983
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
984
|
}
|
|
982
|
-
export declare class
|
|
985
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
983
986
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
984
987
|
}
|
|
985
988
|
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
986
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
990
|
}
|
|
988
|
-
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
989
|
-
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
|
-
}
|