@openremote/rest 1.12.0-snapshot.20251128165001 → 1.12.0-snapshot.20251201131034
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.bundle.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/lib/restclient.d.ts +524 -524
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +1 -1
package/lib/restclient.d.ts
CHANGED
|
@@ -9,177 +9,81 @@ export interface HttpClient<O> {
|
|
|
9
9
|
options?: O;
|
|
10
10
|
}): RestResponse<R>;
|
|
11
11
|
}
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class ConsoleResourceClient<O> {
|
|
13
13
|
protected httpClient: HttpClient<O>;
|
|
14
14
|
constructor(httpClient: HttpClient<O>);
|
|
15
15
|
/**
|
|
16
|
-
* HTTP POST /
|
|
17
|
-
* Java method: org.openremote.model.
|
|
18
|
-
*/
|
|
19
|
-
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
20
|
-
/**
|
|
21
|
-
* HTTP GET /realm
|
|
22
|
-
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
23
|
-
*/
|
|
24
|
-
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
25
|
-
/**
|
|
26
|
-
* HTTP GET /realm/accessible
|
|
27
|
-
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
28
|
-
*/
|
|
29
|
-
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
30
|
-
/**
|
|
31
|
-
* HTTP DELETE /realm/{name}
|
|
32
|
-
* Java method: org.openremote.model.security.RealmResource.delete
|
|
33
|
-
*/
|
|
34
|
-
delete(name: string, options?: O): RestResponse<void>;
|
|
35
|
-
/**
|
|
36
|
-
* HTTP GET /realm/{name}
|
|
37
|
-
* Java method: org.openremote.model.security.RealmResource.get
|
|
38
|
-
*/
|
|
39
|
-
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
40
|
-
/**
|
|
41
|
-
* HTTP PUT /realm/{name}
|
|
42
|
-
* Java method: org.openremote.model.security.RealmResource.update
|
|
16
|
+
* HTTP POST /console/register
|
|
17
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
43
18
|
*/
|
|
44
|
-
|
|
19
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
45
20
|
}
|
|
46
|
-
export declare class
|
|
21
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
47
22
|
protected httpClient: HttpClient<O>;
|
|
48
23
|
constructor(httpClient: HttpClient<O>);
|
|
49
24
|
/**
|
|
50
|
-
* HTTP POST /asset
|
|
51
|
-
* Java method: org.openremote.model.
|
|
52
|
-
*/
|
|
53
|
-
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
54
|
-
/**
|
|
55
|
-
* HTTP DELETE /asset
|
|
56
|
-
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
57
|
-
*/
|
|
58
|
-
delete(queryParams?: {
|
|
59
|
-
assetId?: string[];
|
|
60
|
-
}, options?: O): RestResponse<void>;
|
|
61
|
-
/**
|
|
62
|
-
* HTTP PUT /asset/attributes
|
|
63
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
25
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
26
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
64
27
|
*/
|
|
65
|
-
|
|
28
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
66
29
|
/**
|
|
67
|
-
* HTTP PUT /asset/
|
|
68
|
-
* Java method: org.openremote.model.
|
|
30
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
31
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
69
32
|
*/
|
|
70
|
-
|
|
33
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
34
|
+
}
|
|
35
|
+
export declare class AlarmResourceClient<O> {
|
|
36
|
+
protected httpClient: HttpClient<O>;
|
|
37
|
+
constructor(httpClient: HttpClient<O>);
|
|
71
38
|
/**
|
|
72
|
-
* HTTP
|
|
73
|
-
* Java method: org.openremote.model.
|
|
39
|
+
* HTTP POST /alarm
|
|
40
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
74
41
|
*/
|
|
75
|
-
|
|
42
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
76
43
|
assetIds?: string[];
|
|
77
|
-
}, options?: O): RestResponse<
|
|
78
|
-
/**
|
|
79
|
-
* HTTP GET /asset/partial/{assetId}
|
|
80
|
-
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
81
|
-
*/
|
|
82
|
-
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
83
|
-
/**
|
|
84
|
-
* HTTP POST /asset/query
|
|
85
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
86
|
-
*/
|
|
87
|
-
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
88
|
-
/**
|
|
89
|
-
* HTTP POST /asset/tree
|
|
90
|
-
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
91
|
-
*/
|
|
92
|
-
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
93
|
-
/**
|
|
94
|
-
* HTTP GET /asset/user/current
|
|
95
|
-
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
96
|
-
*/
|
|
97
|
-
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
98
|
-
/**
|
|
99
|
-
* HTTP POST /asset/user/link
|
|
100
|
-
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
101
|
-
*/
|
|
102
|
-
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
44
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
103
45
|
/**
|
|
104
|
-
* HTTP GET /
|
|
105
|
-
* Java method: org.openremote.model.
|
|
46
|
+
* HTTP GET /alarm
|
|
47
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
106
48
|
*/
|
|
107
|
-
|
|
49
|
+
getAlarms(queryParams?: {
|
|
108
50
|
realm?: string;
|
|
109
|
-
|
|
51
|
+
status?: Model.AlarmStatus;
|
|
110
52
|
assetId?: string;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
* HTTP POST /asset/user/link/delete
|
|
114
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
115
|
-
*/
|
|
116
|
-
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
117
|
-
/**
|
|
118
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
119
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
120
|
-
*/
|
|
121
|
-
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
122
|
-
/**
|
|
123
|
-
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
124
|
-
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
125
|
-
*/
|
|
126
|
-
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
127
|
-
/**
|
|
128
|
-
* HTTP GET /asset/{assetId}
|
|
129
|
-
* Java method: org.openremote.model.asset.AssetResource.get
|
|
130
|
-
*/
|
|
131
|
-
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
132
|
-
/**
|
|
133
|
-
* HTTP PUT /asset/{assetId}
|
|
134
|
-
* Java method: org.openremote.model.asset.AssetResource.update
|
|
135
|
-
*/
|
|
136
|
-
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
137
|
-
/**
|
|
138
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
139
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
140
|
-
*/
|
|
141
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
142
|
-
/**
|
|
143
|
-
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
144
|
-
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
145
|
-
*/
|
|
146
|
-
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
53
|
+
assigneeId?: string;
|
|
54
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
147
55
|
/**
|
|
148
|
-
* HTTP
|
|
149
|
-
* Java method: org.openremote.model.
|
|
56
|
+
* HTTP DELETE /alarm
|
|
57
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
150
58
|
*/
|
|
151
|
-
|
|
152
|
-
assetIds?: string[];
|
|
153
|
-
}, options?: O): RestResponse<void>;
|
|
154
|
-
}
|
|
155
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
156
|
-
protected httpClient: HttpClient<O>;
|
|
157
|
-
constructor(httpClient: HttpClient<O>);
|
|
59
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
158
60
|
/**
|
|
159
|
-
* HTTP
|
|
160
|
-
* Java method: org.openremote.model.
|
|
61
|
+
* HTTP PUT /alarm/assets
|
|
62
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
161
63
|
*/
|
|
162
|
-
|
|
64
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
163
65
|
/**
|
|
164
|
-
* HTTP
|
|
165
|
-
* Java method: org.openremote.model.
|
|
66
|
+
* HTTP GET /alarm/{alarmId}
|
|
67
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
166
68
|
*/
|
|
167
|
-
|
|
69
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
168
70
|
/**
|
|
169
|
-
* HTTP
|
|
170
|
-
* Java method: org.openremote.model.
|
|
71
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
72
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
171
73
|
*/
|
|
172
|
-
|
|
74
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
173
75
|
/**
|
|
174
|
-
* HTTP
|
|
175
|
-
* Java method: org.openremote.model.
|
|
76
|
+
* HTTP PUT /alarm/{alarmId}
|
|
77
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
176
78
|
*/
|
|
177
|
-
|
|
79
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
178
80
|
/**
|
|
179
|
-
* HTTP GET /
|
|
180
|
-
* Java method: org.openremote.model.
|
|
81
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
82
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
181
83
|
*/
|
|
182
|
-
|
|
84
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
85
|
+
realm?: string;
|
|
86
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
183
87
|
}
|
|
184
88
|
export declare class UserResourceClient<O> {
|
|
185
89
|
protected httpClient: HttpClient<O>;
|
|
@@ -305,32 +209,6 @@ export declare class UserResourceClient<O> {
|
|
|
305
209
|
*/
|
|
306
210
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
307
211
|
}
|
|
308
|
-
export declare class AgentResourceClient<O> {
|
|
309
|
-
protected httpClient: HttpClient<O>;
|
|
310
|
-
constructor(httpClient: HttpClient<O>);
|
|
311
|
-
/**
|
|
312
|
-
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
313
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
314
|
-
*/
|
|
315
|
-
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
316
|
-
realm?: string;
|
|
317
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
318
|
-
/**
|
|
319
|
-
* HTTP POST /agent/assetImport/{agentId}
|
|
320
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
321
|
-
*/
|
|
322
|
-
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
323
|
-
realm?: string;
|
|
324
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
325
|
-
/**
|
|
326
|
-
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
327
|
-
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
328
|
-
*/
|
|
329
|
-
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
330
|
-
parentId?: string;
|
|
331
|
-
realm?: string;
|
|
332
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
333
|
-
}
|
|
334
212
|
export declare class ProvisioningResourceClient<O> {
|
|
335
213
|
protected httpClient: HttpClient<O>;
|
|
336
214
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -355,113 +233,148 @@ export declare class ProvisioningResourceClient<O> {
|
|
|
355
233
|
*/
|
|
356
234
|
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
357
235
|
}
|
|
358
|
-
export declare class
|
|
236
|
+
export declare class RealmResourceClient<O> {
|
|
359
237
|
protected httpClient: HttpClient<O>;
|
|
360
238
|
constructor(httpClient: HttpClient<O>);
|
|
361
239
|
/**
|
|
362
|
-
* HTTP POST /
|
|
363
|
-
* Java method: org.openremote.model.
|
|
240
|
+
* HTTP POST /realm
|
|
241
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
364
242
|
*/
|
|
365
|
-
|
|
243
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
366
244
|
/**
|
|
367
|
-
* HTTP GET /
|
|
368
|
-
* Java method: org.openremote.model.
|
|
245
|
+
* HTTP GET /realm
|
|
246
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
369
247
|
*/
|
|
370
|
-
|
|
371
|
-
language?: Model.RulesetLang[];
|
|
372
|
-
fullyPopulate?: boolean;
|
|
373
|
-
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
248
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
374
249
|
/**
|
|
375
|
-
* HTTP
|
|
376
|
-
* Java method: org.openremote.model.
|
|
250
|
+
* HTTP GET /realm/accessible
|
|
251
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
377
252
|
*/
|
|
378
|
-
|
|
253
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
379
254
|
/**
|
|
380
|
-
* HTTP
|
|
381
|
-
* Java method: org.openremote.model.
|
|
255
|
+
* HTTP DELETE /realm/{name}
|
|
256
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
382
257
|
*/
|
|
383
|
-
|
|
384
|
-
language?: Model.RulesetLang[];
|
|
385
|
-
fullyPopulate?: boolean;
|
|
386
|
-
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
258
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
387
259
|
/**
|
|
388
|
-
* HTTP
|
|
389
|
-
* Java method: org.openremote.model.
|
|
260
|
+
* HTTP GET /realm/{name}
|
|
261
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
390
262
|
*/
|
|
391
|
-
|
|
263
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
392
264
|
/**
|
|
393
|
-
* HTTP
|
|
394
|
-
* Java method: org.openremote.model.
|
|
265
|
+
* HTTP PUT /realm/{name}
|
|
266
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
395
267
|
*/
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
268
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
269
|
+
}
|
|
270
|
+
export declare class AssetResourceClient<O> {
|
|
271
|
+
protected httpClient: HttpClient<O>;
|
|
272
|
+
constructor(httpClient: HttpClient<O>);
|
|
273
|
+
/**
|
|
274
|
+
* HTTP POST /asset
|
|
275
|
+
* Java method: org.openremote.model.asset.AssetResource.create
|
|
400
276
|
*/
|
|
401
|
-
|
|
277
|
+
create(asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
402
278
|
/**
|
|
403
|
-
* HTTP
|
|
404
|
-
* Java method: org.openremote.model.
|
|
279
|
+
* HTTP DELETE /asset
|
|
280
|
+
* Java method: org.openremote.model.asset.AssetResource.delete
|
|
405
281
|
*/
|
|
406
|
-
|
|
282
|
+
delete(queryParams?: {
|
|
283
|
+
assetId?: string[];
|
|
284
|
+
}, options?: O): RestResponse<void>;
|
|
407
285
|
/**
|
|
408
|
-
* HTTP
|
|
409
|
-
* Java method: org.openremote.model.
|
|
286
|
+
* HTTP PUT /asset/attributes
|
|
287
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValues
|
|
410
288
|
*/
|
|
411
|
-
|
|
289
|
+
writeAttributeValues(attributeStates: Model.AttributeState[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
412
290
|
/**
|
|
413
|
-
* HTTP
|
|
414
|
-
* Java method: org.openremote.model.
|
|
291
|
+
* HTTP PUT /asset/attributes/timestamp
|
|
292
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeEvents
|
|
415
293
|
*/
|
|
416
|
-
|
|
294
|
+
writeAttributeEvents(attributeEvents: Model.AttributeEvent[], options?: O): RestResponse<Model.AttributeWriteResult[]>;
|
|
417
295
|
/**
|
|
418
|
-
* HTTP
|
|
419
|
-
* Java method: org.openremote.model.
|
|
296
|
+
* HTTP DELETE /asset/parent
|
|
297
|
+
* Java method: org.openremote.model.asset.AssetResource.updateNoneParent
|
|
420
298
|
*/
|
|
421
|
-
|
|
299
|
+
updateNoneParent(queryParams?: {
|
|
300
|
+
assetIds?: string[];
|
|
301
|
+
}, options?: O): RestResponse<void>;
|
|
422
302
|
/**
|
|
423
|
-
* HTTP
|
|
424
|
-
* Java method: org.openremote.model.
|
|
303
|
+
* HTTP GET /asset/partial/{assetId}
|
|
304
|
+
* Java method: org.openremote.model.asset.AssetResource.getPartial
|
|
425
305
|
*/
|
|
426
|
-
|
|
306
|
+
getPartial(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
427
307
|
/**
|
|
428
|
-
* HTTP
|
|
429
|
-
* Java method: org.openremote.model.
|
|
308
|
+
* HTTP POST /asset/query
|
|
309
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssets
|
|
430
310
|
*/
|
|
431
|
-
|
|
432
|
-
language?: Model.RulesetLang[];
|
|
433
|
-
fullyPopulate?: boolean;
|
|
434
|
-
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
311
|
+
queryAssets(query: Model.AssetQuery, options?: O): RestResponse<Model.Asset[]>;
|
|
435
312
|
/**
|
|
436
|
-
* HTTP
|
|
437
|
-
* Java method: org.openremote.model.
|
|
313
|
+
* HTTP POST /asset/tree
|
|
314
|
+
* Java method: org.openremote.model.asset.AssetResource.queryAssetTree
|
|
438
315
|
*/
|
|
439
|
-
|
|
316
|
+
queryAssetTree(query: Model.AssetQuery, options?: O): RestResponse<Model.AssetTree>;
|
|
440
317
|
/**
|
|
441
|
-
* HTTP GET /
|
|
442
|
-
* Java method: org.openremote.model.
|
|
318
|
+
* HTTP GET /asset/user/current
|
|
319
|
+
* Java method: org.openremote.model.asset.AssetResource.getCurrentUserAssets
|
|
443
320
|
*/
|
|
444
|
-
|
|
321
|
+
getCurrentUserAssets(options?: O): RestResponse<Model.Asset[]>;
|
|
445
322
|
/**
|
|
446
|
-
* HTTP
|
|
447
|
-
* Java method: org.openremote.model.
|
|
323
|
+
* HTTP POST /asset/user/link
|
|
324
|
+
* Java method: org.openremote.model.asset.AssetResource.createUserAssetLinks
|
|
448
325
|
*/
|
|
449
|
-
|
|
326
|
+
createUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
450
327
|
/**
|
|
451
|
-
* HTTP
|
|
452
|
-
* Java method: org.openremote.model.
|
|
328
|
+
* HTTP GET /asset/user/link
|
|
329
|
+
* Java method: org.openremote.model.asset.AssetResource.getUserAssetLinks
|
|
453
330
|
*/
|
|
454
|
-
|
|
331
|
+
getUserAssetLinks(queryParams?: {
|
|
332
|
+
realm?: string;
|
|
333
|
+
userId?: string;
|
|
334
|
+
assetId?: string;
|
|
335
|
+
}, options?: O): RestResponse<Model.UserAssetLink[]>;
|
|
455
336
|
/**
|
|
456
|
-
* HTTP
|
|
457
|
-
* Java method: org.openremote.model.
|
|
337
|
+
* HTTP POST /asset/user/link/delete
|
|
338
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLinks
|
|
458
339
|
*/
|
|
459
|
-
|
|
340
|
+
deleteUserAssetLinks(userAssets: Model.UserAssetLink[], options?: O): RestResponse<void>;
|
|
460
341
|
/**
|
|
461
|
-
* HTTP
|
|
462
|
-
* Java method: org.openremote.model.
|
|
342
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}
|
|
343
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteAllUserAssetLinks
|
|
463
344
|
*/
|
|
464
|
-
|
|
345
|
+
deleteAllUserAssetLinks(realm: string, userId: string, options?: O): RestResponse<void>;
|
|
346
|
+
/**
|
|
347
|
+
* HTTP DELETE /asset/user/link/{realm}/{userId}/{assetId}
|
|
348
|
+
* Java method: org.openremote.model.asset.AssetResource.deleteUserAssetLink
|
|
349
|
+
*/
|
|
350
|
+
deleteUserAssetLink(realm: string, userId: string, assetId: string, options?: O): RestResponse<void>;
|
|
351
|
+
/**
|
|
352
|
+
* HTTP GET /asset/{assetId}
|
|
353
|
+
* Java method: org.openremote.model.asset.AssetResource.get
|
|
354
|
+
*/
|
|
355
|
+
get(assetId: string, options?: O): RestResponse<Model.Asset>;
|
|
356
|
+
/**
|
|
357
|
+
* HTTP PUT /asset/{assetId}
|
|
358
|
+
* Java method: org.openremote.model.asset.AssetResource.update
|
|
359
|
+
*/
|
|
360
|
+
update(assetId: string, asset: Model.Asset, options?: O): RestResponse<Model.Asset>;
|
|
361
|
+
/**
|
|
362
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}
|
|
363
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
364
|
+
*/
|
|
365
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName(assetId: string, attributeName: string, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
366
|
+
/**
|
|
367
|
+
* HTTP PUT /asset/{assetId}/attribute/{attributeName}/{timestamp}
|
|
368
|
+
* Java method: org.openremote.model.asset.AssetResource.writeAttributeValue
|
|
369
|
+
*/
|
|
370
|
+
writeAttributeValue$PUT$asset_assetId_attribute_attributeName_timestamp(assetId: string, attributeName: string, timestamp: number, value: any, options?: O): RestResponse<Model.AttributeWriteResult>;
|
|
371
|
+
/**
|
|
372
|
+
* HTTP PUT /asset/{parentAssetId}/child
|
|
373
|
+
* Java method: org.openremote.model.asset.AssetResource.updateParent
|
|
374
|
+
*/
|
|
375
|
+
updateParent(parentAssetId: string, queryParams?: {
|
|
376
|
+
assetIds?: string[];
|
|
377
|
+
}, options?: O): RestResponse<void>;
|
|
465
378
|
}
|
|
466
379
|
export declare class NotificationResourceClient<O> {
|
|
467
380
|
protected httpClient: HttpClient<O>;
|
|
@@ -517,113 +430,189 @@ export declare class NotificationResourceClient<O> {
|
|
|
517
430
|
targetId?: string;
|
|
518
431
|
}, options?: O): RestResponse<void>;
|
|
519
432
|
}
|
|
520
|
-
export declare class
|
|
433
|
+
export declare class AgentResourceClient<O> {
|
|
521
434
|
protected httpClient: HttpClient<O>;
|
|
522
435
|
constructor(httpClient: HttpClient<O>);
|
|
523
436
|
/**
|
|
524
|
-
*
|
|
525
|
-
*
|
|
526
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
437
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
438
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
527
439
|
*/
|
|
528
|
-
|
|
440
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
529
441
|
realm?: string;
|
|
530
|
-
}, options?: O): RestResponse<Model.
|
|
442
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
531
443
|
/**
|
|
532
|
-
*
|
|
533
|
-
*
|
|
534
|
-
* Response code 409 - ExternalService instance already registered
|
|
535
|
-
* HTTP POST /service
|
|
536
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
444
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
445
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
537
446
|
*/
|
|
538
|
-
|
|
447
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
448
|
+
realm?: string;
|
|
449
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
539
450
|
/**
|
|
540
|
-
*
|
|
541
|
-
*
|
|
542
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
451
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
452
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
543
453
|
*/
|
|
544
|
-
|
|
454
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
455
|
+
parentId?: string;
|
|
456
|
+
realm?: string;
|
|
457
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
458
|
+
}
|
|
459
|
+
export declare class SyslogResourceClient<O> {
|
|
460
|
+
protected httpClient: HttpClient<O>;
|
|
461
|
+
constructor(httpClient: HttpClient<O>);
|
|
545
462
|
/**
|
|
546
|
-
*
|
|
547
|
-
*
|
|
548
|
-
* Response code 409 - ExternalService instance already registered
|
|
549
|
-
* HTTP POST /service/global
|
|
550
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
463
|
+
* HTTP GET /syslog/config
|
|
464
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
551
465
|
*/
|
|
552
|
-
|
|
466
|
+
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
553
467
|
/**
|
|
554
|
-
*
|
|
555
|
-
*
|
|
556
|
-
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
557
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
468
|
+
* HTTP PUT /syslog/config
|
|
469
|
+
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
558
470
|
*/
|
|
559
|
-
|
|
471
|
+
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
560
472
|
/**
|
|
561
|
-
*
|
|
562
|
-
*
|
|
563
|
-
* HTTP GET /service/{serviceId}/{instanceId}
|
|
564
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
473
|
+
* HTTP DELETE /syslog/event
|
|
474
|
+
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
565
475
|
*/
|
|
566
|
-
|
|
476
|
+
clearEvents(options?: O): RestResponse<void>;
|
|
567
477
|
/**
|
|
568
|
-
*
|
|
569
|
-
*
|
|
570
|
-
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
571
|
-
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
478
|
+
* HTTP GET /syslog/event
|
|
479
|
+
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
572
480
|
*/
|
|
573
|
-
|
|
481
|
+
getEvents(queryParams?: {
|
|
482
|
+
level?: Model.SyslogLevel;
|
|
483
|
+
per_page?: number;
|
|
484
|
+
page?: number;
|
|
485
|
+
from?: number;
|
|
486
|
+
to?: number;
|
|
487
|
+
category?: Model.SyslogCategory[];
|
|
488
|
+
subCategory?: string[];
|
|
489
|
+
}, options?: O): RestResponse<any>;
|
|
574
490
|
}
|
|
575
|
-
export declare class
|
|
491
|
+
export declare class StatusResourceClient<O> {
|
|
576
492
|
protected httpClient: HttpClient<O>;
|
|
577
493
|
constructor(httpClient: HttpClient<O>);
|
|
578
494
|
/**
|
|
579
|
-
* HTTP
|
|
580
|
-
* Java method: org.openremote.model.
|
|
495
|
+
* HTTP GET /health
|
|
496
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
581
497
|
*/
|
|
582
|
-
|
|
498
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
499
|
+
[index: string]: any;
|
|
500
|
+
}>;
|
|
583
501
|
/**
|
|
584
|
-
* HTTP
|
|
585
|
-
* Java method: org.openremote.model.
|
|
502
|
+
* HTTP GET /info
|
|
503
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
586
504
|
*/
|
|
587
|
-
|
|
505
|
+
getInfo(options?: O): RestResponse<{
|
|
506
|
+
[index: string]: any;
|
|
507
|
+
}>;
|
|
508
|
+
}
|
|
509
|
+
export declare class RulesResourceClient<O> {
|
|
510
|
+
protected httpClient: HttpClient<O>;
|
|
511
|
+
constructor(httpClient: HttpClient<O>);
|
|
588
512
|
/**
|
|
589
|
-
* HTTP
|
|
590
|
-
* Java method: org.openremote.model.
|
|
513
|
+
* HTTP POST /rules
|
|
514
|
+
* Java method: org.openremote.model.rules.RulesResource.createGlobalRuleset
|
|
591
515
|
*/
|
|
592
|
-
|
|
516
|
+
createGlobalRuleset(ruleset: Model.GlobalRuleset, options?: O): RestResponse<number>;
|
|
593
517
|
/**
|
|
594
|
-
* HTTP
|
|
595
|
-
* Java method: org.openremote.model.
|
|
518
|
+
* HTTP GET /rules
|
|
519
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRulesets
|
|
596
520
|
*/
|
|
597
|
-
|
|
521
|
+
getGlobalRulesets(queryParams?: {
|
|
522
|
+
language?: Model.RulesetLang[];
|
|
523
|
+
fullyPopulate?: boolean;
|
|
524
|
+
}, options?: O): RestResponse<Model.GlobalRuleset[]>;
|
|
598
525
|
/**
|
|
599
|
-
* HTTP
|
|
600
|
-
* Java method: org.openremote.model.
|
|
526
|
+
* HTTP POST /rules/asset
|
|
527
|
+
* Java method: org.openremote.model.rules.RulesResource.createAssetRuleset
|
|
601
528
|
*/
|
|
602
|
-
|
|
529
|
+
createAssetRuleset(ruleset: Model.AssetRuleset, options?: O): RestResponse<number>;
|
|
603
530
|
/**
|
|
604
|
-
* HTTP GET /
|
|
605
|
-
* Java method: org.openremote.model.
|
|
531
|
+
* HTTP GET /rules/asset/for/{assetId}
|
|
532
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRulesets
|
|
606
533
|
*/
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
constructor(httpClient: HttpClient<O>);
|
|
534
|
+
getAssetRulesets(assetId: string, queryParams?: {
|
|
535
|
+
language?: Model.RulesetLang[];
|
|
536
|
+
fullyPopulate?: boolean;
|
|
537
|
+
}, options?: O): RestResponse<Model.AssetRuleset[]>;
|
|
612
538
|
/**
|
|
613
|
-
* HTTP
|
|
614
|
-
* Java method: org.openremote.model.
|
|
539
|
+
* HTTP DELETE /rules/asset/{id}
|
|
540
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteAssetRuleset
|
|
615
541
|
*/
|
|
616
|
-
|
|
542
|
+
deleteAssetRuleset(id: number, options?: O): RestResponse<void>;
|
|
617
543
|
/**
|
|
618
|
-
* HTTP GET /
|
|
619
|
-
* Java method: org.openremote.model.
|
|
544
|
+
* HTTP GET /rules/asset/{id}
|
|
545
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetRuleset
|
|
620
546
|
*/
|
|
621
|
-
|
|
547
|
+
getAssetRuleset(id: number, options?: O): RestResponse<Model.AssetRuleset>;
|
|
622
548
|
/**
|
|
623
|
-
* HTTP
|
|
624
|
-
* Java method: org.openremote.model.
|
|
549
|
+
* HTTP PUT /rules/asset/{id}
|
|
550
|
+
* Java method: org.openremote.model.rules.RulesResource.updateAssetRuleset
|
|
625
551
|
*/
|
|
626
|
-
|
|
552
|
+
updateAssetRuleset(id: number, ruleset: Model.AssetRuleset, options?: O): RestResponse<void>;
|
|
553
|
+
/**
|
|
554
|
+
* HTTP GET /rules/geofences/{assetId}
|
|
555
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetGeofences
|
|
556
|
+
*/
|
|
557
|
+
getAssetGeofences(assetId: string, options?: O): RestResponse<Model.GeofenceDefinition[]>;
|
|
558
|
+
/**
|
|
559
|
+
* HTTP GET /rules/info/asset/{assetId}
|
|
560
|
+
* Java method: org.openremote.model.rules.RulesResource.getAssetEngineInfo
|
|
561
|
+
*/
|
|
562
|
+
getAssetEngineInfo(assetId: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
563
|
+
/**
|
|
564
|
+
* HTTP GET /rules/info/global
|
|
565
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalEngineInfo
|
|
566
|
+
*/
|
|
567
|
+
getGlobalEngineInfo(options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
568
|
+
/**
|
|
569
|
+
* HTTP GET /rules/info/realm/{realm}
|
|
570
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmEngineInfo
|
|
571
|
+
*/
|
|
572
|
+
getRealmEngineInfo(realm: string, options?: O): RestResponse<Model.RulesEngineInfo>;
|
|
573
|
+
/**
|
|
574
|
+
* HTTP POST /rules/realm
|
|
575
|
+
* Java method: org.openremote.model.rules.RulesResource.createRealmRuleset
|
|
576
|
+
*/
|
|
577
|
+
createRealmRuleset(ruleset: Model.RealmRuleset, options?: O): RestResponse<number>;
|
|
578
|
+
/**
|
|
579
|
+
* HTTP GET /rules/realm/for/{realm}
|
|
580
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRulesets
|
|
581
|
+
*/
|
|
582
|
+
getRealmRulesets(realm: string, queryParams?: {
|
|
583
|
+
language?: Model.RulesetLang[];
|
|
584
|
+
fullyPopulate?: boolean;
|
|
585
|
+
}, options?: O): RestResponse<Model.RealmRuleset[]>;
|
|
586
|
+
/**
|
|
587
|
+
* HTTP DELETE /rules/realm/{id}
|
|
588
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteRealmRuleset
|
|
589
|
+
*/
|
|
590
|
+
deleteRealmRuleset(id: number, options?: O): RestResponse<void>;
|
|
591
|
+
/**
|
|
592
|
+
* HTTP GET /rules/realm/{id}
|
|
593
|
+
* Java method: org.openremote.model.rules.RulesResource.getRealmRuleset
|
|
594
|
+
*/
|
|
595
|
+
getRealmRuleset(id: number, options?: O): RestResponse<Model.RealmRuleset>;
|
|
596
|
+
/**
|
|
597
|
+
* HTTP PUT /rules/realm/{id}
|
|
598
|
+
* Java method: org.openremote.model.rules.RulesResource.updateRealmRuleset
|
|
599
|
+
*/
|
|
600
|
+
updateRealmRuleset(id: number, ruleset: Model.RealmRuleset, options?: O): RestResponse<void>;
|
|
601
|
+
/**
|
|
602
|
+
* HTTP DELETE /rules/{id}
|
|
603
|
+
* Java method: org.openremote.model.rules.RulesResource.deleteGlobalRuleset
|
|
604
|
+
*/
|
|
605
|
+
deleteGlobalRuleset(id: number, options?: O): RestResponse<void>;
|
|
606
|
+
/**
|
|
607
|
+
* HTTP GET /rules/{id}
|
|
608
|
+
* Java method: org.openremote.model.rules.RulesResource.getGlobalRuleset
|
|
609
|
+
*/
|
|
610
|
+
getGlobalRuleset(id: number, options?: O): RestResponse<Model.GlobalRuleset>;
|
|
611
|
+
/**
|
|
612
|
+
* HTTP PUT /rules/{id}
|
|
613
|
+
* Java method: org.openremote.model.rules.RulesResource.updateGlobalRuleset
|
|
614
|
+
*/
|
|
615
|
+
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
627
616
|
}
|
|
628
617
|
export declare class AssetModelResourceClient<O> {
|
|
629
618
|
protected httpClient: HttpClient<O>;
|
|
@@ -678,111 +667,187 @@ export declare class AssetModelResourceClient<O> {
|
|
|
678
667
|
[index: string]: Model.ValueDescriptor;
|
|
679
668
|
}>;
|
|
680
669
|
}
|
|
681
|
-
export declare class
|
|
670
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
682
671
|
protected httpClient: HttpClient<O>;
|
|
683
672
|
constructor(httpClient: HttpClient<O>);
|
|
684
673
|
/**
|
|
685
|
-
* HTTP
|
|
686
|
-
* Java method: org.openremote.model.
|
|
674
|
+
* HTTP GET /asset/datapoint/export
|
|
675
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
687
676
|
*/
|
|
688
|
-
|
|
677
|
+
getDatapointExport(queryParams?: {
|
|
678
|
+
attributeRefs?: string;
|
|
679
|
+
fromTimestamp?: number;
|
|
680
|
+
toTimestamp?: number;
|
|
681
|
+
}, options?: O): RestResponse<any>;
|
|
682
|
+
/**
|
|
683
|
+
* HTTP GET /asset/datapoint/periods
|
|
684
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
685
|
+
*/
|
|
686
|
+
getDatapointPeriod(queryParams?: {
|
|
687
|
+
assetId?: string;
|
|
688
|
+
attributeName?: string;
|
|
689
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
690
|
+
/**
|
|
691
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
692
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
693
|
+
*/
|
|
694
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
689
695
|
}
|
|
690
|
-
export declare class
|
|
696
|
+
export declare class FlowResourceClient<O> {
|
|
691
697
|
protected httpClient: HttpClient<O>;
|
|
692
698
|
constructor(httpClient: HttpClient<O>);
|
|
693
699
|
/**
|
|
694
|
-
* HTTP GET /
|
|
695
|
-
* Java method: org.openremote.model.
|
|
700
|
+
* HTTP GET /flow
|
|
701
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
696
702
|
*/
|
|
697
|
-
|
|
698
|
-
[id: string]: unknown;
|
|
699
|
-
}>;
|
|
703
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
700
704
|
/**
|
|
701
|
-
* HTTP
|
|
702
|
-
* Java method: org.openremote.model.
|
|
705
|
+
* HTTP GET /flow/{name}
|
|
706
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
703
707
|
*/
|
|
704
|
-
|
|
705
|
-
[id: string]: unknown;
|
|
706
|
-
}>;
|
|
708
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
707
709
|
/**
|
|
708
|
-
* HTTP
|
|
709
|
-
* Java method: org.openremote.model.
|
|
710
|
+
* HTTP GET /flow/{type}
|
|
711
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
710
712
|
*/
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
713
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
714
|
+
}
|
|
715
|
+
export declare class DashboardResourceClient<O> {
|
|
716
|
+
protected httpClient: HttpClient<O>;
|
|
717
|
+
constructor(httpClient: HttpClient<O>);
|
|
714
718
|
/**
|
|
715
|
-
* HTTP
|
|
716
|
-
* Java method: org.openremote.model.
|
|
719
|
+
* HTTP POST /dashboard
|
|
720
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.create
|
|
717
721
|
*/
|
|
718
|
-
|
|
719
|
-
[id: string]: unknown;
|
|
720
|
-
}>;
|
|
722
|
+
create(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
721
723
|
/**
|
|
722
|
-
* HTTP
|
|
723
|
-
* Java method: org.openremote.model.
|
|
724
|
+
* HTTP PUT /dashboard
|
|
725
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.update
|
|
724
726
|
*/
|
|
725
|
-
|
|
726
|
-
[id: string]: unknown;
|
|
727
|
-
}>;
|
|
727
|
+
update(dashboard: Model.Dashboard, options?: O): RestResponse<Model.Dashboard>;
|
|
728
728
|
/**
|
|
729
|
-
* HTTP GET /
|
|
730
|
-
* Java method: org.openremote.model.
|
|
729
|
+
* HTTP GET /dashboard/all/{realm}
|
|
730
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.getAllRealmDashboards
|
|
731
731
|
*/
|
|
732
|
-
|
|
732
|
+
getAllRealmDashboards(realm: string, options?: O): RestResponse<Model.Dashboard[]>;
|
|
733
733
|
/**
|
|
734
|
-
* HTTP POST /
|
|
735
|
-
* Java method: org.openremote.model.
|
|
734
|
+
* HTTP POST /dashboard/query
|
|
735
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.query
|
|
736
736
|
*/
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
737
|
+
query(dashboardQuery: Model.DashboardQuery, options?: O): RestResponse<Model.Dashboard[]>;
|
|
738
|
+
/**
|
|
739
|
+
* HTTP DELETE /dashboard/{realm}/{dashboardId}
|
|
740
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.delete
|
|
741
|
+
*/
|
|
742
|
+
delete(realm: string, dashboardId: string, options?: O): RestResponse<void>;
|
|
743
|
+
/**
|
|
744
|
+
* HTTP GET /dashboard/{realm}/{dashboardId}
|
|
745
|
+
* Java method: org.openremote.model.dashboard.DashboardResource.get
|
|
746
|
+
*/
|
|
747
|
+
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
742
748
|
}
|
|
743
|
-
export declare class
|
|
749
|
+
export declare class AppResourceClient<O> {
|
|
744
750
|
protected httpClient: HttpClient<O>;
|
|
745
751
|
constructor(httpClient: HttpClient<O>);
|
|
746
752
|
/**
|
|
747
|
-
* HTTP GET /
|
|
748
|
-
* Java method: org.openremote.model.
|
|
753
|
+
* HTTP GET /apps
|
|
754
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
749
755
|
*/
|
|
750
|
-
|
|
751
|
-
attributeRefs?: string;
|
|
752
|
-
fromTimestamp?: number;
|
|
753
|
-
toTimestamp?: number;
|
|
754
|
-
}, options?: O): RestResponse<any>;
|
|
756
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
755
757
|
/**
|
|
756
|
-
* HTTP GET /
|
|
757
|
-
* Java method: org.openremote.model.
|
|
758
|
+
* HTTP GET /apps/consoleConfig
|
|
759
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
758
760
|
*/
|
|
759
|
-
|
|
760
|
-
assetId?: string;
|
|
761
|
-
attributeName?: string;
|
|
762
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
761
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
763
762
|
/**
|
|
764
|
-
* HTTP
|
|
765
|
-
* Java method: org.openremote.model.
|
|
763
|
+
* HTTP GET /apps/info
|
|
764
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
765
|
+
*/
|
|
766
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
767
|
+
}
|
|
768
|
+
export declare class ExternalServiceResourceClient<O> {
|
|
769
|
+
protected httpClient: HttpClient<O>;
|
|
770
|
+
constructor(httpClient: HttpClient<O>);
|
|
771
|
+
/**
|
|
772
|
+
* Response code 200 - List of registered external services
|
|
773
|
+
* HTTP GET /service
|
|
774
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getServices
|
|
775
|
+
*/
|
|
776
|
+
getServices(queryParams?: {
|
|
777
|
+
realm?: string;
|
|
778
|
+
}, options?: O): RestResponse<Model.ExternalService[]>;
|
|
779
|
+
/**
|
|
780
|
+
* Response code 200 - Service registered successfully
|
|
781
|
+
* Response code 400 - Invalid external service object
|
|
782
|
+
* Response code 409 - ExternalService instance already registered
|
|
783
|
+
* HTTP POST /service
|
|
784
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerService
|
|
785
|
+
*/
|
|
786
|
+
registerService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
787
|
+
/**
|
|
788
|
+
* Response code 200 - List of registered external services
|
|
789
|
+
* HTTP GET /service/global
|
|
790
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getGlobalServices
|
|
791
|
+
*/
|
|
792
|
+
getGlobalServices(options?: O): RestResponse<Model.ExternalService[]>;
|
|
793
|
+
/**
|
|
794
|
+
* Response code 200 - Service registered successfully
|
|
795
|
+
* Response code 400 - Invalid external service object
|
|
796
|
+
* Response code 409 - ExternalService instance already registered
|
|
797
|
+
* HTTP POST /service/global
|
|
798
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.registerGlobalService
|
|
799
|
+
*/
|
|
800
|
+
registerGlobalService(service: Model.ExternalService, options?: O): RestResponse<Model.ExternalService>;
|
|
801
|
+
/**
|
|
802
|
+
* Response code 204 - Service deregistered successfully
|
|
803
|
+
* Response code 404 - Service instance not found
|
|
804
|
+
* HTTP DELETE /service/{serviceId}/{instanceId}
|
|
805
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.deregisterService
|
|
806
|
+
*/
|
|
807
|
+
deregisterService(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
808
|
+
/**
|
|
809
|
+
* Response code 200 - ExternalService retrieved successfully
|
|
810
|
+
* Response code 404 - ExternalService not found
|
|
811
|
+
* HTTP GET /service/{serviceId}/{instanceId}
|
|
812
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.getService
|
|
813
|
+
*/
|
|
814
|
+
getService(serviceId: string, instanceId: number, options?: O): RestResponse<Model.ExternalService>;
|
|
815
|
+
/**
|
|
816
|
+
* Response code 204 - Heartbeat sent successfully
|
|
817
|
+
* Response code 404 - Service instance not found
|
|
818
|
+
* HTTP PUT /service/{serviceId}/{instanceId}
|
|
819
|
+
* Java method: org.openremote.model.services.ExternalServiceResource.heartbeat
|
|
820
|
+
*/
|
|
821
|
+
heartbeat(serviceId: string, instanceId: number, options?: O): RestResponse<void>;
|
|
822
|
+
}
|
|
823
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
824
|
+
protected httpClient: HttpClient<O>;
|
|
825
|
+
constructor(httpClient: HttpClient<O>);
|
|
826
|
+
/**
|
|
827
|
+
* HTTP POST /gateway/tunnel
|
|
828
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
829
|
+
*/
|
|
830
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
831
|
+
/**
|
|
832
|
+
* HTTP DELETE /gateway/tunnel
|
|
833
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
834
|
+
*/
|
|
835
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
836
|
+
/**
|
|
837
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
838
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
766
839
|
*/
|
|
767
|
-
|
|
768
|
-
}
|
|
769
|
-
export declare class StatusResourceClient<O> {
|
|
770
|
-
protected httpClient: HttpClient<O>;
|
|
771
|
-
constructor(httpClient: HttpClient<O>);
|
|
840
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
772
841
|
/**
|
|
773
|
-
* HTTP GET /
|
|
774
|
-
* Java method: org.openremote.model.
|
|
842
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
843
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
775
844
|
*/
|
|
776
|
-
|
|
777
|
-
[index: string]: any;
|
|
778
|
-
}>;
|
|
845
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
779
846
|
/**
|
|
780
|
-
* HTTP GET /
|
|
781
|
-
* Java method: org.openremote.model.
|
|
847
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
848
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
782
849
|
*/
|
|
783
|
-
|
|
784
|
-
[index: string]: any;
|
|
785
|
-
}>;
|
|
850
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
786
851
|
}
|
|
787
852
|
export declare class ConfigurationResourceClient<O> {
|
|
788
853
|
protected httpClient: HttpClient<O>;
|
|
@@ -810,25 +875,6 @@ export declare class ConfigurationResourceClient<O> {
|
|
|
810
875
|
*/
|
|
811
876
|
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
812
877
|
}
|
|
813
|
-
export declare class FlowResourceClient<O> {
|
|
814
|
-
protected httpClient: HttpClient<O>;
|
|
815
|
-
constructor(httpClient: HttpClient<O>);
|
|
816
|
-
/**
|
|
817
|
-
* HTTP GET /flow
|
|
818
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
819
|
-
*/
|
|
820
|
-
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
821
|
-
/**
|
|
822
|
-
* HTTP GET /flow/{name}
|
|
823
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
824
|
-
*/
|
|
825
|
-
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
826
|
-
/**
|
|
827
|
-
* HTTP GET /flow/{type}
|
|
828
|
-
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
829
|
-
*/
|
|
830
|
-
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
831
|
-
}
|
|
832
878
|
export declare class GatewayClientResourceClient<O> {
|
|
833
879
|
protected httpClient: HttpClient<O>;
|
|
834
880
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -865,152 +911,106 @@ export declare class GatewayClientResourceClient<O> {
|
|
|
865
911
|
*/
|
|
866
912
|
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
867
913
|
}
|
|
868
|
-
export declare class
|
|
869
|
-
protected httpClient: HttpClient<O>;
|
|
870
|
-
constructor(httpClient: HttpClient<O>);
|
|
871
|
-
/**
|
|
872
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
873
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
874
|
-
*/
|
|
875
|
-
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
876
|
-
/**
|
|
877
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
878
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
879
|
-
*/
|
|
880
|
-
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
881
|
-
}
|
|
882
|
-
export declare class SyslogResourceClient<O> {
|
|
883
|
-
protected httpClient: HttpClient<O>;
|
|
884
|
-
constructor(httpClient: HttpClient<O>);
|
|
885
|
-
/**
|
|
886
|
-
* HTTP GET /syslog/config
|
|
887
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getConfig
|
|
888
|
-
*/
|
|
889
|
-
getConfig(options?: O): RestResponse<Model.SyslogConfig>;
|
|
890
|
-
/**
|
|
891
|
-
* HTTP PUT /syslog/config
|
|
892
|
-
* Java method: org.openremote.model.syslog.SyslogResource.updateConfig
|
|
893
|
-
*/
|
|
894
|
-
updateConfig(config: Model.SyslogConfig, options?: O): RestResponse<void>;
|
|
895
|
-
/**
|
|
896
|
-
* HTTP DELETE /syslog/event
|
|
897
|
-
* Java method: org.openremote.model.syslog.SyslogResource.clearEvents
|
|
898
|
-
*/
|
|
899
|
-
clearEvents(options?: O): RestResponse<void>;
|
|
900
|
-
/**
|
|
901
|
-
* HTTP GET /syslog/event
|
|
902
|
-
* Java method: org.openremote.model.syslog.SyslogResource.getEvents
|
|
903
|
-
*/
|
|
904
|
-
getEvents(queryParams?: {
|
|
905
|
-
level?: Model.SyslogLevel;
|
|
906
|
-
per_page?: number;
|
|
907
|
-
page?: number;
|
|
908
|
-
from?: number;
|
|
909
|
-
to?: number;
|
|
910
|
-
category?: Model.SyslogCategory[];
|
|
911
|
-
subCategory?: string[];
|
|
912
|
-
}, options?: O): RestResponse<any>;
|
|
913
|
-
}
|
|
914
|
-
export declare class AlarmResourceClient<O> {
|
|
914
|
+
export declare class MapResourceClient<O> {
|
|
915
915
|
protected httpClient: HttpClient<O>;
|
|
916
916
|
constructor(httpClient: HttpClient<O>);
|
|
917
917
|
/**
|
|
918
|
-
* HTTP
|
|
919
|
-
* Java method: org.openremote.model.
|
|
920
|
-
*/
|
|
921
|
-
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
922
|
-
assetIds?: string[];
|
|
923
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
924
|
-
/**
|
|
925
|
-
* HTTP GET /alarm
|
|
926
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
918
|
+
* HTTP GET /map
|
|
919
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
927
920
|
*/
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
assetId?: string;
|
|
932
|
-
assigneeId?: string;
|
|
933
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
921
|
+
getSettings(options?: O): RestResponse<{
|
|
922
|
+
[id: string]: unknown;
|
|
923
|
+
}>;
|
|
934
924
|
/**
|
|
935
|
-
* HTTP
|
|
936
|
-
* Java method: org.openremote.model.
|
|
925
|
+
* HTTP PUT /map
|
|
926
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
937
927
|
*/
|
|
938
|
-
|
|
928
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
929
|
+
[id: string]: unknown;
|
|
930
|
+
}>;
|
|
939
931
|
/**
|
|
940
|
-
* HTTP
|
|
941
|
-
* Java method: org.openremote.model.
|
|
932
|
+
* HTTP DELETE /map/deleteMap
|
|
933
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
942
934
|
*/
|
|
943
|
-
|
|
935
|
+
deleteMap(options?: O): RestResponse<{
|
|
936
|
+
[id: string]: unknown;
|
|
937
|
+
}>;
|
|
944
938
|
/**
|
|
945
|
-
* HTTP GET /
|
|
946
|
-
* Java method: org.openremote.model.
|
|
939
|
+
* HTTP GET /map/getCustomMapInfo
|
|
940
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
947
941
|
*/
|
|
948
|
-
|
|
942
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
943
|
+
[id: string]: unknown;
|
|
944
|
+
}>;
|
|
949
945
|
/**
|
|
950
|
-
* HTTP
|
|
951
|
-
* Java method: org.openremote.model.
|
|
946
|
+
* HTTP GET /map/js
|
|
947
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
952
948
|
*/
|
|
953
|
-
|
|
949
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
950
|
+
[id: string]: unknown;
|
|
951
|
+
}>;
|
|
954
952
|
/**
|
|
955
|
-
* HTTP
|
|
956
|
-
* Java method: org.openremote.model.
|
|
953
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
954
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
957
955
|
*/
|
|
958
|
-
|
|
956
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
959
957
|
/**
|
|
960
|
-
* HTTP
|
|
961
|
-
* Java method: org.openremote.model.
|
|
958
|
+
* HTTP POST /map/upload
|
|
959
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
962
960
|
*/
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
}, options?: O): RestResponse<
|
|
961
|
+
uploadMap(queryParams?: {
|
|
962
|
+
filename?: string;
|
|
963
|
+
}, options?: O): RestResponse<{
|
|
964
|
+
[id: string]: unknown;
|
|
965
|
+
}>;
|
|
966
966
|
}
|
|
967
967
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
968
968
|
export declare class ApiClient {
|
|
969
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
970
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
971
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
972
|
+
protected _userResource: AxiosUserResourceClient;
|
|
973
|
+
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
969
974
|
protected _realmResource: AxiosRealmResourceClient;
|
|
970
975
|
protected _assetResource: AxiosAssetResourceClient;
|
|
971
|
-
protected
|
|
972
|
-
protected _userResource: AxiosUserResourceClient;
|
|
976
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
973
977
|
protected _agentResource: AxiosAgentResourceClient;
|
|
974
|
-
protected
|
|
978
|
+
protected _syslogResource: AxiosSyslogResourceClient;
|
|
979
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
975
980
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
976
|
-
protected _notificationResource: AxiosNotificationResourceClient;
|
|
977
|
-
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
978
|
-
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
979
|
-
protected _appResource: AxiosAppResourceClient;
|
|
980
981
|
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
981
|
-
protected _consoleResource: AxiosConsoleResourceClient;
|
|
982
|
-
protected _mapResource: AxiosMapResourceClient;
|
|
983
982
|
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
984
|
-
protected _statusResource: AxiosStatusResourceClient;
|
|
985
|
-
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
986
983
|
protected _flowResource: AxiosFlowResourceClient;
|
|
984
|
+
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
985
|
+
protected _appResource: AxiosAppResourceClient;
|
|
986
|
+
protected _externalServiceResource: AxiosExternalServiceResourceClient;
|
|
987
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
988
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
987
989
|
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
988
|
-
protected
|
|
989
|
-
protected _syslogResource: AxiosSyslogResourceClient;
|
|
990
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
990
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
991
991
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
992
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
993
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
994
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
995
|
+
get UserResource(): AxiosUserResourceClient;
|
|
996
|
+
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
992
997
|
get RealmResource(): AxiosRealmResourceClient;
|
|
993
998
|
get AssetResource(): AxiosAssetResourceClient;
|
|
994
|
-
get
|
|
995
|
-
get UserResource(): AxiosUserResourceClient;
|
|
999
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
996
1000
|
get AgentResource(): AxiosAgentResourceClient;
|
|
997
|
-
get
|
|
1001
|
+
get SyslogResource(): AxiosSyslogResourceClient;
|
|
1002
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
998
1003
|
get RulesResource(): AxiosRulesResourceClient;
|
|
999
|
-
get NotificationResource(): AxiosNotificationResourceClient;
|
|
1000
|
-
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
1001
|
-
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1002
|
-
get AppResource(): AxiosAppResourceClient;
|
|
1003
1004
|
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
1004
|
-
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
1005
|
-
get MapResource(): AxiosMapResourceClient;
|
|
1006
1005
|
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
1007
|
-
get StatusResource(): AxiosStatusResourceClient;
|
|
1008
|
-
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
1009
1006
|
get FlowResource(): AxiosFlowResourceClient;
|
|
1007
|
+
get DashboardResource(): AxiosDashboardResourceClient;
|
|
1008
|
+
get AppResource(): AxiosAppResourceClient;
|
|
1009
|
+
get ExternalServiceResource(): AxiosExternalServiceResourceClient;
|
|
1010
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
1011
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
1010
1012
|
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
1011
|
-
get
|
|
1012
|
-
get SyslogResource(): AxiosSyslogResourceClient;
|
|
1013
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
1013
|
+
get MapResource(): AxiosMapResourceClient;
|
|
1014
1014
|
}
|
|
1015
1015
|
import * as Axios from "axios";
|
|
1016
1016
|
declare module "axios" {
|
|
@@ -1018,69 +1018,69 @@ declare module "axios" {
|
|
|
1018
1018
|
data: R;
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
|
-
export declare class
|
|
1021
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
1022
1022
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1023
1023
|
}
|
|
1024
|
-
export declare class
|
|
1024
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1025
1025
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1026
1026
|
}
|
|
1027
|
-
export declare class
|
|
1027
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
1028
1028
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1029
1029
|
}
|
|
1030
1030
|
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
1031
1031
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1032
1032
|
}
|
|
1033
|
-
export declare class
|
|
1033
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
1034
1034
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1035
1035
|
}
|
|
1036
|
-
export declare class
|
|
1036
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
1037
1037
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1038
1038
|
}
|
|
1039
|
-
export declare class
|
|
1039
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
1040
1040
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1041
1041
|
}
|
|
1042
1042
|
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
1043
1043
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1044
1044
|
}
|
|
1045
|
-
export declare class
|
|
1045
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
1046
1046
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1047
1047
|
}
|
|
1048
|
-
export declare class
|
|
1048
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
1049
1049
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1050
1050
|
}
|
|
1051
|
-
export declare class
|
|
1051
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
1052
1052
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1053
1053
|
}
|
|
1054
|
-
export declare class
|
|
1054
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
1055
1055
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1056
1056
|
}
|
|
1057
|
-
export declare class
|
|
1057
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
1058
1058
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1059
1059
|
}
|
|
1060
|
-
export declare class
|
|
1060
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
1061
1061
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1062
1062
|
}
|
|
1063
|
-
export declare class
|
|
1063
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
1064
1064
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1065
1065
|
}
|
|
1066
|
-
export declare class
|
|
1066
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
1067
1067
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1068
1068
|
}
|
|
1069
|
-
export declare class
|
|
1069
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
1070
1070
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1071
1071
|
}
|
|
1072
|
-
export declare class
|
|
1072
|
+
export declare class AxiosExternalServiceResourceClient extends ExternalServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1073
1073
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1074
1074
|
}
|
|
1075
|
-
export declare class
|
|
1075
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
1076
1076
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1077
1077
|
}
|
|
1078
|
-
export declare class
|
|
1078
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
1079
1079
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1080
1080
|
}
|
|
1081
|
-
export declare class
|
|
1081
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
1082
1082
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1083
1083
|
}
|
|
1084
|
-
export declare class
|
|
1084
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
1085
1085
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
1086
1086
|
}
|