@openremote/rest 1.7.0-snapshot.20250602140158 → 1.7.0-snapshot.20250603085130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.js +1 -1
- package/lib/restclient.d.ts +396 -396
- package/lib/restclient.js +1 -1
- package/lib/restclient.js.map +1 -1
- package/package.json +3 -3
package/lib/restclient.d.ts
CHANGED
|
@@ -113,42 +113,145 @@ export declare class UserResourceClient<O> {
|
|
|
113
113
|
*/
|
|
114
114
|
get(realm: string, userId: string, options?: O): RestResponse<Model.User>;
|
|
115
115
|
}
|
|
116
|
-
export declare class
|
|
116
|
+
export declare class MapResourceClient<O> {
|
|
117
117
|
protected httpClient: HttpClient<O>;
|
|
118
118
|
constructor(httpClient: HttpClient<O>);
|
|
119
119
|
/**
|
|
120
|
-
* HTTP GET /
|
|
121
|
-
* Java method: org.openremote.model.
|
|
120
|
+
* HTTP GET /map
|
|
121
|
+
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
122
122
|
*/
|
|
123
|
-
|
|
123
|
+
getSettings(options?: O): RestResponse<{
|
|
124
|
+
[id: string]: unknown;
|
|
125
|
+
}>;
|
|
124
126
|
/**
|
|
125
|
-
* HTTP
|
|
126
|
-
* Java method: org.openremote.model.
|
|
127
|
+
* HTTP PUT /map
|
|
128
|
+
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
127
129
|
*/
|
|
128
|
-
|
|
130
|
+
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
131
|
+
[id: string]: unknown;
|
|
132
|
+
}>;
|
|
129
133
|
/**
|
|
130
|
-
* HTTP
|
|
131
|
-
* Java method: org.openremote.model.
|
|
134
|
+
* HTTP DELETE /map/deleteMap
|
|
135
|
+
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
132
136
|
*/
|
|
133
|
-
|
|
137
|
+
deleteMap(options?: O): RestResponse<{
|
|
138
|
+
[id: string]: unknown;
|
|
139
|
+
}>;
|
|
140
|
+
/**
|
|
141
|
+
* HTTP GET /map/getCustomMapInfo
|
|
142
|
+
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
143
|
+
*/
|
|
144
|
+
getCustomMapInfo(options?: O): RestResponse<{
|
|
145
|
+
[id: string]: unknown;
|
|
146
|
+
}>;
|
|
147
|
+
/**
|
|
148
|
+
* HTTP GET /map/js
|
|
149
|
+
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
150
|
+
*/
|
|
151
|
+
getSettingsJs(options?: O): RestResponse<{
|
|
152
|
+
[id: string]: unknown;
|
|
153
|
+
}>;
|
|
154
|
+
/**
|
|
155
|
+
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
156
|
+
* Java method: org.openremote.model.map.MapResource.getTile
|
|
157
|
+
*/
|
|
158
|
+
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
159
|
+
/**
|
|
160
|
+
* HTTP POST /map/upload
|
|
161
|
+
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
162
|
+
*/
|
|
163
|
+
uploadMap(queryParams?: {
|
|
164
|
+
filename?: string;
|
|
165
|
+
}, options?: O): RestResponse<{
|
|
166
|
+
[id: string]: unknown;
|
|
167
|
+
}>;
|
|
134
168
|
}
|
|
135
|
-
export declare class
|
|
169
|
+
export declare class RealmResourceClient<O> {
|
|
136
170
|
protected httpClient: HttpClient<O>;
|
|
137
171
|
constructor(httpClient: HttpClient<O>);
|
|
138
172
|
/**
|
|
139
|
-
* HTTP
|
|
140
|
-
* Java method: org.openremote.model.
|
|
173
|
+
* HTTP POST /realm
|
|
174
|
+
* Java method: org.openremote.model.security.RealmResource.create
|
|
141
175
|
*/
|
|
142
|
-
|
|
143
|
-
[index: string]: any;
|
|
144
|
-
}>;
|
|
176
|
+
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
145
177
|
/**
|
|
146
|
-
* HTTP GET /
|
|
147
|
-
* Java method: org.openremote.model.
|
|
178
|
+
* HTTP GET /realm
|
|
179
|
+
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
148
180
|
*/
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
181
|
+
getAll(options?: O): RestResponse<Model.Realm[]>;
|
|
182
|
+
/**
|
|
183
|
+
* HTTP GET /realm/accessible
|
|
184
|
+
* Java method: org.openremote.model.security.RealmResource.getAccessible
|
|
185
|
+
*/
|
|
186
|
+
getAccessible(options?: O): RestResponse<Model.Realm[]>;
|
|
187
|
+
/**
|
|
188
|
+
* HTTP DELETE /realm/{name}
|
|
189
|
+
* Java method: org.openremote.model.security.RealmResource.delete
|
|
190
|
+
*/
|
|
191
|
+
delete(name: string, options?: O): RestResponse<void>;
|
|
192
|
+
/**
|
|
193
|
+
* HTTP GET /realm/{name}
|
|
194
|
+
* Java method: org.openremote.model.security.RealmResource.get
|
|
195
|
+
*/
|
|
196
|
+
get(name: string, options?: O): RestResponse<Model.Realm>;
|
|
197
|
+
/**
|
|
198
|
+
* HTTP PUT /realm/{name}
|
|
199
|
+
* Java method: org.openremote.model.security.RealmResource.update
|
|
200
|
+
*/
|
|
201
|
+
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
202
|
+
}
|
|
203
|
+
export declare class AlarmResourceClient<O> {
|
|
204
|
+
protected httpClient: HttpClient<O>;
|
|
205
|
+
constructor(httpClient: HttpClient<O>);
|
|
206
|
+
/**
|
|
207
|
+
* HTTP POST /alarm
|
|
208
|
+
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
209
|
+
*/
|
|
210
|
+
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
211
|
+
assetIds?: string[];
|
|
212
|
+
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
213
|
+
/**
|
|
214
|
+
* HTTP GET /alarm
|
|
215
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
216
|
+
*/
|
|
217
|
+
getAlarms(queryParams?: {
|
|
218
|
+
realm?: string;
|
|
219
|
+
status?: Model.AlarmStatus;
|
|
220
|
+
assetId?: string;
|
|
221
|
+
assigneeId?: string;
|
|
222
|
+
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
223
|
+
/**
|
|
224
|
+
* HTTP DELETE /alarm
|
|
225
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
226
|
+
*/
|
|
227
|
+
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
228
|
+
/**
|
|
229
|
+
* HTTP PUT /alarm/assets
|
|
230
|
+
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
231
|
+
*/
|
|
232
|
+
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
233
|
+
/**
|
|
234
|
+
* HTTP GET /alarm/{alarmId}
|
|
235
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
236
|
+
*/
|
|
237
|
+
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
238
|
+
/**
|
|
239
|
+
* HTTP DELETE /alarm/{alarmId}
|
|
240
|
+
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
241
|
+
*/
|
|
242
|
+
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
243
|
+
/**
|
|
244
|
+
* HTTP PUT /alarm/{alarmId}
|
|
245
|
+
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
246
|
+
*/
|
|
247
|
+
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
248
|
+
/**
|
|
249
|
+
* HTTP GET /alarm/{alarmId}/assets
|
|
250
|
+
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
251
|
+
*/
|
|
252
|
+
getAssetLinks(alarmId: number, queryParams?: {
|
|
253
|
+
realm?: string;
|
|
254
|
+
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
152
255
|
}
|
|
153
256
|
export declare class ProvisioningResourceClient<O> {
|
|
154
257
|
protected httpClient: HttpClient<O>;
|
|
@@ -174,24 +277,40 @@ export declare class ProvisioningResourceClient<O> {
|
|
|
174
277
|
*/
|
|
175
278
|
updateProvisioningConfig(id: number, provisioningConfig: Model.ProvisioningConfigUnion<any, any>, options?: O): RestResponse<void>;
|
|
176
279
|
}
|
|
177
|
-
export declare class
|
|
280
|
+
export declare class AssetDatapointResourceClient<O> {
|
|
178
281
|
protected httpClient: HttpClient<O>;
|
|
179
282
|
constructor(httpClient: HttpClient<O>);
|
|
180
283
|
/**
|
|
181
|
-
* HTTP GET /
|
|
182
|
-
* Java method: org.openremote.model.
|
|
284
|
+
* HTTP GET /asset/datapoint/export
|
|
285
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointExport
|
|
183
286
|
*/
|
|
184
|
-
|
|
287
|
+
getDatapointExport(queryParams?: {
|
|
288
|
+
attributeRefs?: string;
|
|
289
|
+
fromTimestamp?: number;
|
|
290
|
+
toTimestamp?: number;
|
|
291
|
+
}, options?: O): RestResponse<any>;
|
|
185
292
|
/**
|
|
186
|
-
* HTTP GET /
|
|
187
|
-
* Java method: org.openremote.model.
|
|
293
|
+
* HTTP GET /asset/datapoint/periods
|
|
294
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapointPeriod
|
|
188
295
|
*/
|
|
189
|
-
|
|
296
|
+
getDatapointPeriod(queryParams?: {
|
|
297
|
+
assetId?: string;
|
|
298
|
+
attributeName?: string;
|
|
299
|
+
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
190
300
|
/**
|
|
191
|
-
* HTTP
|
|
192
|
-
* Java method: org.openremote.model.
|
|
301
|
+
* HTTP POST /asset/datapoint/{assetId}/{attributeName}
|
|
302
|
+
* Java method: org.openremote.model.datapoint.AssetDatapointResource.getDatapoints
|
|
193
303
|
*/
|
|
194
|
-
|
|
304
|
+
getDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
305
|
+
}
|
|
306
|
+
export declare class ConsoleResourceClient<O> {
|
|
307
|
+
protected httpClient: HttpClient<O>;
|
|
308
|
+
constructor(httpClient: HttpClient<O>);
|
|
309
|
+
/**
|
|
310
|
+
* HTTP POST /console/register
|
|
311
|
+
* Java method: org.openremote.model.console.ConsoleResource.register
|
|
312
|
+
*/
|
|
313
|
+
register(consoleRegistration: Model.ConsoleRegistration, options?: O): RestResponse<Model.ConsoleRegistration>;
|
|
195
314
|
}
|
|
196
315
|
export declare class AssetModelResourceClient<O> {
|
|
197
316
|
protected httpClient: HttpClient<O>;
|
|
@@ -238,45 +357,24 @@ export declare class AssetModelResourceClient<O> {
|
|
|
238
357
|
[index: string]: Model.ValueDescriptor;
|
|
239
358
|
}>;
|
|
240
359
|
}
|
|
241
|
-
export declare class
|
|
242
|
-
protected httpClient: HttpClient<O>;
|
|
243
|
-
constructor(httpClient: HttpClient<O>);
|
|
244
|
-
/**
|
|
245
|
-
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
246
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
247
|
-
*/
|
|
248
|
-
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
249
|
-
/**
|
|
250
|
-
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
251
|
-
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
252
|
-
*/
|
|
253
|
-
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
254
|
-
}
|
|
255
|
-
export declare class AssetDatapointResourceClient<O> {
|
|
360
|
+
export declare class FlowResourceClient<O> {
|
|
256
361
|
protected httpClient: HttpClient<O>;
|
|
257
362
|
constructor(httpClient: HttpClient<O>);
|
|
258
363
|
/**
|
|
259
|
-
* HTTP GET /
|
|
260
|
-
* Java method: org.openremote.model.
|
|
364
|
+
* HTTP GET /flow
|
|
365
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitions
|
|
261
366
|
*/
|
|
262
|
-
|
|
263
|
-
attributeRefs?: string;
|
|
264
|
-
fromTimestamp?: number;
|
|
265
|
-
toTimestamp?: number;
|
|
266
|
-
}, options?: O): RestResponse<any>;
|
|
367
|
+
getAllNodeDefinitions(options?: O): RestResponse<Model.Node[]>;
|
|
267
368
|
/**
|
|
268
|
-
* HTTP GET /
|
|
269
|
-
* Java method: org.openremote.model.
|
|
369
|
+
* HTTP GET /flow/{name}
|
|
370
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getNodeDefinition
|
|
270
371
|
*/
|
|
271
|
-
|
|
272
|
-
assetId?: string;
|
|
273
|
-
attributeName?: string;
|
|
274
|
-
}, options?: O): RestResponse<Model.DatapointPeriod>;
|
|
372
|
+
getNodeDefinition(name: string, options?: O): RestResponse<Model.Node>;
|
|
275
373
|
/**
|
|
276
|
-
* HTTP
|
|
277
|
-
* Java method: org.openremote.model.
|
|
374
|
+
* HTTP GET /flow/{type}
|
|
375
|
+
* Java method: org.openremote.model.rules.flow.FlowResource.getAllNodeDefinitionsByType
|
|
278
376
|
*/
|
|
279
|
-
|
|
377
|
+
getAllNodeDefinitionsByType(type: Model.NodeType, options?: O): RestResponse<Model.Node[]>;
|
|
280
378
|
}
|
|
281
379
|
export declare class DashboardResourceClient<O> {
|
|
282
380
|
protected httpClient: HttpClient<O>;
|
|
@@ -312,210 +410,77 @@ export declare class DashboardResourceClient<O> {
|
|
|
312
410
|
*/
|
|
313
411
|
get(realm: string, dashboardId: string, options?: O): RestResponse<Model.Dashboard>;
|
|
314
412
|
}
|
|
315
|
-
export declare class
|
|
413
|
+
export declare class StatusResourceClient<O> {
|
|
316
414
|
protected httpClient: HttpClient<O>;
|
|
317
415
|
constructor(httpClient: HttpClient<O>);
|
|
318
416
|
/**
|
|
319
|
-
* HTTP
|
|
320
|
-
* Java method: org.openremote.model.
|
|
321
|
-
*/
|
|
322
|
-
create(realm: Model.Realm, options?: O): RestResponse<void>;
|
|
323
|
-
/**
|
|
324
|
-
* HTTP GET /realm
|
|
325
|
-
* Java method: org.openremote.model.security.RealmResource.getAll
|
|
417
|
+
* HTTP GET /health
|
|
418
|
+
* Java method: org.openremote.model.system.StatusResource.getHealthStatus
|
|
326
419
|
*/
|
|
327
|
-
|
|
420
|
+
getHealthStatus(options?: O): RestResponse<{
|
|
421
|
+
[index: string]: any;
|
|
422
|
+
}>;
|
|
328
423
|
/**
|
|
329
|
-
* HTTP GET /
|
|
330
|
-
* Java method: org.openremote.model.
|
|
424
|
+
* HTTP GET /info
|
|
425
|
+
* Java method: org.openremote.model.system.StatusResource.getInfo
|
|
331
426
|
*/
|
|
332
|
-
|
|
427
|
+
getInfo(options?: O): RestResponse<{
|
|
428
|
+
[index: string]: any;
|
|
429
|
+
}>;
|
|
430
|
+
}
|
|
431
|
+
export declare class NotificationResourceClient<O> {
|
|
432
|
+
protected httpClient: HttpClient<O>;
|
|
433
|
+
constructor(httpClient: HttpClient<O>);
|
|
333
434
|
/**
|
|
334
|
-
* HTTP
|
|
335
|
-
* Java method: org.openremote.model.
|
|
435
|
+
* HTTP GET /notification
|
|
436
|
+
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
336
437
|
*/
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
* HTTP PUT /realm/{name}
|
|
345
|
-
* Java method: org.openremote.model.security.RealmResource.update
|
|
346
|
-
*/
|
|
347
|
-
update(name: string, realm: Model.Realm, options?: O): RestResponse<void>;
|
|
348
|
-
}
|
|
349
|
-
export declare class MapResourceClient<O> {
|
|
350
|
-
protected httpClient: HttpClient<O>;
|
|
351
|
-
constructor(httpClient: HttpClient<O>);
|
|
352
|
-
/**
|
|
353
|
-
* HTTP GET /map
|
|
354
|
-
* Java method: org.openremote.model.map.MapResource.getSettings
|
|
355
|
-
*/
|
|
356
|
-
getSettings(options?: O): RestResponse<{
|
|
357
|
-
[id: string]: unknown;
|
|
358
|
-
}>;
|
|
359
|
-
/**
|
|
360
|
-
* HTTP PUT /map
|
|
361
|
-
* Java method: org.openremote.model.map.MapResource.saveSettings
|
|
362
|
-
*/
|
|
363
|
-
saveSettings(mapConfig: Model.MapConfig, options?: O): RestResponse<{
|
|
364
|
-
[id: string]: unknown;
|
|
365
|
-
}>;
|
|
366
|
-
/**
|
|
367
|
-
* HTTP DELETE /map/deleteMap
|
|
368
|
-
* Java method: org.openremote.model.map.MapResource.deleteMap
|
|
369
|
-
*/
|
|
370
|
-
deleteMap(options?: O): RestResponse<{
|
|
371
|
-
[id: string]: unknown;
|
|
372
|
-
}>;
|
|
373
|
-
/**
|
|
374
|
-
* HTTP GET /map/getCustomMapInfo
|
|
375
|
-
* Java method: org.openremote.model.map.MapResource.getCustomMapInfo
|
|
376
|
-
*/
|
|
377
|
-
getCustomMapInfo(options?: O): RestResponse<{
|
|
378
|
-
[id: string]: unknown;
|
|
379
|
-
}>;
|
|
380
|
-
/**
|
|
381
|
-
* HTTP GET /map/js
|
|
382
|
-
* Java method: org.openremote.model.map.MapResource.getSettingsJs
|
|
383
|
-
*/
|
|
384
|
-
getSettingsJs(options?: O): RestResponse<{
|
|
385
|
-
[id: string]: unknown;
|
|
386
|
-
}>;
|
|
387
|
-
/**
|
|
388
|
-
* HTTP GET /map/tile/{zoom}/{column}/{row}
|
|
389
|
-
* Java method: org.openremote.model.map.MapResource.getTile
|
|
390
|
-
*/
|
|
391
|
-
getTile(zoom: number, column: number, row: number, options?: O): RestResponse<any>;
|
|
392
|
-
/**
|
|
393
|
-
* HTTP POST /map/upload
|
|
394
|
-
* Java method: org.openremote.model.map.MapResource.uploadMap
|
|
395
|
-
*/
|
|
396
|
-
uploadMap(queryParams?: {
|
|
397
|
-
filename?: string;
|
|
398
|
-
}, options?: O): RestResponse<{
|
|
399
|
-
[id: string]: unknown;
|
|
400
|
-
}>;
|
|
401
|
-
}
|
|
402
|
-
export declare class GatewayClientResourceClient<O> {
|
|
403
|
-
protected httpClient: HttpClient<O>;
|
|
404
|
-
constructor(httpClient: HttpClient<O>);
|
|
405
|
-
/**
|
|
406
|
-
* HTTP DELETE /gateway/connection
|
|
407
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
408
|
-
*/
|
|
409
|
-
deleteConnections(queryParams?: {
|
|
410
|
-
realm?: string[];
|
|
411
|
-
}, options?: O): RestResponse<void>;
|
|
412
|
-
/**
|
|
413
|
-
* HTTP GET /gateway/connection
|
|
414
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
415
|
-
*/
|
|
416
|
-
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
417
|
-
/**
|
|
418
|
-
* HTTP DELETE /gateway/connection/{realm}
|
|
419
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
420
|
-
*/
|
|
421
|
-
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
422
|
-
/**
|
|
423
|
-
* HTTP GET /gateway/connection/{realm}
|
|
424
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
425
|
-
*/
|
|
426
|
-
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
427
|
-
/**
|
|
428
|
-
* HTTP PUT /gateway/connection/{realm}
|
|
429
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
430
|
-
*/
|
|
431
|
-
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
432
|
-
/**
|
|
433
|
-
* HTTP GET /gateway/status/{realm}
|
|
434
|
-
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
435
|
-
*/
|
|
436
|
-
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
437
|
-
}
|
|
438
|
-
export declare class AlarmResourceClient<O> {
|
|
439
|
-
protected httpClient: HttpClient<O>;
|
|
440
|
-
constructor(httpClient: HttpClient<O>);
|
|
441
|
-
/**
|
|
442
|
-
* HTTP POST /alarm
|
|
443
|
-
* Java method: org.openremote.model.alarm.AlarmResource.createAlarm
|
|
444
|
-
*/
|
|
445
|
-
createAlarm(alarm: Model.Alarm, queryParams?: {
|
|
446
|
-
assetIds?: string[];
|
|
447
|
-
}, options?: O): RestResponse<Model.SentAlarm>;
|
|
448
|
-
/**
|
|
449
|
-
* HTTP GET /alarm
|
|
450
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarms
|
|
451
|
-
*/
|
|
452
|
-
getAlarms(queryParams?: {
|
|
453
|
-
realm?: string;
|
|
454
|
-
status?: Model.AlarmStatus;
|
|
438
|
+
getNotifications(queryParams?: {
|
|
439
|
+
id?: number;
|
|
440
|
+
type?: string;
|
|
441
|
+
from?: number;
|
|
442
|
+
to?: number;
|
|
443
|
+
realmId?: string;
|
|
444
|
+
userId?: string;
|
|
455
445
|
assetId?: string;
|
|
456
|
-
|
|
457
|
-
}, options?: O): RestResponse<Model.SentAlarm[]>;
|
|
458
|
-
/**
|
|
459
|
-
* HTTP DELETE /alarm
|
|
460
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarms
|
|
461
|
-
*/
|
|
462
|
-
removeAlarms(ids: number[], options?: O): RestResponse<void>;
|
|
463
|
-
/**
|
|
464
|
-
* HTTP PUT /alarm/assets
|
|
465
|
-
* Java method: org.openremote.model.alarm.AlarmResource.setAssetLinks
|
|
466
|
-
*/
|
|
467
|
-
setAssetLinks(links: Model.AlarmAssetLink[], options?: O): RestResponse<void>;
|
|
468
|
-
/**
|
|
469
|
-
* HTTP GET /alarm/{alarmId}
|
|
470
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAlarm
|
|
471
|
-
*/
|
|
472
|
-
getAlarm(alarmId: number, options?: O): RestResponse<Model.SentAlarm>;
|
|
473
|
-
/**
|
|
474
|
-
* HTTP DELETE /alarm/{alarmId}
|
|
475
|
-
* Java method: org.openremote.model.alarm.AlarmResource.removeAlarm
|
|
476
|
-
*/
|
|
477
|
-
removeAlarm(alarmId: number, options?: O): RestResponse<void>;
|
|
478
|
-
/**
|
|
479
|
-
* HTTP PUT /alarm/{alarmId}
|
|
480
|
-
* Java method: org.openremote.model.alarm.AlarmResource.updateAlarm
|
|
481
|
-
*/
|
|
482
|
-
updateAlarm(alarmId: number, alarm: Model.SentAlarm, options?: O): RestResponse<void>;
|
|
483
|
-
/**
|
|
484
|
-
* HTTP GET /alarm/{alarmId}/assets
|
|
485
|
-
* Java method: org.openremote.model.alarm.AlarmResource.getAssetLinks
|
|
486
|
-
*/
|
|
487
|
-
getAssetLinks(alarmId: number, queryParams?: {
|
|
488
|
-
realm?: string;
|
|
489
|
-
}, options?: O): RestResponse<Model.AlarmAssetLink[]>;
|
|
490
|
-
}
|
|
491
|
-
export declare class GatewayServiceResourceClient<O> {
|
|
492
|
-
protected httpClient: HttpClient<O>;
|
|
493
|
-
constructor(httpClient: HttpClient<O>);
|
|
446
|
+
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
494
447
|
/**
|
|
495
|
-
* HTTP
|
|
496
|
-
* Java method: org.openremote.model.
|
|
448
|
+
* HTTP DELETE /notification
|
|
449
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
497
450
|
*/
|
|
498
|
-
|
|
451
|
+
removeNotifications(queryParams?: {
|
|
452
|
+
id?: number;
|
|
453
|
+
type?: string;
|
|
454
|
+
from?: number;
|
|
455
|
+
to?: number;
|
|
456
|
+
realmId?: string;
|
|
457
|
+
userId?: string;
|
|
458
|
+
assetId?: string;
|
|
459
|
+
}, options?: O): RestResponse<void>;
|
|
499
460
|
/**
|
|
500
|
-
* HTTP
|
|
501
|
-
* Java method: org.openremote.model.
|
|
461
|
+
* HTTP POST /notification/alert
|
|
462
|
+
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
502
463
|
*/
|
|
503
|
-
|
|
464
|
+
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
504
465
|
/**
|
|
505
|
-
* HTTP
|
|
506
|
-
* Java method: org.openremote.model.
|
|
466
|
+
* HTTP DELETE /notification/{notificationId}
|
|
467
|
+
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
507
468
|
*/
|
|
508
|
-
|
|
469
|
+
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
509
470
|
/**
|
|
510
|
-
* HTTP
|
|
511
|
-
* Java method: org.openremote.model.
|
|
471
|
+
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
472
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
512
473
|
*/
|
|
513
|
-
|
|
474
|
+
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
475
|
+
targetId?: string;
|
|
476
|
+
}, options?: O): RestResponse<void>;
|
|
514
477
|
/**
|
|
515
|
-
* HTTP
|
|
516
|
-
* Java method: org.openremote.model.
|
|
478
|
+
* HTTP PUT /notification/{notificationId}/delivered
|
|
479
|
+
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
517
480
|
*/
|
|
518
|
-
|
|
481
|
+
notificationDelivered(notificationId: number, queryParams?: {
|
|
482
|
+
targetId?: string;
|
|
483
|
+
}, options?: O): RestResponse<void>;
|
|
519
484
|
}
|
|
520
485
|
export declare class AssetResourceClient<O> {
|
|
521
486
|
protected httpClient: HttpClient<O>;
|
|
@@ -621,57 +586,24 @@ export declare class AssetResourceClient<O> {
|
|
|
621
586
|
assetIds?: string[];
|
|
622
587
|
}, options?: O): RestResponse<void>;
|
|
623
588
|
}
|
|
624
|
-
export declare class
|
|
625
|
-
protected httpClient: HttpClient<O>;
|
|
626
|
-
constructor(httpClient: HttpClient<O>);
|
|
627
|
-
/**
|
|
628
|
-
* HTTP GET /configuration/manager
|
|
629
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
630
|
-
*/
|
|
631
|
-
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
632
|
-
/**
|
|
633
|
-
* HTTP PUT /configuration/manager
|
|
634
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
635
|
-
*/
|
|
636
|
-
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
637
|
-
/**
|
|
638
|
-
* HTTP POST /configuration/manager/file
|
|
639
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
640
|
-
*/
|
|
641
|
-
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
642
|
-
path?: string;
|
|
643
|
-
}, options?: O): RestResponse<string>;
|
|
644
|
-
/**
|
|
645
|
-
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
646
|
-
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
647
|
-
*/
|
|
648
|
-
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
649
|
-
}
|
|
650
|
-
export declare class AgentResourceClient<O> {
|
|
589
|
+
export declare class AppResourceClient<O> {
|
|
651
590
|
protected httpClient: HttpClient<O>;
|
|
652
591
|
constructor(httpClient: HttpClient<O>);
|
|
653
592
|
/**
|
|
654
|
-
* HTTP GET /
|
|
655
|
-
* Java method: org.openremote.model.
|
|
593
|
+
* HTTP GET /apps
|
|
594
|
+
* Java method: org.openremote.model.apps.AppResource.getApps
|
|
656
595
|
*/
|
|
657
|
-
|
|
658
|
-
realm?: string;
|
|
659
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
596
|
+
getApps(options?: O): RestResponse<string[]>;
|
|
660
597
|
/**
|
|
661
|
-
* HTTP
|
|
662
|
-
* Java method: org.openremote.model.
|
|
598
|
+
* HTTP GET /apps/consoleConfig
|
|
599
|
+
* Java method: org.openremote.model.apps.AppResource.getConsoleConfig
|
|
663
600
|
*/
|
|
664
|
-
|
|
665
|
-
realm?: string;
|
|
666
|
-
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
601
|
+
getConsoleConfig(options?: O): RestResponse<any>;
|
|
667
602
|
/**
|
|
668
|
-
* HTTP GET /
|
|
669
|
-
* Java method: org.openremote.model.
|
|
603
|
+
* HTTP GET /apps/info
|
|
604
|
+
* Java method: org.openremote.model.apps.AppResource.getAppInfos
|
|
670
605
|
*/
|
|
671
|
-
|
|
672
|
-
parentId?: string;
|
|
673
|
-
realm?: string;
|
|
674
|
-
}, options?: O): RestResponse<Model.Agent[]>;
|
|
606
|
+
getAppInfos(options?: O): RestResponse<any>;
|
|
675
607
|
}
|
|
676
608
|
export declare class RulesResourceClient<O> {
|
|
677
609
|
protected httpClient: HttpClient<O>;
|
|
@@ -781,60 +713,6 @@ export declare class RulesResourceClient<O> {
|
|
|
781
713
|
*/
|
|
782
714
|
updateGlobalRuleset(id: number, ruleset: Model.GlobalRuleset, options?: O): RestResponse<void>;
|
|
783
715
|
}
|
|
784
|
-
export declare class NotificationResourceClient<O> {
|
|
785
|
-
protected httpClient: HttpClient<O>;
|
|
786
|
-
constructor(httpClient: HttpClient<O>);
|
|
787
|
-
/**
|
|
788
|
-
* HTTP GET /notification
|
|
789
|
-
* Java method: org.openremote.model.notification.NotificationResource.getNotifications
|
|
790
|
-
*/
|
|
791
|
-
getNotifications(queryParams?: {
|
|
792
|
-
id?: number;
|
|
793
|
-
type?: string;
|
|
794
|
-
from?: number;
|
|
795
|
-
to?: number;
|
|
796
|
-
realmId?: string;
|
|
797
|
-
userId?: string;
|
|
798
|
-
assetId?: string;
|
|
799
|
-
}, options?: O): RestResponse<Model.SentNotification[]>;
|
|
800
|
-
/**
|
|
801
|
-
* HTTP DELETE /notification
|
|
802
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotifications
|
|
803
|
-
*/
|
|
804
|
-
removeNotifications(queryParams?: {
|
|
805
|
-
id?: number;
|
|
806
|
-
type?: string;
|
|
807
|
-
from?: number;
|
|
808
|
-
to?: number;
|
|
809
|
-
realmId?: string;
|
|
810
|
-
userId?: string;
|
|
811
|
-
assetId?: string;
|
|
812
|
-
}, options?: O): RestResponse<void>;
|
|
813
|
-
/**
|
|
814
|
-
* HTTP POST /notification/alert
|
|
815
|
-
* Java method: org.openremote.model.notification.NotificationResource.sendNotification
|
|
816
|
-
*/
|
|
817
|
-
sendNotification(notification: Model.Notification, options?: O): RestResponse<void>;
|
|
818
|
-
/**
|
|
819
|
-
* HTTP DELETE /notification/{notificationId}
|
|
820
|
-
* Java method: org.openremote.model.notification.NotificationResource.removeNotification
|
|
821
|
-
*/
|
|
822
|
-
removeNotification(notificationId: number, options?: O): RestResponse<void>;
|
|
823
|
-
/**
|
|
824
|
-
* HTTP PUT /notification/{notificationId}/acknowledged
|
|
825
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationAcknowledged
|
|
826
|
-
*/
|
|
827
|
-
notificationAcknowledged(notificationId: number, acknowledgement: any, queryParams?: {
|
|
828
|
-
targetId?: string;
|
|
829
|
-
}, options?: O): RestResponse<void>;
|
|
830
|
-
/**
|
|
831
|
-
* HTTP PUT /notification/{notificationId}/delivered
|
|
832
|
-
* Java method: org.openremote.model.notification.NotificationResource.notificationDelivered
|
|
833
|
-
*/
|
|
834
|
-
notificationDelivered(notificationId: number, queryParams?: {
|
|
835
|
-
targetId?: string;
|
|
836
|
-
}, options?: O): RestResponse<void>;
|
|
837
|
-
}
|
|
838
716
|
export declare class SyslogResourceClient<O> {
|
|
839
717
|
protected httpClient: HttpClient<O>;
|
|
840
718
|
constructor(httpClient: HttpClient<O>);
|
|
@@ -867,60 +745,182 @@ export declare class SyslogResourceClient<O> {
|
|
|
867
745
|
subCategory?: string[];
|
|
868
746
|
}, options?: O): RestResponse<any>;
|
|
869
747
|
}
|
|
870
|
-
export declare class
|
|
748
|
+
export declare class GatewayServiceResourceClient<O> {
|
|
871
749
|
protected httpClient: HttpClient<O>;
|
|
872
750
|
constructor(httpClient: HttpClient<O>);
|
|
873
751
|
/**
|
|
874
|
-
* HTTP POST /
|
|
875
|
-
* Java method: org.openremote.model.
|
|
752
|
+
* HTTP POST /gateway/tunnel
|
|
753
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.startTunnel
|
|
876
754
|
*/
|
|
877
|
-
|
|
755
|
+
startTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
756
|
+
/**
|
|
757
|
+
* HTTP DELETE /gateway/tunnel
|
|
758
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.stopTunnel
|
|
759
|
+
*/
|
|
760
|
+
stopTunnel(tunnelInfo: Model.GatewayTunnelInfo, options?: O): RestResponse<void>;
|
|
761
|
+
/**
|
|
762
|
+
* HTTP GET /gateway/tunnel/{realm}
|
|
763
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getAllActiveTunnelInfos
|
|
764
|
+
*/
|
|
765
|
+
getAllActiveTunnelInfos(realm: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
766
|
+
/**
|
|
767
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}
|
|
768
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getGatewayActiveTunnelInfos
|
|
769
|
+
*/
|
|
770
|
+
getGatewayActiveTunnelInfos(realm: string, id: string, options?: O): RestResponse<Model.GatewayTunnelInfo[]>;
|
|
771
|
+
/**
|
|
772
|
+
* HTTP GET /gateway/tunnel/{realm}/{id}/{target}/{targetPort}
|
|
773
|
+
* Java method: org.openremote.model.gateway.GatewayServiceResource.getActiveTunnelInfo
|
|
774
|
+
*/
|
|
775
|
+
getActiveTunnelInfo(realm: string, id: string, target: string, targetPort: number, options?: O): RestResponse<Model.GatewayTunnelInfo>;
|
|
776
|
+
}
|
|
777
|
+
export declare class AssetPredictedDatapointResourceClient<O> {
|
|
778
|
+
protected httpClient: HttpClient<O>;
|
|
779
|
+
constructor(httpClient: HttpClient<O>);
|
|
780
|
+
/**
|
|
781
|
+
* HTTP POST /asset/predicted/{assetId}/{attributeName}
|
|
782
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.getPredictedDatapoints
|
|
783
|
+
*/
|
|
784
|
+
getPredictedDatapoints(assetId: string, attributeName: string, query: Model.AssetDatapointQueryUnion, options?: O): RestResponse<Model.ValueDatapoint<any>[]>;
|
|
785
|
+
/**
|
|
786
|
+
* HTTP PUT /asset/predicted/{assetId}/{attributeName}
|
|
787
|
+
* Java method: org.openremote.model.datapoint.AssetPredictedDatapointResource.writePredictedDatapoints
|
|
788
|
+
*/
|
|
789
|
+
writePredictedDatapoints(assetId: string, attributeName: string, predictedDatapoints: Model.ValueDatapoint<any>[], options?: O): RestResponse<void>;
|
|
790
|
+
}
|
|
791
|
+
export declare class GatewayClientResourceClient<O> {
|
|
792
|
+
protected httpClient: HttpClient<O>;
|
|
793
|
+
constructor(httpClient: HttpClient<O>);
|
|
794
|
+
/**
|
|
795
|
+
* HTTP DELETE /gateway/connection
|
|
796
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnections
|
|
797
|
+
*/
|
|
798
|
+
deleteConnections(queryParams?: {
|
|
799
|
+
realm?: string[];
|
|
800
|
+
}, options?: O): RestResponse<void>;
|
|
801
|
+
/**
|
|
802
|
+
* HTTP GET /gateway/connection
|
|
803
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnections
|
|
804
|
+
*/
|
|
805
|
+
getConnections(options?: O): RestResponse<Model.GatewayConnection[]>;
|
|
806
|
+
/**
|
|
807
|
+
* HTTP DELETE /gateway/connection/{realm}
|
|
808
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.deleteConnection
|
|
809
|
+
*/
|
|
810
|
+
deleteConnection(realm: string, options?: O): RestResponse<void>;
|
|
811
|
+
/**
|
|
812
|
+
* HTTP GET /gateway/connection/{realm}
|
|
813
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnection
|
|
814
|
+
*/
|
|
815
|
+
getConnection(realm: string, options?: O): RestResponse<Model.GatewayConnection>;
|
|
816
|
+
/**
|
|
817
|
+
* HTTP PUT /gateway/connection/{realm}
|
|
818
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.setConnection
|
|
819
|
+
*/
|
|
820
|
+
setConnection(realm: string, connection: Model.GatewayConnection, options?: O): RestResponse<void>;
|
|
821
|
+
/**
|
|
822
|
+
* HTTP GET /gateway/status/{realm}
|
|
823
|
+
* Java method: org.openremote.model.gateway.GatewayClientResource.getConnectionStatus
|
|
824
|
+
*/
|
|
825
|
+
getConnectionStatus(realm: string, options?: O): RestResponse<Model.ConnectionStatus>;
|
|
826
|
+
}
|
|
827
|
+
export declare class ConfigurationResourceClient<O> {
|
|
828
|
+
protected httpClient: HttpClient<O>;
|
|
829
|
+
constructor(httpClient: HttpClient<O>);
|
|
830
|
+
/**
|
|
831
|
+
* HTTP GET /configuration/manager
|
|
832
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfig
|
|
833
|
+
*/
|
|
834
|
+
getManagerConfig(options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
835
|
+
/**
|
|
836
|
+
* HTTP PUT /configuration/manager
|
|
837
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.update
|
|
838
|
+
*/
|
|
839
|
+
update(managerConfiguration: Model.ManagerAppConfig, options?: O): RestResponse<Model.ManagerAppConfig>;
|
|
840
|
+
/**
|
|
841
|
+
* HTTP POST /configuration/manager/file
|
|
842
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.fileUpload
|
|
843
|
+
*/
|
|
844
|
+
fileUpload(fileInfo: Model.FileInfo, queryParams?: {
|
|
845
|
+
path?: string;
|
|
846
|
+
}, options?: O): RestResponse<string>;
|
|
847
|
+
/**
|
|
848
|
+
* HTTP GET /configuration/manager/image/{filename: .+}
|
|
849
|
+
* Java method: org.openremote.model.manager.ConfigurationResource.getManagerConfigImage
|
|
850
|
+
*/
|
|
851
|
+
getManagerConfigImage(filename: string, options?: O): RestResponse<any>;
|
|
852
|
+
}
|
|
853
|
+
export declare class AgentResourceClient<O> {
|
|
854
|
+
protected httpClient: HttpClient<O>;
|
|
855
|
+
constructor(httpClient: HttpClient<O>);
|
|
856
|
+
/**
|
|
857
|
+
* HTTP GET /agent/assetDiscovery/{agentId}
|
|
858
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetDiscovery
|
|
859
|
+
*/
|
|
860
|
+
doProtocolAssetDiscovery(agentId: string, queryParams?: {
|
|
861
|
+
realm?: string;
|
|
862
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
863
|
+
/**
|
|
864
|
+
* HTTP POST /agent/assetImport/{agentId}
|
|
865
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolAssetImport
|
|
866
|
+
*/
|
|
867
|
+
doProtocolAssetImport(agentId: string, fileInfo: Model.FileInfo, queryParams?: {
|
|
868
|
+
realm?: string;
|
|
869
|
+
}, options?: O): RestResponse<Model.AssetTreeNode[]>;
|
|
870
|
+
/**
|
|
871
|
+
* HTTP GET /agent/instanceDiscovery/{agentType}
|
|
872
|
+
* Java method: org.openremote.model.asset.agent.AgentResource.doProtocolInstanceDiscovery
|
|
873
|
+
*/
|
|
874
|
+
doProtocolInstanceDiscovery(agentType: string, queryParams?: {
|
|
875
|
+
parentId?: string;
|
|
876
|
+
realm?: string;
|
|
877
|
+
}, options?: O): RestResponse<Model.Agent[]>;
|
|
878
878
|
}
|
|
879
879
|
export type RestResponse<R> = Promise<Axios.GenericAxiosResponse<R>>;
|
|
880
880
|
export declare class ApiClient {
|
|
881
881
|
protected _userResource: AxiosUserResourceClient;
|
|
882
|
-
protected
|
|
883
|
-
protected
|
|
882
|
+
protected _mapResource: AxiosMapResourceClient;
|
|
883
|
+
protected _realmResource: AxiosRealmResourceClient;
|
|
884
|
+
protected _alarmResource: AxiosAlarmResourceClient;
|
|
884
885
|
protected _provisioningResource: AxiosProvisioningResourceClient;
|
|
885
|
-
protected _flowResource: AxiosFlowResourceClient;
|
|
886
|
-
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
887
|
-
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
888
886
|
protected _assetDatapointResource: AxiosAssetDatapointResourceClient;
|
|
887
|
+
protected _consoleResource: AxiosConsoleResourceClient;
|
|
888
|
+
protected _assetModelResource: AxiosAssetModelResourceClient;
|
|
889
|
+
protected _flowResource: AxiosFlowResourceClient;
|
|
889
890
|
protected _dashboardResource: AxiosDashboardResourceClient;
|
|
890
|
-
protected
|
|
891
|
-
protected
|
|
892
|
-
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
893
|
-
protected _alarmResource: AxiosAlarmResourceClient;
|
|
894
|
-
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
891
|
+
protected _statusResource: AxiosStatusResourceClient;
|
|
892
|
+
protected _notificationResource: AxiosNotificationResourceClient;
|
|
895
893
|
protected _assetResource: AxiosAssetResourceClient;
|
|
896
|
-
protected
|
|
897
|
-
protected _agentResource: AxiosAgentResourceClient;
|
|
894
|
+
protected _appResource: AxiosAppResourceClient;
|
|
898
895
|
protected _rulesResource: AxiosRulesResourceClient;
|
|
899
|
-
protected _notificationResource: AxiosNotificationResourceClient;
|
|
900
896
|
protected _syslogResource: AxiosSyslogResourceClient;
|
|
901
|
-
protected
|
|
897
|
+
protected _gatewayServiceResource: AxiosGatewayServiceResourceClient;
|
|
898
|
+
protected _assetPredictedDatapointResource: AxiosAssetPredictedDatapointResourceClient;
|
|
899
|
+
protected _gatewayClientResource: AxiosGatewayClientResourceClient;
|
|
900
|
+
protected _configurationResource: AxiosConfigurationResourceClient;
|
|
901
|
+
protected _agentResource: AxiosAgentResourceClient;
|
|
902
902
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
903
903
|
get UserResource(): AxiosUserResourceClient;
|
|
904
|
-
get
|
|
905
|
-
get
|
|
904
|
+
get MapResource(): AxiosMapResourceClient;
|
|
905
|
+
get RealmResource(): AxiosRealmResourceClient;
|
|
906
|
+
get AlarmResource(): AxiosAlarmResourceClient;
|
|
906
907
|
get ProvisioningResource(): AxiosProvisioningResourceClient;
|
|
907
|
-
get FlowResource(): AxiosFlowResourceClient;
|
|
908
|
-
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
909
|
-
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
910
908
|
get AssetDatapointResource(): AxiosAssetDatapointResourceClient;
|
|
909
|
+
get ConsoleResource(): AxiosConsoleResourceClient;
|
|
910
|
+
get AssetModelResource(): AxiosAssetModelResourceClient;
|
|
911
|
+
get FlowResource(): AxiosFlowResourceClient;
|
|
911
912
|
get DashboardResource(): AxiosDashboardResourceClient;
|
|
912
|
-
get
|
|
913
|
-
get
|
|
914
|
-
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
915
|
-
get AlarmResource(): AxiosAlarmResourceClient;
|
|
916
|
-
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
913
|
+
get StatusResource(): AxiosStatusResourceClient;
|
|
914
|
+
get NotificationResource(): AxiosNotificationResourceClient;
|
|
917
915
|
get AssetResource(): AxiosAssetResourceClient;
|
|
918
|
-
get
|
|
919
|
-
get AgentResource(): AxiosAgentResourceClient;
|
|
916
|
+
get AppResource(): AxiosAppResourceClient;
|
|
920
917
|
get RulesResource(): AxiosRulesResourceClient;
|
|
921
|
-
get NotificationResource(): AxiosNotificationResourceClient;
|
|
922
918
|
get SyslogResource(): AxiosSyslogResourceClient;
|
|
923
|
-
get
|
|
919
|
+
get GatewayServiceResource(): AxiosGatewayServiceResourceClient;
|
|
920
|
+
get AssetPredictedDatapointResource(): AxiosAssetPredictedDatapointResourceClient;
|
|
921
|
+
get GatewayClientResource(): AxiosGatewayClientResourceClient;
|
|
922
|
+
get ConfigurationResource(): AxiosConfigurationResourceClient;
|
|
923
|
+
get AgentResource(): AxiosAgentResourceClient;
|
|
924
924
|
}
|
|
925
925
|
import * as Axios from "axios";
|
|
926
926
|
declare module "axios" {
|
|
@@ -931,63 +931,63 @@ declare module "axios" {
|
|
|
931
931
|
export declare class AxiosUserResourceClient extends UserResourceClient<Axios.AxiosRequestConfig> {
|
|
932
932
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
933
933
|
}
|
|
934
|
-
export declare class
|
|
934
|
+
export declare class AxiosMapResourceClient extends MapResourceClient<Axios.AxiosRequestConfig> {
|
|
935
935
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
936
936
|
}
|
|
937
|
-
export declare class
|
|
937
|
+
export declare class AxiosRealmResourceClient extends RealmResourceClient<Axios.AxiosRequestConfig> {
|
|
938
938
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
939
939
|
}
|
|
940
|
-
export declare class
|
|
940
|
+
export declare class AxiosAlarmResourceClient extends AlarmResourceClient<Axios.AxiosRequestConfig> {
|
|
941
941
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
942
942
|
}
|
|
943
|
-
export declare class
|
|
943
|
+
export declare class AxiosProvisioningResourceClient extends ProvisioningResourceClient<Axios.AxiosRequestConfig> {
|
|
944
944
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
945
945
|
}
|
|
946
|
-
export declare class
|
|
946
|
+
export declare class AxiosAssetDatapointResourceClient extends AssetDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
947
947
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
948
948
|
}
|
|
949
|
-
export declare class
|
|
949
|
+
export declare class AxiosConsoleResourceClient extends ConsoleResourceClient<Axios.AxiosRequestConfig> {
|
|
950
950
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
951
951
|
}
|
|
952
|
-
export declare class
|
|
952
|
+
export declare class AxiosAssetModelResourceClient extends AssetModelResourceClient<Axios.AxiosRequestConfig> {
|
|
953
953
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
954
954
|
}
|
|
955
|
-
export declare class
|
|
955
|
+
export declare class AxiosFlowResourceClient extends FlowResourceClient<Axios.AxiosRequestConfig> {
|
|
956
956
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
957
957
|
}
|
|
958
|
-
export declare class
|
|
958
|
+
export declare class AxiosDashboardResourceClient extends DashboardResourceClient<Axios.AxiosRequestConfig> {
|
|
959
959
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
960
960
|
}
|
|
961
|
-
export declare class
|
|
961
|
+
export declare class AxiosStatusResourceClient extends StatusResourceClient<Axios.AxiosRequestConfig> {
|
|
962
962
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
963
963
|
}
|
|
964
|
-
export declare class
|
|
964
|
+
export declare class AxiosNotificationResourceClient extends NotificationResourceClient<Axios.AxiosRequestConfig> {
|
|
965
965
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
966
966
|
}
|
|
967
|
-
export declare class
|
|
967
|
+
export declare class AxiosAssetResourceClient extends AssetResourceClient<Axios.AxiosRequestConfig> {
|
|
968
968
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
969
969
|
}
|
|
970
|
-
export declare class
|
|
970
|
+
export declare class AxiosAppResourceClient extends AppResourceClient<Axios.AxiosRequestConfig> {
|
|
971
971
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
972
972
|
}
|
|
973
|
-
export declare class
|
|
973
|
+
export declare class AxiosRulesResourceClient extends RulesResourceClient<Axios.AxiosRequestConfig> {
|
|
974
974
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
975
975
|
}
|
|
976
|
-
export declare class
|
|
976
|
+
export declare class AxiosSyslogResourceClient extends SyslogResourceClient<Axios.AxiosRequestConfig> {
|
|
977
977
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
978
978
|
}
|
|
979
|
-
export declare class
|
|
979
|
+
export declare class AxiosGatewayServiceResourceClient extends GatewayServiceResourceClient<Axios.AxiosRequestConfig> {
|
|
980
980
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
981
981
|
}
|
|
982
|
-
export declare class
|
|
982
|
+
export declare class AxiosAssetPredictedDatapointResourceClient extends AssetPredictedDatapointResourceClient<Axios.AxiosRequestConfig> {
|
|
983
983
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
984
984
|
}
|
|
985
|
-
export declare class
|
|
985
|
+
export declare class AxiosGatewayClientResourceClient extends GatewayClientResourceClient<Axios.AxiosRequestConfig> {
|
|
986
986
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
987
987
|
}
|
|
988
|
-
export declare class
|
|
988
|
+
export declare class AxiosConfigurationResourceClient extends ConfigurationResourceClient<Axios.AxiosRequestConfig> {
|
|
989
989
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
990
990
|
}
|
|
991
|
-
export declare class
|
|
991
|
+
export declare class AxiosAgentResourceClient extends AgentResourceClient<Axios.AxiosRequestConfig> {
|
|
992
992
|
constructor(baseURL: string, axiosInstance?: Axios.AxiosInstance);
|
|
993
993
|
}
|