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