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